1 |
commit: 266b4055304cedb8842aaab352f2726fe5cb5f3f |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 6 18:55:13 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 10 14:16:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=266b4055 |
7 |
|
8 |
dev-python/PyQt5: Drop 5.7.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
11 |
|
12 |
dev-python/PyQt5/Manifest | 1 - |
13 |
dev-python/PyQt5/PyQt5-5.7.1.ebuild | 195 ------------------------------------ |
14 |
2 files changed, 196 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/PyQt5/Manifest b/dev-python/PyQt5/Manifest |
17 |
index f19f0075d9c..45f36f7c52f 100644 |
18 |
--- a/dev-python/PyQt5/Manifest |
19 |
+++ b/dev-python/PyQt5/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST PyQt5_gpl-5.10.1.tar.gz 3110469 BLAKE2B 75e24bd8c0739d47eff6212435aa783eaa302633beb0494f099edc3f8f99600cd03dc3cba5152ed7ae703cfe445ecae06ec5d2281dd7c0640c71db041659bd6f SHA512 04cd0292f7a088f9c0d088d7c73ec96cfc40253f771dfdf194eb92be7635e6fcaf04863fa24215e9c34a096658549bb2feeb8d8fdca1e39ed87f0256ef0f790b |
22 |
-DIST PyQt5_gpl-5.7.1.tar.gz 3733746 BLAKE2B de8aea058876d740f391901434fa2c7ca1760b323b555efb48b06f8ba3213baccec676bc3984832e0775b28f0d2b2ddf0c37fa35317c237ed9af2e20469ff9ae SHA512 7498713f73807522e58ae38ff58548cf80c2f2c418d6c55e20ce613cdc997e4ee7139076f1f152c7c3edb970bde14febc3496009f934e31ff71f01a1605f558f |
23 |
DIST PyQt5_gpl-5.9.2.tar.gz 3102848 BLAKE2B b87f25693aa2b20211119f89cf13665bf88f14de8827d43ba757344ab9bdef0b0c197abb8386308c72925da263cabb6efd3f104db8a350c51fca3fba8c7c06b6 SHA512 5af2e65addaed7dd02d8dbf7a7c63767e565fc8edeb7b51e5991a00cda29f75b666529097646e821aaff556f350a929fd451f548bba76e97355b7fe10bd913bc |
24 |
|
25 |
diff --git a/dev-python/PyQt5/PyQt5-5.7.1.ebuild b/dev-python/PyQt5/PyQt5-5.7.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 757f91b7a17..00000000000 |
28 |
--- a/dev-python/PyQt5/PyQt5-5.7.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,195 +0,0 @@ |
31 |
-# Copyright 1999-2017 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
36 |
- |
37 |
-inherit multibuild python-r1 qmake-utils |
38 |
- |
39 |
-DESCRIPTION="Python bindings for the Qt framework" |
40 |
-HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro" |
41 |
- |
42 |
-MY_P=${PN}_gpl-${PV/_pre/.dev} |
43 |
-if [[ ${PV} == *_pre* ]]; then |
44 |
- SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.xz" |
45 |
-else |
46 |
- SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz" |
47 |
-fi |
48 |
- |
49 |
-LICENSE="GPL-3" |
50 |
-SLOT="0" |
51 |
-KEYWORDS="amd64 arm ~ppc64 x86" |
52 |
- |
53 |
-# TODO: QtNfc |
54 |
-IUSE="bluetooth dbus debug declarative designer doc examples gles2 gui help location |
55 |
- multimedia network opengl positioning printsupport sensors serialport sql svg |
56 |
- testlib webchannel webengine webkit 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? ( gui widgets ) |
76 |
- webchannel? ( network ) |
77 |
- webengine? ( network widgets? ( webchannel ) ) |
78 |
- webkit? ( gui network printsupport widgets ) |
79 |
- websockets? ( network ) |
80 |
- widgets? ( gui ) |
81 |
- xmlpatterns? ( network ) |
82 |
-" |
83 |
- |
84 |
-QT_PV=${PV} |
85 |
- |
86 |
-RDEPEND=" |
87 |
- ${PYTHON_DEPS} |
88 |
- >=dev-python/sip-4.19:=[${PYTHON_USEDEP}] |
89 |
- ~dev-qt/qtcore-${QT_PV} |
90 |
- ~dev-qt/qtxml-${QT_PV} |
91 |
- bluetooth? ( ~dev-qt/qtbluetooth-${QT_PV} ) |
92 |
- dbus? ( |
93 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
94 |
- ~dev-qt/qtdbus-${QT_PV} |
95 |
- ) |
96 |
- declarative? ( ~dev-qt/qtdeclarative-${QT_PV}[widgets?] ) |
97 |
- designer? ( ~dev-qt/designer-${QT_PV} ) |
98 |
- gui? ( ~dev-qt/qtgui-${QT_PV}[gles2=] ) |
99 |
- help? ( ~dev-qt/qthelp-${QT_PV} ) |
100 |
- location? ( ~dev-qt/qtlocation-${QT_PV} ) |
101 |
- multimedia? ( ~dev-qt/qtmultimedia-${QT_PV}[widgets?] ) |
102 |
- network? ( ~dev-qt/qtnetwork-${QT_PV} ) |
103 |
- opengl? ( ~dev-qt/qtopengl-${QT_PV} ) |
104 |
- positioning? ( ~dev-qt/qtpositioning-${QT_PV} ) |
105 |
- printsupport? ( ~dev-qt/qtprintsupport-${QT_PV} ) |
106 |
- sensors? ( ~dev-qt/qtsensors-${QT_PV} ) |
107 |
- serialport? ( ~dev-qt/qtserialport-${QT_PV} ) |
108 |
- sql? ( ~dev-qt/qtsql-${QT_PV} ) |
109 |
- svg? ( ~dev-qt/qtsvg-${QT_PV} ) |
110 |
- testlib? ( ~dev-qt/qttest-${QT_PV} ) |
111 |
- webchannel? ( ~dev-qt/qtwebchannel-${QT_PV} ) |
112 |
- webengine? ( ~dev-qt/qtwebengine-${QT_PV}[widgets?] ) |
113 |
- webkit? ( ~dev-qt/qtwebkit-${QT_PV}[printsupport] ) |
114 |
- websockets? ( ~dev-qt/qtwebsockets-${QT_PV} ) |
115 |
- widgets? ( ~dev-qt/qtwidgets-${QT_PV} ) |
116 |
- x11extras? ( ~dev-qt/qtx11extras-${QT_PV} ) |
117 |
- xmlpatterns? ( ~dev-qt/qtxmlpatterns-${QT_PV} ) |
118 |
-" |
119 |
-DEPEND="${RDEPEND} |
120 |
- dbus? ( virtual/pkgconfig ) |
121 |
-" |
122 |
- |
123 |
-S=${WORKDIR}/${MY_P} |
124 |
- |
125 |
-DOCS=( "${S}"/{ChangeLog,NEWS} ) |
126 |
- |
127 |
-pyqt_use_enable() { |
128 |
- use "$1" || return |
129 |
- |
130 |
- if [[ $# -eq 1 ]]; then |
131 |
- echo --enable=Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1} |
132 |
- else |
133 |
- shift |
134 |
- echo ${@/#/--enable=} |
135 |
- fi |
136 |
-} |
137 |
- |
138 |
-src_configure() { |
139 |
- configuration() { |
140 |
- local myconf=( |
141 |
- "${PYTHON}" |
142 |
- "${S}"/configure.py |
143 |
- $(usex debug '--debug --trace' '') |
144 |
- --verbose |
145 |
- --confirm-license |
146 |
- --qmake="$(qt5_get_bindir)"/qmake |
147 |
- --bindir="${EPREFIX}/usr/bin" |
148 |
- --destdir="$(python_get_sitedir)" |
149 |
- --sip-incdir="$(python_get_includedir)" |
150 |
- --qsci-api |
151 |
- --enable=QtCore |
152 |
- --enable=QtXml |
153 |
- $(pyqt_use_enable bluetooth) |
154 |
- $(pyqt_use_enable dbus QtDBus) |
155 |
- $(usex dbus '' --no-python-dbus) |
156 |
- $(pyqt_use_enable declarative QtQml QtQuick $(usex widgets QtQuickWidgets '')) |
157 |
- $(usex declarative '' --no-qml-plugin) |
158 |
- $(pyqt_use_enable designer) |
159 |
- $(usex designer '' --no-designer-plugin) |
160 |
- $(pyqt_use_enable gui) |
161 |
- $(pyqt_use_enable gui $(use gles2 && 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 opengl QtOpenGL) |
167 |
- $(pyqt_use_enable positioning) |
168 |
- $(pyqt_use_enable printsupport QtPrintSupport) |
169 |
- $(pyqt_use_enable sensors) |
170 |
- $(pyqt_use_enable serialport QtSerialPort) |
171 |
- $(pyqt_use_enable sql) |
172 |
- $(pyqt_use_enable svg) |
173 |
- $(pyqt_use_enable testlib QtTest) |
174 |
- $(pyqt_use_enable webchannel QtWebChannel) |
175 |
- $(pyqt_use_enable webengine QtWebEngineCore $(usex widgets QtWebEngineWidgets '')) |
176 |
- $(pyqt_use_enable webkit QtWebKit QtWebKitWidgets) |
177 |
- $(pyqt_use_enable websockets QtWebSockets) |
178 |
- $(pyqt_use_enable widgets) |
179 |
- $(pyqt_use_enable x11extras QtX11Extras) |
180 |
- $(pyqt_use_enable xmlpatterns QtXmlPatterns) |
181 |
- ) |
182 |
- echo "${myconf[@]}" |
183 |
- "${myconf[@]}" || die |
184 |
- |
185 |
- eqmake5 -recursive ${PN}.pro |
186 |
- } |
187 |
- python_foreach_impl run_in_build_dir configuration |
188 |
-} |
189 |
- |
190 |
-src_compile() { |
191 |
- python_foreach_impl run_in_build_dir default |
192 |
-} |
193 |
- |
194 |
-src_install() { |
195 |
- installation() { |
196 |
- local tmp_root=${D%/}/tmp |
197 |
- emake INSTALL_ROOT="${tmp_root}" install |
198 |
- |
199 |
- local bin_dir=${tmp_root}${EPREFIX}/usr/bin |
200 |
- local exe |
201 |
- for exe in pylupdate5 pyrcc5 pyuic5; do |
202 |
- python_doexe "${bin_dir}/${exe}" |
203 |
- rm "${bin_dir}/${exe}" || die |
204 |
- done |
205 |
- |
206 |
- local uic_dir=${tmp_root}$(python_get_sitedir)/${PN}/uic |
207 |
- if python_is_python3; then |
208 |
- rm -r "${uic_dir}"/port_v2 || die |
209 |
- else |
210 |
- rm -r "${uic_dir}"/port_v3 || die |
211 |
- fi |
212 |
- |
213 |
- multibuild_merge_root "${tmp_root}" "${D}" |
214 |
- python_optimize |
215 |
- } |
216 |
- python_foreach_impl run_in_build_dir installation |
217 |
- |
218 |
- einstalldocs |
219 |
- use doc && dodoc -r doc/html |
220 |
- |
221 |
- if use examples; then |
222 |
- insinto /usr/share/doc/${PF} |
223 |
- doins -r examples |
224 |
- fi |
225 |
-} |