summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 19:05:43 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 19:28:12 +0100
commitaa96019939eadaf495f86d81a15471a7dc2987c5 (patch)
treeedeaaf8dfcb7bac63fb737edc8cfdc965d76ead1 /dev-python/zope-hookable
parentdev-python/zope-testing: Use pypi.eclass (diff)
downloadgentoo-aa96019939eadaf495f86d81a15471a7dc2987c5.tar.gz
gentoo-aa96019939eadaf495f86d81a15471a7dc2987c5.tar.bz2
gentoo-aa96019939eadaf495f86d81a15471a7dc2987c5.zip
dev-python/zope-hookable: Switch to pypi sdist
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-hookable')
-rw-r--r--dev-python/zope-hookable/Manifest2
-rw-r--r--dev-python/zope-hookable/zope-hookable-5.4.ebuild3
2 files changed, 3 insertions, 2 deletions
diff --git a/dev-python/zope-hookable/Manifest b/dev-python/zope-hookable/Manifest
index ac437d3314af..ea9bf6f8fcd1 100644
--- a/dev-python/zope-hookable/Manifest
+++ b/dev-python/zope-hookable/Manifest
@@ -1 +1 @@
-DIST zope-hookable-5.4.gh.tar.gz 25574 BLAKE2B 09d257e7884f9800088e2b2d9f66967244aced695899dc272dc76835b6a4df520e6486626acb91511d961f82c3df8c054d13f08ab92b0055fc73edb1b67913da SHA512 e109589dc67b155be99bceb5cb100ab1a728d3201126b2b17125054fc3b3f4f3424a11d28d222557ab74be3d67289e26dd6f3f161544970e09aad26e993e3103
+DIST zope.hookable-5.4.tar.gz 25390 BLAKE2B 6421e21d03cc4f7ab55c327b2b07d26e8873567d8730382bdc51cff8131e452c72b8a8accbda5698b7b63006c923823f1689800d7145601dab0af66def42c705 SHA512 aaa1c15927b19c6785de31171d7856b3e60755965538f923b26bba7048e6816749587b55a4dbbe555822021fc77d8ffd2705c4bbcf79016f4bbdc5c75c8ffdad
diff --git a/dev-python/zope-hookable/zope-hookable-5.4.ebuild b/dev-python/zope-hookable/zope-hookable-5.4.ebuild
index 7f0b35878a7e..79b926d6e252 100644
--- a/dev-python/zope-hookable/zope-hookable-5.4.ebuild
+++ b/dev-python/zope-hookable/zope-hookable-5.4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="Efficient creation of 'hookable' objects"
HOMEPAGE="
@@ -17,6 +17,7 @@ SRC_URI="
https://github.com/zopefoundation/zope.hookable/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
+SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
S=${WORKDIR}/${P/-/.}
LICENSE="ZPL"