summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2020-01-31 01:23:59 -0700
committerTim Harder <radhermit@gentoo.org>2020-01-31 01:30:26 -0700
commit021b693da5c068cda7076ca5a099c1dd6e56b104 (patch)
tree8d14cf83a5568868e9c761d79f5988a772954d3b /dev-python/pafy
parentmedia-gfx/valentina: switched 9999 to gitlab (diff)
downloadgentoo-021b693da5c068cda7076ca5a099c1dd6e56b104.tar.gz
gentoo-021b693da5c068cda7076ca5a099c1dd6e56b104.tar.bz2
gentoo-021b693da5c068cda7076ca5a099c1dd6e56b104.zip
dev-python/pafy: version bump to 0.5.5
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-python/pafy')
-rw-r--r--dev-python/pafy/Manifest1
-rw-r--r--dev-python/pafy/pafy-0.5.5.ebuild23
-rw-r--r--dev-python/pafy/pafy-9999.ebuild6
3 files changed, 27 insertions, 3 deletions
diff --git a/dev-python/pafy/Manifest b/dev-python/pafy/Manifest
index 8161b3d103ac..53307eebe167 100644
--- a/dev-python/pafy/Manifest
+++ b/dev-python/pafy/Manifest
@@ -1,2 +1,3 @@
DIST pafy-0.5.3.1.tar.gz 25636 BLAKE2B b5281e135ba86d5bb4f259fe1bc5e2fb6f5a51519e0c2b3f7c929858ef0a54c77382fd2e6f399dfc3323db21c17b26991cc05502bcd1161f4d4118d45cd6b4cc SHA512 2d8fa30e15b9d500fac9726d9119da9f1ad24021a804b7e75d6251347f8b47f4517425834ba243a749e22517507fc27b67c7258f81bdebaa7d3b0b7f9b18e5ed
DIST pafy-0.5.4.tar.gz 27393 BLAKE2B 9bf0601f3deaef091c1ad65a3d45a4d98747311e64244e9fa109519ab4980e9a8c822c5bba8ade73794d320300fa9693d2a9fb377a5547c6a7079fbbe9ae81f5 SHA512 91283ae831ecf50a861e9e6565d34652138b84bbf012f8b77b9fca9fe4eee2dfe358199ba77fd705792ce16173eccbf6f1bc31b88768edef02ba57fbde118011
+DIST pafy-0.5.5.tar.gz 29769 BLAKE2B 84c9bfac18fb668327103341cc01229c7c77fda5b5edaecdb662b891fcf4390c578466364b81d4bcdb1abdbe0cb32641ec6320fbbca8779621fafc011cbde20d SHA512 3b7e02bc9cc541bd66718469c7a743be5da3b0822d7cc63ec82f49c2721fe6b3bdbb87cdd9dd26b0bf05fa8bb9566ff6cc59b37baa17ccb7aae12c881faa884c
diff --git a/dev-python/pafy/pafy-0.5.5.ebuild b/dev-python/pafy/pafy-0.5.5.ebuild
new file mode 100644
index 000000000000..f9627f434ce8
--- /dev/null
+++ b/dev-python/pafy/pafy-0.5.5.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/mps-youtube/pafy.git"
+ inherit git-r3
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Python library to retrieve YouTube content and metadata"
+HOMEPAGE="https://pythonhosted.org/pafy/ https://pypi.org/project/pafy/"
+
+LICENSE="LGPL-3"
+SLOT="0"
+
+RDEPEND="net-misc/youtube-dl[${PYTHON_USEDEP}]"
diff --git a/dev-python/pafy/pafy-9999.ebuild b/dev-python/pafy/pafy-9999.ebuild
index 9b18f78eea05..f9627f434ce8 100644
--- a/dev-python/pafy/pafy-9999.ebuild
+++ b/dev-python/pafy/pafy-9999.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_6} )
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
if [[ ${PV} == "9999" ]] ; then
@@ -19,5 +20,4 @@ HOMEPAGE="https://pythonhosted.org/pafy/ https://pypi.org/project/pafy/"
LICENSE="LGPL-3"
SLOT="0"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="net-misc/youtube-dl[${PYTHON_USEDEP}]"