summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 18:52:25 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 18:54:58 +0100
commit1a38d6734168ed0b7f3b1dd4200fefedb03c3612 (patch)
tree132615118e01b97a572c49b36b8a0c22d1e2d0db
parentdev-python/restructuredtext-lint: Use pypi.eclass (diff)
downloadgentoo-1a38d673.tar.gz
gentoo-1a38d673.tar.bz2
gentoo-1a38d673.zip
dev-python/rfc3986-validator: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild
index 834ec396986c..e6fe5fc4d92b 100644
--- a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild
+++ b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild
@@ -6,18 +6,13 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} pypy3 )
-inherit distutils-r1
-
-MY_PN="${PN//-/_}"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 pypi
DESCRIPTION="Pure python RFC3986 validator"
HOMEPAGE="
https://pypi.org/project/rfc3986-validator/
https://github.com/naimetti/rfc3986-validator
"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"