1 |
commit: c1817958017e66441540377a9bad895bbac27e0c |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 27 19:27:26 2018 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 27 19:49:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1817958 |
7 |
|
8 |
dev-python/sip: cosmetic changes to minimize diff with PyQt5-sip |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org> |
12 |
|
13 |
dev-python/sip/sip-4.19.14_pre1812231555.ebuild | 9 +++++---- |
14 |
1 file changed, 5 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/sip/sip-4.19.14_pre1812231555.ebuild b/dev-python/sip/sip-4.19.14_pre1812231555.ebuild |
17 |
index 69b050301a6..294e56df9f4 100644 |
18 |
--- a/dev-python/sip/sip-4.19.14_pre1812231555.ebuild |
19 |
+++ b/dev-python/sip/sip-4.19.14_pre1812231555.ebuild |
20 |
@@ -9,12 +9,11 @@ inherit python-r1 toolchain-funcs |
21 |
DESCRIPTION="Python extension module generator for C and C++ libraries" |
22 |
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro" |
23 |
|
24 |
+MY_P=${P/_pre/.dev} |
25 |
if [[ ${PV} == *_pre* ]]; then |
26 |
- MY_P=${P/_pre/.dev} |
27 |
SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" |
28 |
- S=${WORKDIR}/${MY_P} |
29 |
else |
30 |
- SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz" |
31 |
+ SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz" |
32 |
fi |
33 |
|
34 |
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h |
35 |
@@ -23,10 +22,12 @@ LICENSE="|| ( GPL-2 GPL-3 SIP )" |
36 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
37 |
IUSE="debug doc" |
38 |
|
39 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
40 |
+ |
41 |
DEPEND="${PYTHON_DEPS}" |
42 |
RDEPEND="${DEPEND}" |
43 |
|
44 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
45 |
+S=${WORKDIR}/${MY_P} |
46 |
|
47 |
PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch ) |