alsaaudio support Python 3 already, add a Python 3 recipe so we
can build alsaaudio for Python 3.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Upgrade to 3.1.2 and use Yocto source mirror to follow commit f76fe46e098d
("i2c-tools: point SRC_URI at Yocto source mirrors") in OpenEmbedded cores
i2c-tools recipe.
With the upgrade to i2c-tools 3.1.2 Python 3 support has been added. To
support Python 3 add a common recipe for all common information and one for
each supported Python version 2 and 3.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are
redundant and inconsistent with the same setting in other recipes.
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Deleted bunch of patches which are not used anymore by any recipe.
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Fix the RDEPENDS and add a python3 version as well
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Pycparser requires installed C preprocessor to work correctly. Add cpp
to RDEPENDS.
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Given calculation of PYPI_PACKAGE value from recipe file name, a
number of Python recipe files unnecessarily set this value, so delete
these superfluous lines.
In addition, the act of editing added a missing EOL at the end of one
of the files.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verified that license remains the same and updated the checksum
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verified the license remains the same and updated the checksum for the
new copyright year.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verified the license remains the smae and updated the checksum and location
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verified the license terms remain the same and update
RDEPENDS
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Another current release exists in meta-python, so
this one can be removed.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verify the license terms remain the same and update the checksum
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verify the underlying license remains the same and update the checksum
for the latest released version
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verify the license terms remain intact and update the location
and checksum to match the latest copyright modifications
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verified license terms remain the same and updated the checksum
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The autobahn recipe does not currently function and is extremely out
of date. The only known consumer of this was cloudeebus, which is
also being removed. The new version requires a large number of
dependencies that are not currently in meta-python. Since there are
no known users, the recipe will be removed for now until other consumers
are identified.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The cloudeebus upstream project has not been active in 3.5 years and
the current APIs for most of the dependencies have changed enough to
not longer support the current implementation without pinning previous
versions. Since this recipe has not functioned correctly for a while,
remove it from the layer.
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
python-pbr and python-funcsigs are required by python-mock,
or it fails with:
>>> import mock
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/mock/__init__.py", line 2, in <module>
import mock.mock as _mock
File "/usr/lib64/python2.7/site-packages/mock/mock.py", line 69, in <module>
from pbr.version import VersionInfo
ImportError: No module named pbr.version
>>> import mock
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/mock/__init__.py", line 2, in <module>
import mock.mock as _mock
File "/usr/lib64/python2.7/site-packages/mock/mock.py", line 80, in <module>
import funcsigs
ImportError: No module named funcsigs
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
python-funcsigs is required by python-mock.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Python package for creating and manipulating graphs and networks.
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The build is OK after the patch:
"python-pbr: change the dependency to be a RDEPENDS and fix build issues"
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
python-typing is required at runtime, not at build time.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Reverse order of include and inherit to prevent DEPENDS=
being overwritten.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Python is required in order to build the cython parts.
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Make clean was implicitly calling sphinx which lead to errors.
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Reverse order of inherit and include to prevent DEPENDS= overwriting
values set in inherit.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Reverse order of include and inherit to prevent DEPENDS=
being overwritten.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Reverse the include and inherit to prevent the DEPENDS= in .inc from
overwriting the one from inherit.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Update license checksum as the copyright year changed
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Upgrade python-m2crypto from 0.23.0 to 0.25.1.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Upgrade python-pyparsing from 2.1.4 to 2.1.10.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Upgrade python-jsonpatch from 1.14 to 1.15.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
1) Upgrade python-greenlet from 0.4.9 to 0.4.11.
2) Delete 0001-Use-x-instead-of-r-for-aarch64-register-names.patch, since it is integrated upstream.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The license hash change is due to a bump in the copyright year
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This allows it to be used during build in the setup.py of a package.
Like for example done in the astral PyPi package.
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Further the recipe is simplified by using the pypi and setuptools class.
The custom setup.py is no onger necessary.
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The RDEPENDS for native package is not needed,
and it will fail since there is no provider for
python-subprocess-native:
| ERROR: Nothing RPROVIDES 'python-subprocess-native'
so empty the RDEPENDS for native package.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Updated the license file and validated the license terms still apply
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The pylint script mismatches from source in the target, producing runtime
errors, such as:
"pkg_resources.DistributionNotFound: The 'configparser'
was not found and is required by pylint"
This exception is raised mainly because pkg_resources, which is used by
pylint, looks for modules named as in Py3, but the target has only Py2.
For instance, 'ConfigParser' (already installed), has been renamed to
'configparser' in Py3, and thus not found by pkg_resources.
To ensure none of these compatibility issues happen, the pylint script
handles all the imports.
Thus, /usr/bin/pylint has to be installed in the same fashion as in
source, and the recipe in this patch states the content of such script
and deletes the previous one.
Also, a set of runtime dependencies is added to the recipe.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The recipe defines the isort python module. This module
sorts imports alphabetically, and automatically separates
them into sections.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Enables a native variant of python-setuptools-scm
by adding BBCLASSEXTEND to the recipe.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The recipe defines the lazy-object-proxy
python module: a fast and thorough lazy
object proxy.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The recipe defines the astroid python module. This module
provides a common base representation of python source
code for projects such as pylint.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The recipe defines the wrapt python module. This module
provides a transparent object proxy for Python that can
be used in the construction of function wrappers and
decorators.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The recipe defines the backports.functools_lru_cache package.
This package backports LRU cache from Python 3.3, supporting
the full Py3.3 API.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The serialjava.py depends on jpython, we don't support jpython now.So remove it.
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
In recipe of python-m2crypto, it uses var SITEINFO_BITS which is from
siteinfo.bbclass. Inherit siteinfo.bbclass to avoid compile error:
| .../tmp/sysroots/qemumips64/usr/include/openssl/opensslconf.h:47:
| Error: CPP #error ""Unknown __WORDSIZE detected"".
| Use the -cpperraswarn option to continue swig processing.
| error: command 'swig' failed with exit status 1
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Split out common code to python-psutil.inc
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The module takes diff data from commands like diff or git-format-patch,
parses it and creates python objects in the form of patch sets. More
info is given on the recipe metadata.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Upgrade python-pyyaml from 3.11 to 3.12.
Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Upgrade python-dbus from 1.2.0 to 1.2.4.
Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
New recipe which defines the pylint python module: the static code
analyzer for python files.
Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The recently added python3-jsonschema depends on vcversioner. The
setuptools tries to fetch it but fails with bitbake if run behind
proxies. Explicitly set DEPENDS to ensure the dependency is installed
before running setup.py for python3-jsonschema.
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
python3-vcversioner is needed by other python3 modules so it's good to have
a recipe for it.
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit also change RDEPENDS code style and add python-urllib3
as runtime dependence.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>