1 |
commit: 2f077bfd6018c391ad27cd5b643c5de54379d8fe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 17:51:41 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 17:54:57 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f077bfd |
7 |
|
8 |
dev-python/restructuredtext-lint: Use pypi.eclass |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild | 5 +---- |
13 |
1 file changed, 1 insertion(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild b/dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild |
16 |
index 6809135a9916..d854750b9b2f 100644 |
17 |
--- a/dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild |
18 |
+++ b/dev-python/restructuredtext-lint/restructuredtext-lint-1.4.0.ebuild |
19 |
@@ -6,13 +6,10 @@ EAPI=8 |
20 |
DISTUTILS_USE_PEP517=setuptools |
21 |
PYTHON_COMPAT=( python3_{9..11} ) |
22 |
|
23 |
-inherit distutils-r1 |
24 |
+inherit distutils-r1 pypi |
25 |
|
26 |
-MY_P="${P/-/_}" |
27 |
DESCRIPTION="Checks PyPI validity of reStructuredText" |
28 |
HOMEPAGE="https://pypi.org/project/restructuredtext-lint/" |
29 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${MY_P}.tar.gz" |
30 |
-S=${WORKDIR}/${MY_P} |
31 |
|
32 |
LICENSE="Unlicense" |
33 |
SLOT="0" |