aboutsummaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* bandit.bbclass: dropMartin Jansa2021-03-211-63/+0
| | | | | | | | * 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>
* python: add 2.7.17 from oe-coreRoss Burton2020-01-205-0/+126
| | | | | | | | | | | | | | 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>
* python-backports-init: Add helper class and recipeTim Orling2019-12-011-0/+7
| | | | | | | | | | | | | | | 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>
* bandit: add class to perform Bandit scansRoss Burton2018-11-271-0/+63
| | | | | | | | | 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>
* pypi: remove class that was added to oe-coreDerek Straka2018-01-161-26/+0
| | | | | | | (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>
* pypi: add default values for UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEXDerek Straka2016-12-131-0/+3
| | | | | | | (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>
* remove True option to getVar callsJoshua Lock2016-12-021-4/+4
| | | | | | | | | | | 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>
* pypi: update the base pypi url to use the package info without requiring the ↵Derek Straka2016-07-111-5/+1
| | | | | | | | | | | | 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>
* pypi: update the pypi class to support the updated URL schemeDerek Straka2016-05-101-1/+5
| | | | | | | | | | | 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>
* Update pypi classes to avoid setuptools inherit to be more flexibleDerek Straka2016-02-253-23/+23
| | | | | | | (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>
* add pypi3 bbclass to make python3 recipe creation easier as wellSven Ebenfeld2016-02-013-21/+23
| | | | | | (From meta-openembedded commit: 1ec43c1e4f379ef5806268aa80ce8487388ab00c) Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
* pypi.bbclass: new class to ease writing pypi recipesAndreas Oberritter2015-04-131-0/+21
(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>