summaryrefslogtreecommitdiff
path: root/media-sound/mps-youtube
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mps-youtube')
-rw-r--r--media-sound/mps-youtube/Manifest3
-rw-r--r--media-sound/mps-youtube/mps-youtube-0.2.8-r3.ebuild28
-rw-r--r--media-sound/mps-youtube/mps-youtube-9999.ebuild6
3 files changed, 33 insertions, 4 deletions
diff --git a/media-sound/mps-youtube/Manifest b/media-sound/mps-youtube/Manifest
index 019dcef7af44..809e0019e63d 100644
--- a/media-sound/mps-youtube/Manifest
+++ b/media-sound/mps-youtube/Manifest
@@ -1,4 +1,5 @@
DIST mps-youtube-0.2.8.tar.gz 95542 BLAKE2B 67aa7db4e26325ef35b6c263ad1020bfc76ee683314c4e49b5f850d9c49c3795b5e9f3ee042772d9ce1c682fd04cd21ac24975cb3b7b7a2c4834bbd51b0726cb SHA512 7d4e092225652b5b63a2f94e7fa7cf07ff8f7797bc412de9388883ca9f95e87a14ff59276f28d208c5fd2e74315b1d7f275937f7c4cc86134ae5778d880d2620
EBUILD mps-youtube-0.2.8-r2.ebuild 689 BLAKE2B 915acbe40e2e1bed1800c2c38856a0e9aa32bad2d9a8bf6caf0033c85f1271b720664c85529273c6d2532f160477def99f717659da4063d06aa2aabc6f748358 SHA512 24da8b4dc07aeab88c82ad253d32d4ab0d8596b59031f9178ef4787b3b7ca910ba72da791c8054ae3e076f8773a8344068e18f8d2a6f25a848222b811a24876d
-EBUILD mps-youtube-9999.ebuild 689 BLAKE2B 915acbe40e2e1bed1800c2c38856a0e9aa32bad2d9a8bf6caf0033c85f1271b720664c85529273c6d2532f160477def99f717659da4063d06aa2aabc6f748358 SHA512 24da8b4dc07aeab88c82ad253d32d4ab0d8596b59031f9178ef4787b3b7ca910ba72da791c8054ae3e076f8773a8344068e18f8d2a6f25a848222b811a24876d
+EBUILD mps-youtube-0.2.8-r3.ebuild 689 BLAKE2B 18ec30d46b4713e75f56e5fdd153d189ef82f9b7e1a681f00c2139eb3a84c462c4d1fd9aae36ea554c14ffbad6c7b31a5fb3bcb27ff6a607f23089641e746bd3 SHA512 105b015a98768357a71008c95dadbec41629e601e8ddbdeeae4476bcfb7037901615ef78267f45f6a57084be3dae488f6bc3b3374af5971d7c4f09ad99e268ec
+EBUILD mps-youtube-9999.ebuild 689 BLAKE2B 18ec30d46b4713e75f56e5fdd153d189ef82f9b7e1a681f00c2139eb3a84c462c4d1fd9aae36ea554c14ffbad6c7b31a5fb3bcb27ff6a607f23089641e746bd3 SHA512 105b015a98768357a71008c95dadbec41629e601e8ddbdeeae4476bcfb7037901615ef78267f45f6a57084be3dae488f6bc3b3374af5971d7c4f09ad99e268ec
MISC metadata.xml 391 BLAKE2B 93a5e43c99faced434fcdbd25da8490e2cfa7792fc25543904ad8f6f1fca0a3c93a500f982ac8ce0033809ad5c046ea4bebe0e34385ac2d92bd376cca3b6a004 SHA512 066650abbdab944faa9e21bd8fc9a4773a7a02c52477b1608cce35b28e7bbf50f7bca295abbcf633be32be3340bc8fb7b291df7a8836dcb560d28051470c4c33
diff --git a/media-sound/mps-youtube/mps-youtube-0.2.8-r3.ebuild b/media-sound/mps-youtube/mps-youtube-0.2.8-r3.ebuild
new file mode 100644
index 000000000000..4c3f4d17ba0c
--- /dev/null
+++ b/media-sound/mps-youtube/mps-youtube-0.2.8-r3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/mps-youtube/mps-youtube.git"
+ inherit git-r3
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Terminal-based YouTube player and downloader"
+HOMEPAGE="https://github.com/mps-youtube/mps-youtube https://pypi.org/project/mps-youtube/"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+RDEPEND="
+ dev-python/pafy[${PYTHON_USEDEP}]
+ media-video/ffmpeg
+ || ( media-video/mpv media-video/mplayer )
+"
diff --git a/media-sound/mps-youtube/mps-youtube-9999.ebuild b/media-sound/mps-youtube/mps-youtube-9999.ebuild
index 82b44f71fd65..4c3f4d17ba0c 100644
--- a/media-sound/mps-youtube/mps-youtube-9999.ebuild
+++ b/media-sound/mps-youtube/mps-youtube-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1