summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3_3.4.3.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3: fix building nativesdk-python3Juro Bystricky2016-04-111-0/+1
| | | | | | | | | | | | | | | When the class nativesdk.bbclass is inherited, it redefines TARGET_CC_ARCH, in the case of python3, this enables debug, causing an error while linking. Since we don't enable debug during configure some functions are not declared. This patch makes sure we keep debug disabled, fixing the linking errors. [YOCTO #9357] (From OE-Core rev: 2dd22dff121b3effe40abe4370de89231785a823) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix python-distutils variablesRicardo Ribalda Delgado2015-09-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-distutils uses the information from this file for setting the system variables. Whithout this patch: root@qt5022:~# pip install pyzmq ... x86_64-poky-linux-gcc -m64 -march=btver1 -mtune=btver1 --sysroot=/var/lib/jenkins/jobs/qt5022-cesium/workspace/build/tmp/sysroots/qt5022 -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DNATIVE_LITTLE_ENDIAN=1 -Ibundled/libsodium/src/libsodium/include -Ibundled/libsodium/src/libsodium/include/sodium -I/usr/include/python2.7 -c buildutils/initlibsodium.c -o build/temp.linux-x86_64-2.7/buildutils/initlibsodium.o In file included from /usr/include/python2.7/Python.h:8:0, from buildutils/initlibsodium.c:10: /usr/include/python2.7/pyconfig.h:24:27: fatal error: bits/wordsize.h: No such file or directory #include <bits/wordsize.h> root@qt5022:~# ls /usr/include/bits/wordsize.h /usr/include/bits/wordsize.h (From OE-Core rev: 6b918dc24d4ab6dcc3693f7f8a8653535edb58c0) Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: remove 2to3 symlink from package python3-2to3Dominic Sacré2015-08-011-0/+3
| | | | | | | | | | | The 2to3 symlink conflicts with its Python 2 equivalent in package python-2to3. The Python 3 version of the tool is still available as 2to3-3.4. (From OE-Core rev: ff3633fa6a379d502f65b20d6a57d30c59f09ab6) Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: detect libraries in STAGING_LIBDIRDominic Sacré2015-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch setup.py so that the detect_modules() function looks for required libraries and headers in STAGING_LIBDIR / STAGING_INCDIR. Without this patch, several extension modules are not built, even though their dependencies are present in the compiler's search paths. The result is the following warning, and ultimately incomplete packages: | The necessary bits to build these optional modules were not found: | _bz2 _curses_panel _dbm | _gdbm _lzma _sqlite3 | nis readline zlib | To find the necessary bits, look in setup.py in detect_modules() for the module's name. With the Python 3.3 version of the recipe, at least some of these modules were built, because STAGING_LIBDIR happened to be in the search path by coincidence. Due to changes to distutils in Python 3.4, this is no longer the case. A previous patch that only affects the search paths for SSL is dropped, as this one is a more complete fix for [YOCTO #7768]. Part of the fix for [YOCTO #8048]. (From OE-Core rev: 540a223fc0fb6b07dab3316de6236924bd97613c) Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: add explicit directories in py_package_preprocessRoss Burton2015-07-161-1/+1
| | | | | | | | | | | py_package_preprocess() was using relative paths which mean it depends on exactly what directory it starts in. To clarify the code, always use absolute paths. (From OE-Core rev: d9941a2d9b423af2ca3313e8c1357ccfcc9a96a5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: remove invalid sed commandRobert Yang2015-07-121-2/+0
| | | | | | | | | There is no ccache in Makefile any more. (From OE-Core rev: 789595637afdef1efe77d8065c6026371554ef38) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-ctypes: Fix cross compilation for arm targetsAlejandro Hernandez2015-06-231-0/+3
| | | | | | | | | | | | | | | When cross compiling for arm targets ctypes compilation fails because it uses _sysconfigdata from the HOST, this patches makes it use the one from TARGET fixing compilation of this module [YOCTO #7873] (From OE-Core rev: c254807c9d1b515b17c4fc9ee92f6a86aaaac1f6) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Jonas Göransson <jonas.goransson@qmatic.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-io: Fixes compilation of python3 ssl moduleAlejandro Hernandez2015-06-081-0/+1
| | | | | | | | | | | | | | During python3 compilation, the module ssl was being skippped due to the fact that the compilation script couldnt find the required files, this patch fixes setup.py so it looks for the files in the correct directory, hence fixing its compilation and installation. [YOCTO #7768] (From OE-Core rev: 4cffb16b0edc353d4a3287ca59ba02640f605d2b) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Fix distutils import errorAlejandro Hernandez2015-06-081-1/+0
| | | | | | | | | | | | | | | | The patch 12-distutils-prefix-is-inside-staging-area.patch is used to fix problems when trying to get some environmental variables but it is only necessary for python3-native, on python3-core it causes an error when importing distutils since env variables of the likes of HOST_SYS and such do not exist on target, this removes the patch from python3-core so distutils can be imported correctly. [YOCTO #7766] (From OE-Core rev: e4dd43cb88a582e4b5116c499ea8131539a3c5b9) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix build for shared objectRobert Yang2015-05-301-0/+1
| | | | | | | | | | | | Fixed when build on armv7a_vfp_neon: Python-3.3.3/Modules/_struct.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC All the archs should use -fPIC when build shared object for linux. (From OE-Core rev: 60c1f76f65060cbea458b06f9719a2536f50474e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Upgrade from 3.4.2 to 3.4.3Alejandro Hernandez2015-05-151-0/+218
Modifies: python3-native_3.4.2.bb -> python3-native_3.4.3.bb: Updates checksums, LICENSE did not change, dates were updated. python3_3.4.2.bb -> python3_3.4.3.bb: Updates checksums, LICENSE did not change, dates were updated. generate-manifest-3.4.py: fixes asyncio and net-tools. python-3.4-manifest.inc: fixes asyncio and net-tools. This upgrade contains a fix for CVE-2014-9365. (From OE-Core rev: 94fc3b199c169b1da850c0aade530ddcf1544d81) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>