summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:48 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:42 +0100
commit576ebe1f1cdd8aad7b1c6e15545ac007236739c7 (patch)
treed5ac63ee559f502adfbc2601fd466da1dd0a1218 /dev-python/pysvg
parentdev-python/pyopenssl: Use pypi.eclass (diff)
downloadgentoo-576ebe1f1cdd8aad7b1c6e15545ac007236739c7.tar.gz
gentoo-576ebe1f1cdd8aad7b1c6e15545ac007236739c7.tar.bz2
gentoo-576ebe1f1cdd8aad7b1c6e15545ac007236739c7.zip
dev-python/pysvg: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pysvg')
-rw-r--r--dev-python/pysvg/pysvg-0.2.2_p3-r1.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-python/pysvg/pysvg-0.2.2_p3-r1.ebuild b/dev-python/pysvg/pysvg-0.2.2_p3-r1.ebuild
index 02bdefc85d91..289394834e5e 100644
--- a/dev-python/pysvg/pysvg-0.2.2_p3-r1.ebuild
+++ b/dev-python/pysvg/pysvg-0.2.2_p3-r1.ebuild
@@ -4,17 +4,14 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="pysvg-py3"
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-MY_PN="${PN}-py3"
-MY_PV="${PV/_p/.post}"
+inherit distutils-r1 pypi
DESCRIPTION="Python SVG document creation library"
HOMEPAGE="https://github.com/alorence/pysvg-py3"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${MY_PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${MY_PV}"
LICENSE="BSD"
SLOT="0"