summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3-ctypes: Fix cross compilation for arm targetsAlejandro Hernandez2015-06-281-0/+4
| | | | | | | | | | | | | | 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: a676ee838aae1ac05fa6542d1b0791d61ff9f05f) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Jonas Göransson <jonas.goransson@qmatic.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix build for shared objectRobert Yang2015-06-281-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) (From OE-Core rev: d9c3d3036da6f36d1f494987aa854d0c76968a27) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: remove sys_platform_is_now_always_linux2.patchRobert Yang2015-06-281-29/+0
| | | | | | | | | | | It is aready in the source. (From OE-Core rev: 99f9df3add049ec18dbcd604646a67dc59b3db16) (From OE-Core rev: 6c1b44872d9cd09ad46fd9d2cc3555f9cd3a55e6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: remove 2 dangling patchesRobert Yang2015-06-282-55/+0
| | | | | | | | | | | | | | | | | | Removed: - unbreak-assumptions.diff This patch changs the dir to /non-existant-dir, the source code has changed the dir to /deadir, so it is not needed any more. - trycompile.diff There is no try_compile or try_run in numpy/core/setup.py any more, so assumed that it is not needed. (From OE-Core rev: 56aac948ca9686d79a2c56f4f034f8de445ff37b) (From OE-Core rev: 7f0d86dd43a10a981aa2ad8acde66fe345fe4096) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Change python 2.7.9 to use libffi from the systemNathan Rossi2015-05-151-1/+3
| | | | | | | | | | | | | | | | | | | Changes in python 2.7.9 from 2.7.3 cause issues when building the in tree libffi for ctypes. These issues primarily affect less common platforms (e.g. MicroBlaze) that are supported by libffi but the python overrides for the in tree libffi are not able to detect correctly. This patch changes the python 2.7.9 recipe to match how the python 3 recipe handles libffi by configuring the build to use the system libffi. This brings consistency between the libffi used for different python versions as well as with the system. (From OE-Core master rev: 4302cc20dbe0f0490a5e7b62baeb632322c40200) (From OE-Core rev: 9f7b0133b63d315703d0c44e877ae81d4a9a1692) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pygobject: Disable parallel make install in native caseRichard Purdie2015-03-251-0/+13
| | | | | | | | Comments within the commit describe the issue. (From OE-Core rev: 2d923d6dfe9431dbc005f8ba39838eb4519c471c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix cached config value for /dev/ptmxAndreas Oberritter2015-03-251-1/+1
| | | | | | | | | Linux usually has /dev/ptmx, so set set it to yes. (From OE-Core rev: f19d5e3ffbb10ddc6220249fb9e978d1c3fc5e45) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Fix PGEN linking errorsAlejandro Hernandez2015-03-253-1/+29
| | | | | | | | | | | Parallel make races when linking PGEN affects target's python compilation as well, adds patch from python-native to modify the Makefile and avoid parallel make races, also updates upstream status (From OE-Core rev: 4f0d1015aa3331ae7b376f836d3188b6017abfb1) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pexpect: Creates a recipe for the pexpect python moduleAlejandro Hernandez2015-03-221-0/+23
| | | | | | | | | | | Based on the recipe contained in http://layers.openembedded.org/layerindex/branch/master/layer/meta-python [YOCTO #7279] (From OE-Core rev: e353c9a94d82eba6e2d9bce303e9be891cc2aec2) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-distribute: Adds netclient, email and shell runtime dependencies ↵Alejandro Hernandez2015-03-221-0/+8
| | | | | | | | | | | necessary to run python-distribute out of the box (From OE-Core rev: 3cdbdb63631cf6e2a59142f86407fb430e633897) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Fix ctypes/libffi configureAlejandro Hernandez2015-02-272-3/+3
| | | | | | | | | | | | | | Forces the creation of a configure script for ctypes/libffi Module by calling autoreconf after it being deleted on do_configure(). Fixes configuration hence compilation of this Python module. [YOCTO #7373] (From OE-Core rev: dd23f79c9ac4782fecc408fc14e66c0ce81f6973) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: Fixes PGEN linking errors Changes Makefile rules to avoid ↵Alejandro Hernandez2015-02-242-0/+28
| | | | | | | | | parallel make races when trying to build Parser/PGEN (From OE-Core rev: f98cd3798837f2954443ca84a199158d9f47c3e8) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: Reverts usage of distutils.sysconfig On older versions of ↵Alejandro Hernandez2015-02-232-12/+99
| | | | | | | | | | | Python, sysconfig read the Makefile and Python.h, generated at build time now it uses _sysconfigdata which contains information about the HOST, erroneous in our case, this causes an error when bulding something using distutils since it obtains compiler information and such. Also fixes configuration of _ctypes/libffi (From OE-Core rev: 3c76d5ef1f4d5270c94661d9fde7e31391b5cc2d) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Python: Upgrade from 2.7.3 to 2.7.9:Alejandro Hernandez2015-02-2332-2816/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Based on Paul Eggletons work to partially upgrade to Python 2.7.6 Modified: default-versions.inc: switched to python 2.7.9 generate-manifest-2.7.py: fixed _sysconfigdata python-2.7-manifest.inc: fixed _sysconfigdata python.inc: Updated checksums and source, no LICENSE change just updated some dates python-native_2.7.3 -> python-native_2.7.9 and updated patches python_2.7.3 -> python_2.7.9, and added ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no in EXTRA_OECONF to solve python issue #3754, only needed when cross compiling, also updated patches use_sysroot_ncurses_instead_of_host.patch: New patch to use ncursesw from sysroot instead of hosts, introduced by fix for python issue #15268 Rebased: 01-use-proper-tools-for-cross-build.patch 03-fix-tkinter-detection.patch 05-enable-ctypes-cross-build.patch 06-avoid_usr_lib_termcap_path_in_linking.patch avoid_warning_about_tkinter.patch builddir.patch fix_for_using_different_libdir.patch host_include_contamination.patch multilib.patch nohostlibs.patch search_db_h_in_inc_dirs_and_avoid_warning.patch Deleted (fixed on upstream): 06-ctypes-libffi-fix-configure.patch CVE-2013-4073_py27.patch gcc-4.8-fix-configure-Wformat.patch json-flaw-fix.patch posix_close.patch pypirc-secure.patch python-2.7.3-CVE-2012-2135.patch python-2.7.3-CVE-2013-1752-smtplib-fix.patch python-2.7.3-CVE-2014-1912.patch python-2.7.3-CVE-2014-7185.patch python-2.7.3-berkeley-db-5.3.patch python-fix-build-error-with-Readline-6.3.patch remove-BOM-insection-code.patch remove_sqlite_rpath.patch python2.7.3-nossl3.patch [YOCTO #7059] (From OE-Core rev: d4ad95f0d5f08891637c644e85b09da9c4585059) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-gitdb: 0.6.1 -> 0.6.4Robert Yang2015-02-211-2/+2
| | | | | | | (From OE-Core rev: 66be4fc8bd08df1c2807a61eebbae912cf07157d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-git: 0.3.3 -> 0.3.6Robert Yang2015-02-211-2/+2
| | | | | | | (From OE-Core rev: 8846e5a1896bc2083a326cc542d2cdde83b915da) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: enable parallel build for several recipesRobert Yang2015-02-151-2/+0
| | | | | | | | | | I used a for loop to build these packages more than 520 times, these recipes never failed. (From OE-Core rev: 7957c5bc2771a763d26e50e716733c6335cef3c2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pycurl: 7.19.5 -> 7.19.5.1Richard Purdie2015-02-151-2/+2
| | | | | | (From OE-Core rev: a95c7fe895583fc145300d739d0bcac30626c588) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-scons: 2.3.2 -> 2.3.4Richard Purdie2015-02-152-2/+2
| | | | | | (From OE-Core rev: 3e924fafab2ad407a51a0bb19be9faf281b766c9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Disables SSLv3Sona Sarmadi2015-02-022-0/+38
| | | | | | | | | | | | | | | | | | | | | | | This is related to "SSLv3 POODLE vulnerability" CVE-2014-3566 Building python without SSLv3 support when openssl is built without any support for SSLv3 (e.g. by adding EXTRA_OECONF = " -no-ssl3" in the openssl recipes). Backport from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768611#22 [python2.7-nossl3.patch] only Modules/_ssl.c is backported. References: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7015 https://bugzilla.yoctoproject.org/show_bug.cgi?id=6843 http://bugs.python.org/issue22638 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3566 (From OE-Core rev: 3462cac82cf0ab32e5e530f543b14fdcc211c678) Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-mips.inc: Change definition of TRANSLATED_TARGET_ARCHMark Hatle2015-01-293-0/+173
| | | | | | | | | | | | | | | | | | | | | | | [YOCTO #7230] In certain system configurations TRANSLATED_TARGET_ARCH will not expand in the right order for gcc-cross-candian-mips64n32 to be generated properly. This will cause SDKs to fail to generate properly. Changing the global definition of TRANSLATED_TARGET_ARCH always expands the ABIEXTENSION, which causes the OVERRIDES to pick it up as well. This effectively defines a new class of overrides for the 'n32'. The side effect is that we need to duplicate some mips64 overrides, and redefine others that were previously 'n32' or 'mips64' exclusive to have the correct semantics. (From OE-Core rev: 4b3a2b703b20583bd107f00a297d972e9bfb514a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-smartpm: Fix attemptonly builds when file conflicts occurMark Hatle2015-01-291-31/+66
| | | | | | | | | | | | | | [YOCTO #7299] When file conflicts occur, the RPM transaction aborts. Instead of simply accepting the failure, we now identify, capture, and remove the offending package(s) from the transaction and retry. (From OE-Core rev: cd475aea5f5bc4b6a2dd3e576070a117ae079597) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-2.7-manifest: Add package for contextlib modulePhilip Tricca2015-01-231-3/+7
| | | | | | | | | This is required for python code using 'with' statements. (From OE-Core rev: 27dbacdb88ee3e79f4c95a779d8a7e8c5c8f941d) Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix for cross compilingRobert Yang2015-01-234-4/+112
| | | | | | | | | | | | | | | | Fixed: * python3 has introduced _PYTHON_PROJECT_BASE which is used for separate B and S, but it doesn't work when compile Modules, the target python3 runs python3-native's sysconfig to get srcdir which is the native's, there would be errors when native's srcdir has been removed, add _PYTHON_PROJECT_SRC to fix the problem. * Check cross_compiling when get FLAGS (From OE-Core rev: c33639963491f00f55b80299922895fe68b0637d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix B != SRobert Yang2015-01-163-8/+8
| | | | | | | | | | | | And bump PR to avoid: gcc: error: Parser/tokenizer_pgen.o: No such file or directory gcc: error: Parser/printgrammar.o: No such file or directory gcc: error: Parser/pgenmain.o: No such file or directory (From OE-Core rev: aea42f59c8331c4d5944f698453bfd663aa0c59d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-gitdb: upgrade to 0.6.1Robert Yang2015-01-161-2/+3
| | | | | | | (From OE-Core rev: eb46e1d61f6658b921372354771102f91b177c66) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-git: upgrade to 0.3.3Robert Yang2015-01-161-2/+3
| | | | | | | (From OE-Core rev: 70ca4ede24cd45057992580ab1a81e803a49a68b) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-2.7-manifest.inc: add stdlib argparse moduleMaciej Borzecki2014-12-231-3/+7
| | | | | | | | | | | | Adding argparse module from Python's standard library. The module has replaced previous python-argparse package that was build using source that are not part of Python 2.7 release. (From OE-Core rev: 198c67c2f9407f9c36127ff5a0778ed981778410) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-argparse: remove external argparse moduleMaciej Borzecki2014-12-231-17/+0
| | | | | | | | | | | Python argparse module is a part of a standard library since Python 2.7 release. Remove externally built module in favor of the stdlib one. (From OE-Core rev: c99b7bcb95fb4ede9293119487a7cec391136028) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pycurl: build docstrings to fix rebuildsRoss Burton2014-12-111-0/+5
| | | | | | | | | | | On a rebuild base.bbclass will invoke "make clean" to ensure that old build objects are not used. This will delete docstrings.c and the only way to re-generate that is with a dedicated setup.py target. (From OE-Core rev: f5bc0ba35ac531feae2e84bbc4f9d16f861db6c6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-core: Fix minimal python3 installAlejandro Hernandez2014-12-111-5/+9
| | | | | | | | | | | | | | | | | | | Added additional runtime dependencies for python3-core needed to run the interpreter with a minimal install (codecs,io,math,reprlib). Created python3-reprlib package to avoid getting python3-misc bringing lots of unneeded libraries. Fixed FILES-python3-core, missing _sysconfigdata, renamed copyreg undetected before due to previously needed installation of python3-misc. [YOCTO #6967] (From OE-Core rev: bafdfb28726d0a9b30b8283b2472727e8208059d) 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>
* python: add python-codecs runtime dependency for python-jsonMagnus Olsson2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | A piece of JSON initialization code that runs when you "import json" tries to use the hex-decoder, thus breaks if you do not have python-codecs installed. Example: >>> import json Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/json/__init__.py", line 108, in <module> from .decoder import JSONDecoder File "/usr/lib/python2.7/json/decoder.py", line 24, in <module> NaN, PosInf, NegInf = _floatconstants() File "/usr/lib/python2.7/json/decoder.py", line 18, in _floatconstants _BYTES = '7FF80000000000007FF0000000000000'.decode('hex') LookupError: no codec search functions registered: can't find encoding This patch adds a runtime dependency on python-codecs for python-json and re-generates the python manifests for Python v2.7. Solves [YOCTO #7020]. (From OE-Core rev: 90fd48144f146f455b18372a9b061314ab3a3857) Signed-off-by: Magnus Olsson <magnus@minimum.se> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix ssl import errorMaxin B. John2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | Fix this ssl import error: Python 2.7.3 (default, Dec 5 2014, 16:24:17) [GCC 4.9.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ssl Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/ssl.py", line 92, in <module> import base64 # for DER-to-PEM translation ImportError: No module named base64 (From OE-Core rev: dfa34e70a4c7543dc67835c2e9a270ccd011ac72) Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: remove spurious nativesdk dependencyRoss Burton2014-12-051-1/+0
| | | | | | | | | | | | | There's no need to add a dependency on python-crypt_class-native to nativesdk-openssl as the general dependency there is transformed appropriately. Presumably this is cruft from back when SDK packages were suffixed instead of prefixed, and there were mapping problems. (From OE-Core rev: f0b1eab1ef24fabac98609eb9d314f618dca713a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: ensure all of Python is installed in nativesdkRoss Burton2014-12-051-0/+1
| | | | | | | | | | | | | If any part of Python gets installed in a SDK, we need to ensure that all of Python gets installed to avoid replacing python in the environment with a minimal package set. [ YOCTO #6735 ] (From OE-Core rev: e36ff98a7a4da478bb886f61005cd72a0b5a9c0e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: several fixes for cross compilingJackie Huang2014-11-253-8/+70
| | | | | | | | | | | | | | | | * Add a patch to use CROSSPYTHONPATH as PYTHONPATH for PYTHON_FOR_BUILD, otherwise CROSSPYTHONPATH is never used, and it use the path in target builds to find libraries. * Add a patch to avoid finding host headers and libs * Fix a typo: s/python-native3/python3-native/ (From OE-Core rev: d3d00163671bda5395c9046c1109f711772e4ed9) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Fix CVE-2014-7185Wenzong Fan2014-11-202-0/+76
| | | | | | | | | | | | | | Integer overflow in bufferobject.c in Python before 2.7.8 allows context-dependent attackers to obtain sensitive information from process memory via a large size and offset in a "buffer" function. This back-ported patch fixes CVE-2014-7185 (From OE-Core rev: 49ceed974e39ab8ac4be410e5caa5e1ef7a646d9) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pygtk: Clean up incorrect "fix"Gary Thomas2014-11-092-28/+21
| | | | | | | | | | | | | | | This patch removes most of "dirty fix #1" which is no longer needed (no dependency on python-pygobject-dev exists). A side effect is that the pygtk code generator will also be installed. Merge 'fix-path.inc' into this recipe as it is not used by any other recipe. (From OE-Core rev: 02985d315f71126d3af789b0666dbf428f586e4b) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pycurl: 7.19.3.1 -> 7.19.5Richard Purdie2014-11-061-3/+3
| | | | | | | | Lines in the readme referring to the license moved, license is unchanged. (From OE-Core rev: 330c39685b5d71d4382d4b4930581de07ed689c6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-smartpm: report warn rather than error during install with --attemptHongxu Jia2014-11-041-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | With the following config and build image: ... IMAGE_INSTALL_append = "shadow man-pages" EXTRA_IMAGE_FEATURES += "doc-pkgs" ... There is an error during install with --attempt, and it breaks the build. ... |error: file /usr/share/man/man5/passwd.5 from install of shadow-doc-4.2.1-r0.i586 conflicts with file from package man-pages-3.71-r0.i586 ... For complementary and 'attemptonly' package processing, we should make sure the warn rather than error messages reported. [YOCTO #6769] (From OE-Core rev: beb2e989e24e671fecd37805876dfb2375ee0df6) 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>
* python-pygtk: Restore pkg-config fileGary Thomas2014-11-042-1/+14
| | | | | | | | | | | | | | Some previous version of this recipe was errantly removing the pygtk-2.0.pc (pkg-config) file. This is needed for other packages to be able to build against this library. Also update the .pc file to match current pkg-config use (libdir was missing). (From OE-Core rev: 8c6158d7bcca2ecf3e150d1e8eaaaa4ece58e1e2) Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-2.7.3:remove BOM insertion codeKai Kang2014-11-042-0/+25
| | | | | | | | | | | | | | | | | | Backport patch from: https://hg.python.org/cpython/rev/af46a001d5ec SysLogHandler converts message to utf8 and adds BOM, supposedly to conform with RFC5424, but the implementation is broken: the RFC specifies that the BOM should prefix only unstructured message part, but current Python implementation puts it in the middle of structured part, thus confusing RFC-compliant receivers. (From OE-Core rev: c51caffe5ac0d49844dcbac7967f609d44c20470) Signed-off-by: yzhu1 <yanjun.zhu@windriver.com> Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: do not replace ccache in the middle of a pathRoy Li2014-11-041-1/+1
| | | | | | | | | | | | | | | | | Python recipe did a sed s/ccache/$(CCACHE) on the Makefile, which replaces all "ccache" including ones that consist of a full path. This leads to build error when building in a project path with "ccache" in its name. Fix it by only replacing "ccache " with "$(CCACHE) ". Same fix on python 2.xx is: 1181112cf65bc[python: do not replace ccache in the ] (From OE-Core rev: 9f2398a0ff42389052155d971f136a37c5dc80da) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-smartpm: Add checking for "rpm-ignoresize" optionChong Lu2014-10-242-0/+38
| | | | | | | | | | | | | | | | | The do_rootfs takes a very long time when build host has mounted many NFS devices. syscall lstat() was being called on every filesystem mounted on the build host during building. The reason for the lstat() is that rpm is verifying that enough free disk space is available to do the install. However, since the install is into the target rootfs it should not matter how much free space there is in the host mounts. Add checking for "rpm-ignoresize", by it, smart can make whether RPM skip checking for diskspace when install a rpm package. (From OE-Core rev: fc0668a019eca422540ceab3efcd2b2a27dd79e0) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: force off_t size to 8 to enable large file supportPaul Eggleton2014-10-181-0/+3
| | | | | | | | | | | | | | | If DISTRO_FEATURES contains "largefile", force the size of off_t to 8 as a workaround for having ac_cv_sizeof_off_t=4 on 32-bit systems. In future we will likely drop the value from the site file, but for now this is a slightly safer fix. Fixes [YOCTO #6813]. (From OE-Core rev: a8216030ee6c65531de8fbf3eed878a345a94edc) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pygobject: add libffi to DEPENDSRoss Burton2014-10-101-2/+2
| | | | | | | | | | libffi is generally present as it's also a build dependency on glib-2.0, but explicitly declare it for determinism. (From OE-Core rev: 85232b154dbaf3fc2ed3fa9291e3cbeaa7f318ab) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-smartpm: Add patches for rpm4Saul Wold2014-09-303-26/+81
| | | | | | | | | | | Add DEPENDS for python-rpm package from either rpm4 or rpm5 Extend the smart-dflags patch to catch an exception if the api does exist (From OE-Core rev: 756e499a95cc928688684cc52bde8e31306e6bbc) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: obey LDFLAGSChristopher Larson2014-09-221-1/+1
| | | | | | | (From OE-Core rev: 7191b6b7503a5a17f93bd61283f22d409c5cb17b) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: disable user site supportYasir-Khan2014-09-101-0/+4
| | | | | | | | | | | | | | | | | The user site-packages gets inserted into sys.path ahead of the system site directories, so a site package installed there will be used in preference to what's in our sysroot, causing less deterministic builds, and potential build breakage, depending on what the user has installed there. Disable it for our native python, so they don't affect our builds. (From OE-Core rev: c448bf3629ab5d930ed845d4ba48e37e4a85d2a3) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-numpy: Fix build for mips64Khem Raj2014-09-013-0/+173
| | | | | | | | | Add missing mips64 specific config files (From OE-Core rev: 4c0a9ccbad2889b27b4b1d2ab91215a4bdcca3ce) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenPOWER on IntegriCloud