summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb')
-rw-r--r--meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb39
1 files changed, 0 insertions, 39 deletions
diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb
deleted file mode 100644
index 0ea70b23b5..0000000000
--- a/meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb
+++ /dev/null
@@ -1,39 +0,0 @@
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 distutils-base upstream-version-is-even
9
10DEPENDS += "python 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 file://0001-python-pyobject-fix-install-dir.patch \
16"
17
18SRC_URI[md5sum] = "92ffa25351782feb96362f0dace2089f"
19SRC_URI[sha256sum] = "c39ca2a28364b57fa00549c6e836346031e6b886c3ceabfd8ab4b4fed0a83611"
20
21S = "${WORKDIR}/${SRCNAME}-${PV}"
22
23UNKNOWN_CONFIGURE_WHITELIST = "introspection"
24
25PACKAGECONFIG ??= "stagedir"
26
27PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python-pycairo, python-pycairo"
28PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , "
29PACKAGECONFIG[python] = "-Dpython=python3, -Dpython=python2, , "
30PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , "
31
32BBCLASSEXTEND = "native"
33RDEPENDS_${PN} = "python-pkgutil"
34RDEPENDS_${PN}_class-native = ""
35
36do_install_append() {
37 # Remove files that clash with python3-pygobject; their content is same
38 rm -r ${D}${includedir}/pygobject-3.0/pygobject.h ${D}${libdir}/pkgconfig
39}