summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:54:05 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:57 +0100
commitde4f8c2ceb61e445c377aae9e1e1449d921d8755 (patch)
tree84bbb835ae46f279ba0b643e95a0d4c42a0ff1c4 /dev-python/wxpython
parentdev-python/wtforms: Use pypi.eclass (diff)
downloadgentoo-de4f8c2ceb61e445c377aae9e1e1449d921d8755.tar.gz
gentoo-de4f8c2ceb61e445c377aae9e1e1449d921d8755.tar.bz2
gentoo-de4f8c2ceb61e445c377aae9e1e1449d921d8755.zip
dev-python/wxpython: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/wxpython')
-rw-r--r--dev-python/wxpython/wxpython-4.2.0.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/dev-python/wxpython/wxpython-4.2.0.ebuild b/dev-python/wxpython/wxpython-4.2.0.ebuild
index 1c2f64bef4fe..3b580365bb1c 100644
--- a/dev-python/wxpython/wxpython-4.2.0.ebuild
+++ b/dev-python/wxpython/wxpython-4.2.0.ebuild
@@ -5,16 +5,14 @@ EAPI=8
DISTUTILS_IN_SOURCE_BUILD="1"
PYTHON_COMPAT=( python3_{9..11} )
+PYPI_NO_NORMALIZE=1
+PYPI_PN="wxPython"
WX_GTK_VER="3.2-gtk3"
-inherit distutils-r1 multiprocessing virtualx wxwidgets
-
-MY_PN="wxPython"
-MY_PV="${PV/_p/.post}"
+inherit distutils-r1 multiprocessing virtualx wxwidgets pypi
DESCRIPTION="A blending of the wxWindows C++ class library with Python"
HOMEPAGE="https://www.wxpython.org/"
-SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_PN}-${MY_PV}.tar.gz"
LICENSE="wxWinLL-3"
SLOT="4.0"
@@ -48,8 +46,6 @@ BDEPEND="
)
"
-S="${WORKDIR}/${MY_PN}-${MY_PV}"
-
PATCHES=(
#"${FILESDIR}/${PN}-4.0.6-skip-broken-tests.patch"
"${FILESDIR}/${PN}-4.2.0-no-attrdict.patch"