summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-19 16:33:15 -0800
committerKhem Raj <raj.khem@gmail.com>2020-01-22 09:56:34 -0800
commit505774658338002a92c2e32c4c57c55f36c5e36e (patch)
treec5d1032aac37af7493141cdfa56da5b371ce5a59 /meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb
parent66454b26ff49c6cca3dd8d32832078cfa05cd5ef (diff)
downloadmeta-openembedded-505774658338002a92c2e32c4c57c55f36c5e36e.tar.gz
meta-oe: Remove using python2
This change makes the parsing go though, we still might have build issues, which will be reported in world builds seprately Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb')
-rw-r--r--meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb b/meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb
new file mode 100644
index 0000000000..b016df7198
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb
@@ -0,0 +1,38 @@
1SUMMARY = "Python GObject bindings"
2HOMEPAGE = "http://www.pygtk.org/"
3SECTION = "devel/python"
4LICENSE = "LGPLv2.1"
5LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
6
7GNOMEBASEBUILDCLASS = "meson"
8inherit gnomebase gobject-introspection distutils3-base upstream-version-is-even
9
10DEPENDS += "python3 glib-2.0"
11
12SRCNAME = "pygobject"
13SRC_URI = " \
14 http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \
15"
16
17SRC_URI[md5sum] = "ca1dc4f31c1d6d283758e8f315a88ab6"
18SRC_URI[sha256sum] = "87e2c9aa785f352ef111dcc5f63df9b85cf6e05e52ff04f803ffbebdacf5271a"
19
20S = "${WORKDIR}/${SRCNAME}-${PV}"
21
22UNKNOWN_CONFIGURE_WHITELIST = "introspection"
23
24PACKAGECONFIG ??= ""
25
26PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python-pycairo, python-pycairo"
27PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , "
28
29EXTRA_OEMESON_append = " -Dpython=python3"
30
31BBCLASSEXTEND = "native"
32RDEPENDS_${PN} = "python-pkgutil"
33RDEPENDS_${PN}_class-native = ""
34
35do_install_append() {
36 # Remove files that clash with python3-pygobject; their content is same
37 rm -r ${D}${includedir}/pygobject-3.0/pygobject.h ${D}${libdir}/pkgconfig
38}