From 4661367660e31608b9c3464ade7307a514e78cbd Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Wed, 7 Jul 2010 04:14:34 -0700 Subject: python-pygobject: upgrade from 2.16.0 to 2.21.1 python-pygobject-native: upgrade from 2.16.0 to 2.21.1 Signed-off-by: Nitin A Kamble --- .../python/python-pygobject-native_2.16.0.bb | 20 -------------- .../python/python-pygobject-native_2.21.1.bb | 17 ++++++++++++ meta/packages/python/python-pygobject_2.16.0.bb | 32 ---------------------- meta/packages/python/python-pygobject_2.21.1.bb | 30 ++++++++++++++++++++ 4 files changed, 47 insertions(+), 52 deletions(-) delete mode 100644 meta/packages/python/python-pygobject-native_2.16.0.bb create mode 100644 meta/packages/python/python-pygobject-native_2.21.1.bb delete mode 100644 meta/packages/python/python-pygobject_2.16.0.bb create mode 100644 meta/packages/python/python-pygobject_2.21.1.bb diff --git a/meta/packages/python/python-pygobject-native_2.16.0.bb b/meta/packages/python/python-pygobject-native_2.16.0.bb deleted file mode 100644 index f5b9cb338c..0000000000 --- a/meta/packages/python/python-pygobject-native_2.16.0.bb +++ /dev/null @@ -1,20 +0,0 @@ -require python-pygobject_${PV}.bb - -DEPENDS = "python-native glib-2.0-native" -PR = "r1" - -PARALLEL_MAKE = "" - -inherit native - -NATIVE_INSTALL_WORKS = "1" - -SRC_URI = "\ - ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ -# file://python-path.patch;patch=1 \ -" - -do_install_append() { - install -d ${D}${bindir} - install -m 0755 gobject/generate-constants ${D}${bindir}/gobject-generate-constants -} diff --git a/meta/packages/python/python-pygobject-native_2.21.1.bb b/meta/packages/python/python-pygobject-native_2.21.1.bb new file mode 100644 index 0000000000..7699f74b3b --- /dev/null +++ b/meta/packages/python/python-pygobject-native_2.21.1.bb @@ -0,0 +1,17 @@ +require python-pygobject_${PV}.bb + +DEPENDS = "python-native glib-2.0-native" +PR = "r0" + +PARALLEL_MAKE = "" + +inherit native + +NATIVE_INSTALL_WORKS = "1" + +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2" + +do_install_append() { + install -d ${D}${bindir} + install -m 0755 gobject/generate-constants ${D}${bindir}/gobject-generate-constants +} diff --git a/meta/packages/python/python-pygobject_2.16.0.bb b/meta/packages/python/python-pygobject_2.16.0.bb deleted file mode 100644 index 8c40784342..0000000000 --- a/meta/packages/python/python-pygobject_2.16.0.bb +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = "Python GObject bindings" -SECTION = "devel/python" -LICENSE = "LGPL" -DEPENDS = "python-pygobject-native-${PV} glib-2.0" -PR = "ml2" - -MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" - -SRC_URI = "\ - ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ - file://generate-constants.patch;patch=1 \ -" -S = "${WORKDIR}/pygobject-${PV}" - -FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files" - -inherit autotools distutils-base pkgconfig - -# necessary to let the call for python-config succeed -export BUILD_SYS -export HOST_SYS -export STAGING_INCDIR -export STAGING_LIBDIR - -PACKAGES += "${PN}-lib" - -RDEPENDS_${PN} += "python-textutils" - -FILES_${PN} = "${libdir}/python*" -FILES_${PN}-lib = "${libdir}/lib*.so.*" -FILES_${PN}-dev += "${bindir} ${datadir}" -FILES_${PN}-dbg += "${libdir}/.debug" diff --git a/meta/packages/python/python-pygobject_2.21.1.bb b/meta/packages/python/python-pygobject_2.21.1.bb new file mode 100644 index 0000000000..b815e4c0f2 --- /dev/null +++ b/meta/packages/python/python-pygobject_2.21.1.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Python GObject bindings" +SECTION = "devel/python" +LICENSE = "LGPL" +DEPENDS = "python-pygobject-native-${PV} glib-2.0" +PR = "ml0" + +MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" + +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ + file://generate-constants.patch" +S = "${WORKDIR}/pygobject-${PV}" + +FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files" + +inherit autotools distutils-base pkgconfig + +# necessary to let the call for python-config succeed +export BUILD_SYS +export HOST_SYS +export STAGING_INCDIR +export STAGING_LIBDIR + +PACKAGES += "${PN}-lib" + +RDEPENDS_${PN} += "python-textutils" + +FILES_${PN} = "${libdir}/python*" +FILES_${PN}-lib = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${bindir} ${datadir}" +FILES_${PN}-dbg += "${libdir}/.debug" -- cgit v1.2.3