1 |
commit: 15dcfed6e964b6a783697d85e7023eb8fa353955 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 12:05:05 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 15:29:08 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15dcfed6 |
7 |
|
8 |
dev-python/PyQt-builder: Use pypi.eclass |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild | 9 ++++----- |
13 |
1 file changed, 4 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild |
16 |
index e6a4c96790ac..260560a447aa 100644 |
17 |
--- a/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild |
18 |
+++ b/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild |
19 |
@@ -3,19 +3,18 @@ |
20 |
|
21 |
EAPI=8 |
22 |
|
23 |
+PYPI_NO_NORMALIZE=1 |
24 |
PYTHON_COMPAT=( python3_{9..11} ) |
25 |
-inherit distutils-r1 |
26 |
+inherit distutils-r1 pypi |
27 |
|
28 |
DESCRIPTION="The PEP 517 compliant PyQt build system" |
29 |
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt-builder/ https://pypi.org/project/PyQt-builder/" |
30 |
|
31 |
-MY_P=${PN}-${PV/_pre/.dev} |
32 |
if [[ ${PV} == *_pre* ]]; then |
33 |
+ MY_P=${PN}-${PV/_pre/.dev} |
34 |
SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" |
35 |
-else |
36 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
37 |
+ S=${WORKDIR}/${MY_P} |
38 |
fi |
39 |
-S=${WORKDIR}/${MY_P} |
40 |
|
41 |
LICENSE="|| ( GPL-2 GPL-3 SIP )" |
42 |
SLOT="0" |