diff options
Diffstat (limited to 'meta-oe/recipes-devtools/python')
4 files changed, 54 insertions, 363 deletions
diff --git a/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/pyqt-generated.patch b/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/pyqt-generated.patch deleted file mode 100644 index 6579aa400..000000000 --- a/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/pyqt-generated.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | diff -uNr PyQt-x11-gpl-4.9.5.orig/QtGui/sipQtGuiQSystemTrayIcon.cpp PyQt-x11-gpl-4.9.5/QtGui/sipQtGuiQSystemTrayIcon.cpp | ||
2 | --- PyQt-x11-gpl-4.9.5.orig/QtGui/sipQtGuiQSystemTrayIcon.cpp 2012-10-01 16:48:16.496700577 +0200 | ||
3 | +++ PyQt-x11-gpl-4.9.5/QtGui/sipQtGuiQSystemTrayIcon.cpp 2012-10-01 21:40:43.063130099 +0200 | ||
4 | @@ -993,8 +993,6 @@ | ||
5 | qtgui_untrack(sipCpp); | ||
6 | #line 995 "QtGui/sipQtGuiQSystemTrayIcon.cpp" | ||
7 | |||
8 | - QSystemTrayIcon *sipCpp = reinterpret_cast<QSystemTrayIcon *>(sipCppV); | ||
9 | - | ||
10 | if (QThread::currentThread() == sipCpp->thread()) | ||
11 | delete sipCpp; | ||
12 | else | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/qreal_float_support.diff b/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/qreal_float_support.diff deleted file mode 100644 index abdf70fab..000000000 --- a/meta-oe/recipes-devtools/python/python-pyqt-4.9.6/qreal_float_support.diff +++ /dev/null | |||
@@ -1,248 +0,0 @@ | |||
1 | ## 03_qreal_float_support.dpatch by Michael Casadevall <sonicmctails@gmail.com> | ||
2 | Index: python-qt4-4.8.3/configure.py | ||
3 | =================================================================== | ||
4 | --- python-qt4-4.8.3.orig/configure.py 2011-02-24 10:33:30.000000000 +0200 | ||
5 | +++ python-qt4-4.8.3/configure.py 2011-02-24 10:33:18.000000000 +0200 | ||
6 | @@ -2004,8 +2004,9 @@ | ||
7 | out << "PyQt_NoOpenGLES\\n"; | ||
8 | #endif | ||
9 | |||
10 | - if (sizeof (qreal) != sizeof (double)) | ||
11 | +#if defined(QT_NO_FPU) || defined(QT_ARCH_ARM) || defined(QT_ARCH_WINDOWSCE) | ||
12 | out << "PyQt_qreal_double\\n"; | ||
13 | +#endif | ||
14 | |||
15 | return 0; | ||
16 | } | ||
17 | Index: python-qt4-4.8.3/sip/QtCore/qlist.sip | ||
18 | =================================================================== | ||
19 | --- python-qt4-4.8.3.orig/sip/QtCore/qlist.sip 2011-02-24 10:33:27.000000000 +0200 | ||
20 | +++ python-qt4-4.8.3/sip/QtCore/qlist.sip 2011-02-24 10:33:18.000000000 +0200 | ||
21 | @@ -811,3 +811,227 @@ | ||
22 | return sipGetState(sipTransferObj); | ||
23 | %End | ||
24 | }; | ||
25 | + | ||
26 | +// If we're on an architecture where qreal != double, then we need to also | ||
27 | +// explicately handle doubles. On architectures where qreal == double, they | ||
28 | +// will automaticially be cast upwards | ||
29 | + | ||
30 | +%If (!PyQt_qreal_double) | ||
31 | + | ||
32 | +%If (Qt_4_3_0 -) | ||
33 | +// QList<QPair<double, double> > is implemented as a Python list of 2-element tuples. | ||
34 | +%MappedType QList<QPair<double, double> > | ||
35 | +{ | ||
36 | +%TypeHeaderCode | ||
37 | +#include <qlist.h> | ||
38 | +#include <qpair.h> | ||
39 | +%End | ||
40 | + | ||
41 | +%ConvertFromTypeCode | ||
42 | + // Create the list. | ||
43 | + PyObject *l; | ||
44 | + | ||
45 | + if ((l = PyList_New(sipCpp->size())) == NULL) | ||
46 | + return NULL; | ||
47 | + | ||
48 | + // Set the list elements. | ||
49 | + for (int i = 0; i < sipCpp->size(); ++i) | ||
50 | + { | ||
51 | + const QPair<double, double> &p = sipCpp->at(i); | ||
52 | + PyObject *pobj; | ||
53 | + | ||
54 | + if ((pobj = Py_BuildValue((char *)"dd", p.first, p.second)) == NULL) | ||
55 | + { | ||
56 | + Py_DECREF(l); | ||
57 | + | ||
58 | + return NULL; | ||
59 | + } | ||
60 | + | ||
61 | + PyList_SET_ITEM(l, i, pobj); | ||
62 | + } | ||
63 | + | ||
64 | + return l; | ||
65 | +%End | ||
66 | + | ||
67 | +%ConvertToTypeCode | ||
68 | + SIP_SSIZE_T len; | ||
69 | + | ||
70 | + // Check the type if that is all that is required. | ||
71 | + if (sipIsErr == NULL) | ||
72 | + { | ||
73 | + if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0) | ||
74 | + return 0; | ||
75 | + | ||
76 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
77 | + { | ||
78 | + PyObject *tup = PySequence_ITEM(sipPy, i); | ||
79 | + | ||
80 | + if (!PySequence_Check(tup) || PySequence_Size(tup) != 2) | ||
81 | + return 0; | ||
82 | + } | ||
83 | + | ||
84 | + return 1; | ||
85 | + } | ||
86 | + | ||
87 | + QList<QPair<double, double> > *ql = new QList<QPair<double, double> >; | ||
88 | + len = PySequence_Size(sipPy); | ||
89 | + | ||
90 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
91 | + { | ||
92 | + PyObject *tup = PySequence_ITEM(sipPy, i); | ||
93 | + | ||
94 | + double first = PyFloat_AsDouble(PySequence_ITEM(tup, 0)); | ||
95 | + double second = PyFloat_AsDouble(PySequence_ITEM(tup, 1)); | ||
96 | + | ||
97 | + ql->append(QPair<double, double>(first, second)); | ||
98 | + } | ||
99 | + | ||
100 | + *sipCppPtr = ql; | ||
101 | + | ||
102 | + return sipGetState(sipTransferObj); | ||
103 | +%End | ||
104 | +}; | ||
105 | +%End | ||
106 | +%If (Qt_4_3_0 -) | ||
107 | +// QList<QPair<double, TYPE> > is implemented as a Python list of 2-element tuples. | ||
108 | +template<double, TYPE> | ||
109 | +%MappedType QList<QPair<double, TYPE> > | ||
110 | +{ | ||
111 | +%TypeHeaderCode | ||
112 | +#include <qlist.h> | ||
113 | +#include <qpair.h> | ||
114 | +%End | ||
115 | + | ||
116 | +%ConvertFromTypeCode | ||
117 | + // Create the list. | ||
118 | + PyObject *l; | ||
119 | + | ||
120 | + if ((l = PyList_New(sipCpp->size())) == NULL) | ||
121 | + return NULL; | ||
122 | + | ||
123 | + // Set the list elements. | ||
124 | + for (int i = 0; i < sipCpp->size(); ++i) | ||
125 | + { | ||
126 | + const QPair<double, TYPE> &p = sipCpp->at(i); | ||
127 | + TYPE *t = new TYPE(p.second); | ||
128 | + PyObject *pobj; | ||
129 | + | ||
130 | + if ((pobj = sipBuildResult(NULL, "(dB)", p.first, t, sipClass_TYPE, sipTransferObj)) == NULL) | ||
131 | + { | ||
132 | + Py_DECREF(l); | ||
133 | + delete t; | ||
134 | + | ||
135 | + return NULL; | ||
136 | + } | ||
137 | + | ||
138 | + PyList_SET_ITEM(l, i, pobj); | ||
139 | + } | ||
140 | + | ||
141 | + return l; | ||
142 | +%End | ||
143 | + | ||
144 | +%ConvertToTypeCode | ||
145 | + SIP_SSIZE_T len; | ||
146 | + | ||
147 | + // Check the type if that is all that is required. | ||
148 | + if (sipIsErr == NULL) | ||
149 | + { | ||
150 | + if (!PySequence_Check(sipPy) || (len = PySequence_Size(sipPy)) < 0) | ||
151 | + return 0; | ||
152 | + | ||
153 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
154 | + { | ||
155 | + PyObject *tup = PySequence_ITEM(sipPy, i); | ||
156 | + | ||
157 | + if (!PySequence_Check(tup) || PySequence_Size(tup) != 2) | ||
158 | + return 0; | ||
159 | + | ||
160 | + if (!sipCanConvertToInstance(PySequence_ITEM(tup, 1), sipClass_TYPE, SIP_NOT_NONE)) | ||
161 | + return 0; | ||
162 | + } | ||
163 | + | ||
164 | + return 1; | ||
165 | + } | ||
166 | + | ||
167 | + QList<QPair<double, TYPE> > *ql = new QList<QPair<double, TYPE> >; | ||
168 | + len = PySequence_Size(sipPy); | ||
169 | + | ||
170 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
171 | + { | ||
172 | + PyObject *tup = PySequence_ITEM(sipPy, i); | ||
173 | + double d; | ||
174 | + int state; | ||
175 | + | ||
176 | + d = PyFloat_AsDouble(PySequence_ITEM(tup, 0)); | ||
177 | + TYPE *t = reinterpret_cast<TYPE *>(sipConvertToInstance(PySequence_ITEM(tup, 1), sipClass_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr)); | ||
178 | + | ||
179 | + if (*sipIsErr) | ||
180 | + { | ||
181 | + sipReleaseInstance(t, sipClass_TYPE, state); | ||
182 | + | ||
183 | + delete ql; | ||
184 | + return 0; | ||
185 | + } | ||
186 | + | ||
187 | + ql->append(QPair<double, TYPE>(d, *t)); | ||
188 | + | ||
189 | + sipReleaseInstance(t, sipClass_TYPE, state); | ||
190 | + } | ||
191 | + | ||
192 | + *sipCppPtr = ql; | ||
193 | + | ||
194 | + return sipGetState(sipTransferObj); | ||
195 | +%End | ||
196 | +}; | ||
197 | +%End | ||
198 | + | ||
199 | +// QList<double> is implemented as a Python list of doubles. | ||
200 | +%MappedType QList<double> | ||
201 | +{ | ||
202 | +%TypeHeaderCode | ||
203 | +#include <qlist.h> | ||
204 | +%End | ||
205 | + | ||
206 | +%ConvertFromTypeCode | ||
207 | + // Create the list. | ||
208 | + PyObject *l; | ||
209 | + | ||
210 | + if ((l = PyList_New(sipCpp->size())) == NULL) | ||
211 | + return NULL; | ||
212 | + | ||
213 | + // Set the list elements. | ||
214 | + for (int i = 0; i < sipCpp->size(); ++i) | ||
215 | + { | ||
216 | + PyObject *pobj; | ||
217 | + | ||
218 | + if ((pobj = PyFloat_FromDouble(sipCpp->value(i))) == NULL) | ||
219 | + { | ||
220 | + Py_DECREF(l); | ||
221 | + | ||
222 | + return NULL; | ||
223 | + } | ||
224 | + | ||
225 | + PyList_SET_ITEM(l, i, pobj); | ||
226 | + } | ||
227 | + | ||
228 | + return l; | ||
229 | +%End | ||
230 | + | ||
231 | +%ConvertToTypeCode | ||
232 | + // Check the type if that is all that is required. | ||
233 | + if (sipIsErr == NULL) | ||
234 | + return (PySequence_Check(sipPy) && PySequence_Size(sipPy) >= 0); | ||
235 | + | ||
236 | + QList<double> *ql = new QList<double>; | ||
237 | + SIP_SSIZE_T len = PySequence_Size(sipPy); | ||
238 | + | ||
239 | + for (SIP_SSIZE_T i = 0; i < len; ++i) | ||
240 | + ql->append(PyFloat_AsDouble(PySequence_ITEM(sipPy, i))); | ||
241 | + | ||
242 | + *sipCppPtr = ql; | ||
243 | + | ||
244 | + return sipGetState(sipTransferObj); | ||
245 | +%End | ||
246 | +}; | ||
247 | + | ||
248 | +%End | ||
diff --git a/meta-oe/recipes-devtools/python/python-pyqt_4.11.3.bb b/meta-oe/recipes-devtools/python/python-pyqt_4.11.3.bb new file mode 100644 index 000000000..140456e17 --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pyqt_4.11.3.bb | |||
@@ -0,0 +1,54 @@ | |||
1 | SUMMARY = "Python Qt4 Bindings" | ||
2 | AUTHOR = "Phil Thomson @ riverbank.co.uk" | ||
3 | HOMEPAGE = "http://riverbankcomputing.co.uk" | ||
4 | SECTION = "devel/python" | ||
5 | LICENSE = "GPLv2 & GPLv3 & GPL_EXCEPTION" | ||
6 | LIC_FILES_CHKSUM = "\ | ||
7 | file://GPL_EXCEPTION.TXT;md5=b73b0be471db679533dc94781c14af58 \ | ||
8 | file://GPL_EXCEPTION_ADDENDUM.TXT;md5=c1e04ec2aa0911061005a801abf81e40 \ | ||
9 | file://OPENSOURCE-NOTICE.TXT;md5=6ad9123620cc04a22c394753ad4767d7 \ | ||
10 | file://LICENSE.GPL2;md5=577ff65f6653562af318bfc3944b1f20 \ | ||
11 | file://LICENSE.GPL3;md5=feee51612c3c1191a1d5f41156fa2c75 \ | ||
12 | " | ||
13 | DEPENDS = "sip sip-native qt4-x11-free python" | ||
14 | |||
15 | SRC_URI = "\ | ||
16 | ${SOURCEFORGE_MIRROR}/pyqt/PyQt-x11-gpl-${PV}.tar.gz \ | ||
17 | " | ||
18 | SRC_URI[md5sum] = "997c3e443165a89a559e0d96b061bf70" | ||
19 | SRC_URI[sha256sum] = "853780dcdbe2e6ba785d703d059b096e1fc49369d3e8d41a060be874b8745686" | ||
20 | |||
21 | S = "${WORKDIR}/PyQt-x11-gpl-${PV}" | ||
22 | |||
23 | PARALLEL_MAKE = "" | ||
24 | |||
25 | inherit qmake2 pythonnative python-dir | ||
26 | |||
27 | DISABLED_FEATURES = "PyQt_Desktop_OpenGL PyQt_Accessibility PyQt_SessionManager" | ||
28 | |||
29 | DISABLED_FEATURES_append_arm = " PyQt_qreal_double" | ||
30 | |||
31 | do_configure() { | ||
32 | echo "py_platform = linux" > pyqt.cfg | ||
33 | echo "py_inc_dir = %(sysroot)/$includedir/python%(py_major).%(py_minor)" >> pyqt.cfg | ||
34 | echo "py_pylib_dir = %(sysroot)/${libdir}/python%(py_major).%(py_minor)" >> pyqt.cfg | ||
35 | echo "py_pylib_lib = python%(py_major).%(py_minor)mu" >> pyqt.cfg | ||
36 | echo "pyqt_module_dir = ${D}/${libdir}/python%(py_major).%(py_minor)/site-packages" >> pyqt.cfg | ||
37 | echo "pyqt_bin_dir = ${D}/${bindir}" >> pyqt.cfg | ||
38 | echo "pyqt_sip_dir = ${D}/${datadir}/sip/PyQt4" >> pyqt.cfg | ||
39 | echo "pyuic_interpreter = ${D}/${bindir}/python%(py_major).%(py_minor)" >> pyqt.cfg | ||
40 | echo "pyqt_disabled_features = ${DISABLED_FEATURES}" >> pyqt.cfg | ||
41 | echo "qt_shared = True" >> pyqt.cfg | ||
42 | echo "[Qt 4.8]" >> pyqt.cfg | ||
43 | echo "pyqt_modules = QtCore QtGui QtDeclarative QtNetwork QtSvg QtWebKit" >> pyqt.cfg | ||
44 | echo yes | python configure-ng.py --verbose --qmake ${STAGING_BINDIR_NATIVE}/qmake2 --configuration pyqt.cfg --sysroot ${STAGING_DIR_HOST} | ||
45 | } | ||
46 | do_install() { | ||
47 | oe_runmake install | ||
48 | } | ||
49 | |||
50 | RDEPENDS_${PN} = "python-core" | ||
51 | |||
52 | FILES_${PN} += "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/PyQt4/" | ||
53 | FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/*/.debug/" | ||
54 | |||
diff --git a/meta-oe/recipes-devtools/python/python-pyqt_4.9.6.bb b/meta-oe/recipes-devtools/python/python-pyqt_4.9.6.bb deleted file mode 100644 index 2f0e189ef..000000000 --- a/meta-oe/recipes-devtools/python/python-pyqt_4.9.6.bb +++ /dev/null | |||
@@ -1,103 +0,0 @@ | |||
1 | SUMMARY = "Python Qt4 Bindings" | ||
2 | HOMEPAGE = "http://riverbankcomputing.co.uk" | ||
3 | AUTHOR = "Phil Thomson @ riverbank.co.uk" | ||
4 | SECTION = "devel/python" | ||
5 | LICENSE = "GPLv2 & GPLv3 & GPL_EXCEPTION" | ||
6 | LIC_FILES_CHKSUM = "\ | ||
7 | file://GPL_EXCEPTION.TXT;md5=b73b0be471db679533dc94781c14af58 \ | ||
8 | file://GPL_EXCEPTION_ADDENDUM.TXT;md5=c1e04ec2aa0911061005a801abf81e40 \ | ||
9 | file://OPENSOURCE-NOTICE.TXT;md5=6ad9123620cc04a22c394753ad4767d7 \ | ||
10 | file://LICENSE.GPL2;md5=276c6b9cad5f85a3af3534299825feff \ | ||
11 | file://LICENSE.GPL3;md5=eda942b9c6ba7eb0f40fee79e94950d5 \ | ||
12 | " | ||
13 | |||
14 | DEPENDS = "sip-native python-sip" | ||
15 | RDEPENDS_${PN} = "python-core" | ||
16 | |||
17 | PYQT_OE_VERSION = "Qt_4_8_3" | ||
18 | PR = "r1" | ||
19 | |||
20 | SRC_URI = "\ | ||
21 | ${SOURCEFORGE_MIRROR}/pyqt/PyQt-x11-gpl-${PV}.tar.gz \ | ||
22 | file://pyqt-generated.patch;apply=no \ | ||
23 | " | ||
24 | SRC_URI[md5sum] = "514e1f9597771dc732ba75ba9fa5c6b6" | ||
25 | SRC_URI[sha256sum] = "a350f9e5c6d8062671c0f29bf1a70824719b18175ce8372c29bf7c1eda44b18d" | ||
26 | S = "${WORKDIR}/PyQt-x11-gpl-${PV}" | ||
27 | |||
28 | # arm and mips machines need some extra patches | ||
29 | SRC_URI_append_arm = "\ | ||
30 | file://qreal_float_support.diff \ | ||
31 | " | ||
32 | |||
33 | SRC_URI_append_mipsel = "\ | ||
34 | file://qreal_float_support.diff \ | ||
35 | " | ||
36 | |||
37 | inherit qt4x11 sip distutils-base | ||
38 | |||
39 | PARALLEL_MAKE = "" | ||
40 | |||
41 | QMAKE_PROFILES = "pyqt.pro" | ||
42 | # NOTE: has to match with MIN(qt version we have in OE, last known Qt version by SIP/PyQt) | ||
43 | EXTRA_SIPTAGS = "-tWS_X11 -t${PYQT_OE_VERSION} -xVendorID -xPyQt_SessionManager -xPyQt_Accessibility" | ||
44 | EXTRA_OEMAKE = " MAKEFLAGS= " | ||
45 | |||
46 | # arm and mips need extra params for the qreal issue | ||
47 | EXTRA_SIPTAGS_append_arm = " -x PyQt_qreal_double" | ||
48 | EXTRA_SIPTAGS_append_mipsel = " -x PyQt_qreal_double" | ||
49 | |||
50 | SIP_MODULES = "QtCore QtDeclarative QtGui QtNetwork QtSql QtSvg QtXml QtWebKit" | ||
51 | MAKE_MODULES = "qpy ${SIP_MODULES}" | ||
52 | |||
53 | EXTRA_QMAKEVARS_POST += "\ | ||
54 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/Qt \ | ||
55 | INCLUDEPATH+=${STAGING_INCDIR}/${PYTHON_DIR} \ | ||
56 | INCLUDEPATH+=../qpy/QtCore \ | ||
57 | INCLUDEPATH+=../qpy/QtGui \ | ||
58 | INCLUDEPATH+=../qpy/QtDeclarative \ | ||
59 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtCore \ | ||
60 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtGui \ | ||
61 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtDeclarative \ | ||
62 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtWebKit \ | ||
63 | INCLUDEPATH+=${OE_QMAKE_INCDIR_QT}/QtNetwork \ | ||
64 | " | ||
65 | FIX_QREAL = "\ | ||
66 | " | ||
67 | |||
68 | do_generate_prepend() { | ||
69 | for i in ${FIX_QREAL}; do | ||
70 | sed -i -e s,qreal,float,g sip/$i | ||
71 | done | ||
72 | } | ||
73 | |||
74 | do_configure_prepend() { | ||
75 | printf "TEMPLATE=subdirs\nSUBDIRS=${MAKE_MODULES}\n" >pyqt.pro | ||
76 | printf "TEMPLATE=subdirs\nSUBDIRS=QtCore QtDeclarative QtGui\n" >qpy/qpy.pro | ||
77 | ln -sf ./qpycore.pro qpy/QtCore/QtCore.pro | ||
78 | ln -sf ./qpydeclarative.pro qpy/QtDeclarative/QtDeclarative.pro | ||
79 | ln -sf ./qpygui.pro qpy/QtGui/QtGui.pro | ||
80 | echo "INCLUDEPATH+=${S}/QtCore" >>qpy/QtCore/QtCore.pro | ||
81 | echo "INCLUDEPATH+=${S}/QtGui" >>qpy/QtGui/QtGui.pro | ||
82 | echo "INCLUDEPATH+=${S}/QtDeclarative" >>qpy/QtDeclarative/QtDeclarative.pro | ||
83 | echo "LIBS+=-L../qpy/QtGui/ -lqpygui" >>QtGui/QtGui.pro | ||
84 | echo "LIBS+=-L../qpy/QtCore/ -lqpycore" >>QtCore/QtCore.pro | ||
85 | echo "LIBS+=-L../qpy/QtDeclarative/ -lqpydeclarative" >>QtDeclarative/QtDeclarative.pro | ||
86 | # hack for broken generated code (duplicated sipCpp declaration). | ||
87 | patch -p1 < ${WORKDIR}/pyqt-generated.patch || echo "pyqt-generated.patch failed to apply, probably reexecuting do_configure, ignoring that" | ||
88 | } | ||
89 | |||
90 | do_install() { | ||
91 | install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4 | ||
92 | install -d ${D}${datadir}/sip/qt/ | ||
93 | for module in ${SIP_MODULES} | ||
94 | do | ||
95 | install -m 0644 ${S}/sip/${module}/*.sip ${D}${datadir}/sip/qt/ | ||
96 | echo "from PyQt4.${module} import *\n" >> ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/Qt.py | ||
97 | install -m 0755 ${module}/lib${module}.so ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/${module}.so | ||
98 | done | ||
99 | cp -pPR elementtree ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/ | ||
100 | cp __init__.py ${D}${libdir}/${PYTHON_DIR}/site-packages/PyQt4/ | ||
101 | } | ||
102 | |||
103 | FILES_${PN} = "${libdir}/${PYTHON_DIR}/site-packages ${datadir}/sip/qt/" | ||