Ross Burton
23acce81f4
bandit: add class to perform Bandit scans
...
Add a class to perform security scans of Python code using Bandit.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:05:22 -08:00
Derek Straka
73dfaca93b
pypi: remove class that was added to oe-core
...
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-01-16 21:33:04 -08:00
Derek Straka
3d383cce9a
pypi: add default values for UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX
...
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-13 11:19:34 +01:00
Joshua Lock
efd3696e70
remove True option to getVar calls
...
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\)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2016-12-02 09:16:17 +01:00
Derek Straka
7edad4def4
pypi: update the base pypi url to use the package info without requiring the 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 )
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-11 15:16:04 +02:00
Derek Straka
e62215ef4e
pypi: update the pypi class to support the updated URL scheme
...
pypi has changed the url scheme to use the blake2b rather than names
http://permalink.gmane.org/gmane.linux.distributions.nixos/20158
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-10 20:18:57 +02:00
Derek Straka
1fadd754cc
Update pypi classes to avoid setuptools inherit to be more flexible
...
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:47 +01:00
Sven Ebenfeld
1ec43c1e4f
add pypi3 bbclass to make python3 recipe creation easier as well
...
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
2016-02-01 15:51:15 +01:00
Andreas Oberritter
0f568c5441
pypi.bbclass: new class to ease writing pypi recipes
...
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:48 +02:00