Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sip/
Date: Thu, 10 May 2018 14:23:42
Message-Id: 1525962124.c5ded35bf7c8bef42224be8f391346fbf85ceb9d.asturm@gentoo
1 commit: c5ded35bf7c8bef42224be8f391346fbf85ceb9d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 6 22:04:17 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu May 10 14:22:04 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ded35b
7
8 dev-python/sip: Drop old
9
10 Closes: https://bugs.gentoo.org/642822
11 Package-Manager: Portage-2.3.36, Repoman-2.3.9
12
13 dev-python/sip/Manifest | 2 -
14 dev-python/sip/sip-4.19.3.ebuild | 87 ------------------------------
15 dev-python/sip/sip-4.19.7.ebuild | 112 ---------------------------------------
16 3 files changed, 201 deletions(-)
17
18 diff --git a/dev-python/sip/Manifest b/dev-python/sip/Manifest
19 index c4a7948645b..934806d30c5 100644
20 --- a/dev-python/sip/Manifest
21 +++ b/dev-python/sip/Manifest
22 @@ -1,3 +1 @@
23 -DIST sip-4.19.3.tar.gz 1007481 BLAKE2B cf4d53c956aa046f165e9ec05126fa9b6ca3df688b16ff79520da8ea82f7e9622e03448030db14b0d21ba090893375814f39d6b3fc62343880aa169c2680394f SHA512 b2dea0cb5e1b23531f35e94bd604ec9874f0875badb5b20eb5abd2732a1005b2dd15bb42e0007b65053a2153b50659f24671abd83a434991661168a5778b94bc
24 -DIST sip-4.19.7.tar.gz 1022209 BLAKE2B 51b29bd436ce7af2d4a3b45ace100075bd257c23982c6e1fcd3f8b2998ee360f1ac42683fbd0e3a371cb044a682c326e00e907db0961aebc70bfb6b583ad2bc7 SHA512 0cead34e129d25ee3d908e503a3853289bbfd77c58c563a2046ce7b65bd8f0b318b20af72346cbf4cb7a17e76c9c1374f686b5dabc284d7247897a1648c15f97
25 DIST sip-4.19.8.tar.gz 1024548 BLAKE2B e43dfe542061db9f1d5981d0cc172d9c8420c4e66c282c52974ab28314c33bd28e6056b61f74b04680c1735c9bd2c4656e1a541f4bae94c858d18713f6222914 SHA512 9c0a9722a9a9dd23e2eabe751d622cdd31b376b7987b2c991f5ef4a8d11853c5c6e9f1c24a0d2d864d3990e2a45c2a159ca8511efd4a7e156a14937ef3c680f7
26
27 diff --git a/dev-python/sip/sip-4.19.3.ebuild b/dev-python/sip/sip-4.19.3.ebuild
28 deleted file mode 100644
29 index 38c05afc296..00000000000
30 --- a/dev-python/sip/sip-4.19.3.ebuild
31 +++ /dev/null
32 @@ -1,87 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
39 -
40 -inherit python-r1 toolchain-funcs
41 -
42 -DESCRIPTION="Python extension module generator for C and C++ libraries"
43 -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
44 -SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
45 -
46 -# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
47 -SLOT="0/12"
48 -LICENSE="|| ( GPL-2 GPL-3 SIP )"
49 -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
50 -IUSE="debug doc"
51 -
52 -RDEPEND="${PYTHON_DEPS}"
53 -DEPEND="${RDEPEND}"
54 -
55 -REQUIRED_USE="
56 - ${PYTHON_REQUIRED_USE}
57 -"
58 -
59 -PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch )
60 -
61 -src_prepare() {
62 - # Sub-slot sanity check
63 - local sub_slot=${SLOT#*/}
64 - local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in)
65 - if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
66 - eerror
67 - eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
68 - eerror "Please update SLOT variable as follows:"
69 - eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
70 - eerror
71 - die "sub-slot sanity check failed"
72 - fi
73 -
74 - default
75 -}
76 -
77 -src_configure() {
78 - configuration() {
79 - local myconf=(
80 - "${PYTHON}"
81 - "${S}"/configure.py
82 - --bindir="${EPREFIX}/usr/bin"
83 - --destdir="$(python_get_sitedir)"
84 - --incdir="$(python_get_includedir)"
85 - $(usex debug --debug '')
86 - AR="$(tc-getAR) cqs"
87 - CC="$(tc-getCC)"
88 - CFLAGS="${CFLAGS}"
89 - CFLAGS_RELEASE=
90 - CXX="$(tc-getCXX)"
91 - CXXFLAGS="${CXXFLAGS}"
92 - CXXFLAGS_RELEASE=
93 - LINK="$(tc-getCXX)"
94 - LINK_SHLIB="$(tc-getCXX)"
95 - LFLAGS="${LDFLAGS}"
96 - LFLAGS_RELEASE=
97 - RANLIB=
98 - STRIP=
99 - )
100 - echo "${myconf[@]}"
101 - "${myconf[@]}" || die
102 - }
103 - python_foreach_impl run_in_build_dir configuration
104 -}
105 -
106 -src_compile() {
107 - python_foreach_impl run_in_build_dir default
108 -}
109 -
110 -src_install() {
111 - installation() {
112 - emake DESTDIR="${D}" install
113 - python_optimize
114 - }
115 - python_foreach_impl run_in_build_dir installation
116 -
117 - einstalldocs
118 - use doc && dodoc -r doc/html
119 -}
120
121 diff --git a/dev-python/sip/sip-4.19.7.ebuild b/dev-python/sip/sip-4.19.7.ebuild
122 deleted file mode 100644
123 index 08a8e8d9377..00000000000
124 --- a/dev-python/sip/sip-4.19.7.ebuild
125 +++ /dev/null
126 @@ -1,112 +0,0 @@
127 -# Copyright 1999-2018 Gentoo Foundation
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=6
131 -
132 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
133 -
134 -inherit python-r1 toolchain-funcs
135 -
136 -DESCRIPTION="Python extension module generator for C and C++ libraries"
137 -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
138 -
139 -if [[ ${PV} == *9999 ]]; then
140 - inherit mercurial
141 - EHG_REPO_URI="https://www.riverbankcomputing.com/hg/sip"
142 -elif [[ ${PV} == *_pre* ]]; then
143 - MY_P=${P/_pre/.dev}
144 - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
145 - S=${WORKDIR}/${MY_P}
146 -else
147 - SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
148 -fi
149 -
150 -# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
151 -SLOT="0/12"
152 -LICENSE="|| ( GPL-2 GPL-3 SIP )"
153 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
154 -IUSE="debug doc"
155 -
156 -RDEPEND="${PYTHON_DEPS}"
157 -DEPEND="${RDEPEND}"
158 -if [[ ${PV} == *9999 ]]; then
159 - DEPEND+="
160 - sys-devel/bison
161 - sys-devel/flex
162 - doc? ( dev-python/sphinx[$(python_gen_usedep 'python2*')] )"
163 -fi
164 -
165 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
166 -if [[ ${PV} == *9999 ]]; then
167 - REQUIRED_USE+=" || ( $(python_gen_useflags 'python2*') )"
168 -fi
169 -
170 -PATCHES=( "${FILESDIR}"/${PN}-4.18-darwin.patch )
171 -
172 -src_prepare() {
173 - if [[ ${PV} == *9999 ]]; then
174 - python_setup 'python2*'
175 - "${PYTHON}" build.py prepare || die
176 - if use doc; then
177 - "${PYTHON}" build.py doc || die
178 - fi
179 - fi
180 -
181 - # Sub-slot sanity check
182 - local sub_slot=${SLOT#*/}
183 - local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in)
184 - if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
185 - eerror
186 - eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
187 - eerror "Please update SLOT variable as follows:"
188 - eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
189 - eerror
190 - die "sub-slot sanity check failed"
191 - fi
192 -
193 - default
194 -}
195 -
196 -src_configure() {
197 - configuration() {
198 - local myconf=(
199 - "${PYTHON}"
200 - "${S}"/configure.py
201 - --bindir="${EPREFIX}/usr/bin"
202 - --destdir="$(python_get_sitedir)"
203 - --incdir="$(python_get_includedir)"
204 - $(usex debug --debug '')
205 - AR="$(tc-getAR) cqs"
206 - CC="$(tc-getCC)"
207 - CFLAGS="${CFLAGS}"
208 - CFLAGS_RELEASE=
209 - CXX="$(tc-getCXX)"
210 - CXXFLAGS="${CXXFLAGS}"
211 - CXXFLAGS_RELEASE=
212 - LINK="$(tc-getCXX)"
213 - LINK_SHLIB="$(tc-getCXX)"
214 - LFLAGS="${LDFLAGS}"
215 - LFLAGS_RELEASE=
216 - RANLIB=
217 - STRIP=
218 - )
219 - echo "${myconf[@]}"
220 - "${myconf[@]}" || die
221 - }
222 - python_foreach_impl run_in_build_dir configuration
223 -}
224 -
225 -src_compile() {
226 - python_foreach_impl run_in_build_dir default
227 -}
228 -
229 -src_install() {
230 - installation() {
231 - emake DESTDIR="${D}" install
232 - python_optimize
233 - }
234 - python_foreach_impl run_in_build_dir installation
235 -
236 - einstalldocs
237 - use doc && dodoc -r doc/html
238 -}