1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_{6,7,8} )
6 DISTUTILS_USE_SETUPTOOLS=rdepend
9 if [[ ${PV} == "9999" ]] ; then
10 EGIT_REPO_URI="https://github.com/mps-youtube/mps-youtube.git"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 DESCRIPTION="Terminal-based YouTube player and downloader"
18 HOMEPAGE="https://github.com/mps-youtube/mps-youtube https://pypi.org/project/mps-youtube/"
24 dev-python/pafy[${PYTHON_USEDEP}]
26 || ( media-video/mpv media-video/mplayer )