diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-17 13:03:50 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-17 16:29:05 +0100 |
commit | 4f5c6070a7f4d14e4534974f0be3d8af667a54cd (patch) | |
tree | dcdaa97fd2ef71901790c1dd84fcabe2e5d0388e /dev-python/PyQt5 | |
parent | sci-libs/scikit-optimize: Use pypi.eclass (diff) | |
download | gentoo-4f5c6070a7f4d14e4534974f0be3d8af667a54cd.tar.gz gentoo-4f5c6070a7f4d14e4534974f0be3d8af667a54cd.tar.bz2 gentoo-4f5c6070a7f4d14e4534974f0be3d8af667a54cd.zip |
dev-python/PyQt5: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/PyQt5')
-rw-r--r-- | dev-python/PyQt5/PyQt5-5.15.9.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-python/PyQt5/PyQt5-5.15.9.ebuild b/dev-python/PyQt5/PyQt5-5.15.9.ebuild index 80b8a0cb9d4d..936b389127ca 100644 --- a/dev-python/PyQt5/PyQt5-5.15.9.ebuild +++ b/dev-python/PyQt5/PyQt5-5.15.9.ebuild @@ -3,19 +3,18 @@ EAPI=8 +PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( python3_{9..11} ) -inherit python-r1 qmake-utils +inherit pypi python-r1 qmake-utils DESCRIPTION="Python bindings for the Qt framework" HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/ https://pypi.org/project/PyQt5/" -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-3" SLOT="0" |