summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 18:51:41 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 18:54:57 +0100
commit2f077bfd6018c391ad27cd5b643c5de54379d8fe (patch)
treed4bd23ce6fe430f716667455482269613e80860e
parentdev-python/pytest-markdown: Use pypi.eclass (diff)
downloadgentoo-2f077bfd.tar.gz
gentoo-2f077bfd.tar.bz2
gentoo-2f077bfd.zip
dev-python/restructuredtext-lint: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild b/dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild
index 6809135a9916..d854750b9b2f 100644
--- a/dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild
+++ b/dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild
@@ -6,13 +6,10 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P="${P/-/_}"
DESCRIPTION="Checks PyPI validity of reStructuredText"
HOMEPAGE="https://pypi.org/project/restructuredtext-lint/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
LICENSE="Unlicense"
SLOT="0"