summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 13:05:05 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 16:29:08 +0100
commit15dcfed6e964b6a783697d85e7023eb8fa353955 (patch)
tree8b2eb60ffa980d4f82443d75aab01c079da50295 /dev-python/PyQt-builder
parentdev-python/PyQtWebEngine: Use pypi.eclass (diff)
downloadgentoo-15dcfed6e964b6a783697d85e7023eb8fa353955.tar.gz
gentoo-15dcfed6e964b6a783697d85e7023eb8fa353955.tar.bz2
gentoo-15dcfed6e964b6a783697d85e7023eb8fa353955.zip
dev-python/PyQt-builder: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PyQt-builder')
-rw-r--r--dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild
index e6a4c96790ac..260560a447aa 100644
--- a/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild
+++ b/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild
@@ -3,19 +3,18 @@
EAPI=8
+PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="The PEP 517 compliant PyQt build system"
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt-builder/ https://pypi.org/project/PyQt-builder/"
-MY_P=${PN}-${PV/_pre/.dev}
if [[ ${PV} == *_pre* ]]; then
+ MY_P=${PN}-${PV/_pre/.dev}
SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
-else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+ S=${WORKDIR}/${MY_P}
fi
-S=${WORKDIR}/${MY_P}
LICENSE="|| ( GPL-2 GPL-3 SIP )"
SLOT="0"