A small Python module for determining appropriate + platform-specific dirs
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
If not added the setup.py will complain that it can't find
vcversioner. The non native dependency is not working as the module is
required during compilation not at runtime.
Also the dependency is required for both the Python 2 and Python 3 version
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Fix runtime error:
File "/usr/lib/python2.7/site-packages/networkx/readwrite/gml.py", \
line 44, in <module>
from lib2to3.pgen2.parse import ParseError
ImportError: No module named lib2to3.pgen2.parse
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* as PNBLACKLIST message says, these recipes are blacklisted for long
time and nobody showed any interest to fix them
* remove all unused .patch and .inc files as well
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The AWS IoT Device SDK for Python allows developers to write Python
script to use their devices to access the AWS IoT platform through
MQTT or MQTT over the WebSocket protocol.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Use proper LICENCE file for LIC_FILES_CHKSUM
Update homepage to point to gitlab
Fix cross-build arch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
A backport of the subprocess module from Python 3.2 for use on 2.x
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Beautiful Soup sits atop an HTML or XML parser,
providing Pythonic idioms for iterating, searching,
and modifying the parse tree.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
During do_compile if setup.py finds that pytest-runner - which is
declared as a setup dependency in setup.py - isn't available it was
attempting to download it from pypi, which is problematic if you are
behind a proxy because the environment for do_compile isn't set up for
that. Add an appropriate native dependency to prevent this situation.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Make LICENSE more accurate - it's dual licensed
* Include the actual license text files in LIC_FILES_CHKSUM
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Fix file-rdeps error about "#!/usr/bin/python" in python3-pylint
by inheriting python*-dir so we can change to "#!/usr/bin/env ${PYTHON_PN}"
in ${PYTHON_SITEPACKAGES_DIR}.
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
CVE-2013-7459: Heap-based buffer overflow in the ALGnew function in
block_templace.c in Python Cryptography Toolkit (aka pycrypto) allows
remote attackers to execute arbitrary code as demonstrated by a crafted
iv parameter to cryptmsg.py.
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2013-7459
Patch from:
8dbe0dc3ee
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Fix the following file-rdeps QA issue:
...
|ERROR: python3-pykickstart-2.35-r0 do_package_qa: QA Issue:
/usr/bin/ksvalidator contained in package python3-pykickstart requires
/usr/bin/python, but no providers found in RDEPENDS_python3-pykickstart?
[file-rdeps]
...
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The python2 version was dropped from oe-core.
Also add support for python3.
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The python2 version was dropped from oe-core.
Also add support for python3.
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Update license checksum for copyright year modification to 2017
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Remove provides of `pykickstart' in python3-pykickstart
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Refactored existing python-pyusb recipe so that pyusb can also be built
for python3.
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The copyright year changed in the license file.
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Update chardet's build dependency on pytest-runner-native
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Extend the recipe for Python3 support.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Add recipes for python-daemon PIP package with its dependencies -
lockfile and docutils.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Add recipe for PyBluez, Python wrapper over bluez.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Add recipes for Python PIP packages for Google's Protobuf, gRPC and gRPC
tools.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The work on twisted to ensure python3 compatability is nearing
completion, as per their python3 tracker page:
https://twistedmatrix.com/trac/milestone/Python-3.x
Create a common .inc file and a new python3-* recipe to match other
python3 packages.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Extend the recipe for Python3 support.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Extend the recipe for Python3 support.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Extend the recipe for Python3 support.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Extend the recipe for Python3 support.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Extend the recipe for Python3 support.
Signed-off-by: Daniela Plascencia <daniela.plascencia@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verify the license terms and update the start, stop, and checksum
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 checksum
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verify the license terms are the same and update the checksum
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Verify license terms remain the same and update checksum
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Remove patch that has been applied upstream in this release
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 license remains 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 license terms have not changed and update checksum based on the
latest PKG-INFO
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>
* move the mommon portions into .inc
* update to version 1.11.2
* add new recipe for python3-django
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* move the common portions into .inc
* add new recipe for python3-django-south
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
- Split to a common python-pyudev.inc for python2 and python3
- The contextlib module is moved to python3-lang.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
- Split to a common python-pyparted.inc for python2 and python3
- Tweak 0001-fix-version-float-check.patch for python3 to fix
do_compile errror
----
| ERROR: python3 setup.py build_ext execution failed.
| Traceback (most recent call last):
| File "setup.py", line 62, in <module>
| check_mod_version('libparted', need_libparted_version)
| File "setup.py", line 55, in check_mod_version
| match = re.search('([0-9]+\.[0-9]+)', modversion)
| File "work/core2-64-wrs-linux/python3-pyparted/3.10.7+gitAU
TOINC+69c4a478e4-r0/recipe-sysroot-native/usr/lib/python3.5/re.py",
line 173, in search
| return _compile(pattern, flags).search(string)
| TypeError: cannot use a string pattern on a bytes-like object
----
The reason is the return of subprocess.check_output is byte in python3,
but string in python2
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
python-sdnotify/python3-sdnotify is a pure python implementation for
systemd's sd_notify mechanism.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This prevents runtime failure "bad interpreter: No such file or directory"
from running native cython when the native python is installed
at a long path, exceeding the 128-character limit for shebang lines
on linux. Exceeding the limit was already possible when using a long
path for topdir, but it got easier to exceed after the switch to per-recipe
sysroots.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Matching what has been done with other python packages, move the
existing recipe into a .inc file and then create python and python3
specific bb files to allow the generation of python2 or python3
versions.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The recipe seems to have the intent of creating a 'tests' package but
doesn't follow through on this intent. Rename 'tests' to 'test' to
match other python test packages and follow through on the intent to
actually produce a 'test' package.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
python-six was removed from oe-core, so we should provide it in meta-oe.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Created a new recipe for python-networkmanager 2.0.1. Depends on
python-dbus, python-six and networkmanager.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
LGPLv2.1 is what is in the project's COPYING file.
LGPLv2.1+ is what is mentioned in the project's setup.py and in the
headers of the source files.
Signed-off-by: Frederico Cadete <Frederico.Cadete-ext@oneaccess-net.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Got this runtime error:
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/prettytable-0.7.2-py2.7.egg-info/PKG-INFO'
After some investigation, it looks like the pypi package is the culprit
as almost all the files in the tar.gz are set to 600 instead of 644.
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
- License checksum changed due to copyright year update to 2017.
- Source package extension changed form to zip.
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Snimpy is a Python-based tool providing a simple
interface to build SNMP query.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
python-pysnmp is a pure-Python SNMPv1/v2c/v3 library,
it's required by python-snimpy.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
python-pysmi is a pure-Python implementation of SNMP/SMI
MIB parsing and conversion library.
It's required by python-pysnmp.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
python-ply: PLY is yet another implementation
of lex and yacc for Python.
It's required by python-pysmi.
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Add recipe for python-mprpc, a messagepack RPC library for python
Signed-off-by: Andrej Rode <andrej.rode@ettus.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Adds recipe for python-gsocketpool as a dependency for python-mprpc
Signed-off-by: Andrej Rode <andrej.rode@ettus.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Add initial recipe for python-can library which provides controller
area network support for Python 2/3.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Adds new recipe for python-systemd and python3-systemd
which provide python bindings for libsystemd
Signed-off-by: Andrej Rode <andrej.rode@ettus.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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>