diff options
| author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-03-09 17:02:04 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-12 22:11:45 +0000 |
| commit | efd37c5d39824591ce070872e97641054191eecb (patch) | |
| tree | ff3c7efde7f5bd0e917dbc1570492dd0c6ec75e7 /meta/recipes-devtools/python/python-pygobject_2.28.3.bb | |
| parent | ff3500b7a9d8df3ae03af0f6afa9462970ae715d (diff) | |
| download | poky-efd37c5d39824591ce070872e97641054191eecb.tar.gz | |
python-pygobject: update to 3.18.2
The new version of pygobject relies in gobject introspection;
this has prevented the update previously.
(From OE-Core rev: 12d61ac95b6bfae60dd4a7c7239bc8b8b0bcafbb)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-pygobject_2.28.3.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python-pygobject_2.28.3.bb | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/meta/recipes-devtools/python/python-pygobject_2.28.3.bb b/meta/recipes-devtools/python/python-pygobject_2.28.3.bb deleted file mode 100644 index 81d37b49cf..0000000000 --- a/meta/recipes-devtools/python/python-pygobject_2.28.3.bb +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | SUMMARY = "Python GObject bindings" | ||
| 2 | SECTION = "devel/python" | ||
| 3 | LICENSE = "LGPLv2.1" | ||
| 4 | |||
| 5 | RECIPE_NO_UPDATE_REASON = "Newer versions of python-pygobject depend on gobject-introspection which doesn't cross-compile" | ||
| 6 | |||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" | ||
| 8 | DEPENDS = "python python-pygobject-native libffi glib-2.0" | ||
| 9 | DEPENDS_class-native = "python-native libffi-native glib-2.0-native" | ||
| 10 | RDEPENDS_class-native = "" | ||
| 11 | |||
| 12 | MAJ_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" | ||
| 13 | |||
| 14 | SRC_URI = "${GNOME_MIRROR}/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ | ||
| 15 | file://obsolete_automake_macros.patch \ | ||
| 16 | " | ||
| 17 | |||
| 18 | # libtool-native doesn't have fixinstall.patch applied which means | ||
| 19 | # that libs get relinked at installation time. This triggers a | ||
| 20 | # relinking along the lines of: | ||
| 21 | # gcc -L/tmp/foo/media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/lib -lpyglib-2.0-python -o .libs/_glib.so | ||
| 22 | # where /tmp/foo is DESTDIR and pyglib-2.0-python may be installed/reinstalled | ||
| 23 | # at the same time as the gcc command runs. | ||
| 24 | # If this happens between the handoff between gcc and ld, you can see: | ||
| 25 | # /bin/ld: cannot find -lpyglib-2.0-python | ||
| 26 | # Adding a dependency rule like install-pyglibLTLIBRARIES: install-libLTLIBRARIES | ||
| 27 | # would be ideal but automake can't cope with that without manually | ||
| 28 | # defining the whole function. Give up and disable parallel make in native builds. | ||
| 29 | PARALLEL_MAKEINST_class-native = "" | ||
| 30 | |||
| 31 | SRC_URI[md5sum] = "aa64900b274c4661a5c32e52922977f9" | ||
| 32 | SRC_URI[sha256sum] = "7da88c169a56efccc516cebd9237da3fe518a343095a664607b368fe21df95b6" | ||
| 33 | S = "${WORKDIR}/pygobject-${PV}" | ||
| 34 | |||
| 35 | EXTRA_OECONF += "--disable-introspection" | ||
| 36 | |||
| 37 | inherit autotools distutils-base pkgconfig | ||
| 38 | |||
| 39 | # necessary to let the call for python-config succeed | ||
| 40 | export BUILD_SYS | ||
| 41 | export HOST_SYS | ||
| 42 | export STAGING_INCDIR | ||
| 43 | export STAGING_LIBDIR | ||
| 44 | |||
| 45 | PACKAGES += "${PN}-lib" | ||
| 46 | |||
| 47 | RDEPENDS_${PN} += "python-textutils" | ||
| 48 | |||
| 49 | FILES_${PN} = "${libdir}/python*" | ||
| 50 | FILES_${PN}-lib = "${libdir}/lib*.so.*" | ||
| 51 | FILES_${PN}-dev += "${bindir} ${datadir}" | ||
| 52 | |||
| 53 | BBCLASSEXTEND = "native" | ||
