aboutsummaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
2021-03-21bandit.bbclass: dropMartin Jansa
* the identical bbclass is in meta-openembedded/meta-python layer, it depends on python3-bandit-native and isn't inherited by default, anyone who wants to use it can add meta-python layer Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-20python: add 2.7.17 from oe-coreRoss Burton
Python 2 ceased being maintained on the 1st January 2020. All users of Python 2 in oe-core have already been ported to Python 3, so in oe-core 390f3eda Python 2 was finally removed from oe-core itself. The following are added to meta-python2 in this commit: - python and python-native 2.7.17 - python-setuptools - The classes pythonnative, pythondir, distutils, setuptools Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
2019-12-01python-backports-init: Add helper class and recipeTim Orling
Recipes that install in the backports namespace have a tendency to conflict in the installation of .../site-packages/backports/__init__.py Add a class and recipe to help avoid the conflict. Modify recipes that are affected: - python-backports-functools-lru-cache - python-backports-ssl - python-configparser Signed-off-by: Tim Orling <ticotimo@gmail.com>
2018-11-27bandit: add class to perform Bandit scansRoss Burton
Add a class to perform security scans of Python code using Bandit. (From meta-openembedded commit: 23acce81f49c539fee668dc7405d6a1f51792062) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
2018-01-16pypi: remove class that was added to oe-coreDerek Straka
(From meta-openembedded commit: 73dfaca93ba68f63872851adfb0665b82c7078f4) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
2016-12-13pypi: add default values for UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEXDerek Straka
(From meta-openembedded commit: 3d383cce9a697a8854047a7af74e9d4e56738678) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
2016-12-02remove True option to getVar callsJoshua Lock
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) (From meta-openembedded commit: efd3696e70a6603f1a45faa4a172433514f0a487) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
2016-07-11pypi: update the base pypi url to use the package info without requiring the ↵Derek Straka
hash * Things have finally settled on a URL structure without needing the hash (See https://bitbucket.org/pypa/pypi/issues/438/backwards-compatible-un-hashed-package) (From meta-openembedded commit: 7edad4def408cc1bd29d6a5a247e11af1180fc2e) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
2016-05-10pypi: update the pypi class to support the updated URL schemeDerek Straka
pypi has changed the url scheme to use the blake2b rather than names http://permalink.gmane.org/gmane.linux.distributions.nixos/20158 (From meta-openembedded commit: e62215ef4e926e486f846d9167073bf16c8c6abe) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
2016-02-25Update pypi classes to avoid setuptools inherit to be more flexibleDerek Straka
(From meta-openembedded commit: 1fadd754cc5979123a8df73f5c9f61aa857d69a0) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
2016-02-01add pypi3 bbclass to make python3 recipe creation easier as wellSven Ebenfeld
(From meta-openembedded commit: 1ec43c1e4f379ef5806268aa80ce8487388ab00c) Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
2015-04-13pypi.bbclass: new class to ease writing pypi recipesAndreas Oberritter
(From meta-openembedded commit: 0f568c5441b89c379c4afb845af43c0bbd8e6f63) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>