Commit Graph

1374 Commits

Author SHA1 Message Date
Yi Zhao
3cabe2feeb python-flask-socketio: move to meta-python directory
The previous commits put the python-engineio, python-socketio and
python-flask-socketio to a wrong directory. Move them to meta-python.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-09 21:31:36 -07:00
Chris Garren
009e6efc54 python-cryptography: Move linker flag to .inc
Move the -pthread linker flag to the .inc file because it is
needed for python 2 & 3.

Signed-off-by: Chris Garren <cdgarren@indesign-llc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-09 21:31:36 -07:00
Alistair Francis
e53f9faccf python-cryptography: Bump from 2.4.1 to 2.6.1
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Alistair Francis
47f4a92410 python3-xxhash: Initial commit
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Alistair Francis
9115f53e53 python3-pocketsphinx: Initial commit
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Alistair Francis
5206fbd776 python3-pyfann2: Initial commit
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Alistair Francis
c32f3f581a python3-pyaudio: Initial commit
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Fabio Berton
ab1065f87a python*-requests: Update 2.20.1 -> 2.21.0
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Alistair Francis
e02b97f1e4 meta-python: Initial commit of Python3 OBDII module
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-29 10:35:27 -07:00
Yi Zhao
d2b4866919 python-cachetools: add recipe
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-28 11:56:25 -07:00
Yi Zhao
a88f90fb8d python-tqdm: add recipe
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-28 11:56:25 -07:00
Ross Burton
c047042903 python3-kconfiglib: add
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-21 05:56:21 -07:00
Ross Burton
10d4e414a9 python3-pylyrics: add recipe
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-21 05:56:21 -07:00
Hongxu Jia
6cb4e90fcd python3-pillow: add 5.4.1
- Set option by modify setup.py

- Do not override do_compile to call `setup.py build_ext', it will
  missing options at do_install time which causing host contamination
  ...
  Found webp/demux.h
  Found library webpmux at /usr/lib/libwebpmux.so
  Found library webpdemux at /usr/lib/libwebpdemux.so
  /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform
  ...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-19 21:00:06 -07:00
Khem Raj
0597e79805 python-pyflame: Disable for risv architecture
Not yet supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-14 07:24:03 -07:00
Khem Raj
e16dbc4ca1 python-grpcio: Upgrade to 1.19.0
Refresh patch to apply cleanly
Fix build for RISC-V

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-06 11:32:27 -08:00
Khem Raj
a5b86ae601 python-greenlet: Upgrade to 0.4.15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-06 11:32:27 -08:00
Otavio Salvador
cf871bdc3f python-idna: Upgrade 2.7 -> 2.8
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-06 11:32:27 -08:00
Otavio Salvador
e01bd4b54c python-idna: Avoid removing executing bit from .egg-info/ directory
The chmod was removing the executing bit from the directory and then
the native version was failing to build.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-06 11:32:27 -08:00
Jan Vermaete
befa59e6de Replaced cryptograpy by crypt.
Replaced 'cryptography' by the much small 'crypto' package.
With cryptography, the build is too big with e.g. cpp included.

PS: this was already a long time the mailinglist.  I guess with my
attempt to attach a patch, this could be processed.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-04 23:09:25 -08:00
Felix Snow
fe03df156c upgrade python-click from 6.7 to 7.0
Signed-off-by: Felix Snow <fsnow@phoenixcontact.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-01 18:51:29 -08:00
Ricardo Salveti
f357a80861 python-requests: update to version 2.20.1
Drop patches as they were backports which are now available as part of
this release.

License checksum changed but the license is the same (license address
changed from http to https).

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
223575a942 python3-keras-preprocessing: add version 1.0.5
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
1574866b6a python3-keras-applications: add version 1.0.6
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
c36b3f89b7 python3-gast: add version 0.2.2
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
faa3f908a7 python3-astor: add version 0.7.1
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
093816152e python3-absl: add version 0.7.0
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
8028fe70b6 python3-wheel: add version 0.32.3
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
52cbeee177 python3-markdown: add version 3.0.1
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
507efb3f31 python3-termcolor: add version 1.1.0
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
f6a3e4b563 python3-h5py: add version 2.9.0
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
19dee696a2 python3-pkgconfig: add version 1.4.0
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:27 -08:00
Hongxu Jia
ce02a140a0 python3-protobuf: add cpp implementation support
- Compiling with option `--cpp_implementation', add cpp implementation
support which requires to build with protobuf.

