Commit Graph

1259 Commits

Author SHA1 Message Date
Ross Burton
bbbe9a08be python3-bandit: upgrade to 1.5.1
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>
2018-11-26 09:38:14 -08:00
Paul Eggleton
5ce9fda7fc python*-paho-mqtt: upgrade to 1.4.0
1.4.0 is primarily a bugfix release, see here for details:

https://github.com/eclipse/paho.mqtt.python/blob/v1.4.0/ChangeLog.txt

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26 09:38:14 -08:00
Kavi Jivan
42ad6d3ca7 Adds python3 syslog dependency to python3-systemd
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26 09:38:13 -08:00
Maxime Borges
79bb019852 Fix python-idna egg-info permissions
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26 09:38:13 -08:00
Alexandru Vasiu
6646362e73 python-configparser.inc: Fix SUMMARY
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>
2018-11-07 08:56:28 -08:00
Mark Asselstine
12c394588c python-twisted: Add more python-twisted-* packages to the "meta" package
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>
2018-11-02 10:05:06 -07:00
Alexandru Vasiu
2731f210cc python-pyiface: Upgrade to 0.0.11
Signed-off-by: Alexandru Vasiu <alexandru.vasiu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02 10:05:06 -07:00
Joris Offouga
3ad039f79a ] Add recipes for django rest framework
Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-26 21:08:43 -07:00
Qi.Chen@windriver.com
107eefed37 python-requests: fix CVE-2018-18074
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>
2018-10-16 21:23:47 -07:00
Dwane Pottratz
99ecc889a0 python-sh: add python sh library
sh is a python subprocess replacement.

