summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:41 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:35 +0100
commit3d55dc48a1520845b376337d294a116b6cf784ae (patch)
treeba81037af52e848f489970c3cd42da27b71c32d5 /dev-python/pmw
parentdev-python/pebble: Use pypi.eclass (diff)
downloadgentoo-3d55dc48a1520845b376337d294a116b6cf784ae.tar.gz
gentoo-3d55dc48a1520845b376337d294a116b6cf784ae.tar.bz2
gentoo-3d55dc48a1520845b376337d294a116b6cf784ae.zip
dev-python/pmw: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pmw')
-rw-r--r--dev-python/pmw/pmw-2.0.1-r3.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-python/pmw/pmw-2.0.1-r3.ebuild b/dev-python/pmw/pmw-2.0.1-r3.ebuild
index 9ea8d5b6f9b1..ec893763e12c 100644
--- a/dev-python/pmw/pmw-2.0.1-r3.ebuild
+++ b/dev-python/pmw/pmw-2.0.1-r3.ebuild
@@ -4,18 +4,15 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
PYTHON_COMPAT=( python3_{9..10} )
PYTHON_REQ_USE="tk"
-inherit distutils-r1 virtualx
-
-MY_PN="Pmw"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 virtualx pypi
DESCRIPTION="Toolkit for building high-level compound Python widgets using the Tkinter module"
HOMEPAGE="http://pmw.sourceforge.net/"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="py3"