summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 19:07:06 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 19:28:13 +0100
commit6666a149e0cadf836b91abc4baa7c170f01ef833 (patch)
tree698e6e541886b26a014465c59b4cfa0a95d09b51 /dev-python/zope-i18nmessageid
parentdev-python/zope-hookable: Switch to pypi sdist (diff)
downloadgentoo-6666a149e0cadf836b91abc4baa7c170f01ef833.tar.gz
gentoo-6666a149e0cadf836b91abc4baa7c170f01ef833.tar.bz2
gentoo-6666a149e0cadf836b91abc4baa7c170f01ef833.zip
dev-python/zope-i18nmessageid: Switch to pypi sdist
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-i18nmessageid')
-rw-r--r--dev-python/zope-i18nmessageid/Manifest2
-rw-r--r--dev-python/zope-i18nmessageid/zope-i18nmessageid-5.1.1.ebuild10
2 files changed, 4 insertions, 8 deletions
diff --git a/dev-python/zope-i18nmessageid/Manifest b/dev-python/zope-i18nmessageid/Manifest
index 8ad933318d92..d6fcde37dcba 100644
--- a/dev-python/zope-i18nmessageid/Manifest
+++ b/dev-python/zope-i18nmessageid/Manifest
@@ -1 +1 @@
-DIST zope-i18nmessageid-5.1.1.gh.tar.gz 28570 BLAKE2B 3cddac039da8ce2920cc6b22468eb33e065f7068049743b405f98b96f7c4d4f7b48b614ab4e700c48875c03787f5c1c31f7d2fd6aec18feb538ce4e85582910e SHA512 b1afd92c9dc12d12b5e0bb8657f35bc464f81ebedcb4931d0a6ba7e4f4e1975e57cdf76b8344f94efdc41c1319d1aa66175deda145d34486a0b54fe02cb95222
+DIST zope.i18nmessageid-5.1.1.tar.gz 30589 BLAKE2B aa87ecc7b757c2f3ff877ea908df102477b5f888067a6bf98aab6467adaf7baa713c5b413f528cc0010b4082d03b48d069537dbf223713ed914982eb8f040433 SHA512 4762dc67d4b665ede25eaaeae1458257fef994207a887f128fb5c64685bcde08bc17e24890cf36a14febb57295813c9152f14aeea854493e4197702bb4e3d719
diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.1.1.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.1.1.ebuild
index 8f4612cebff5..a8dfb51618a9 100644
--- a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.1.1.ebuild
+++ b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.1.1.ebuild
@@ -6,19 +6,15 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} pypy3 )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P=${P/-/.}
DESCRIPTION="Zope support for i18nmessageid (tagging source of i18n strings)"
HOMEPAGE="
https://pypi.org/project/zope.i18nmessageid/
https://github.com/zopefoundation/zope.i18nmessageid/
"
-SRC_URI="
- https://github.com/zopefoundation/zope.i18nmessageid/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
+SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")"
+S=${WORKDIR}/${P/-/.}
LICENSE="ZPL"
SLOT="0"