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/PyQt5/
Date: Sat, 28 Nov 2020 21:59:14
Message-Id: 1606600737.79b9f7e7c0b4ff9dba0754f9bddce53653efe0f3.asturm@gentoo
1 commit: 79b9f7e7c0b4ff9dba0754f9bddce53653efe0f3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 28 12:58:19 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 21:58:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b9f7e7
7
8 dev-python/PyQt5: Drop 5.14.2-r1 and 5.15.0-r1
9
10 Package-Manager: Portage-3.0.10, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-python/PyQt5/Manifest | 2 -
14 dev-python/PyQt5/PyQt5-5.14.2-r1.ebuild | 193 --------------------------------
15 dev-python/PyQt5/PyQt5-5.15.0-r1.ebuild | 193 --------------------------------
16 3 files changed, 388 deletions(-)
17
18 diff --git a/dev-python/PyQt5/Manifest b/dev-python/PyQt5/Manifest
19 index a78c59a5651..954521b840f 100644
20 --- a/dev-python/PyQt5/Manifest
21 +++ b/dev-python/PyQt5/Manifest
22 @@ -1,3 +1 @@
23 -DIST PyQt5-5.14.2.tar.gz 3246557 BLAKE2B 0dd57da76dede97349c1af1d97cebad430dd5ae03c99b71de2e1ef1c41c1503820b0c0b1af8ddb507ffa5d6f466f7d3012db2cf625dad949dc4c962fb9e8a6a3 SHA512 56d9b2970ff50f2af0bfd889ad1226bf64087a6210cc545c5a0188352d1651343fcda9d53f04b041273f61bf31baf43af4a1854c1b580d50c28cff82f59c24ec
24 -DIST PyQt5-5.15.0.tar.gz 3262004 BLAKE2B 6f9751bb00a8099555da89cc0df26d36906fabaf12eba60d11479152ad78805ba84d6de9c32b6212a19edb38b10c2253976a964bdcfaf18b8b8aa3656126b73f SHA512 35bcfef4d7ccfee04c1c4409d2af3d862f1e8e46d6ce743bfcfbaf43d2046bc58317824b0840f3db460ad280d1b7e896812268b36225198e916a1d9ea86823a9
25 DIST PyQt5-5.15.1.tar.gz 3264559 BLAKE2B 20060297c52aa5d07ba28b50440bd3623b8648eef8502693f8175af9ba4edf9238b9be71c696ea2589556ad70e70e868dc9c286466af22867ab51d5c66e613db SHA512 a7378dd53337c58f5ba7e9f7510b57fe4affe578b68975ce1dd7ba5c2a1c77d08d51d11078ce782aab09509df934eb3e4d0588de87391f74ad99f9624644cc4e
26
27 diff --git a/dev-python/PyQt5/PyQt5-5.14.2-r1.ebuild b/dev-python/PyQt5/PyQt5-5.14.2-r1.ebuild
28 deleted file mode 100644
29 index 6f47872f089..00000000000
30 --- a/dev-python/PyQt5/PyQt5-5.14.2-r1.ebuild
31 +++ /dev/null
32 @@ -1,193 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{6,7,8,9} )
39 -inherit multibuild python-r1 qmake-utils
40 -
41 -DESCRIPTION="Python bindings for the Qt framework"
42 -HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro"
43 -
44 -MY_P=${PN}-${PV/_pre/.dev}
45 -if [[ ${PV} == *_pre* ]]; then
46 - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
47 -else
48 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
49 -fi
50 -
51 -LICENSE="GPL-3"
52 -SLOT="0"
53 -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86"
54 -
55 -# TODO: QtNfc, QtRemoteObjects
56 -IUSE="bluetooth dbus debug declarative designer examples gles2-only gui help location
57 - multimedia network networkauth opengl positioning printsupport sensors serialport
58 - sql +ssl svg testlib webchannel webkit websockets widgets x11extras xmlpatterns"
59 -
60 -# The requirements below were extracted from configure.py
61 -# and from the output of 'grep -r "%Import " "${S}"/sip'
62 -REQUIRED_USE="
63 - ${PYTHON_REQUIRED_USE}
64 - bluetooth? ( gui )
65 - declarative? ( gui network )
66 - designer? ( widgets )
67 - help? ( gui widgets )
68 - location? ( positioning )
69 - multimedia? ( gui network )
70 - networkauth? ( network )
71 - opengl? ( gui widgets )
72 - positioning? ( gui )
73 - printsupport? ( gui widgets )
74 - sensors? ( gui )
75 - serialport? ( gui )
76 - sql? ( widgets )
77 - svg? ( gui widgets )
78 - testlib? ( widgets )
79 - webchannel? ( network )
80 - webkit? ( gui network printsupport widgets )
81 - websockets? ( network )
82 - widgets? ( gui )
83 - xmlpatterns? ( network )
84 -"
85 -
86 -# Minimal supported version of Qt.
87 -QT_PV="5.12:5"
88 -
89 -RDEPEND="${PYTHON_DEPS}
90 - >=dev-python/PyQt5-sip-4.19.20:=[${PYTHON_USEDEP}]
91 - >=dev-qt/qtcore-${QT_PV}
92 - >=dev-qt/qtxml-${QT_PV}
93 - bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} )
94 - dbus? (
95 - dev-python/dbus-python[${PYTHON_USEDEP}]
96 - >=dev-qt/qtdbus-${QT_PV}
97 - )
98 - declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] )
99 - designer? ( >=dev-qt/designer-${QT_PV} )
100 - gui? ( >=dev-qt/qtgui-${QT_PV}[gles2-only=] )
101 - help? ( >=dev-qt/qthelp-${QT_PV} )
102 - location? ( >=dev-qt/qtlocation-${QT_PV} )
103 - multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[widgets?] )
104 - network? ( >=dev-qt/qtnetwork-${QT_PV}[ssl=] )
105 - networkauth? ( >=dev-qt/qtnetworkauth-${QT_PV} )
106 - opengl? ( >=dev-qt/qtopengl-${QT_PV} )
107 - positioning? ( >=dev-qt/qtpositioning-${QT_PV} )
108 - printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} )
109 - sensors? ( >=dev-qt/qtsensors-${QT_PV} )
110 - serialport? ( >=dev-qt/qtserialport-${QT_PV} )
111 - sql? ( >=dev-qt/qtsql-${QT_PV} )
112 - svg? ( >=dev-qt/qtsvg-${QT_PV} )
113 - testlib? ( >=dev-qt/qttest-${QT_PV} )
114 - webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} )
115 - webkit? ( dev-qt/qtwebkit:5[printsupport] )
116 - websockets? ( >=dev-qt/qtwebsockets-${QT_PV} )
117 - widgets? ( >=dev-qt/qtwidgets-${QT_PV} )
118 - x11extras? ( >=dev-qt/qtx11extras-${QT_PV} )
119 - xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
120 -"
121 -DEPEND="${RDEPEND}
122 - >=dev-python/sip-4.19.20[${PYTHON_USEDEP}]
123 - dbus? ( virtual/pkgconfig )
124 -"
125 -
126 -S=${WORKDIR}/${MY_P}
127 -
128 -pyqt_use_enable() {
129 - use "$1" || return
130 -
131 - if [[ $# -eq 1 ]]; then
132 - echo --enable=Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1}
133 - else
134 - shift
135 - echo ${@/#/--enable=}
136 - fi
137 -}
138 -
139 -src_configure() {
140 - configuration() {
141 - local myconf=(
142 - "${PYTHON}"
143 - "${S}"/configure.py
144 - $(usex debug '--debug --qml-debug --trace' '')
145 - --verbose
146 - --confirm-license
147 - --qmake="$(qt5_get_bindir)"/qmake
148 - --bindir="${EPREFIX}/usr/bin"
149 - --qsci-api
150 - --enable=QtCore
151 - --enable=QtXml
152 - $(pyqt_use_enable bluetooth)
153 - $(pyqt_use_enable dbus QtDBus)
154 - $(usex dbus '' --no-python-dbus)
155 - $(pyqt_use_enable declarative QtQml QtQuick $(usex widgets QtQuickWidgets ''))
156 - $(usex declarative '' --no-qml-plugin)
157 - $(pyqt_use_enable designer)
158 - $(usex designer '' --no-designer-plugin)
159 - $(usex gles2-only '--disable-feature=PyQt_Desktop_OpenGL' '')
160 - $(pyqt_use_enable gui)
161 - $(pyqt_use_enable gui $(use gles2-only && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core}))
162 - $(pyqt_use_enable help)
163 - $(pyqt_use_enable location)
164 - $(pyqt_use_enable multimedia QtMultimedia $(usex widgets QtMultimediaWidgets ''))
165 - $(pyqt_use_enable network)
166 - $(pyqt_use_enable networkauth QtNetworkAuth)
167 - $(pyqt_use_enable opengl QtOpenGL)
168 - $(pyqt_use_enable positioning)
169 - $(pyqt_use_enable printsupport QtPrintSupport)
170 - $(pyqt_use_enable sensors)
171 - $(pyqt_use_enable serialport QtSerialPort)
172 - $(pyqt_use_enable sql)
173 - $(usex ssl '' '--disable-feature=PyQt_SSL')
174 - $(pyqt_use_enable svg)
175 - $(pyqt_use_enable testlib QtTest)
176 - $(pyqt_use_enable webchannel QtWebChannel)
177 - $(pyqt_use_enable webkit QtWebKit QtWebKitWidgets)
178 - $(pyqt_use_enable websockets QtWebSockets)
179 - $(pyqt_use_enable widgets)
180 - $(pyqt_use_enable x11extras QtX11Extras)
181 - $(pyqt_use_enable xmlpatterns QtXmlPatterns)
182 - )
183 - echo "${myconf[@]}"
184 - "${myconf[@]}" || die
185 -
186 - # Fix parallel install failure
187 - sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets install_pep484_stubs install_qscintilla_api' \
188 - ${PN}.pro || die
189 -
190 - # Run eqmake to respect toolchain and build flags
191 - eqmake5 -recursive ${PN}.pro
192 - }
193 - python_foreach_impl run_in_build_dir configuration
194 -}
195 -
196 -src_compile() {
197 - python_foreach_impl run_in_build_dir default
198 -}
199 -
200 -src_install() {
201 - installation() {
202 - local tmp_root=${D}/${PN}_tmp_root
203 - emake INSTALL_ROOT="${tmp_root}" install
204 -
205 - local bin_dir=${tmp_root}${EPREFIX}/usr/bin
206 - local exe
207 - for exe in pylupdate5 pyrcc5 pyuic5; do
208 - python_doexe "${bin_dir}/${exe}"
209 - rm "${bin_dir}/${exe}" || die
210 - done
211 -
212 - local uic_dir=${tmp_root}$(python_get_sitedir)/${PN}/uic
213 - rm -r "${uic_dir}"/port_v2 || die
214 -
215 - multibuild_merge_root "${tmp_root}" "${D}"
216 - python_optimize
217 - }
218 - python_foreach_impl run_in_build_dir installation
219 -
220 - einstalldocs
221 -
222 - if use examples; then
223 - dodoc -r examples
224 - fi
225 -}
226
227 diff --git a/dev-python/PyQt5/PyQt5-5.15.0-r1.ebuild b/dev-python/PyQt5/PyQt5-5.15.0-r1.ebuild
228 deleted file mode 100644
229 index 075b0001293..00000000000
230 --- a/dev-python/PyQt5/PyQt5-5.15.0-r1.ebuild
231 +++ /dev/null
232 @@ -1,193 +0,0 @@
233 -# Copyright 1999-2020 Gentoo Authors
234 -# Distributed under the terms of the GNU General Public License v2
235 -
236 -EAPI=7
237 -
238 -PYTHON_COMPAT=( python3_{6..9} )
239 -inherit multibuild python-r1 qmake-utils
240 -
241 -DESCRIPTION="Python bindings for the Qt framework"
242 -HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro"
243 -
244 -MY_P=${PN}-${PV/_pre/.dev}
245 -if [[ ${PV} == *_pre* ]]; then
246 - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
247 -else
248 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
249 -fi
250 -
251 -LICENSE="GPL-3"
252 -SLOT="0"
253 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
254 -
255 -# TODO: QtNfc, QtQuick3D, QtRemoteObjects
256 -IUSE="bluetooth dbus debug declarative designer examples gles2-only gui help location
257 - multimedia network networkauth opengl positioning printsupport sensors serialport
258 - sql +ssl svg testlib webchannel webkit websockets widgets x11extras xmlpatterns"
259 -
260 -# The requirements below were extracted from configure.py
261 -# and from the output of 'grep -r "%Import " "${S}"/sip'
262 -REQUIRED_USE="
263 - ${PYTHON_REQUIRED_USE}
264 - bluetooth? ( gui )
265 - declarative? ( gui network )
266 - designer? ( widgets )
267 - help? ( gui widgets )
268 - location? ( positioning )
269 - multimedia? ( gui network )
270 - networkauth? ( network )
271 - opengl? ( gui widgets )
272 - positioning? ( gui )
273 - printsupport? ( gui widgets )
274 - sensors? ( gui )
275 - serialport? ( gui )
276 - sql? ( widgets )
277 - svg? ( gui widgets )
278 - testlib? ( widgets )
279 - webchannel? ( network )
280 - webkit? ( gui network printsupport widgets )
281 - websockets? ( network )
282 - widgets? ( gui )
283 - xmlpatterns? ( network )
284 -"
285 -
286 -# Minimal supported version of Qt.
287 -QT_PV="5.12:5"
288 -
289 -RDEPEND="${PYTHON_DEPS}
290 - >=dev-python/PyQt5-sip-4.19.23:=[${PYTHON_USEDEP}]
291 - >=dev-qt/qtcore-${QT_PV}
292 - >=dev-qt/qtxml-${QT_PV}
293 - bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} )
294 - dbus? (
295 - dev-python/dbus-python[${PYTHON_USEDEP}]
296 - >=dev-qt/qtdbus-${QT_PV}
297 - )
298 - declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] )
299 - designer? ( >=dev-qt/designer-${QT_PV} )
300 - gui? ( >=dev-qt/qtgui-${QT_PV}[gles2-only=] )
301 - help? ( >=dev-qt/qthelp-${QT_PV} )
302 - location? ( >=dev-qt/qtlocation-${QT_PV} )
303 - multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[widgets?] )
304 - network? ( >=dev-qt/qtnetwork-${QT_PV}[ssl=] )
305 - networkauth? ( >=dev-qt/qtnetworkauth-${QT_PV} )
306 - opengl? ( >=dev-qt/qtopengl-${QT_PV} )
307 - positioning? ( >=dev-qt/qtpositioning-${QT_PV} )
308 - printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} )
309 - sensors? ( >=dev-qt/qtsensors-${QT_PV} )
310 - serialport? ( >=dev-qt/qtserialport-${QT_PV} )
311 - sql? ( >=dev-qt/qtsql-${QT_PV} )
312 - svg? ( >=dev-qt/qtsvg-${QT_PV} )
313 - testlib? ( >=dev-qt/qttest-${QT_PV} )
314 - webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} )
315 - webkit? ( dev-qt/qtwebkit:5[printsupport] )
316 - websockets? ( >=dev-qt/qtwebsockets-${QT_PV} )
317 - widgets? ( >=dev-qt/qtwidgets-${QT_PV} )
318 - x11extras? ( >=dev-qt/qtx11extras-${QT_PV} )
319 - xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
320 -"
321 -DEPEND="${RDEPEND}
322 - >=dev-python/sip-4.19.23[${PYTHON_USEDEP}]
323 - dbus? ( virtual/pkgconfig )
324 -"
325 -
326 -S=${WORKDIR}/${MY_P}
327 -
328 -pyqt_use_enable() {
329 - use "$1" || return
330 -
331 - if [[ $# -eq 1 ]]; then
332 - echo --enable=Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1}
333 - else
334 - shift
335 - echo ${@/#/--enable=}
336 - fi
337 -}
338 -
339 -src_configure() {
340 - configuration() {
341 - local myconf=(
342 - "${PYTHON}"
343 - "${S}"/configure.py
344 - $(usex debug '--debug --qml-debug --trace' '')
345 - --verbose
346 - --confirm-license
347 - --qmake="$(qt5_get_bindir)"/qmake
348 - --bindir="${EPREFIX}/usr/bin"
349 - --qsci-api
350 - --enable=QtCore
351 - --enable=QtXml
352 - $(pyqt_use_enable bluetooth)
353 - $(pyqt_use_enable dbus QtDBus)
354 - $(usex dbus '' --no-python-dbus)
355 - $(pyqt_use_enable declarative QtQml QtQuick $(usex widgets QtQuickWidgets ''))
356 - $(usex declarative '' --no-qml-plugin)
357 - $(pyqt_use_enable designer)
358 - $(usex designer '' --no-designer-plugin)
359 - $(usex gles2-only '--disable-feature=PyQt_Desktop_OpenGL' '')
360 - $(pyqt_use_enable gui)
361 - $(pyqt_use_enable gui $(use gles2-only && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core}))
362 - $(pyqt_use_enable help)
363 - $(pyqt_use_enable location)
364 - $(pyqt_use_enable multimedia QtMultimedia $(usex widgets QtMultimediaWidgets ''))
365 - $(pyqt_use_enable network)
366 - $(pyqt_use_enable networkauth QtNetworkAuth)
367 - $(pyqt_use_enable opengl QtOpenGL)
368 - $(pyqt_use_enable positioning)
369 - $(pyqt_use_enable printsupport QtPrintSupport)
370 - $(pyqt_use_enable sensors)
371 - $(pyqt_use_enable serialport QtSerialPort)
372 - $(pyqt_use_enable sql)
373 - $(usex ssl '' '--disable-feature=PyQt_SSL')
374 - $(pyqt_use_enable svg)
375 - $(pyqt_use_enable testlib QtTest)
376 - $(pyqt_use_enable webchannel QtWebChannel)
377 - $(pyqt_use_enable webkit QtWebKit QtWebKitWidgets)
378 - $(pyqt_use_enable websockets QtWebSockets)
379 - $(pyqt_use_enable widgets)
380 - $(pyqt_use_enable x11extras QtX11Extras)
381 - $(pyqt_use_enable xmlpatterns QtXmlPatterns)
382 - )
383 - echo "${myconf[@]}"
384 - "${myconf[@]}" || die
385 -
386 - # Fix parallel install failure
387 - sed -i -e '/INSTALLS += distinfo/i distinfo.depends = install_subtargets install_pep484_stubs install_qscintilla_api' \
388 - ${PN}.pro || die
389 -
390 - # Run eqmake to respect toolchain and build flags
391 - eqmake5 -recursive ${PN}.pro
392 - }
393 - python_foreach_impl run_in_build_dir configuration
394 -}
395 -
396 -src_compile() {
397 - python_foreach_impl run_in_build_dir default
398 -}
399 -
400 -src_install() {
401 - installation() {
402 - local tmp_root=${D}/${PN}_tmp_root
403 - emake INSTALL_ROOT="${tmp_root}" install
404 -
405 - local bin_dir=${tmp_root}${EPREFIX}/usr/bin
406 - local exe
407 - for exe in pylupdate5 pyrcc5 pyuic5; do
408 - python_doexe "${bin_dir}/${exe}"
409 - rm "${bin_dir}/${exe}" || die
410 - done
411 -
412 - local uic_dir=${tmp_root}$(python_get_sitedir)/${PN}/uic
413 - rm -r "${uic_dir}"/port_v2 || die
414 -
415 - multibuild_merge_root "${tmp_root}" "${D}"
416 - python_optimize
417 - }
418 - python_foreach_impl run_in_build_dir installation
419 -
420 - einstalldocs
421 -
422 - if use examples; then
423 - dodoc -r examples
424 - fi
425 -}