summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* pyelftools: Import from meta-pythonJoshua Watt2020-06-051-0/+14
| | | | | | | | | | | | | | | | Imports the pyelftools recipes from meta-python, as of 7c02c7d41 ("gnome-themes-extra: correct the recipe name"). This recipe is commonly used by other layers, so moving it into OE-core helps to cut down on layer dependencies. (From OE-Core rev: 0a8cdaa90f4dd2d09b0b471dafd868a4dcad4ed3) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 910ffaf5beed42936588c95b0c7c1b1ad67f99d3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pycryptodome: Import from meta-pythonJoshua Watt2020-06-053-0/+41
| | | | | | | | | | | | | | | | Imports the pycryptodome recipes from meta-python, as of 7c02c7d41 ("gnome-themes-extra: correct the recipe name"). These recipes are commonly used by other layers, so moving them into OE-core helps to cut down on layer dependencies. (From OE-Core rev: 27798f3da506fcae19b74deb17ef199131cff405) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a96f815c53364b119b5743b8b7100eb5588d5cf5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: add the missing rdependsMingli Yu2020-05-281-0/+2
| | | | | | | | | | | | | | | | | | | Add the missing rdepends to fix below error: # python3 [snip] >>> import setuptools.lib2to3_ex [snip] ModuleNotFoundError: No module named 'lib2to3' ModuleNotFoundError: No module named 'pickle' (From OE-Core rev: d19d1ccca3f86a59a72023727d3d804c2e9d18dc) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit be5c3c989d75290863cc7aef9949cf6e82d3070f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: add the missing rdependsMingli Yu2020-05-221-0/+1
| | | | | | | | | | | | | | | | Add the missing rdepends to fix below error: # python3 [snip] >>> import setuptools [snip] ModuleNotFoundError: No module named 'json' (From OE-Core rev: 5733811eeba9fd88f4a621c705a2de61b197c3d7) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix CVE-2020-8492Trevor Gamblin2020-05-072-0/+249
| | | | | | | | | | | CVE: CVE-2020-8492 (From OE-Core rev: c9ee462bb606b34ab31cfb90f84a5302d15135cf) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest.json: add pathlib to coreTim Orling2020-05-051-0/+2
| | | | | | | | | | | | | | | | | The pathlib module is for Object-oriented filesystem paths It also provides a lot of handy utilities for checking on paths. This seems to justify adding it to the core package along side os, sys, and the other *path libraries. [YOCTO #13670] (From OE-Core rev: 81bec2f08229723b550a0cc33d1c77f82432814d) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fixing bpo-36852 patch for builds on i686 architectureMatthias Schoepfer2020-03-311-6/+14
| | | | | | | | | | | | | | | The original patch "bpo-36852: proper detection of mips architecture for soft float" uses AC_CANONICAL_TARGET to determine the platform triplet. While AC_CANONICAL_TARGET exports i686 as target_cpu, gcc is using i386 instead. We fall back here to i386, as it is conform to the previous behavior. Upstream Status: Submitted [https://github.com/python/cpython/pull/13196] (From OE-Core rev: 6beab388e73b3ac6157650855a6c1fb1d71e8015) Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: upgrade 3.8.1 -> 3.8.2Trevor Gamblin2020-03-131-3/+3
| | | | | | | | | | THE LICENSE checksum changed in this update due to copyright notice added for 2020. (From OE-Core rev: 3513721b5dd660c7e6a8038b89ca17f1b76f7f9b) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: Should not search the system for headers/libraries.Jeremy Puhlman2020-03-062-0/+30
| | | | | | | | | | | | | | | | | | | | | | The specific issue here is rpc/rpc.h, but its likely more general. /usr/include is searched for rpc/rpc.h and if it exists on the system, it changes behavior. If you are using the extended buildtools tarball on a machine that has /usr/include/rpc/rpc.h, it will decide that is good enough and not continue to search. nis fails to build because /usr/include and /usr/lib are not part of the include/link paths for the buildtools tarball compiler(nor should they be). This makes it so python3-native will not build if you are using the extended buildtools tarball, but from a larger issue perspective it is building in likely different ways depending on what machine it is building on. libtirpc is already a depend so we shouldn't need the hosts rpc/rcp.h. (From OE-Core rev: f37dfc7907ae7bac08d40468ddde2e5b8bba030c) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons: Fix license file collisionRichard Purdie2020-02-291-2/+2
| | | | | | | | | | | Downloading a file called "LICENSE" into DL_DIR is 'problematic' and collides with the file from other versions of the recipe at best. Rename it to something more specific to avoid collision problems. (From OE-Core rev: 3ef237f2cd1836f4c9f584837fb25762fe4d4332) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 45.0.0 -> 45.2.0Alexander Kanavin2020-02-283-4/+4
| | | | | | | (From OE-Core rev: 9c256927141deadebb0cf3e6c83e6a76b9f0c4b0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.1.0 -> 1.1.1Alexander Kanavin2020-02-281-3/+3
| | | | | | | | License-Update: copyright years (From OE-Core rev: 3a6bc80f46ea790c319d25cc67cb1e0ed32c3631) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-docutils: upgrade 0.15 -> 0.16Alexander Kanavin2020-02-281-3/+3
| | | | | | | | License-Update: formatting (From OE-Core rev: 855d0b8a36dd88e92d0a51c5797ef4a91a9f9c5a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-scons{-native}: upgrade 3.1.1 -> 3.1.2Tim Orling2020-02-283-31/+34
| | | | | | | | | | | | | | | | | | | | | | | THis release is a mix of improvements and fixes: https://github.com/SCons/scons/blob/3.1.2/src/RELEASE.txt * Changed to inherit pypi rather than relying on SOURCEFORGE_MIRROR. * Add SRC_URI for LICENSE file (not included in pypi tarball). * Make it more obvious that RDEPENDS are for class-target and drop empty RDEPENDS from -native * python3-scons-native now DEPENDS on python3-setuptools-native * Tested with core-image-base + packagegroup-core-buildessential with "scons" oe-selftest via testimage. * Tested build of "serf" (which uses python3-scons-native via the scons.bbclass). License-Update: Added "MIT License" text, updated copyright years (From OE-Core rev: 44b46ae6c65448901477def57a45d5a4ecc2d246) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: resolve ncurses host contaminationAlexander Kanavin2020-02-184-2/+51
| | | | | | | (From OE-Core rev: ee7be51444b609a5cc1fd223b9395e9642d3bfac) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: upgrade 1.18.2 -> 1.19.0Wang Mingyu2020-02-151-3/+3
| | | | | | | | | | -License-Update: "PDX-License-Identifier: LGPL-2.1-only OR MPL-1.1" is added (From OE-Core rev: 79c940c4df9891932367186c76652887f5aa881b) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pip: upgrade 19.3.1 -> 20.0.2Wang Mingyu2020-02-151-2/+2
| | | | | | | (From OE-Core rev: e521393136f94a7cafbee33f5992b31a6fef3b7e) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: install _tkinter.*.so to python3-tkinter packageYi Zhao2020-02-141-0/+1
| | | | | | | | | | | | | | | | When enable PACKAGECONFIG[tk], we should install _tkinter.*.so to python3-tkinter package rather than python3-misc package. Fixes: ERROR: python3-3.8.1-r0 do_package_qa: QA Issue: /usr/lib/python3.8/lib-dynload/_tkinter.cpython-38-x86_64-linux-gnu.so contained in package python3-misc requires libtk8.6.so()(64bit), but no providers found in RDEPENDS_python3-misc? [file-rdeps] (From OE-Core rev: 991d7ced7262a1340878bada307c6d021ea9cb77) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add magic recipeJoshua Watt2020-02-141-0/+19
| | | | | | | | | | The python-magic module is used by diffoscope tool to make build comparisons. (From OE-Core rev: 64560fcbe7c9658fcca86010502d00998d88f418) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add libarchive-c recipeJoshua Watt2020-02-141-0/+17
| | | | | | | | | | The libarchive python module is used by diffoscope tool to make build comparisons. (From OE-Core rev: 288becda36dcc9f5435ec00258c0d0594e0011c1) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Do not hardcode "lib" for distutilsChangqing Li2020-02-082-0/+44
| | | | | | | | | | | | | | | | | | Get the sys.lib from python3 itself and do not use hardcoded value of 'lib' for distutils. Solve the error below that occurs when run "python3 setup.py install" on lib64 multilib platform: [Errno 2] No such file or directory: '/usr/lib/python3.7/site-packages/test-easy-install-1828.write-test' (From OE-Core rev: fb33127de5d80f5bcb84edf6cf4007bca73fa863) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix the installation path of libpython3.7m.a for multilibChangqing Li2020-02-082-2/+38
| | | | | | | | | | | Fix the installation path of libpython3.7m.a on mulitlib lib64 platform to lib64 instead of lib (From OE-Core rev: 3081d3993095d2e4817bbef33c9c90dd814a45d7) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-six: Move src_uri checks to recipe mainKhem Raj2020-02-042-3/+2
| | | | | | | | | | | .inc is used by other versions of recipe as well, therefore putting checksums in .inc will break them unless the version is same as in oe-core (From OE-Core rev: 7515a38d4c2dec6117c1184dab4fbf1e9c02a993) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-six: upgrade 1.13.0 -> 1.14.0Alexander Kanavin2020-02-032-3/+4
| | | | | | | | License-update: copyright years (From OE-Core rev: d524945a553a95ec21b67432f68257cf2f312a4b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.0.2 -> 3.0.5Alexander Kanavin2020-02-031-2/+2
| | | | | | | (From OE-Core rev: d19ba66daad9aef683a7dee0c59af29234201574) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 42.0.2 -> 45.0.0Alexander Kanavin2020-02-033-5/+5
| | | | | | | (From OE-Core rev: ed1d8e2db0d3b5c60ce83ccebb7f0f7ac36f243a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-gitdb: upgrade 2.0.5 -> 2.0.6Alexander Kanavin2020-02-032-2/+3
| | | | | | | (From OE-Core rev: cb2bebfd07f04f1049a5507af7656a92481439c3) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: remove last remnants of python2Ross Burton2020-01-271-59/+0
| | | | | | | (From OE-Core rev: 567eae62574e8a3a9f27ab19e5ff2d845046d336) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbus: upgrade 1.2.14 -> 1.2.16Wang Mingyu2020-01-271-2/+2
| | | | | | | | (From OE-Core rev: 1fcdab33aff0d786c4d74420a4021b4a2db44eb4) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: correctly process ptest output with sedAlexander Kanavin2020-01-211-1/+1
| | | | | | | | | | | | | Particularly: [ERROR|FAIL] was matching characters rather than strings. Using (ERROR|FAIL) requires -r option. (From OE-Core rev: c041c326a1dbf1b128fc32d887acd73c6f5fb415) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: do not compile .pyc in parallel during do_install()Alexander Kanavin2020-01-214-2/+61
| | | | | | | (From OE-Core rev: af7f5590dc49ec33268939b53879a6d011306114) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update to 3.8.1Alexander Kanavin2020-01-2114-485/+247
| | | | | | | | | | | | | | | | | | | | | | | Drop backports, rebase other patches. 0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch is removed as the use case (allowing python 2 and 3 to coexist in SDKs) is no longer relevant with Python 2.x reaching end of line and upstream has refactored the code making a rebase difficult. If needed, please re-add the patch to py2, rather than py3. Python 3.8 no longer adds "m" to "3.8" in paths, so adjust the recipes and classes accordingly. The manifest for the 3.8.0 version is updated; particularly pkgutil module is now packaged in -core (as other things in core need it); this also necessitates allowing empty -pkgutil package to avoid breakage across layers. (From OE-Core rev: e6ab9f16b92aa1abdae82c535c1a452a1341b0e2) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: remove Python 2 and all supporting classesRoss Burton2020-01-1940-3901/+0
| | | | | | | | | | | | | | | | Python 2 ceased being maintained on the 1st January 2020. We've already removed all users of it from oe-core so the final step is to move the recipe and supporting classes to meta-python2. The following are removed in this commit: - python and python-native 2.7.17 - python-setuptools - The classes pythonnative, pythondir, distutils, setuptools (From OE-Core rev: 390f3edabfb1f68ed9766245291c5f44ea00cc38) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python/python3: Whitelist CVE-2019-18348Adrian Bunk2020-01-032-0/+6
| | | | | | | | | | This is not exploitable when glibc has CVE-2016-10739 fixed, which is fixed in the upstream version since warrior. (From OE-Core rev: 0da6e0a232019fe7eccfbdf33a13c1fe0a35cddd) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Update to apply libgcc fix to libpython, glibc onlyRichard Purdie2020-01-021-1/+1
| | | | | | | | Update to account for review feedback on list. (From OE-Core rev: ec788594f3f6a47687c6eb321437f2d2b58b1518) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: RDEPEND on libgccJoshua Watt2020-01-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | =help> List-Subscribe: <http://lists.openembedded.org/mailman/listinfo/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org X-Virus-Scanned: clamav-milter 0.101.4 at dan X-Virus-Status: Clean X-Evolution-Source: 1525863794.3857.16@hex Content-Transfer-Encoding: 8bit Python uses features of glibc that require it to dynamically load (i.e. dlopen()) libgcc_s at runtime. However, since this isn't a link time dependency, it doesn't get picked up automatically by bitbake so manually add it to RDEPENDS. There is an outstanding bug in Python to make it explicitly link against libgcc at link time which would remove the need for this. See: https://bugs.python.org/issue37395 (From OE-Core rev: df107f3a149b1e88d9f869e7ff87950ccf5aaee0) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Upgrade 3.7.5 -> 3.7.6Adrian Bunk2020-01-011-2/+2
| | | | | | | (From OE-Core rev: aee9beb12226abf7a195b8ee801ea488920b2fdb) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: update to 2.5.2Alexander Kanavin2019-12-301-2/+2
| | | | | | | (From OE-Core rev: 6e2d926a428530343bb4358d6e42a505c0f663ac) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Whitelist CVE-2017-17522 CVE-2017-18207 CVE-2015-5652Adrian Bunk2019-12-091-0/+10
| | | | | | | | | | One Windows-only CVE that cannot be fixed, and two CVEs where upstream agreement is that they are not vulnerabilities. (From OE-Core rev: 56d5b181f3b119f2bbd310dedd6d3b26e76f5944) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-setuptools: upgrade 41.6.0 -> 42.0.2Wang Mingyu2019-12-063-2/+2
| | | | | | | (From OE-Core rev: f494e7166141745b9bf6a22ceb8dea0499507ca7) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pbr: upgrade 5.4.3 -> 5.4.4Wang Mingyu2019-12-062-5/+5
| | | | | | | (From OE-Core rev: be70057d2fc0b2e2d05af452f95e85f61aa4d380) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbus: upgrade 1.2.12 -> 1.2.14Wang Mingyu2019-12-061-2/+2
| | | | | | | (From OE-Core rev: 200c3f35aa33fccb90d76ac770960949f005dd1b) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: use PYTHON_FOR_BUILD, don't add HOSTPYTHONRoss Burton2019-11-293-43/+8
| | | | | | | | | | There's already a variable for "the host python to use during the build when cross-compiling", so there's no need to add another. (From OE-Core rev: 1ede9777478469fbdb633782e0ffb2ae68b1a578) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: use correct autotools variablesRoss Burton2019-11-291-2/+4
| | | | | | | | | Use EXTRA_OECONF and CACHED_CONFIGUREVARS as nature intended. (From OE-Core rev: 260804462766116941a1d9100ef8be3e66b93300) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: restore bytecode optimisationRoss Burton2019-11-292-6/+6
| | | | | | | | | | | | | The upgrade from 2.7.3 to 2.7.9 in oe-core cb02ecb introduced some copy-paste errors which inadvertandly disabled the generation of optimised bytecode (.pyo files). Restore the intended behaviour and bring back .pyo files. (From OE-Core rev: f49077af44969212530a7f1b5cb9370fefb85434) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: package .pyo files tooRoss Burton2019-11-291-1/+1
| | | | | | | | | | The manifest parsing code was only adding .py and .pyc paths to FILES, generalise the latter to .py? so it catches .pyo files too. (From OE-Core rev: 1e0ef76dcccfa10cdf473670acd2c52332bb3412) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: move make override variables to EXTRA_OEMAKERoss Burton2019-11-291-21/+10
| | | | | | | | | | Instead of passing the same five variables to oe_runmake repeatedly, add them to EXTRA_OEMAKE once. (From OE-Core rev: c4ae09134732e4e95f17d6e572756bec49a9e3d0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: no need to add HOSTPGENRoss Burton2019-11-292-20/+6
| | | | | | | | | There's no need to patch in HOSTPGEN when we can just override PGEN directly. (From OE-Core rev: d274a3d3bd90d8726752c3a18bc15fdf6bc2f37d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add python3-misc-native to RPROVIDESNicola Lunghi2019-11-291-0/+3
| | | | | | | | | | | The package python3-misc is not in the manifest file so it needs to be added explicitely to RPROVIDES_class-native. (From OE-Core rev: 95c6a1180f14e1db815ff92f7a1dce8506bdb294) Signed-off-by: Nicola Lunghi <nick83ola@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: add python-misc-native to RPROVIDESNicola Lunghi2019-11-291-0/+3
| | | | | | | | | | | The package python-misc is not in the manifest file so it needs to be added explicitely to RPROVIDES for native class. (From OE-Core rev: f6164cc210d584efb702445dcd2167aa352b40af) Signed-off-by: Nicola Lunghi <nick83ola@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>