Signed-off-by: Dwane Pottratz <dwane.pottratz@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-05 14:51:14 -07:00
Hong Liu
f95a30ad96 python-cmd2: upgrade to 0.9.2
1.Upgrade python-cmd2 from 0.8.8 to 0.9.2.

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 22:24:15 -07:00
Hong Liu
79e9e9c397 python-py:1.5.4 -> 1.6.0
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>
2018-09-24 11:49:45 -07:00
Qi.Chen@windriver.com
892948980c python(3)-ndg-httpsclient: use update-alternatives to avoid do_rootfs failure
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>
2018-09-14 19:01:41 -07:00
Martin Jansa
90467a8d61 python-pyflame: skip for aarch64 as well
* fails with:
| ../../git/src/ptrace.cc: In function 'user_regs_struct pyflame::PtraceGetRegs(pid_t)':
| ../../git/src/ptrace.cc:127:14: error: 'PTRACE_GETREGS' was not declared in this scope
|    if (ptrace(PTRACE_GETREGS, pid, 0, &regs)) {
|               ^~~~~~~~~~~~~~
| ../../git/src/ptrace.cc:127:14: note: suggested alternative: 'PTRACE_GETREGSET'
|    if (ptrace(PTRACE_GETREGS, pid, 0, &regs)) {
|               ^~~~~~~~~~~~~~
|               PTRACE_GETREGSET
| ../../git/src/ptrace.cc: In function 'void pyflame::PtraceSetRegs(pid_t, user_regs_struct)':
| ../../git/src/ptrace.cc:136:14: error: 'PTRACE_SETREGS' was not declared in this scope
|    if (ptrace(PTRACE_SETREGS, pid, 0, &regs)) {
|               ^~~~~~~~~~~~~~
| ../../git/src/ptrace.cc:136:14: note: suggested alternative: 'PTRACE_SETREGSET'
|    if (ptrace(PTRACE_SETREGS, pid, 0, &regs)) {
|               ^~~~~~~~~~~~~~
|               PTRACE_SETREGSET
| Makefile:524: recipe for target 'ptrace.o' failed
| make[2]: *** [ptrace.o] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-10 11:51:50 -07:00
Khem Raj
5ccc6fd2da python-m2crypto: Ignore WCHAR_MAX and WCHAR_MIN when on musl
This fixes the build until we upgrade to swig 4.0 where this is fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-08 13:32:12 -07:00
Tom Joseph
a09e43e371 PAM: Add python library pamela which supports PAM
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>
2018-09-04 11:55:21 -07:00
Khem Raj
35952eda3f python-m2crypto: Add STDC_HOSTED to grep regexp
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-01 01:42:03 -07:00
Alejandro del Castillo
00deeeec3b python3-pytest-helpers-namespace: add recipe
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Sergey Kizunov
3465362698 python-pytest-helpers-namespace: add recipe
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>
2018-08-29 18:18:14 -07:00
Alejandro del Castillo
2b5fb4f817 python3-pytest-tempdir: add recipe
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Sergey Kizunov
f60b850edd python-pytest-tempdir: add recipe
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>
2018-08-29 18:18:14 -07:00
Jens Rehsack
46aa68deaf python{, 3}-protobuf: Update 3.6.0 -> 3.6.1
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>
2018-08-28 09:37:46 -07:00
Jens Rehsack
15bd5f4ebb python{, 3}-m2crypto: update from 0.26.4 -> 0.30.1
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>
2018-08-28 09:36:28 -07:00
Jens Rehsack
b3b3449675 python{,3}-grpcio: update to 1.14.1
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>
2018-08-28 09:36:28 -07:00
Jens Rehsack
d9309e44aa python{, 3}-grpcio-tools: update 1.8.4 -> 1.14.1
Align recipe for python protobuf code generator for gRPC with
grpc itself and python-grpcio.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Jens Rehsack
218c1e74b7 python{, 3}-intervals: add recipes for python2/3
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>
2018-08-27 10:53:58 -07:00
Jens Rehsack
c591e5d84c python{, 3}-pint: add recipes for python2 and python3
Add recipe for physical quantities module for python2 and
python3 infrastructure of Yocto.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-27 10:53:58 -07:00
Jens Rehsack
e78cf91307 python{3, }-protobuf: consolidate CLEANBROKEN
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>
2018-08-27 10:53:58 -07:00
Khem Raj
38717e1f55 python-pyflame: Disable for mips arch
Fails to build as support is missing

src/ptrace.cc:135:48: error: 'regs' has incomplete type

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-27 10:53:58 -07:00
Khem Raj
9b5562e9a2 python-pyflame: Use SHA instead of tag in SRC_URI
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>
2018-08-24 09:31:55 -07:00
Khem Raj
a855c5b528 python-pyflame: Limit support to just glibc based systems
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>
2018-08-24 09:25:32 -07:00
Andrew Jeffery
bdf5540dc5 meta-python: Make python-pyflame cope with prelinked ELFs
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 09:14:05 -07:00
Andrew Jeffery
82fc7b9e26 meta-python: Port python-pyflame to 32-bit ARM
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 09:14:03 -07:00
Andrew Jeffery
6c9ac25d7b meta-python: Add python-pyflame recipe
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-24 09:14:01 -07:00
Derek Straka
08db444db3 python-prompt-toolkit: update to version 2.0.4
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>
2018-08-19 16:09:28 -07:00
Derek Straka
0ec21b6a50 python-pip: update to version 18.0
License-Update: Copyright year changed to include 2018

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Derek Straka
05ad45d937 python-cython: update to version 0.28.5
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Derek Straka
7186a251bc python-certifi: update to version 2018.8.13
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Derek Straka
45f502cdde python-lxml: update to version 4.2.4
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Derek Straka
b86afa334b python-pandas: update to version 0.23.4
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Hongxu Jia
c67f65f4fa python3-pydbus: cherry-pick patches from fedora
Fedora enhanced python3-pydbus:

- Support asynchronous calls

- Support transformation between D-Bus errors and
  exceptions.

https://src.fedoraproject.org/cgit/rpms/python-pydbus.git/

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Binghua Guan
98382d5c77 meta-python: add python-pycodestyle recipe
Signed-off-by: Binghua Guan <freebendy@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-10 12:51:21 -07:00
Alex Kiernan
de01491364 python-m2crypto: Move swig fix to configure task
Fixes:

| DEBUG: Executing shell function do_configure
...
| SWIG/_m2crypto.i:10: Error: Unable to find 'gcc_macros.h'
| error: command 'swig' failed with exit status 1

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-10 12:51:21 -07:00
S. Lockwood-Childs
aee991551f python-future: make recipe available as python3 version
Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-08 12:04:14 -07:00
Dima Zavin
88c8866fbc python3-chardet: add a '3' suffix to binary to avoid conflicts with python2
Signed-off-by: Dima Zavin <dmitriyz@waymo.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-05 23:31:10 -07:00
Robert Yang
83c609bb84 python-pbr.inc: remove it
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>
2018-08-03 09:34:29 -07:00
Robert Yang
1f29ab81d8 python3-pbr: remove it
There is one in oe-core, so remove it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Florian Wickert
1be262c3b9 add libudev to python-pyudev RDEPENDS
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>
2018-08-03 09:34:29 -07:00
Robert Joslyn
240b92343e python-behave: Add Python 3 recipe
Fix broken dependencies of Python 2 recipe as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00
Robert Joslyn
4dc3c05e72 python-parse-type: Add Python 3 recipe
Clarify license from BSD to BSD-3-Clause.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-03 09:34:29 -07:00