summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-11-12 15:51:27 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-11-12 15:51:27 +0000
commit4494f016479a13a6ac2aaace36d35d547381e86b (patch)
tree58dcbec8cdd0e9efb05277d2a9fcc3801da1f3dc
parentbc2d91a4b191f8870a5591a9749778cba8dd2d62 (diff)
python-py[gtk|cairo]: remove duplicated packaging statements
-rw-r--r--packages/python/python-pycairo_1.4.0.bb3
-rw-r--r--packages/python/python-pygtk_2.10.3.bb41
-rw-r--r--packages/python/python-pygtk_2.10.4.bb7
3 files changed, 1 insertions, 50 deletions
diff --git a/packages/python/python-pycairo_1.4.0.bb b/packages/python/python-pycairo_1.4.0.bb
index 0a20010be6..a74c59fdaa 100644
--- a/packages/python/python-pycairo_1.4.0.bb
+++ b/packages/python/python-pycairo_1.4.0.bb
@@ -14,6 +14,3 @@ do_stage() {
install -d ${STAGING_INCDIR}
install -m 0644 cairo/pycairo.h ${STAGING_INCDIR}
}
-
-
-FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/cairo/.debug"
diff --git a/packages/python/python-pygtk_2.10.3.bb b/packages/python/python-pygtk_2.10.3.bb
deleted file mode 100644
index 78c76d47f9..0000000000
--- a/packages/python/python-pygtk_2.10.3.bb
+++ /dev/null
@@ -1,41 +0,0 @@
-DESCRIPTION = "Python GTK+ Bindings"
-SECTION = "devel/python"
-# needs gtk+ 2.10.x
-DEPENDS = "gtk+ libglade python-pycairo python-pygobject"
-RDEPENDS = "python-shell"
-SRCNAME = "pygtk"
-LICENSE = "LGPL"
-PR = "ml4"
-
-SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \
- file://fix-gtkunixprint.patch;patch=1 \
- file://acinclude.m4"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-EXTRA_OECONF = "--disable-docs"
-EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
-
-inherit autotools pkgconfig distutils-base
-
-FILES_${PN}-dev += "${libdir}/pygtk/2.0 ${bindir}/pygtk-*"
-FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/.debug"
-
-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"
-
-do_stage() {
- autotools_stage_includes
- sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0
- install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/
- install -d ${STAGING_DATADIR}/pygtk/2.0/codegen
- install -d ${STAGING_DATADIR}/pygtk/2.0/defs/
- cp -pPr codegen/*.py* ${STAGING_DATADIR}/pygtk/2.0/codegen/
- cp -pPr *.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
- cp -pPr gtk/*.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
-}
diff --git a/packages/python/python-pygtk_2.10.4.bb b/packages/python/python-pygtk_2.10.4.bb
index 87776ff426..76a8504c7d 100644
--- a/packages/python/python-pygtk_2.10.4.bb
+++ b/packages/python/python-pygtk_2.10.4.bb
@@ -21,18 +21,13 @@ do_configure_prepend() {
install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
}
-
-FILES_${PN}-dev += "${libdir}/pygtk/2.0 ${bindir}/pygtk-*"
-FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/.debug"
-
do_configure_prepend() {
install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
}
require fix-path.inc
+
FILES_${PN}-dev += "${libdir}/pygtk/2.0 ${bindir}/pygtk-*"
-FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/*/.debug"
-FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/.debug"
do_stage() {
autotools_stage_includes