summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-native_3.5.2.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-native: Add python3-misc-native to RPROVIDESFabio Berton2018-01-201-0/+2
| | | | | | | | | | | | | | | | OE-core commit 800753069f667cd1664d70b3779150c467e3b3fe remove RPROVIDES list to get runtime dependences from manifest file. python3-misc is added in python3 recipe, we need to add native runtime to use python3-misc with native recipes. (From OE-Core rev: 8b75106582882c83181621b619ea1976da0db0f9) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 31fd20811f6d11e7ed6ac84caf776ac46cd6fb6f) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: Avoid use of getentropy/getrandomRichard Purdie2017-09-061-1/+3
| | | | | | | | | | | | | getentropy/random() is only available in glibc 2.25+ and uninative may relocate binaries onto systems that don't have this function. For now, force the code to the older codepaths until we can come up with a better solution for this kind of issue. (From OE-Core rev: 92bda0024d85ae78345665cc2f9646c9881ed61b) (From OE-Core rev: ee006aac0a52709cf5524aeb17a92b8c5c44be34) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* generate-manifest-3.5.py: add logic to generate native manifestMing Liu2017-03-011-26/+1
| | | | | | | | | | | | | | | | | | | | | | | python3-native supposes to RPROVIDE all native packages as added in generate-manifest-3.5.py, but it does not so far, this leads a problem that sometimes bitbake cant find a runtime provider for a python3-*-native when a new runtime dependency on it being required, this usualy happens after a new native python3-* recipe is created or the old native python3-* recipes are upgraded. To avoid manually extending RPROVIDE every time when a new runtime dependency is introduced, an argument '-n/--native' is added to the manifest generator, allowing it create a native python3 manifest, with a RPROVIDE line only, the RPROVIDE should contain all the sub-packages. The generated python-native-3.5-manifest.inc is also added which is included by python3-native recipe. (From OE-Core rev: 800753069f667cd1664d70b3779150c467e3b3fe) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: Remove tests to save copying uneeded files aroundRichard Purdie2017-02-091-0/+3
| | | | | | | | | Removing these nearly halves the python3-native disk footprint meaning more optimal sysroot operations. We don't need these tests for anything. (From OE-Core rev: 5c8dda390cacef69bc7996eb26099d55e2b8427b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: Add python3-modules to RPROVIDES listLinus Svensson2016-12-071-0/+1
| | | | | | | | (From OE-Core rev: 0df38dfc0180ac6f25c570202ec9a2af2ab1c24f) Signed-off-by: Linus Svensson <linussn@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Build and package precompiled modulesDominic Sacré2016-11-301-1/+0
| | | | | | | | | | | | | | | | | | | | | Remove the patch that was applied in the python3 and python3-native recipes to skip compilation of python modules. Modify generate-manifest-3.5.py to match '__pycache__' directories in FILES_*. This is necessary because Python3 puts .pyc files in '__pycache__' subdirectories one level below the corresponding .py files, whereas in Python2 they used to be right next to the sources. This change significantly reduces the startup overhead of Python3 scripts. For example, on a Cortex-A9, "python3 -c pass" took 0.40s before, and 0.19s after. (From OE-Core rev: bb4d689769703177dbb0df0935e15016b879f42b) Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: Extend RPROVIDES listOtavio Salvador2016-11-231-0/+3
| | | | | | | | | | | | | | This extends the RPROVIDES list to include: - python3-datetime-native - python3-enum-native - python3-terminal-native (From OE-Core rev: 462ccb35a5de32b52ddb733d1868df6ac5426f20) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: Extend python3-native rprovidersFabio Berton2016-08-231-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | Add the following modules to RPROVIDES: - python3-email-native - python3-io-native - python3-json-native - python3-lang-native - python3-misc-native - python3-netclient-native - python3-netserver-native - python3-numbers-native - python3-pkgutil-native - python3-pprint-native - python3-re-native - python3-shell-native - python3-subprocess-native - python3-threading-native - python3-unittest-native (From OE-Core rev: 1a62ffd108e6aa7b7e5d0a81819550e8a7afeb60) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: Change code style for rprovidesFabio Berton2016-08-231-1/+8
| | | | | | | | | | | Use a more readable code style for RPROVIDES and sort recipes alphabetically. (From OE-Core rev: 21130e2afc4762ad84c86e377146b99224d16032) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-native: Upgrade from 3.5.1 to 3.5.2Alejandro Hernandez2016-08-101-0/+77
LICENSE did not change, only dates were changed Rebases: - 000-cross-compile.patch - python-3.3-multilib.patch (From OE-Core rev: 0a3a4047e779c8bff2b5e2bfa37b7ab119d08d4b) 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>