1 |
commit: d1089e1abd5503b3b793037eff867a924b6d2d09 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 2 19:48:29 2019 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 2 19:48:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1089e1a |
7 |
|
8 |
dev-python/PyQt5-sip: drop 4.19.14 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org> |
12 |
|
13 |
dev-python/PyQt5-sip/Manifest | 1 - |
14 |
dev-python/PyQt5-sip/PyQt5-sip-4.19.14.ebuild | 91 --------------------------- |
15 |
2 files changed, 92 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/PyQt5-sip/Manifest b/dev-python/PyQt5-sip/Manifest |
18 |
index e1c4da98063..ad60dd2d680 100644 |
19 |
--- a/dev-python/PyQt5-sip/Manifest |
20 |
+++ b/dev-python/PyQt5-sip/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST sip-4.19.14.tar.gz 1049688 BLAKE2B 8e68910f533d0f58bef1f20ec58579ce0166efaee2caef1c64d4e9878b0887040d9284a9fa5ee48d7a4f0949866d0b988b0d962303f0ace03a4ad48bd08eec5d SHA512 afde261331f38eac863d8cea0e343649f460f0b9a603d7fe91f14583904ea4b488bbd88d20fad5c985c43c6c1683fffee38676d94831ac8f2de40d9ed4d0423e |
23 |
DIST sip-4.19.15.tar.gz 1053921 BLAKE2B afe0f1c2faf839305d21da05a667e649c37ab42c95df86d237bbd8f39a6b8bb7224da547467311bf82a85ce8f0fafd8bb6dd7cbf6050f2b157773339438d6277 SHA512 9518a5e90d54758b13dd8752669d4deb175cea8d8cdf810deaf554cd157d32ab7e394d23c774993fac3b7c02d56445b80962457d59f5cda543917a0251816422 |
24 |
|
25 |
diff --git a/dev-python/PyQt5-sip/PyQt5-sip-4.19.14.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-4.19.14.ebuild |
26 |
deleted file mode 100644 |
27 |
index 0f179c01f2e..00000000000 |
28 |
--- a/dev-python/PyQt5-sip/PyQt5-sip-4.19.14.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,91 +0,0 @@ |
31 |
-# Copyright 1999-2019 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
37 |
-inherit python-r1 toolchain-funcs |
38 |
- |
39 |
-DESCRIPTION="Private sip module for PyQt5" |
40 |
-HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro" |
41 |
- |
42 |
-MY_P=sip-${PV/_pre/.dev} |
43 |
-if [[ ${PV} == *_pre* ]]; then |
44 |
- SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" |
45 |
-else |
46 |
- SRC_URI="https://www.riverbankcomputing.com/static/Downloads/sip/${MY_P}.tar.gz" |
47 |
-fi |
48 |
- |
49 |
-# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h |
50 |
-SLOT="0/12" |
51 |
-LICENSE="|| ( GPL-2 GPL-3 SIP )" |
52 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
53 |
-IUSE="" |
54 |
- |
55 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
56 |
- |
57 |
-DEPEND="${PYTHON_DEPS}" |
58 |
-RDEPEND="${DEPEND}" |
59 |
- |
60 |
-S=${WORKDIR}/${MY_P} |
61 |
- |
62 |
-src_prepare() { |
63 |
- # Sub-slot sanity check |
64 |
- local sub_slot=${SLOT#*/} |
65 |
- local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h || die) |
66 |
- if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then |
67 |
- eerror |
68 |
- eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})" |
69 |
- eerror "Please update SLOT variable as follows:" |
70 |
- eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\"" |
71 |
- eerror |
72 |
- die "sub-slot sanity check failed" |
73 |
- fi |
74 |
- |
75 |
- default |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- configuration() { |
80 |
- if ! python_is_python3; then |
81 |
- local CFLAGS="${CFLAGS} -fno-strict-aliasing" |
82 |
- fi |
83 |
- |
84 |
- local myconf=( |
85 |
- "${PYTHON}" |
86 |
- "${S}"/configure.py |
87 |
- --sip-module PyQt5.sip |
88 |
- --sysroot="${ESYSROOT}/usr" |
89 |
- --no-tools |
90 |
- AR="$(tc-getAR) cqs" |
91 |
- CC="$(tc-getCC)" |
92 |
- CFLAGS="${CFLAGS}" |
93 |
- CFLAGS_RELEASE= |
94 |
- CXX="$(tc-getCXX)" |
95 |
- CXXFLAGS="${CXXFLAGS}" |
96 |
- CXXFLAGS_RELEASE= |
97 |
- LINK="$(tc-getCXX)" |
98 |
- LINK_SHLIB="$(tc-getCXX)" |
99 |
- LFLAGS="${LDFLAGS}" |
100 |
- LFLAGS_RELEASE= |
101 |
- RANLIB= |
102 |
- STRIP= |
103 |
- ) |
104 |
- echo "${myconf[@]}" |
105 |
- "${myconf[@]}" || die |
106 |
- } |
107 |
- python_foreach_impl run_in_build_dir configuration |
108 |
-} |
109 |
- |
110 |
-src_compile() { |
111 |
- python_foreach_impl run_in_build_dir default |
112 |
-} |
113 |
- |
114 |
-src_install() { |
115 |
- installation() { |
116 |
- emake DESTDIR="${D}" install |
117 |
- } |
118 |
- python_foreach_impl run_in_build_dir installation |
119 |
- |
120 |
- einstalldocs |
121 |
-} |