diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-07 10:11:31 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-07 10:26:47 +0100 |
commit | 0fb1ad365cb5ee1ec3079c7bba650582bfb58858 (patch) | |
tree | 87b42c4fbd69c079c1997a77a26f4d36610cbe76 /dev-python/rst-linker | |
parent | dev-python/portend: Use pypi.eclass (diff) | |
download | gentoo-0fb1ad365cb5ee1ec3079c7bba650582bfb58858.tar.gz gentoo-0fb1ad365cb5ee1ec3079c7bba650582bfb58858.tar.bz2 gentoo-0fb1ad365cb5ee1ec3079c7bba650582bfb58858.zip |
dev-python/rst-linker: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rst-linker')
-rw-r--r-- | dev-python/rst-linker/rst-linker-2.4.0.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/rst-linker/rst-linker-2.4.0.ebuild b/dev-python/rst-linker/rst-linker-2.4.0.ebuild index af00fd4c42e9..94419f478d68 100644 --- a/dev-python/rst-linker/rst-linker-2.4.0.ebuild +++ b/dev-python/rst-linker/rst-linker-2.4.0.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_PN="${PN/-/.}" DESCRIPTION="Sphinx plugin to add links and timestamps to the changelog" HOMEPAGE=" https://github.com/jaraco/rst.linker/ https://pypi.org/project/rst.linker/ " -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" +SRC_URI="$(pypi_sdist_url "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="MIT" SLOT="0" |