summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-07 09:18:17 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 10:26:42 +0100
commit8fe816c955a652ea8a8f751faf696d23cd15aaf1 (patch)
treecd59529d09ac86278f509406bb9768e0bad4d2e8 /dev-python/jaraco-text
parentdev-python/jaraco-test: Use pypi.eclass (diff)
downloadgentoo-8fe816c955a652ea8a8f751faf696d23cd15aaf1.tar.gz
gentoo-8fe816c955a652ea8a8f751faf696d23cd15aaf1.tar.bz2
gentoo-8fe816c955a652ea8a8f751faf696d23cd15aaf1.zip
dev-python/jaraco-text: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jaraco-text')
-rw-r--r--dev-python/jaraco-text/jaraco-text-3.11.1.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/jaraco-text/jaraco-text-3.11.1.ebuild b/dev-python/jaraco-text/jaraco-text-3.11.1.ebuild
index befb604a10f1..c250f0d88525 100644
--- a/dev-python/jaraco-text/jaraco-text-3.11.1.ebuild
+++ b/dev-python/jaraco-text/jaraco-text-3.11.1.ebuild
@@ -7,16 +7,15 @@ EAPI=7
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{9..11} pypy3 )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P=${P/-/.}
DESCRIPTION="Text utilities used by other projects by developer jaraco"
HOMEPAGE="
https://github.com/jaraco/jaraco.text/
https://pypi.org/project/jaraco.text/
"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
+SRC_URI="$(pypi_sdist_url "${PN/-/.}")"
+S=${WORKDIR}/${P/-/.}
LICENSE="MIT"
SLOT="0"