From 08c0268aaab5025de88ef8ab7dc3eaca027f683f Mon Sep 17 00:00:00 2001 From: Oleksandr Kravchuk Date: Wed, 24 Apr 2019 08:49:37 +0200 Subject: python3-pygobject: update to 3.32.1 (From OE-Core rev: f3f37a0360cedc2dded3ddd34d190ea76eade5cd) Signed-off-by: Oleksandr Kravchuk Signed-off-by: Richard Purdie --- .../0001-Do-not-build-tests.patch | 10 +++++-- .../python/python3-pygobject_3.32.0.bb | 33 ---------------------- .../python/python3-pygobject_3.32.1.bb | 33 ++++++++++++++++++++++ 3 files changed, 40 insertions(+), 36 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pygobject_3.32.0.bb create mode 100644 meta/recipes-devtools/python/python3-pygobject_3.32.1.bb (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch b/meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch index 626a82cb09..0f2465bb52 100644 --- a/meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch +++ b/meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch @@ -12,15 +12,19 @@ Signed-off-by: Alexander Kanavin 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build -index a63d771..b3925d0 100644 +index 278fa16f..aacbd4a2 100644 --- a/meson.build +++ b/meson.build -@@ -174,4 +174,4 @@ configure_file(input : 'PKG-INFO.in', - +@@ -175,6 +175,6 @@ configure_file(input : 'PKG-INFO.in', subdir('gi') subdir('pygtkcompat') + with_tests = get_option('tests') +-if with_tests -subdir('tests') +-endif ++#if with_tests +#subdir('tests') ++#endif -- 2.17.1 diff --git a/meta/recipes-devtools/python/python3-pygobject_3.32.0.bb b/meta/recipes-devtools/python/python3-pygobject_3.32.0.bb deleted file mode 100644 index c2676b3502..0000000000 --- a/meta/recipes-devtools/python/python3-pygobject_3.32.0.bb +++ /dev/null @@ -1,33 +0,0 @@ -SUMMARY = "Python GObject bindings" -SECTION = "devel/python" -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" - -GNOMEBASEBUILDCLASS = "meson" -inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even - -DEPENDS += "python3 glib-2.0" - -SRCNAME="pygobject" -SRC_URI = " \ - http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ - file://0001-Do-not-build-tests.patch \ -" - -UNKNOWN_CONFIGURE_WHITELIST = "introspection" - -SRC_URI[md5sum] = "6e39bca1d19a27cde4435061dd59578a" -SRC_URI[sha256sum] = "83f4d7e59fde6bc6b0d39c5e5208574802f759bc525a4cb8e7265dfcba45ef29" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}" - -# python3-pycairo is checked on configuration -> DEPENDS -# we don't link against python3-pycairo -> RDEPENDS -PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python3-pycairo, python3-pycairo" - -RDEPENDS_${PN} += "python3-setuptools" - -BBCLASSEXTEND = "native" -PACKAGECONFIG_class-native = "" diff --git a/meta/recipes-devtools/python/python3-pygobject_3.32.1.bb b/meta/recipes-devtools/python/python3-pygobject_3.32.1.bb new file mode 100644 index 0000000000..8eda06e9e1 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pygobject_3.32.1.bb @@ -0,0 +1,33 @@ +SUMMARY = "Python GObject bindings" +SECTION = "devel/python" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" + +GNOMEBASEBUILDCLASS = "meson" +inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even + +DEPENDS += "python3 glib-2.0" + +SRCNAME="pygobject" +SRC_URI = " \ + http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ + file://0001-Do-not-build-tests.patch \ +" + +UNKNOWN_CONFIGURE_WHITELIST = "introspection" + +SRC_URI[md5sum] = "9d5dbca10162dd9b0d03fed0c6cf865d" +SRC_URI[sha256sum] = "32c99def94b8dea5ce9e4bc99576ef87591ea779b4db77cfdca7af81b76d04d8" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wayland', 'x11' ], 'cairo', '', d)}" + +# python3-pycairo is checked on configuration -> DEPENDS +# we don't link against python3-pycairo -> RDEPENDS +PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python3-pycairo, python3-pycairo" + +RDEPENDS_${PN} += "python3-setuptools" + +BBCLASSEXTEND = "native" +PACKAGECONFIG_class-native = "" -- cgit v1.2.3-54-g00ecf