diff options
Diffstat (limited to 'packages/python')
-rw-r--r-- | packages/python/fix-path.inc | 22 | ||||
-rw-r--r-- | packages/python/python-gst_0.10.7.bb | 5 | ||||
-rw-r--r-- | packages/python/python-pygtk2_2.10.3.bb | 4 | ||||
-rw-r--r-- | packages/python/python-pyqt4_4.2.bb (renamed from packages/python/python-pyqt4_4.0.bb) | 0 | ||||
-rw-r--r-- | packages/python/python-pysqlite2_2.2.2.bb | 13 |
5 files changed, 38 insertions, 6 deletions
diff --git a/packages/python/fix-path.inc b/packages/python/fix-path.inc new file mode 100644 index 0000000000..0738c59ada --- /dev/null +++ b/packages/python/fix-path.inc @@ -0,0 +1,22 @@ +do_install_append() { + for i in `find ${D} -name "*.py"` ; do \ + sed -i -e s:${D}::g $i + done + + for i in `find ${D} -name "*.la"` ; do \ + sed -i -e s:${STAGING_LIBDIR}:${libdir}:g $i + done + + if test -e ${D}${bindir} ; then + for i in ${D}${bindir}/* ; do \ + sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i + done + fi + + if test -e ${D}${sbindir} ; then + for i in ${D}${sbindir}/* ; do \ + sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i + done + fi +} + diff --git a/packages/python/python-gst_0.10.7.bb b/packages/python/python-gst_0.10.7.bb index d206c0ab12..ef4cac7b6b 100644 --- a/packages/python/python-gst_0.10.7.bb +++ b/packages/python/python-gst_0.10.7.bb @@ -1,7 +1,8 @@ DESCRIPTION = "Python Gstreamer bindings" SECTION = "devel/python" LICENSE = "LGPL" -DEPENDS = "gstreamer" +DEPENDS = "gstreamer python-pygobject" +PR = "r1" SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ file://python-path.patch;patch=1" @@ -20,3 +21,5 @@ do_configure_prepend() { do_stage() { autotools_stage_all } + +FILES_${PN}-dbg = "${libdir}/python2.4/site-packages/gst-0.10/gst/.debug/" diff --git a/packages/python/python-pygtk2_2.10.3.bb b/packages/python/python-pygtk2_2.10.3.bb index a71765dfbc..d3811ddddd 100644 --- a/packages/python/python-pygtk2_2.10.3.bb +++ b/packages/python/python-pygtk2_2.10.3.bb @@ -5,7 +5,7 @@ DEPENDS = "gtk+ libglade python-pycairo python-pygobject" RDEPENDS = "python-shell" SRCNAME = "pygtk" LICENSE = "LGPL" -PR = "ml3" +PR = "ml4" SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \ file://fix-gtkunixprint.patch;patch=1 \ @@ -21,6 +21,8 @@ do_configure_prepend() { install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ } +require fix-path.inc + FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/*/.debug" FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/.debug" diff --git a/packages/python/python-pyqt4_4.0.bb b/packages/python/python-pyqt4_4.2.bb index 64a9a71f68..64a9a71f68 100644 --- a/packages/python/python-pyqt4_4.0.bb +++ b/packages/python/python-pyqt4_4.2.bb diff --git a/packages/python/python-pysqlite2_2.2.2.bb b/packages/python/python-pysqlite2_2.2.2.bb index 37be3bc0ea..89d4030f5c 100644 --- a/packages/python/python-pysqlite2_2.2.2.bb +++ b/packages/python/python-pysqlite2_2.2.2.bb @@ -4,10 +4,15 @@ PRIORITY = "optional" LICENSE = "PSF" RDEPENDS = "python-core python-re python-lang python-datetime" DEPENDS = "sqlite3" -SRCNAME = "pysqlite" -PR = "ml1" +SRCNAME = "pysqlite2" +PR = "ml2" -SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.2/${PV}/${SRCNAME}-${PV}.tar.gz" -S = "${WORKDIR}/${SRCNAME}-${PV}" +SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.2/${PV}/pysqlite-${PV}.tar.gz" +S = "${WORKDIR}/pysqlite-${PV}" inherit distutils + +do_install_append() { + install -d ${D}${docdir}/doc + mv ${D}/${datadir}/pysqlite2-doc ${D}${docdir}/${SRCNAME} +} |