aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
AgeCommit message (Collapse)Author
2016-07-01pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, ↵Alexander Kanavin
STAGING_LIBDIR, PYTHON variables We patch Python's distutils modules to access STAGING_INCDIR/LIBDIR, so when they are not set, scripts that utilize distutils (e.g. python-config) fail. Several recipes need to export those manually to prevent such failures, so let's do that in the class instead. PYTHON variable is exported because otherwise autotools' python.m4 macro will pick up its own internal default, which may not be the version that we want. glib recipe in particular was previously using Python 2.x during build due to python.m4 defaulting to it - now it's using Python 3.x, and so needs a small fix in deletion of *.pyc files. (From OE-Core rev: c1e0eb62f2d89b10b187016200018830b1c77945) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15python3: fix CROSSPYTHONPATH for cross buildsAwais Belal
There are cases where target and host are of the same type and at such instances the target modules may be loaded if CROSSPYTHONPATH is not correct. This adds host library paths so that target modules are not loaded while cross compiling to avoid illegal instruction issues. (From OE-Core rev: 20c637ef40f2de9c2848ac1fb25240dea84cdb7b) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15python3-native Add RPROVIDES python3-importlib-nativeRichard Purdie
''' WARNING: Nothing RPROVIDES 'python3-importlib-native' (but virtual:native:/media/build1/poky/meta/recipes-devtools/python/python3-pygobject_3.20.1.bb RDEPENDS on or otherwise requires it) ''' (From OE-Core rev: 3f7359d9ff64785f8e7237f0187547c5e70f47d1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15python-ptyprocess: Extend to cover nativesdkRichard Purdie
''' WARNING: Nothing RPROVIDES 'nativesdk-python-ptyprocess' (but virtual:nativesdk:/media/build1/poky/meta/recipes-devtools/python/python-pexpect_4.1.0.bb RDEPENDS on or otherwise requires it) ''' (From OE-Core rev: 76de50fa96de306d8168bdc4c3820a8c6ab257d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15python-mako: rm -df -> rmdirRobert Yang
The old rm (e.g., Ubuntu 12.04's) doesn't has -d option, use rmdir to make it work. BTW., the "-f" option in rm -df doesn't make any sense. (From OE-Core rev: 0a78e2051e6e735e3a47a8d46d150f5e62ba505c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12python: Several recipes needed SRC_URI updatingAlejandro Hernandez
Most python recipes download its source from pypi.python.org, but they changed the way theyre storing the source code, so we need to use pythonhosted instead, see: https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package (From OE-Core rev: 08de9032e870966947b937a1226dd860e0bd71cf) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12python3-pygobject: Upgrade from 3.18.2 to 3.20.1Alejandro Hernandez
(From OE-Core rev: 991174af2dd3905b8d11022a8ff05b2df90ad8d3) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12python3-pygobject: only check for even upstream versionsAlexander Kanavin
(From OE-Core rev: f658b62beb28e668137521a1801c04fd4bded9e6) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12python3-pip: Upgrade from 8.0.0 to 8.1.2Alejandro Hernandez
(From OE-Core rev: e2e248919e31029ece26ec0f1383690ce410aa24) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12python-scons: Upgrade from 2.4.1 to 2.5.0Alejandro Hernandez
Upgrades both python-scons and python-scons-native to 2.5.0, also fixes a runtime dependency issue when calling scons (From OE-Core rev: 3782164546aca84011940811c411e09601fbe399) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12python-pexpect: Upgrade from 4.0.1 to 4.1.0Alejandro Hernandez
Fixes source location, uses setuptools instead of distutils Adds python-ptyprocess package, since it is now a runtime dependency for python-pexpect (From OE-Core rev: 8e29f954613fbc2eb274fc7e3da1d516353c4683) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12python-mako: Upgrade python-mako and python3-mako to 1.0.4Alejandro Hernandez
(From OE-Core rev: 84d54d198f6445ddd3c86d8ad6833f0d40a35ffd) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12python-git: Upgrade from 1.0.2 to 2.0.5Alejandro Hernandez
Move checksums into the relevant recipes as currently python-git and python3-git are at different versions - RB. (From OE-Core rev: b7c00d3290ea99547f04ae2bcb4c8dcb969888c0) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-12python-setuptools: Upgrade to 22.0.5Alejandro Hernandez
Source location changed on pypi, this must be changed on all other recipes as well, License also changed to MIT (From OE-Core rev: bb2ecb102f30d5165c4e47adadfe5d052c6a06ce) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-03python-docutils: move to Python 3Alexander Kanavin
(From OE-Core rev: 798db38f993cf9bad6feb2da6e0eea0a582ba9f3) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-03python-imaging: remove unused recipeAlexander Kanavin
(From OE-Core rev: b03ebfaee278eb98b4bd0e11a682ac0cda192086) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-03python-pyrex: remove unused recipeAlexander Kanavin
(From OE-Core rev: 976097f72af02ae4009ab81158927fca54ea78ff) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-03python-pycairo: move to Python 3Alexander Kanavin
The Python 3 version comes in a separate tarball, and is relicensed under LGPLv3: http://cairographics.org/pycairo/ (From OE-Core rev: bfd62071befd0f20597cf9c62c281fb6e815bd2e) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-03python-pygobject: port to Python 3Alexander Kanavin
This reverts commit 7f7c9ab29eba0e58916629ca13dc4a494535ce19. (From OE-Core rev: f55e040f901371427db0f7c68a7139e55d5953d2) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-03python3: drop 110-enable-zlib.patchAlexander Kanavin
With the patch, the zlib extension wasn't built at all. Without the patch, it gets build just fine. (From OE-Core rev: 59870a852cf88ecef094db0a2adec168a8997626) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-03python-dbus: update to 1.2.4, port to python 3Alexander Kanavin
(From OE-Core rev: 691032c4f0e424c3a097a015a14279ea0a6dd71d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-01python-numpy: move recipe to own directoryAlexander Kanavin
This is done so that patches can be shared with python3-numpy (From OE-Core rev: 9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-01python3: add = to -L linking option only when the path is absoluteAlexander Kanavin
Previously it was added also when the path was relative and not prefixed with ./, which was causing issues with building numpy. (From OE-Core rev: 3e171c89e929a09e4d511a8f235dd90b7cf0d463) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-01python3-nose: add a recipeAlexander Kanavin
This is needed for updating piglit to use Python 3. Python 2 based recipe can be later moved to meta-oe. (From OE-Core rev: 3e751bd05f7033b15e717fa4d56fefd915d2ea0c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-01python3-mako: add a Python 3 recipeAlexander Kanavin
This will be necessary for transiting piglit to Python 3. Python 2 recipe should be kept as it is used by mesa (and gobject-introspection, for now). (From OE-Core rev: 72be3752a56d681672fb3e04413ff3cc59391150) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-01python3: manipulate all of the config*/Makefile files, not just config/MakefileAlexander Kanavin
(From OE-Core rev: abf2258b4c0ce9ed831665231d0a27ee568f5392) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-01python-native, python3-native: remove the use of exported HOST_SYS and ↵Alexander Kanavin
BUILD_SYS variables The code that utilized them was superseded by the code (in the same patch!) that is utilizing STAGING_LIBDIR/STAGING_INCDIR, and wasn't correct in the first place as HOST_SYS is not necessarily the same as the sysroot directory name. (From OE-Core rev: 8834e81a38c24a066bb4fefa93da61011d0db244) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-22python-smartpm: Avoid locale issue with bitbake python3Richard Purdie
(From OE-Core rev: fa2ca7660e8f3279736624aa2493b4ca952ae466) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-19python3-git: add it for buildtools-tarballRobert Yang
Need add python3-git to buildtools-tarball for the py3 build. (From OE-Core rev: fa19a541deb46dec1f4fbd60f08584daa06e2d6b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-19python3-gitdb: add it for python3-gitRobert Yang
Need add python3-git to buildtools-tarball for the py3 build, and the dependencies chain is: python3-git -> python3-gitdb (From OE-Core rev: b13babf07d77bcbed21c24761e2f4ada9ba85507) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-19python3-async: add it for python3-gitdbRobert Yang
Need add python3-git to buildtools-tarball for the py3 build, and the dependencies chain is: python3-git -> python3-gitdb -> python3-async (From OE-Core rev: 816a518ecab232e4efe26ad203ce42c4543a79ca) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-19python3-smmap: add it for python3-gitdbRobert Yang
Need add python3-git to buildtools-tarball for the py3 build, and the dependencies chain is: python3-git -> python3-gitdb -> python3-smmap (From OE-Core rev: 762c280259b90d2cb827b8f8dc62490e36bd7df8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-19python-smartpm: Remove unnecessary error reporting improvement patchKlauer, Daniel
The error reporting improvements were merged upstream (smartpm 406541f569) and refactored later (smartpm 20af0aac33), yet a part of the patch was kept here (oe-core 5fc580fc44). Due to the upstream refactoring the patch still applies cleanly, but it isn't actually needed. The added changes are duplicate or dead code. (From OE-Core rev: f1cfa9ab5d79198671275cea2c9864ce0cbcb9f0) Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-19python-smartpm: Don't ignore error if RPM transaction fails without problemsKlauer, Daniel
SmartPM could misinterpret RPM transaction error as success, if ts.run() (RPM Python API) returns an empty problems list. This could happen for example if the RPM database is partially corrupted such that the transaction does not have any problems like conflicts or missing dependencies, but still can't be committed. The added patch fixes the problem in the upstream sources; one of the existing patches has to be adjusted to still apply. (From OE-Core rev: 1dc5f5d5c844585eec114be9480e0e4d8e60d09c) Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-19python-smartpm: Fix channel command --remove-all option (again)Klauer, Daniel
SmartPM's --remove-all option was unusable, because the fix from commit 03266e89a6 was lost in commit 5fc580fc44. Thus, add a new patch to fix --remove-all. It seems like the previous fix was lost by mistake: Upstream merged the *old* version of the patch (smartpm 406541f569), and when SmartPM in oe-core was upgraded to the new upstream release, the --remove-all fix from the *new* patch was not carried over. (From OE-Core rev: ba2adda60dd34b6a8feba413e3207dd8e4580294) Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-19python-numpy: fix build failure with python-matplotlibArmin Kuster
Fix for aarch64, mips64 and ppc64 numpy/core/include/numpy/npy_common.h:149:10: error: | #error Unsupported size for type off_t (From OE-Core rev: dff54b8affad38ffcd5f80308f4c3a265dc2dbae) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-14python-native: Point to expat in native sysroot and add missing dep on ↵Khem Raj
expat-native This fixes inconsistency where expat dependency is then depending upon build host having it or not having it Fixes errors like WARNING: renaming "pyexpat" since importing it failed: build/lib.linux-x86_64-2.7/pyexpat.so: undefined symbol: XML_SetCommentHandler also reported here https://dev.openwrt.org/ticket/20087 This work due to the fact that we use -isystem pointing to native sysroot so the search order of native includedir is moved after buildhosts system includdirs. Moment we replace it with -I, build falls apart This also fixes the error Caught exception: <type 'exceptions.ImportError'> ImportError('No module named _elementtree',) where gobject-introspection-native fails to find _elementtree which is only compiled if expat is available (From OE-Core rev: a63798df712bf0d2362e07713c06af3b071a10b2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-05-06python-pygobject: remove redundant gnome-common dependencyRoss Burton
The gnomebase class already depends on gnome-common-native, so there's no need to depend on it again. (From OE-Core rev: 13621e8ac158e1eb65a04054899f7cdec796d38f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-12meta: remove redundant ac_cv_sizeof_off_t assignmentsRoss Burton
ac_cv_sizeof_off_t was previously in the site cache files, which was breaking large file support and required a workaround in each recipe that actually wanted to use large files. Now that the entry has been removed from the site cache, we can remove the workarounds. (From OE-Core rev: 1485d7cae88adb3575c6eaa47784fe50820d2740) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-04-09Add missing runtime dependency to python-pygobjectChris Trobridge
(From OE-Core rev: c895676679b951836c909eb962190f5817662882) Signed-off-by: Chris Trobridge <christrobridge@hotmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-31pyton-numpy: Add definition of off_t sizeRicardo Ribalda Delgado
NPY_SIZEOF_OFF_T must be defined. Otherwise: /home/ricardo/curro/qt5022/oe/openembedded-core/build/tmp-glibc/sysroots /qemux86-64/usr/lib/python2.7/site-packages/numpy/core/include/numpy/ npy_common.h:140:9: warning: "NPY_SIZEOF_OFF_T" is not defined [-Wundef] #if NPY_SIZEOF_OFF_T == NPY_SIZEOF_SHORT ^ /home/ricardo/curro/qt5022/oe/openembedded-core/build/tmp-glibc/sysroots/ qemux86-64/usr/lib/python2.7/site-packages/numpy/core/include/numpy /npy_common.h:142:11: warning: "NPY_SIZEOF_OFF_T" is not defined [-Wundef] #elif NPY_SIZEOF_OFF_T == NPY_SIZEOF_INT ^ /home/ricardo/curro/qt5022/oe/openembedded-core/build/tmp-glibc/sysroots/ qemux86-64/usr/lib/python2.7/site-packages/numpy/core/include/numpy/ npy_common.h:144:11: warning: "NPY_SIZEOF_OFF_T" is not defined [-Wundef] #elif NPY_SIZEOF_OFF_T == NPY_SIZEOF_LONG ^ /home/ricardo/curro/qt5022/oe/openembedded-core/build/tmp-glibc/sysroots/ qemux86-64/usr/lib/python2.7/site-packages/numpy/core/include/numpy/ npy_common.h:146:11: warning: "NPY_SIZEOF_OFF_T" is not defined [-Wundef] #elif NPY_SIZEOF_OFF_T == NPY_SIZEOF_LONGLONG ^ /home/ricardo/curro/qt5022/oe/openembedded-core/build/tmp-glibc/sysroots/ qemux86-64/usr/lib/python2.7/site-packages/numpy/core/include/numpy/ npy_common.h:149:10: error: #error Unsupported size for type off_t #error Unsupported size for type off_t (From OE-Core rev: f0b21c0c1a5f50126eff098568a792a1be85f422) Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25python-pygobject: use Python 2 instead of Python 3Ross Burton
Ideally this would be an option but that means conditional inherits. For now Python 2 is clearly the default Python in oe-core so switch to Python 2 instead of 3. This stops python3 being pulled inadvertently into builds, and appearing in images that have ptest-pkgs installed (via dbus-test). (From OE-Core rev: 7ae7277a577b2732eff7812860a7c7967644e532) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-25python(3): Disable tkinterMartin Jansa
* restore changes from: http://git.openembedded.org/openembedded-core/commit/?id=53ae544cfdac22c82af452b8c7ebe6664296bd9b * which were shamelessly removed in upgrade to 2.7.9: http://git.openembedded.org/openembedded-core/commit/?id=d4ad95f0d5f08891637c644e85b09da9c4585059 and then spread to python3 as well * fixes following issues reported by test-dependencies WARN: python3: python3-tkinter rdepends on glibc, but it isn't a build dependency? WARN: python3: python3-tkinter rdepends on libpython3, but it isn't a build dependency? WARN: python3: python3-tkinter rdepends on tcl-lib, but it isn't a build dependency? WARN: python: python-tkinter rdepends on glibc, but it isn't a build dependency? WARN: python: python-tkinter rdepends on libpython2, but it isn't a build dependency? WARN: python: python-tkinter rdepends on tcl-lib, but it isn't a build dependency? and following QA warnings in normal builds: python-2.7.11: python-tkinter rdepends on tcl-lib, but it isn't a build dependency, missing tcl in DEPENDS or PACKAGECONFIG? [build-deps] python-2.7.11: /usr/lib/python2.7/lib-dynload/_tkinter.so contained in package python-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_python-tkinter? [file-rdeps] python3-3.5.1: python3-tkinter rdepends on tcl-lib, but it isn't a build dependency, missing tcl in DEPENDS or PACKAGECONFIG? [build-deps] python3-3.5.1: /usr/lib/python3.5/lib-dynload/_tkinter.cpython-35m-arm-linux-gnueabi.so contained in package python3-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_python3-tkinter? [file-rdeps] (From OE-Core rev: 8cc5e36cd7978186d5ea1fe8af2f2bd6b3df8885) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20smartpm: remove rpm4 patchJoshua Lock
The RPM4 support we added to SMART doesn't appear to work, remove it as part of the removal of RPM4 from OE-Core. Refresh the smart-add-for-rpm-ignoresize-check.patch which was applied after smart-rpm4-fixes.patch and doesn't apply cleanly once that patch is removed. (From OE-Core rev: e1108fa41742e726aa578d0298fa6397b2663ff3) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20python-numpy: Fix build on muslKhem Raj
Match API version in cached _numpyconfig.h to the one mandated by numpy version in use. (From OE-Core rev: 7a0ba5cbb1ea0a379c1e61fb58d7595e8f8480c4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-12python-numpy: fix buildpaths QA issueHongxu Jia
Remove build path in comments: Without the fix: ... |This file is generated by /buildarea/raid0/hjia/build-20160225-yocto- buildpath/tmp/work/core2-64-poky-linux/python-numpy/1.10.4-r0/numpy -1.10.4/setup.py ... With the fix: ... |This file is generated by /numpy-1.10.4/setup.py ... [YOCTO #7058] (From OE-Core rev: 06835e109264b0472f4a47e33a74b0c872ebd7f1) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-12python: move ast module into python-coreRoss Burton
The compile() method returns objects that inherit from ast.AST so it's best that python-core contains this class. [YOCTO #8684] (From OE-Core rev: 48bc643a4ebe74d0fa49fedbe7b0fd63fd0003e8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-12python3: fix do_configure check platform triplet errorHongxu Jia
For p1022ds bsp, the MULTIARCH is powerpc-linux-gnuspev1 and python3 did not recognize the extra 'v1' which caused python3 configure error for the platform triplet. Q:Why Python3 check platform triplet? A:Under Linux, GNU/KFreeBSD and the Hurd, C extensions now include the architecture triplet in the extension name, to make it easy to test builds for different ABIs in the same working tree. vim config.log ... EXT_SUFFIX='.cpython-35m-powerpc-linux-gnuspe.so' ... Here is the generated C extensions which take platform triplet into account. ... |image/usr/lib/python3.5/lib-dynload/_datetime.cpython-35m-powerpc-linux-gnuspe.so ... https://bugs.python.org/issue22980 https://www.python.org/dev/peps/pep-3149/ https://bugs.python.org/review/22980/patch/14593/54808 [YOCTO #9226] (From OE-Core rev: cda0ef61d37357fed1daa22f6a59ef9f906fcada) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-12python-pygobject: update to 3.18.2Alexander Kanavin
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>
2016-03-12python-pygtk: remove the recipeAlexander Kanavin
python-pygtk hasn't been updated in several years, is incompatible with the current version of pygobject, and is generally obsolete as all modern python gtk apps use introspection directly. (From OE-Core rev: 14f62d1663b7a9082b8026cd5d22eea66ad75174) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>