diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2019-07-01 16:26:58 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-07-10 09:24:32 -0700 |
| commit | 902314465f522a2c8261d53bc53fe9daa2259d65 (patch) | |
| tree | 093498338bcfd2f27c158af3a55e218f81870b21 /meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb | |
| parent | b3a2ad2060dd0980e2a33bb0e6fd618a4a22ebf8 (diff) | |
| download | meta-openembedded-902314465f522a2c8261d53bc53fe9daa2259d65.tar.gz | |
python-pygobject: upgrade 3.32.1 -> 3.32.2
-Upgrade from python-pygobject_3.32.1.bb to python-pygobject_3.32.2.bb.
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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.bb | 39 |
1 files changed, 39 insertions, 0 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 new file mode 100644 index 0000000000..4d26a78aeb --- /dev/null +++ b/meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | SUMMARY = "Python GObject bindings" | ||
| 2 | HOMEPAGE = "http://www.pygtk.org/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "LGPLv2.1" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | ||
| 6 | |||
| 7 | GNOMEBASEBUILDCLASS = "meson" | ||
| 8 | inherit gnomebase gobject-introspection distutils-base upstream-version-is-even | ||
| 9 | |||
| 10 | DEPENDS += "python glib-2.0" | ||
| 11 | |||
| 12 | SRCNAME = "pygobject" | ||
| 13 | SRC_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 | |||
| 18 | SRC_URI[md5sum] = "92ffa25351782feb96362f0dace2089f" | ||
| 19 | SRC_URI[sha256sum] = "c39ca2a28364b57fa00549c6e836346031e6b886c3ceabfd8ab4b4fed0a83611" | ||
| 20 | |||
| 21 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
| 22 | |||
| 23 | UNKNOWN_CONFIGURE_WHITELIST = "introspection" | ||
| 24 | |||
| 25 | PACKAGECONFIG ??= "stagedir" | ||
| 26 | |||
| 27 | PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python-pycairo, python-pycairo" | ||
| 28 | PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , " | ||
| 29 | PACKAGECONFIG[python] = "-Dpython=python3, -Dpython=python2, , " | ||
| 30 | PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , " | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native" | ||
| 33 | RDEPENDS_${PN} = "python-setuptools" | ||
| 34 | RDEPENDS_${PN}_class-native = "" | ||
| 35 | |||
| 36 | do_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 | } | ||