- Workaround native compile failure while host gcc <= 4.8
Setting environment KOKORO_BUILD_NUMBER, the build will explicitly compile
with option `-std=c++11', it could  workaround native compile failure while
host gcc <= 4.8
...
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file
requires compiler and library support for the ISO C++ 2011 standard. This
support is currently experimental, and must be enabled with the -std=c++11
or -std=gnu++11 compiler options
...

- Add Python 3.7 compatibility

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:21:26 -08:00
Hong Liu
f4bfce9520 python-paste:upgrade to 3.0.6
1.Upgrade python-paste from 2.0.3 to 3.0.6.

2.Add pytest-runner to run pytest

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:45:53 -08:00
Hong Liu
984d43f508 python-pycparser: upgrade to 2.19
Upgrade python-pycparser from 2.18 to 2.19

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15 06:45:43 -08:00
Hong Liu
f4270950bd python-lxml: upgrade to 4.3.1
1.Upgrade python-lxml and python3-lxml from 4.2.4 to 4.3.1

2.Modified some outdated descriptions in iso-schematron.rng

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-14 10:19:48 -08:00
Hong Liu
c88af81ef8 python-cryptography-vectors:upgrade to 2.4.1
Upgrade python-cryptography-vectors from 2.3 to 2.4.1

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-12 08:40:40 -08:00
Hong Liu
244a4d6fef python-cryptography:upgrade to 2.4
Upgrade python-cryptography from 2.3 to 2.4

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-12 08:40:40 -08:00
Khem Raj
a600bc8a82 python-gevent: Upgrade to 1.4.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-07 22:18:38 -08:00
Fabio Berton
dd893a0097 python-protobuf: Add nativesdk to BBCLASSEXTEND
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-07 10:07:48 -08:00
Fabio Berton
d09996e63e python*-xlrd: Add native and nativesdk to BBCLASSEXTEND
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-07 10:07:48 -08:00
Fabio Berton
d51d78ee7b python*-markupsafe: Add native and nativesdk to BBCLASSEXTEND
SIGNED-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-07 10:07:48 -08:00
Fabio Berton
bc3560c8ed python*-jinja2: Add native and nativesdk to BBCLASSEXTEND
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-07 10:07:48 -08:00
Alexander Kanavin
20e56eb002 python3-gevent: update to 1.4.0
This fixes build issues with Python 3.7.

License-Update: added BSD license for one of the source files
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-07 10:06:39 -08:00
Sai Hari Chandana Kalluri
f6e0ee746b python3-twitter_3.7.0.bb: Yocto recipes for tweepy packages
Yocto recipes for easy to use python2 and python3 libraries for accessing twitter APIs

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-06 08:19:13 -08:00
Sai Hari Chandana Kalluri
c19f3a7716 python-requests-oauthlib: Recipes to provide support for Requests-Oauthlib libraries
Yocto recipes for Python Requests and Oauthlib libraries to provide
easy-to-use Python 2 and Python 3 interfaces for building OAuth1 and
OAuth2 clients.

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-06 08:08:59 -08:00
Callaghan, Dan
53cb161e6c python-slip-dbus: add a python3 version of the recipe
Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-01 06:57:14 -08:00
Callaghan, Dan
c3a5c5c3eb python-slip-dbus: update to 0.6.5
Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-01 06:57:14 -08:00
Khem Raj
69c9903346 python-twisted: Remove ${PN}-src
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>
2019-01-30 13:34:49 -08:00
Stefan Agner
ac179bc18e python3-vcversioner: remove egg generation
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>
2019-01-30 13:34:49 -08:00
Stefan Agner
ee93134f9f python-vcversioner: remove egg generation
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>
2019-01-30 13:34:49 -08:00
Andreas Müller
d3d170eea4 python-rdflib: fix SUMMARY
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-24 10:18:30 -08:00
Andreas Müller
52e29be739 python-isodate: fix SUMMARY
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-24 10:18:30 -08:00
Andreas Müller
c36ccaf595 python(3)-rdflib(-native(sdk)): initial add 4.2.2
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-22 00:52:44 -08:00
Andreas Müller
ee77549e4c python(3)-isodate(-native(sdk)): initial add 0.6.0
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-22 00:52:44 -08:00
Andreas Müller
8551d233d1 python(3)-html5lib: extend to native(sdk)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-22 00:52:44 -08:00
Andreas Müller
4fa2b14ee8 python(3)-webencodings: extend to native(sdk)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-22 00:52:44 -08:00
Ioan-Adrian Ratiu
44269816b5 python-pyinotify.inc: add RDEPEND on ${PYTHON_PN}-smtpd
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>
2019-01-19 10:06:20 -08:00
Stefan Agner
ddb7541472 python-cryptography: drop python-pycparser dependency
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>
2019-01-15 22:08:47 -08:00
Khem Raj
3489f91f92 python-pbr_4.2.0.bb: Define src uri checksums in recipe
There moved out from inc file in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-13 10:28:01 -08:00
Khem Raj
3b59515c5a python-pyflame: Upgrade to 1.6.7
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>
2018-12-23 13:29:20 -08:00
Khem Raj
7227733cbf python-grpcio: Upgrade to 1.17.1
Patch to fix ppc build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim "moto-timo" Orling <TicoTimo@gmail.com>
Cc: Derek Straka <derek@asterius.io>
2018-12-23 13:29:20 -08:00
Khem Raj
b67fff759b python-msgpack: Upgrade to 0.6.0
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>
2018-12-23 13:29:20 -08:00
Philip Balister
599feb105a python-tzlocal: Add new recipe.
Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00
Craig McQueen
0f2535455e python3-multidict: Workaround for broken make clean
Note, the issue is fixed in v4.0.0.
https://github.com/aio-libs/multidict/issues/194

Signed-off-by: Craig McQueen <craig.mcqueen@innerrange.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-26 09:38:14 -08:00
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