summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-01 07:14:36 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-01 07:16:25 +0100
commit34198cbaacb13b7fe0111100d496ef65d8bed3fc (patch)
tree958e8916fe29c7a6be66129531ae1aab6fa70342 /dev-python
parentdev-python/zc-lockfile: Add GH remote-id (diff)
downloadgentoo-34198cbaacb13b7fe0111100d496ef65d8bed3fc.tar.gz
gentoo-34198cbaacb13b7fe0111100d496ef65d8bed3fc.tar.bz2
gentoo-34198cbaacb13b7fe0111100d496ef65d8bed3fc.zip
dev-python/Babel: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Babel/Babel-2.12.1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/Babel/Babel-2.12.1.ebuild b/dev-python/Babel/Babel-2.12.1.ebuild
index 9b065911085d..818272ef77fa 100644
--- a/dev-python/Babel/Babel-2.12.1.ebuild
+++ b/dev-python/Babel/Babel-2.12.1.ebuild
@@ -4,10 +4,11 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( pypy3 python3_{9..11} )
PYTHON_REQ_USE="threads(+)"
-inherit distutils-r1
+inherit distutils-r1 pypi
# see scripts/download_import_cldr.py
CLDR_PV=42.0
@@ -17,8 +18,7 @@ HOMEPAGE="
https://pypi.org/project/Babel/
https://github.com/python-babel/babel/
"
-SRC_URI="
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+SRC_URI+="
https://unicode.org/Public/cldr/${CLDR_PV%.*}/cldr-common-${CLDR_PV}.zip
"