1 |
commit: ec1a16d658622b72ec658298725b6424713cb2da |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 10:48:15 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 26 17:15:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec1a16d6 |
7 |
|
8 |
dev-python/PyQt5: drop 5.15.4-r1 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
dev-python/PyQt5/Manifest | 1 - |
13 |
dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild | 185 -------------------------------- |
14 |
2 files changed, 186 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/PyQt5/Manifest b/dev-python/PyQt5/Manifest |
17 |
index 46239623771c..6977df11bf54 100644 |
18 |
--- a/dev-python/PyQt5/Manifest |
19 |
+++ b/dev-python/PyQt5/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST PyQt5-5.15.4.tar.gz 3258085 BLAKE2B 96bda4da1321e499707d29d9870693815170ccc32e2e0d7bb3c6977ea2933f9684557124deb92abbf92b923e0071cf47ee4822f6cb5d06fdc61b498efc44db4c SHA512 6d19f549a71eb8df8ba8407398ccd6e3d339436f4f2e7c5dca6885849d6ce510c4f4dea3c97257685aa462bb09a2ead33d80234ccb934f9b1a40285dbec631c7 |
22 |
DIST PyQt5-5.15.6.tar.gz 3239505 BLAKE2B e98d6af85ae4586dbb1b7db1d4cb17ccdac917a36a304a7486d553a681be9a920e8750173e49e58e02d0129890a8a713702977e64efbb386ce831b8aaef2b0fd SHA512 65fd663cb70e8701e49bd4b39dc9384546cf2edd1b3bab259ca64b50908f48bdc02ca143f36cd6b429075f5616dcc7b291607dcb63afa176e828cded3b82f5c7 |
23 |
|
24 |
diff --git a/dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild b/dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 2b0dd6118a38..000000000000 |
27 |
--- a/dev-python/PyQt5/PyQt5-5.15.4-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,185 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{8..10} ) |
36 |
-inherit multibuild python-r1 qmake-utils |
37 |
- |
38 |
-DESCRIPTION="Python bindings for the Qt framework" |
39 |
-HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro https://pypi.org/project/PyQt5/" |
40 |
- |
41 |
-MY_P=${PN}-${PV/_pre/.dev} |
42 |
-if [[ ${PV} == *_pre* ]]; then |
43 |
- SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" |
44 |
-else |
45 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
-fi |
47 |
-S=${WORKDIR}/${MY_P} |
48 |
- |
49 |
-LICENSE="GPL-3" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" |
52 |
- |
53 |
-# TODO: QtNfc, QtQuick3D, QtRemoteObjects |
54 |
-IUSE="bluetooth dbus debug declarative designer examples gles2-only gui help location |
55 |
- multimedia network opengl positioning printsupport sensors serialport speech |
56 |
- sql +ssl svg testlib webchannel websockets widgets x11extras xmlpatterns" |
57 |
- |
58 |
-# The requirements below were extracted from configure.py |
59 |
-# and from the output of 'grep -r "%Import " ${S}/sip' |
60 |
-REQUIRED_USE=" |
61 |
- ${PYTHON_REQUIRED_USE} |
62 |
- bluetooth? ( gui ) |
63 |
- declarative? ( gui network ) |
64 |
- designer? ( widgets ) |
65 |
- help? ( gui widgets ) |
66 |
- location? ( positioning ) |
67 |
- multimedia? ( gui network ) |
68 |
- opengl? ( gui widgets ) |
69 |
- positioning? ( gui ) |
70 |
- printsupport? ( gui widgets ) |
71 |
- sensors? ( gui ) |
72 |
- serialport? ( gui ) |
73 |
- sql? ( widgets ) |
74 |
- svg? ( gui widgets ) |
75 |
- testlib? ( widgets ) |
76 |
- webchannel? ( network ) |
77 |
- websockets? ( network ) |
78 |
- widgets? ( gui ) |
79 |
- xmlpatterns? ( network ) |
80 |
-" |
81 |
- |
82 |
-# Minimal supported version of Qt. |
83 |
-QT_PV="5.15:5" |
84 |
- |
85 |
-RDEPEND="${PYTHON_DEPS} |
86 |
- >=dev-python/PyQt5-sip-4.19.25:=[${PYTHON_USEDEP}] |
87 |
- >=dev-qt/qtcore-${QT_PV} |
88 |
- >=dev-qt/qtxml-${QT_PV} |
89 |
- bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} ) |
90 |
- dbus? ( |
91 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
92 |
- >=dev-qt/qtdbus-${QT_PV} |
93 |
- ) |
94 |
- declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) |
95 |
- designer? ( >=dev-qt/designer-${QT_PV} ) |
96 |
- gui? ( >=dev-qt/qtgui-${QT_PV}[gles2-only=] ) |
97 |
- help? ( >=dev-qt/qthelp-${QT_PV} ) |
98 |
- location? ( >=dev-qt/qtlocation-${QT_PV} ) |
99 |
- multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[widgets?] ) |
100 |
- network? ( >=dev-qt/qtnetwork-${QT_PV}[ssl=] ) |
101 |
- opengl? ( >=dev-qt/qtopengl-${QT_PV} ) |
102 |
- positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) |
103 |
- printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} ) |
104 |
- sensors? ( >=dev-qt/qtsensors-${QT_PV} ) |
105 |
- serialport? ( >=dev-qt/qtserialport-${QT_PV} ) |
106 |
- speech? ( >=dev-qt/qtspeech-${QT_PV} ) |
107 |
- sql? ( >=dev-qt/qtsql-${QT_PV} ) |
108 |
- svg? ( >=dev-qt/qtsvg-${QT_PV} ) |
109 |
- testlib? ( >=dev-qt/qttest-${QT_PV} ) |
110 |
- webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) |
111 |
- websockets? ( >=dev-qt/qtwebsockets-${QT_PV} ) |
112 |
- widgets? ( >=dev-qt/qtwidgets-${QT_PV} ) |
113 |
- x11extras? ( >=dev-qt/qtx11extras-${QT_PV} ) |
114 |
- xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} ) |
115 |
-" |
116 |
-DEPEND="${RDEPEND} |
117 |
- >=dev-python/sip-4.19.25:0[${PYTHON_USEDEP}] |
118 |
- dbus? ( virtual/pkgconfig ) |
119 |
-" |
120 |
- |
121 |
-pyqt_use_enable() { |
122 |
- use "$1" || return |
123 |
- |
124 |
- if [[ $# -eq 1 ]]; then |
125 |
- echo --enable=Qt${1^} |
126 |
- else |
127 |
- shift |
128 |
- echo ${@/#/--enable=} |
129 |
- fi |
130 |
-} |
131 |
- |
132 |
-src_configure() { |
133 |
- configuration() { |
134 |
- local myconf=( |
135 |
- "${EPYTHON}" |
136 |
- "${S}"/configure.py |
137 |
- $(usex debug '--debug --qml-debug --trace' '') |
138 |
- --verbose |
139 |
- --confirm-license |
140 |
- --qmake="$(qt5_get_bindir)"/qmake |
141 |
- --bindir="${EPREFIX}"/usr/bin |
142 |
- --qsci-api |
143 |
- --enable=QtCore |
144 |
- --enable=QtXml |
145 |
- $(pyqt_use_enable bluetooth) |
146 |
- $(pyqt_use_enable dbus QtDBus) |
147 |
- $(usex dbus '' --no-python-dbus) |
148 |
- $(pyqt_use_enable declarative QtQml QtQuick $(usex widgets QtQuickWidgets '')) |
149 |
- $(usex declarative '' --no-qml-plugin) |
150 |
- $(pyqt_use_enable designer) |
151 |
- $(usex designer '' --no-designer-plugin) |
152 |
- $(usex gles2-only '--disable-feature=PyQt_Desktop_OpenGL' '') |
153 |
- $(pyqt_use_enable gui) |
154 |
- $(pyqt_use_enable gui $(use gles2-only && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core})) |
155 |
- $(pyqt_use_enable help) |
156 |
- $(pyqt_use_enable location) |
157 |
- $(pyqt_use_enable multimedia QtMultimedia $(usex widgets QtMultimediaWidgets '')) |
158 |
- $(pyqt_use_enable network) |
159 |
- $(pyqt_use_enable opengl QtOpenGL) |
160 |
- $(pyqt_use_enable positioning) |
161 |
- $(pyqt_use_enable printsupport QtPrintSupport) |
162 |
- $(pyqt_use_enable sensors) |
163 |
- $(pyqt_use_enable serialport QtSerialPort) |
164 |
- $(pyqt_use_enable speech QtTextToSpeech) |
165 |
- $(pyqt_use_enable sql) |
166 |
- $(usex ssl '' '--disable-feature=PyQt_SSL') |
167 |
- $(pyqt_use_enable svg) |
168 |
- $(pyqt_use_enable testlib QtTest) |
169 |
- $(pyqt_use_enable webchannel QtWebChannel) |
170 |
- $(pyqt_use_enable websockets QtWebSockets) |
171 |
- $(pyqt_use_enable widgets) |
172 |
- $(pyqt_use_enable x11extras QtX11Extras) |
173 |
- $(pyqt_use_enable xmlpatterns QtXmlPatterns) |
174 |
- ) |
175 |
- echo "${myconf[@]}" |
176 |
- "${myconf[@]}" || die |
177 |
- |
178 |
- # Run eqmake to respect toolchain and build flags |
179 |
- eqmake5 -recursive ${PN}.pro |
180 |
- } |
181 |
- python_foreach_impl run_in_build_dir configuration |
182 |
-} |
183 |
- |
184 |
-src_compile() { |
185 |
- python_foreach_impl run_in_build_dir default |
186 |
-} |
187 |
- |
188 |
-src_install() { |
189 |
- installation() { |
190 |
- local tmp_root=${D}/${PN}_tmp_root |
191 |
- # parallel install fails because mk_distinfo.py runs too early |
192 |
- emake -j1 INSTALL_ROOT="${tmp_root}" install |
193 |
- |
194 |
- local bin_dir=${tmp_root}${EPREFIX}/usr/bin |
195 |
- local exe |
196 |
- for exe in pylupdate5 pyrcc5 pyuic5; do |
197 |
- python_doexe "${bin_dir}/${exe}" |
198 |
- rm "${bin_dir}/${exe}" || die |
199 |
- done |
200 |
- |
201 |
- local uic_dir=${tmp_root}$(python_get_sitedir)/${PN}/uic |
202 |
- rm -r "${uic_dir}"/port_v2 || die |
203 |
- |
204 |
- multibuild_merge_root "${tmp_root}" "${D}" |
205 |
- python_optimize |
206 |
- } |
207 |
- python_foreach_impl run_in_build_dir installation |
208 |
- |
209 |
- einstalldocs |
210 |
- |
211 |
- if use examples; then |
212 |
- dodoc -r examples |
213 |
- fi |
214 |
-} |