summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/python-pyqt_3.11.oe13
-rw-r--r--python/python-pyqwt_3.10.oe12
2 files changed, 25 insertions, 0 deletions
diff --git a/python/python-pyqt_3.11.oe b/python/python-pyqt_3.11.oe
index 90af05f004..0b5a0a2a8f 100644
--- a/python/python-pyqt_3.11.oe
+++ b/python/python-pyqt_3.11.oe
@@ -62,3 +62,16 @@ do_stage() {
cp -a ${S}/sip/${module}/*.sip ${STAGING_SIPDIR}/
done
}
+
+do_install() {
+ install -d ${D}/${libdir}/python2.3/site-packages/
+ oe_soinstall ${STAGING_LIBDIR}/python2.3/site-packages/libsip.so.11.0.1 ${D}/${libdir}/python2.3/site-packages/
+ for module in ${MODULES}
+ do
+ oe_soinstall ${STAGING_LIBDIR}/python2.3/site-packages/lib${module}cmodule.so.1.0.0 ${D}/${libdir}/python2.3/site-packages/
+ install -m 0644 ${module}/${module}.py ${D}/${libdir}/python2.3/site-packages/
+ done
+}
+
+FILES_${PN}=
+FILES_${PN}=/usr/lib/python2.3/site-packages
diff --git a/python/python-pyqwt_3.10.oe b/python/python-pyqwt_3.10.oe
index 89219b1f04..c1d917a379 100644
--- a/python/python-pyqwt_3.10.oe
+++ b/python/python-pyqwt_3.10.oe
@@ -75,3 +75,15 @@ do_compile() {
done
}
+do_install() {
+ install -d ${D}/${libdir}/python2.3/site-packages/qwt
+ install -m 0644 ${S}/qwt/*.py ${D}/${libdir}/python2.3/site-packages/qwt/
+ for module in ${MODULES}
+ do
+ oe_soinstall ${STAGING_LIBDIR}/python2.3/site-packages/lib${module}cmodule.so.1.0.0 ${D}/${libdir}/python2.3/site-packages/
+ done
+}
+
+FILES_${PN}=
+FILES_${PN}=/usr/lib/python2.3/site-packages
+