diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch | 26 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-pygobject_3.32.0.bb (renamed from meta/recipes-devtools/python/python3-pygobject_3.28.3.bb) | 10 |
2 files changed, 33 insertions, 3 deletions
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 new file mode 100644 index 0000000000..626a82cb09 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pygobject/0001-Do-not-build-tests.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From c125a806de951359ab7e302b0584f7c92fa451ad Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 12 Apr 2019 16:25:58 +0200 | ||
4 | Subject: [PATCH] Do not build tests | ||
5 | |||
6 | They require installing tests from g-i, which we do not do. | ||
7 | |||
8 | Upstream-Status: Inappropriate [oe-core specific] | ||
9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
10 | --- | ||
11 | meson.build | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/meson.build b/meson.build | ||
15 | index a63d771..b3925d0 100644 | ||
16 | --- a/meson.build | ||
17 | +++ b/meson.build | ||
18 | @@ -174,4 +174,4 @@ configure_file(input : 'PKG-INFO.in', | ||
19 | |||
20 | subdir('gi') | ||
21 | subdir('pygtkcompat') | ||
22 | -subdir('tests') | ||
23 | +#subdir('tests') | ||
24 | -- | ||
25 | 2.17.1 | ||
26 | |||
diff --git a/meta/recipes-devtools/python/python3-pygobject_3.28.3.bb b/meta/recipes-devtools/python/python3-pygobject_3.32.0.bb index 313af227b6..c2676b3502 100644 --- a/meta/recipes-devtools/python/python3-pygobject_3.28.3.bb +++ b/meta/recipes-devtools/python/python3-pygobject_3.32.0.bb | |||
@@ -3,6 +3,7 @@ SECTION = "devel/python" | |||
3 | LICENSE = "LGPLv2.1" | 3 | LICENSE = "LGPLv2.1" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" |
5 | 5 | ||
6 | GNOMEBASEBUILDCLASS = "meson" | ||
6 | inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even | 7 | inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even |
7 | 8 | ||
8 | DEPENDS += "python3 glib-2.0" | 9 | DEPENDS += "python3 glib-2.0" |
@@ -10,10 +11,13 @@ DEPENDS += "python3 glib-2.0" | |||
10 | SRCNAME="pygobject" | 11 | SRCNAME="pygobject" |
11 | SRC_URI = " \ | 12 | SRC_URI = " \ |
12 | http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ | 13 | http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ |
14 | file://0001-Do-not-build-tests.patch \ | ||
13 | " | 15 | " |
14 | 16 | ||
15 | SRC_URI[md5sum] = "3bac63c86bb963aa401f97859464aa90" | 17 | UNKNOWN_CONFIGURE_WHITELIST = "introspection" |
16 | SRC_URI[sha256sum] = "3dd3e21015d06e00482ea665fc1733b77e754a6ab656a5db5d7f7bfaf31ad0b0" | 18 | |
19 | SRC_URI[md5sum] = "6e39bca1d19a27cde4435061dd59578a" | ||
20 | SRC_URI[sha256sum] = "83f4d7e59fde6bc6b0d39c5e5208574802f759bc525a4cb8e7265dfcba45ef29" | ||
17 | 21 | ||
18 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 22 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
19 | 23 | ||
@@ -21,7 +25,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wa | |||
21 | 25 | ||
22 | # python3-pycairo is checked on configuration -> DEPENDS | 26 | # python3-pycairo is checked on configuration -> DEPENDS |
23 | # we don't link against python3-pycairo -> RDEPENDS | 27 | # we don't link against python3-pycairo -> RDEPENDS |
24 | PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo python3-pycairo, python3-pycairo" | 28 | PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python3-pycairo, python3-pycairo" |
25 | 29 | ||
26 | RDEPENDS_${PN} += "python3-setuptools" | 30 | RDEPENDS_${PN} += "python3-setuptools" |
27 | 31 | ||