1 |
pesa 15/03/02 03:19:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: PyQt5-5.4.1.ebuild |
5 |
Removed: PyQt5-5.4.ebuild |
6 |
Log: |
7 |
Version bump; remove old. |
8 |
|
9 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!) |
10 |
|
11 |
Revision Changes Path |
12 |
1.8 dev-python/PyQt5/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt5/ChangeLog?rev=1.8&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt5/ChangeLog?rev=1.8&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt5/ChangeLog?r1=1.7&r2=1.8 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/PyQt5/ChangeLog,v |
21 |
retrieving revision 1.7 |
22 |
retrieving revision 1.8 |
23 |
diff -u -r1.7 -r1.8 |
24 |
--- ChangeLog 18 Feb 2015 05:21:11 -0000 1.7 |
25 |
+++ ChangeLog 2 Mar 2015 03:19:23 -0000 1.8 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-python/PyQt5 |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt5/ChangeLog,v 1.7 2015/02/18 05:21:11 yngwin Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt5/ChangeLog,v 1.8 2015/03/02 03:19:23 pesa Exp $ |
31 |
+ |
32 |
+*PyQt5-5.4.1 (02 Mar 2015) |
33 |
+ |
34 |
+ 02 Mar 2015; Davide Pesavento <pesa@g.o> +PyQt5-5.4.1.ebuild, |
35 |
+ -PyQt5-5.4.ebuild: |
36 |
+ Version bump; remove old. |
37 |
|
38 |
18 Feb 2015; Ben de Groot <yngwin@g.o> PyQt5-5.4.ebuild: |
39 |
Drop default on gui useflag, which is now enabled (with some others) in |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/PyQt5/PyQt5-5.4.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt5/PyQt5-5.4.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/PyQt5/PyQt5-5.4.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: PyQt5-5.4.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt5/PyQt5-5.4.1.ebuild,v 1.1 2015/03/02 03:19:23 pesa Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
56 |
|
57 |
inherit eutils multibuild multilib python-r1 qmake-utils |
58 |
|
59 |
DESCRIPTION="Python bindings for the Qt framework" |
60 |
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ |
61 |
https://pypi.python.org/pypi/PyQt5" |
62 |
|
63 |
MY_PN="PyQt-gpl" |
64 |
if [[ ${PV} == *_pre* ]]; then |
65 |
MY_P=${MY_PN}-${PV%_pre*}-snapshot-${REVISION} |
66 |
SRC_URI="http://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.xz" |
67 |
else |
68 |
MY_P=${MY_PN}-${PV} |
69 |
SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz" |
70 |
fi |
71 |
|
72 |
LICENSE="GPL-3" |
73 |
SLOT="0" |
74 |
KEYWORDS="~amd64 ~arm ~x86" |
75 |
|
76 |
# TODO: bluetooth, webchannel, webengine |
77 |
IUSE="dbus debug declarative designer doc examples gui help multimedia network |
78 |
opengl positioning printsupport sensors serialport sql svg testlib webkit |
79 |
websockets widgets x11extras xmlpatterns" |
80 |
REQUIRED_USE=" |
81 |
${PYTHON_REQUIRED_USE} |
82 |
positioning? ( gui ) |
83 |
sensors? ( gui ) |
84 |
serialport? ( gui ) |
85 |
sql? ( widgets ) |
86 |
testlib? ( widgets ) |
87 |
websockets? ( gui ) |
88 |
" |
89 |
|
90 |
# Minimal supported version of Qt. |
91 |
QT_PV="5.3.2:5" |
92 |
|
93 |
RDEPEND=" |
94 |
${PYTHON_DEPS} |
95 |
>=dev-python/sip-4.16.6:=[${PYTHON_USEDEP}] |
96 |
>=dev-qt/qtcore-${QT_PV} |
97 |
>=dev-qt/qtxml-${QT_PV} |
98 |
dbus? ( |
99 |
dev-python/dbus-python[${PYTHON_USEDEP}] |
100 |
>=dev-qt/qtdbus-${QT_PV} |
101 |
) |
102 |
declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] ) |
103 |
designer? ( >=dev-qt/designer-${QT_PV} ) |
104 |
gui? ( >=dev-qt/qtgui-${QT_PV} ) |
105 |
help? ( >=dev-qt/qthelp-${QT_PV} ) |
106 |
multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[widgets?] ) |
107 |
network? ( >=dev-qt/qtnetwork-${QT_PV} ) |
108 |
opengl? ( >=dev-qt/qtopengl-${QT_PV} ) |
109 |
positioning? ( >=dev-qt/qtpositioning-${QT_PV} ) |
110 |
printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} ) |
111 |
sensors? ( >=dev-qt/qtsensors-${QT_PV} ) |
112 |
serialport? ( >=dev-qt/qtserialport-${QT_PV} ) |
113 |
sql? ( >=dev-qt/qtsql-${QT_PV} ) |
114 |
svg? ( >=dev-qt/qtsvg-${QT_PV} ) |
115 |
testlib? ( >=dev-qt/qttest-${QT_PV} ) |
116 |
webkit? ( >=dev-qt/qtwebkit-${QT_PV}[printsupport] ) |
117 |
websockets? ( >=dev-qt/qtwebsockets-${QT_PV} ) |
118 |
widgets? ( >=dev-qt/qtwidgets-${QT_PV} ) |
119 |
x11extras? ( >=dev-qt/qtx11extras-${QT_PV} ) |
120 |
xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} ) |
121 |
" |
122 |
DEPEND="${RDEPEND} |
123 |
dbus? ( virtual/pkgconfig ) |
124 |
" |
125 |
|
126 |
S=${WORKDIR}/${MY_P} |
127 |
|
128 |
src_prepare() { |
129 |
# Avoid automagic dependency. |
130 |
use dbus || rm -fr dbus |
131 |
} |
132 |
|
133 |
pyqt_use_enable() { |
134 |
use $1 && echo --enable=${2:-Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1}} |
135 |
} |
136 |
|
137 |
src_configure() { |
138 |
configuration() { |
139 |
local myconf=( |
140 |
"${PYTHON}" |
141 |
"${S}"/configure.py |
142 |
--confirm-license |
143 |
--qmake="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake" |
144 |
--destdir="$(python_get_sitedir)" |
145 |
--assume-shared |
146 |
--no-timestamp |
147 |
--qsci-api |
148 |
$(use debug && echo --debug) |
149 |
--enable=QtCore |
150 |
--enable=QtXml |
151 |
$(pyqt_use_enable dbus QtDBus) |
152 |
$(pyqt_use_enable declarative QtQml) |
153 |
$(pyqt_use_enable declarative QtQuick) |
154 |
$(usex declarative '' '' $(pyqt_use_enable widgets QtQuickWidgets)) |
155 |
$(usex declarative '' --no-qml-plugin) |
156 |
$(pyqt_use_enable designer) |
157 |
$(usex designer '' --no-designer-plugin) |
158 |
$(pyqt_use_enable gui) |
159 |
$(pyqt_use_enable help) |
160 |
$(pyqt_use_enable multimedia) |
161 |
$(usex multimedia '' '' $(pyqt_use_enable widgets QtMultimediaWidgets)) |
162 |
$(pyqt_use_enable network) |
163 |
$(pyqt_use_enable opengl QtOpenGL) |
164 |
$(pyqt_use_enable positioning) |
165 |
$(pyqt_use_enable printsupport QtPrintSupport) |
166 |
$(pyqt_use_enable sensors) |
167 |
$(pyqt_use_enable serialport QtSerialPort) |
168 |
$(pyqt_use_enable sql) |
169 |
$(pyqt_use_enable svg) |
170 |
$(pyqt_use_enable testlib QtTest) |
171 |
$(pyqt_use_enable webkit QtWebKit) |
172 |
$(pyqt_use_enable webkit QtWebKitWidgets) |
173 |
$(pyqt_use_enable websockets QtWebSockets) |
174 |
$(pyqt_use_enable widgets) |
175 |
$(pyqt_use_enable x11extras QtX11Extras) |
176 |
$(pyqt_use_enable xmlpatterns QtXmlPatterns) |
177 |
) |
178 |
echo "${myconf[@]}" |
179 |
"${myconf[@]}" || die |
180 |
|
181 |
eqmake5 -recursive ${PN}.pro |
182 |
} |
183 |
python_foreach_impl run_in_build_dir configuration |
184 |
} |
185 |
|
186 |
src_compile() { |
187 |
python_foreach_impl run_in_build_dir default |
188 |
} |
189 |
|
190 |
src_install() { |
191 |
installation() { |
192 |
local tmp_root=${D%/}/tmp |
193 |
emake INSTALL_ROOT="${tmp_root}" install |
194 |
|
195 |
local uic_dir=${tmp_root}$(python_get_sitedir)/${PN}/uic |
196 |
if python_is_python3; then |
197 |
rm -r "${uic_dir}"/port_v2 || die |
198 |
else |
199 |
rm -r "${uic_dir}"/port_v3 || die |
200 |
fi |
201 |
|
202 |
python_doexe "${tmp_root}${EPREFIX}"/usr/bin/pyuic5 |
203 |
rm "${tmp_root}${EPREFIX}"/usr/bin/pyuic5 || die |
204 |
|
205 |
multibuild_merge_root "${tmp_root}" "${D}" |
206 |
python_optimize |
207 |
} |
208 |
python_foreach_impl run_in_build_dir installation |
209 |
|
210 |
dodoc ChangeLog NEWS |
211 |
|
212 |
if use doc; then |
213 |
dodoc -r doc/html |
214 |
fi |
215 |
|
216 |
if use examples; then |
217 |
insinto /usr/share/doc/${PF} |
218 |
doins -r examples |
219 |
fi |
220 |
} |