This fixes the QA errors about double defining this in PACKAGES
it seems to be removed in py3 version of recipe too so we just do it in
inc file so both recipes can use it
Fix a typo in specifying rdep
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove egg file build. This got introduced with commit fb1696372f
("python-vcversioner: Error Fix for recipes depend on
python-vcversioner"). However, it seems that this was actually not
related to the missing egg file, but to the back then missing depends
on python-vcversioner-native. This got fixed in commit 12d09665bb
("python-jsonschema, python3-jsonschema: add vcversioner-native
dependency").
It also causes issue when trying to build a reproducible build with a
timestamp of 0 due to limitations of the ZIP file format used by the
Python egg packaging.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove egg file build. This got introduced with commit fb1696372f
("python-vcversioner: Error Fix for recipes depend on
python-vcversioner"). However, it seems that this was actually not
related to the missing egg file, but to the back then missing depends
on python-vcversioner-native. This got fixed in commit 12d09665bb
("python-jsonschema, python3-jsonschema: add vcversioner-native
dependency").
It also causes issue when trying to build a reproducible build with a
timestamp of 0 due to limitations of the ZIP file format used by the
Python egg packaging.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pyinotify depends on having asyncore.py available which is provided by
python2/3-smtpd.
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The python-cryptography package is in fact not depending on
python-pycparser.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Disable build on ppc as well
Drop already upstreamed patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrew Jeffery <andrew@aj.id.au>
Cc: Tim "moto-timo" Orling <TicoTimo@gmail.com>
Cc: Derek Straka <derek@asterius.io>
Set PYPI_PACKAGE to msgpack since python-msgpack is deprecated
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim "moto-timo" Orling <TicoTimo@gmail.com>
Cc: Derek Straka <derek@asterius.io>
Drop 0012-remove-dmraid-dependency-check.patch and
0013-add-Z-y-and-y-to-lvm.pvcreate.patch which the
new version has fixed the issues
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
Update dependencies, and cheat by adding python3-modules to RDEPENDS for now.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
SUMMARY contained a non-ascii char (’ instead of ') which caused
pkg.info_installed to fail.
Signed-off-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Whereas the python-twisted-core package is used to install the minimum
components of python-twisted, the python-twisted package is
essentially a 'meta' package which installs all of the
python-twisted-* packages (used by folks that don't want to determine
which components they are interested in). Add additional packages to
the python-twisted 'meta' package.
NOTE: that there are still modules of python-twisted which have not
been ported to python3 (see src/twisted/python/_setup.py
"notPortedModules") so the installed packages for py2 vs. py3 will not
be the same (ie. python-twisted-news is only part of the py2 package).
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Backport two patches to fix the following CVE.
CVE: CVE-2018-18074
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade python-py from 1.5.4 to 1.6.0
Upgrade python3-py from 1.5.4 to 1.6.0
Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use update-alternaives to manage /usr/bin/ndg_httpclient to avoid the following
do_rootfs failure.
Error: Transaction check error:
file /usr/bin/ndg_httpclient conflicts between attempted installs of python-ndg-httpsclient-0.5.1-r0.core2_64 and python3-ndg-httpsclient-0.5.1-r0.core2_64
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Pamela is a python wrapper for PAM. Compared to python-pam it has
wrapper for account management apis in addition to authentication
apis.
Signed-off-by: Tom Joseph <tomjoseph83@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This plugin does not provide any helpers to pytest, it does, however,
provide a helpers namespace in pytest which enables you to register
helper functions in your conftest.py to be used within your tests
without having to import them.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Adds support for a predictable and repeatable temporary directory.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update recipe for python protobuf to 3.6.1 to align with
protobuf.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Updating recipe for crypto and SSL toolkit for python and support
python3 infrastructure of Yocto as well as the already supported
python2 line.
Refresh patches to fix devtool warnings
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update python-grpcio and add related python3-grpcio recipe
for recent features and bug-fixes.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add recipe for interval arithmetic for python supporting python2
as well as python3 infrastructure of Yocto.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since python-protobuf and python3-protobuf share the same build
instructions, it's sane to clarify for both at the same place,
that running
setup.py clean
is wrong in configure stage.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
tags are floating and bitbake will ping the remote host
and this will fail in BB_NO_NETWORK cases
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrew Jeffery <andrew@aj.id.au>
Fixes:
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... x86_64-bec-linux-musl
| configure: error: Pyflame can only be built for Linux hosts
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrew Jeffery <andrew@aj.id.au>
Update to the latest stable release. This branch is
incompatible with the 1.x.y releases
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
OE does not have dmraid recipe, so remove it from dependency check.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is one in oe-ocore, so remove it, and let python-pbr_4.2.0.bb use the one
in oe-core.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
pyudev uses ctypes to load libudev shared library at runtime which
results in an exception if it cannot be found
Signed-off-by: Florian Wickert <fw@javox-solutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Drop 0004-Mount-var-volatile-during-install.patch and
0005-update-fstab-by-appending.patch
which are moved to python3-anaconda 28.22.11
- Drop 0013-Revert-Adapt-to-logging-module-name-change.patch
whichis obsolete
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The 0.9 branch only supports python>=3.4
License-Update: Use the actual LICENSE file rather than setup.py
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Change license file from setup.py to
LICENSE, based on the same the same license policy Apache 2.0.
Signed-off-by: Łukasz Gardoń <lukaszgardon555@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This packages license shold be not Apache-2.0 but BSD-2-Clause.
I judgetd by LICENSE file and SPDX file.
Signed-off-by: Takuma Ueba <ueba.takuma@jp.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Since the following commit applied in oe-core
...
21f0c5a distutils/setuptools, distutils3/setuptools3: improve reproducibility
...
It unified var-DISTUTILS_INSTALL_ARGS in distutils and setuptools,
so clean up the duplicated var-DISTUTILS_INSTALL_ARGS in each recipe.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove bundled egg-info from the source tarball as it will be generated
by the build system with the correct permissions during build time.
This fixes a permission denied issue when importing pkg_resources as a
normal user.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This small python module provides a way to manage and compare version
strings which adhere to the Semantic Versioning specification [1].
[1] https://semver.org
Signed-off-by: Dennis Menschel <menschel-d@posteo.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Also the package is licensed under both BSD and LGPL-3.0.
This the license checksum was updated to reflect this.
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: Copyright authors changed along with formatting of the license.
License terms remain the same
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update the upstream check regex to restrict to version 1.X.Y
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Based on a recipe from meta-openstack, but with the rmargparse class removed
(which doesn't appear to be needed anymore) and Python 3 support added.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
License-Update: LICENSE was removed and only PKG-INFO remains in this release. Update the checksum
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>