summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-07 09:17:30 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 10:26:40 +0100
commit6816eb873b0a6e18ef2670a8ec88a8ea70a73efa (patch)
tree06b1015987ece1bcb5f83b73bcee1dab53c93b3e /dev-python/jaraco-stream
parentdev-python/jaraco-path: Use pypi.eclass (diff)
downloadgentoo-6816eb873b0a6e18ef2670a8ec88a8ea70a73efa.tar.gz
gentoo-6816eb873b0a6e18ef2670a8ec88a8ea70a73efa.tar.bz2
gentoo-6816eb873b0a6e18ef2670a8ec88a8ea70a73efa.zip
dev-python/jaraco-stream: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jaraco-stream')
-rw-r--r--dev-python/jaraco-stream/jaraco-stream-3.0.3-r1.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/jaraco-stream/jaraco-stream-3.0.3-r1.ebuild b/dev-python/jaraco-stream/jaraco-stream-3.0.3-r1.ebuild
index 2ec31f67576c..a8bdd74094c2 100644
--- a/dev-python/jaraco-stream/jaraco-stream-3.0.3-r1.ebuild
+++ b/dev-python/jaraco-stream/jaraco-stream-3.0.3-r1.ebuild
@@ -6,16 +6,15 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P=${P/-/.}
DESCRIPTION="Routines for handling streaming data"
HOMEPAGE="
https://github.com/jaraco/jaraco.stream/
https://pypi.org/project/jaraco.stream/
"
-SRC_URI="mirror://pypi/${MY_P::1}/${PN/-/.}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
+SRC_URI="$(pypi_sdist_url "${PN/-/.}")"
+S=${WORKDIR}/${P/-/.}
LICENSE="MIT"
SLOT="0"