1 |
commit: 9cbf8b1024347ff359990af35daad1bf3ed00f7c |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 30 18:58:46 2023 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 30 19:11:09 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cbf8b10 |
7 |
|
8 |
dev-python/PyQt6: drop 6.4.0 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
dev-python/PyQt6/Manifest | 1 - |
13 |
dev-python/PyQt6/PyQt6-6.4.0.ebuild | 148 ------------------------------------ |
14 |
2 files changed, 149 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/PyQt6/Manifest b/dev-python/PyQt6/Manifest |
17 |
index bf2e92785d54..996da85679fb 100644 |
18 |
--- a/dev-python/PyQt6/Manifest |
19 |
+++ b/dev-python/PyQt6/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST PyQt6-6.4.0.tar.gz 1024037 BLAKE2B a55d2e33160b6bb713b5e32e6b3a3df942f373ce9c9697cad548325c35ee7ee73a57e93ebc8780480086b02d651fa848258f11f85bea0e54c61c8a0f99039c3d SHA512 836696cc708e140ff497fd915fac147265c58e5d44d54d7dcd1908bad54ed793b4c2c4f20b487d13c7a5f7eb6b2c47d7ab822d8ffc875657de7fd0f88ee6c53b |
22 |
DIST PyQt6-6.4.1.tar.gz 1025522 BLAKE2B 17a5f5f4dba5b06729d4a0f9b2964c5632be5bed1da67fe1a90a9d91ba63bc10a83012fc6e8ca5306238d1dc55a3d10ff08c84eed6b369d0c98ac7281e28d2b0 SHA512 860dea8878a81acdefee164f766ba850481b1f4258ebff95fc3cedcbcf15e832799cd2e62d3b2bf83a743879bcb7efdc70109229c83205b649357fdf918864cb |
23 |
|
24 |
diff --git a/dev-python/PyQt6/PyQt6-6.4.0.ebuild b/dev-python/PyQt6/PyQt6-6.4.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 51e109d71f95..000000000000 |
27 |
--- a/dev-python/PyQt6/PyQt6-6.4.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,148 +0,0 @@ |
30 |
-# Copyright 2022-2023 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=sip |
36 |
-PYTHON_COMPAT=( python3_{9..11} ) |
37 |
-inherit distutils-r1 flag-o-matic multiprocessing qmake-utils |
38 |
- |
39 |
-QT_PV="6.3:6" # minimum tested qt version |
40 |
- |
41 |
-DESCRIPTION="Python bindings for the Qt framework" |
42 |
-HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/" |
43 |
-SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="GPL-3" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64" |
48 |
-# defaults match what is provided with qtbase by default (except testlib), |
49 |
-# reduces the need to set flags but does increase build time a fair amount |
50 |
-IUSE=" |
51 |
- +dbus debug qml designer examples gles2-only +gui help multimedia |
52 |
- +network opengl positioning +printsupport quick quick3d serialport |
53 |
- +sql +ssl svg testlib webchannel websockets +widgets +xml" |
54 |
-# see `grep -r "%Import " sip` and `grep qmake_QT project.py` |
55 |
-REQUIRED_USE=" |
56 |
- designer? ( gui widgets ) |
57 |
- help? ( gui widgets ) |
58 |
- multimedia? ( gui network ) |
59 |
- opengl? ( gui ) |
60 |
- printsupport? ( gui widgets ) |
61 |
- qml? ( network ) |
62 |
- quick3d? ( gui qml ) |
63 |
- quick? ( gui qml ) |
64 |
- sql? ( widgets ) |
65 |
- svg? ( gui ) |
66 |
- testlib? ( gui widgets ) |
67 |
- webchannel? ( network ) |
68 |
- websockets? ( network ) |
69 |
- widgets? ( gui )" |
70 |
- |
71 |
-# note: xml(+) for now given qtbase-6.3.1-r0 is missing IUSE=xml with a TODO |
72 |
-DEPEND=" |
73 |
- >=dev-qt/qtbase-${QT_PV}[dbus?,gles2-only=,gui?,network?,opengl?,sql?,ssl=,widgets?,xml(+)?] |
74 |
- dbus? ( |
75 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
76 |
- sys-apps/dbus |
77 |
- ) |
78 |
- designer? ( >=dev-qt/qttools-${QT_PV}[designer] ) |
79 |
- help? ( >=dev-qt/qttools-${QT_PV}[assistant] ) |
80 |
- multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} ) |
81 |
- positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) |
82 |
- qml? ( >=dev-qt/qtdeclarative-${QT_PV} ) |
83 |
- quick3d? ( >=dev-qt/qtquick3d-${QT_PV} ) |
84 |
- serialport? ( >=dev-qt/qtserialport-${QT_PV} ) |
85 |
- svg? ( >=dev-qt/qtsvg-${QT_PV} ) |
86 |
- webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} ) |
87 |
- websockets? ( >=dev-qt/qtwebsockets-${QT_PV} )" |
88 |
-RDEPEND=" |
89 |
- ${DEPEND} |
90 |
- >=dev-python/PyQt6-sip-13.4[${PYTHON_USEDEP}]" |
91 |
-BDEPEND=" |
92 |
- >=dev-python/PyQt-builder-1.11[${PYTHON_USEDEP}] |
93 |
- >=dev-qt/qtbase-${QT_PV} |
94 |
- sys-devel/gcc |
95 |
- dbus? ( virtual/pkgconfig )" |
96 |
- |
97 |
-src_prepare() { |
98 |
- default |
99 |
- |
100 |
- # hack: qmake wants g++ (not clang), try to respect ${CHOST} #726112 |
101 |
- mkdir "${T}"/cxx || die |
102 |
- ln -s "$(type -P ${CHOST}-g++ || type -P g++ || die)" "${T}"/cxx/g++ || die |
103 |
- PATH=${T}/cxx:${PATH} |
104 |
-} |
105 |
- |
106 |
-src_configure() { |
107 |
- append-cxxflags -std=c++17 # for clang and old gcc that default to <17 |
108 |
- |
109 |
- pyqt-use_enable() { |
110 |
- local state=$(usex ${1} --enable= --disable=) |
111 |
- shift |
112 |
- echo ${*/#/${state}} |
113 |
- } |
114 |
- |
115 |
- # workaround until bug 863395 has something to offer |
116 |
- local qmake6=$(qt5_get_bindir)/qmake |
117 |
- qmake6=${qmake6//qt5/qt6} |
118 |
- |
119 |
- DISTUTILS_ARGS=( |
120 |
- --jobs=$(makeopts_jobs) |
121 |
- --qmake="${qmake6}" |
122 |
- --qmake-setting="$(qt5_get_qmake_args)" |
123 |
- --verbose |
124 |
- --confirm-license |
125 |
- |
126 |
- # TODO: enable/restrict more as qt6 packages/USE get added |
127 |
- --disable=QAxContainer |
128 |
- --disable=QtBluetooth |
129 |
- --enable=QtCore |
130 |
- $(pyqt-use_enable dbus QtDBus) |
131 |
- $(pyqt-use_enable designer QtDesigner) |
132 |
- $(pyqt-use_enable help QtHelp) |
133 |
- $(pyqt-use_enable gui QtGui) |
134 |
- #--disable=QtLocation # force-disabled in project.py |
135 |
- $(pyqt-use_enable multimedia QtMultimedia \ |
136 |
- $(usev widgets QtMultimediaWidgets)) |
137 |
- $(pyqt-use_enable network QtNetwork) |
138 |
- --disable=QtNfc |
139 |
- $(pyqt-use_enable opengl QtOpenGL \ |
140 |
- $(usev widgets QtOpenGLWidgets)) |
141 |
- --disable=QtPdf #+QtPdfWidgets (QtPdf is disabled in qtwebengine:6) |
142 |
- $(pyqt-use_enable positioning QtPositioning) |
143 |
- $(pyqt-use_enable printsupport QtPrintSupport) |
144 |
- $(pyqt-use_enable qml QtQml) |
145 |
- $(pyqt-use_enable quick QtQuick \ |
146 |
- $(usev widgets QtQuickWidgets)) |
147 |
- $(pyqt-use_enable quick3d QtQuick3D) |
148 |
- --disable=QtRemoteObjects |
149 |
- --disable=QtSensors |
150 |
- $(pyqt-use_enable serialport QtSerialPort) |
151 |
- $(pyqt-use_enable sql QtSql) |
152 |
- $(pyqt-use_enable svg QtSvg \ |
153 |
- $(usev widgets QtSvgWidgets)) |
154 |
- $(pyqt-use_enable testlib QtTest) |
155 |
- --disable=QtTextToSpeech |
156 |
- $(pyqt-use_enable webchannel QtWebChannel) |
157 |
- $(pyqt-use_enable websockets QtWebSockets) |
158 |
- $(pyqt-use_enable widgets QtWidgets) |
159 |
- $(pyqt-use_enable xml QtXml) |
160 |
- |
161 |
- $(usev debug '--debug --qml-debug --tracing') |
162 |
- |
163 |
- $(usev !dbus --no-dbus-python) |
164 |
- # TODO?: plugins not in wheels by upstream, see project.py#L215 |
165 |
- # (if needed by something, will need to be added to python_install) |
166 |
- $(usev !designer --no-designer-plugin) |
167 |
- $(usev !qml --no-qml-plugin) |
168 |
- |
169 |
- $(usev !gles2-only --disabled-feature=PyQt_OpenGL_ES2) |
170 |
- $(usev !ssl --disabled-feature=PyQt_SSL) |
171 |
- ) |
172 |
-} |
173 |
- |
174 |
-python_install_all() { |
175 |
- einstalldocs |
176 |
- use examples && dodoc -r examples |
177 |
-} |