--- conf/checksums.ini | 4 ++ recipes/python/python-pygobject-native_2.20.0.bb | 18 ++++++++++ recipes/python/python-pygobject_2.20.0.bb | 38 ++++++++++++++++++++++ 3 files changed, 60 insertions(+), 0 deletions(-) create mode 100644 recipes/python/python-pygobject-native_2.20.0.bb create mode 100644 recipes/python/python-pygobject_2.20.0.bb
diff --git a/conf/checksums.ini b/conf/checksums.ini index 3f9a2f5..fe2f06e 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -18162,6 +18162,10 @@ sha256=c746693328bfed7838a1f3bfac41b13d7f39a81ac961559cd0daf700fc677da7 md5=431e7d4632163b93d1ee43cd071a389c sha256=db0ab6f998bc5750aba2dfa96c8932f673914d8bf804a2c1c769b4a6e3f192d2 +[ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.20/pygobject-2.20.0.tar.bz2] +md5=10e1fb79be3d698476a28b1e1b0c5640 +sha256=41e923a3f4426a3e19f6d154c424e3dac6f39defca77af602ac6272ce270fa81 + [http://downloads.sourceforge.net/pygoogle/pygoogle-0.6.tar.gz] md5=334e2d9e5a765ffa9769e2c4cdfcd110 sha256=ad3f4530977a15e52b379ef301a4a80cf69a883f24dd6cebc5b47b3009c092a4 diff --git a/recipes/python/python-pygobject-native_2.20.0.bb b/recipes/python/python-pygobject-native_2.20.0.bb new file mode 100644 index 0000000..ddc71d4 --- /dev/null +++ b/recipes/python/python-pygobject-native_2.20.0.bb @@ -0,0 +1,18 @@ +require python-pygobject_${PV}.bb + +DEPENDS = "python-native glib-2.0-native" +PR = "r0" + +PARALLEL_MAKE = "" + +inherit native + +SRC_URI = "\ + ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ +# file://python-path.patch;patch=1 \ +" + +do_stage_append() { + install -d ${STAGING_BINDIR} + install -m 0755 gobject/generate-constants ${STAGING_BINDIR}/gobject-generate-constants +} diff --git a/recipes/python/python-pygobject_2.20.0.bb b/recipes/python/python-pygobject_2.20.0.bb new file mode 100644 index 0000000..140ba3b --- /dev/null +++ b/recipes/python/python-pygobject_2.20.0.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "Python GObject bindings" +SECTION = "devel/python" +LICENSE = "LGPL" +DEPENDS = "python-pygobject-native-${PV}" +PR = "ml0" + +DEFAULT_PREFERENCE = "-1" + +MAJ_VER = "[email protected]('PV',d,1).split('.')[0]}[email protected]('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 + +do_stage() { + autotools_stage_all + install -d ${STAGING_LIBDIR}/../share/pygobject/ + cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/ + install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ + cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ +} + +PACKAGES += "${PN}-lib" + +FILES_${PN} = "${libdir}/python*" +FILES_${PN}-lib = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${bindir} ${datadir}" +FILES_${PN}-dbg += "${libdir}/.debug" -- 1.6.4.3 _______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
