diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python')
279 files changed, 1556 insertions, 367 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/pamela_0.3.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/pamela_0.3.0.bb new file mode 100644 index 000000000..8071fcb04 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/pamela_0.3.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Pamela: yet another Python wrapper for PAM" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bfb663f37eb99232bc8ccfa4ea8f1202" + +SRC_URI[md5sum] = "de6516118d51eb5fc97017f3b6d5c68b" +SRC_URI[sha256sum] = "1e198446a6cdd87704aa0def7621d62e7c20b0e6068e2788b9a866a8355e5d6b" + +PYPI_PACKAGE = "pamela" + +inherit pypi setuptools + +RDEPENDS_${PN} = "libpam" + +inherit distro_features_check +REQUIRED_DISTRO_FEATURES = "pam" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-alembic.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-alembic.inc index f1a641299..477e89c5a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-alembic.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-alembic.inc @@ -2,8 +2,8 @@ DESCRIPTION = "A database migration tool for SQLAlchemy" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=c5f1361296835ff94bda73db7dd312a6" -SRC_URI[md5sum] = "5cfef58641c9a94d4a5d547e951a7dda" -SRC_URI[sha256sum] = "13b8611788acf0d7b617775db5c2ae26554a6d4263c590ef628d448fd05aef56" +SRC_URI[md5sum] = "762ab9ba56d1c0b1bfbc7c9f7f849c92" +SRC_URI[sha256sum] = "52d73b1d750f1414fa90c25a08da47b87de1e4ad883935718a8f36396e19e78e" PYPI_PACKAGE = "alembic" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-alembic_0.9.8.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-alembic_1.0.0.bb index efcb2b1de..efcb2b1de 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-alembic_0.9.8.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-alembic_1.0.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-asn1crypto.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-asn1crypto.inc index 5c379956f..f1f0a3c51 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-asn1crypto.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-asn1crypto.inc @@ -1,7 +1,7 @@ -DESCRIPTION = "Python binding to the Networking and Cryptography (NaCl) library" -HOMEPAGE = "https://github.com/pyca/pynacl" +DESCRIPTION = "A fast, pure Python library for parsing and serializing ASN.1 structures" +HOMEPAGE = "https://github.com/wbond/asn1crypto" SECTION = "devel/python" -LICENSE = "Apache-2.0" +LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=52010cd3c7d7bd965b55721ef4d93ec2" PYPI_PACKAGE = "asn1crypto" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-astroid.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-astroid.inc index ead2b6e73..fae0f13cb 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-astroid.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-astroid.inc @@ -4,8 +4,8 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -SRC_URI[md5sum] = "7d7dc000b25f0cbfcca20cb9a8dc0310" -SRC_URI[sha256sum] = "35cfae47aac19c7b407b7095410e895e836f2285ccf1220336afba744cc4c5f2" +SRC_URI[md5sum] = "2dd01ef0d5b5f0fc754c1ba40137b61c" +SRC_URI[sha256sum] = "fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-astroid_1.6.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-astroid_1.6.5.bb index 687394da6..687394da6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-astroid_1.6.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-astroid_1.6.5.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc index c29f058fa..fa73ea54d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc @@ -3,8 +3,8 @@ HOMEPAGE = "http://www.attrs.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff" -SRC_URI[md5sum] = "d7a89063b2e0fd36bd82389c4d82821d" -SRC_URI[sha256sum] = "1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9" +SRC_URI[sha256sum] = "e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b" +SRC_URI[md5sum] = "3f3f3e0750dab74cfa1dc8b0fd7a5f86" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_17.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_18.1.0.bb index e3bec0fdf..e3bec0fdf 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_17.4.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_18.1.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-automat.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-automat.inc index 43b9ce9e3..f6cbb35c0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-automat.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-automat.inc @@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477" FILESEXTRAPATHS_prepend := "${THISDIR}/python-automat:" -SRC_URI[md5sum] = "ad7bba58d262d8956d732330cb5ef53d" -SRC_URI[sha256sum] = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8" +SRC_URI[md5sum] = "b72d5b7a83c2b1bd6e9ec3614a69f9ea" +SRC_URI[sha256sum] = "cbd78b83fa2d81fe2a4d23d258e1661dd7493c9a50ee2f1a5b2cac61c1793b0e" PYPI_PACKAGE = "Automat" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch index d6def98c9..c29b659bc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch @@ -1,4 +1,4 @@ -From d5ebe479fc8fe11c5c75e7f35484849320349222 Mon Sep 17 00:00:00 2001 +From 33b70266930c9093712173c4e0c419815b55e313 Mon Sep 17 00:00:00 2001 From: Derek Straka <derek@asterius.io> Date: Fri, 22 Dec 2017 09:07:00 -0500 Subject: [PATCH] setup.py: remove the dependency on m2r @@ -11,14 +11,15 @@ value in this case Upstream-Status: Inappropriate (OE specific) Signed-off-by: Derek Straka <derek@asterius.io> + --- setup.py | 10 ---------- 1 file changed, 10 deletions(-) -Index: Automat-0.6.0/setup.py -=================================================================== ---- Automat-0.6.0.orig/setup.py -+++ Automat-0.6.0/setup.py +diff --git a/setup.py b/setup.py +index d360c64..7b4180a 100644 +--- a/setup.py ++++ b/setup.py @@ -4,14 +4,6 @@ Setup file for automat from setuptools import setup, find_packages @@ -46,4 +47,4 @@ Index: Automat-0.6.0/setup.py - 'm2r', ], install_requires=[ - "attrs", + "attrs>=16.1.0", diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.7.0.bb index 8ac8c9c0f..8ac8c9c0f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.7.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc index a3299e4ac..7423fa76d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc @@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "\ file://AWSIoTPythonSDK/core/protocol/paho/client.py;endline=14;md5=5a3c8a1a4bb71bd934f450ecff972ad9 \ " -SRC_URI[md5sum] = "97e8cf0d40ef3765d979c19b534a716d" -SRC_URI[sha256sum] = "d68cbff396143e837b4c23b6621d3b7ae374281afc75eed8e51a28625d9125ba" +SRC_URI[md5sum] = "50a5c46410c2b44b5c09f1ea5eb15a3b" +SRC_URI[sha256sum] = "b3c8af3ce24eab861447a194f3c382509dd70e90452c86a5426f1e7272460177" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.4.0.bb index 490e97391..490e97391 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.3.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.4.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-babel.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-babel.inc index 4dcb255c8..14b5a9f57 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-babel.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-babel.inc @@ -1,10 +1,10 @@ DESCRIPTION = "A collection of tools for internationalizing Python applications" HOMEPAGE = "http://babel.edgewall.org/" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e6eeaabc92cfc2d03f53e789324d7292" +LIC_FILES_CHKSUM = "file://LICENSE;md5=eebdc057dc12abcc2d6c4453628bfcd4" -SRC_URI[md5sum] = "152a6b17fe4110b95675aceb9af9fab2" -SRC_URI[sha256sum] = "8ce4cb6fdd4393edd323227cba3a077bceb2a6ce5201c902c65e730046f41f14" +SRC_URI[md5sum] = "c384ac03026e8fe6f9b90f55201f1bff" +SRC_URI[sha256sum] = "8cba50f48c529ca3fa18cf81fa9403be176d374ac4d60738b839122dfaaa3d23" PYPI_PACKAGE = "Babel" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-babel_2.5.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-babel_2.6.0.bb index f7c166eba..f7c166eba 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-babel_2.5.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-babel_2.6.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb index 961436f53..825444ff3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb @@ -2,12 +2,12 @@ SUMMARY = "Backport of functools.lru_cache from Python 3.3" HOMEPAGE = "https://github.com/jaraco/backports.functools_lru_cache" SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://setup.py;beginline=47;endline=47;md5=98fc3658e5970d26f6b2109808c766be" +LIC_FILES_CHKSUM = "file://setup.py;beginline=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be" PYPI_PACKAGE = "backports.functools_lru_cache" -SRC_URI[md5sum] = "b954e7d5e2ca0f0f66ad2ed12ba800e5" -SRC_URI[sha256sum] = "31f235852f88edc1558d428d890663c49eb4514ffec9f3650e7f3c9e4a12e36f" +SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754" +SRC_URI[sha256sum] = "9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a" DEPENDS += "python-setuptools-scm-native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-behave.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-behave.inc new file mode 100644 index 000000000..ded75801d --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-behave.inc @@ -0,0 +1,15 @@ +SUMMARY = "A behavior-driven development framework, Python style" +HOMEPAGE = "https://github.com/behave/behave" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06" + +SRC_URI[md5sum] = "3f05c859a1c45f5ed33e925817ad887d" +SRC_URI[sha256sum] = "b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86" + +inherit pypi + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-parse-type \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-six \ + " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-behave_1.2.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-behave_1.2.6.bb index 679730262..66221682a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-behave_1.2.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-behave_1.2.6.bb @@ -1,10 +1,8 @@ -SUMMARY = "A behavior-driven development framework, Python style" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06" +inherit setuptools +require python-behave.inc -SRC_URI[md5sum] = "3f05c859a1c45f5ed33e925817ad887d" -SRC_URI[sha256sum] = "b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86" - -RDEPENDS_${PN} += "python-difflib python-setuptools python-pkgutil python-misc python-argparse python-xml python-enum34 python-parse python-parse-type python-six" - -inherit pypi setuptools +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-argparse \ + ${PYTHON_PN}-enum34 \ + ${PYTHON_PN}-traceback2 \ + " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray.inc index 38a22f668..480f048b7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray.inc @@ -1,10 +1,10 @@ SUMMARY = "A high-level Python efficient arrays of booleans -- C extension" HOMEPAGE = "https://github.com/ilanschnell/bitarray" LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3ba469353f9f2a244b2075902351e37d" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=f4ce1ae80a385140f0ddb2bcef410b06" -SRC_URI[md5sum] = "3825184f54f4d93508a28031b4c65d3b" -SRC_URI[sha256sum] = "7da501356e48a83c61f479393681c1bc4b94e5a34ace7e08cb29e7dd9290ab18" +SRC_URI[md5sum] = "f3131ac2a277f3b70dbb6132ca8f8889" +SRC_URI[sha256sum] = "050cd30b810ddb3aa941e7ddfbe0d8065e793012d0a88cb5739ec23624b9895e" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray_0.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray_0.8.3.bb index f78c7abd2..f78c7abd2 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray_0.8.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray_0.8.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-can.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-can.inc index a71c47be4..46f085933 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-can.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-can.inc @@ -3,8 +3,8 @@ SECTION = "devel/python" LICENSE = "LGPLv3" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=38138baa100d7259934590850bc0406e" -SRC_URI[md5sum] = "3310f0aa2a8492d0ff614ecf636ec8a8" -SRC_URI[sha256sum] = "4a5c01dd67feeda35f88e6c12ea14ac8cabd426b9be0cc5f9fd083fe90a9dbfc" +SRC_URI[md5sum] = "dcdd3f6b924e3f20acb1ccf4598236cf" +SRC_URI[sha256sum] = "b5e93b2ee32bdd597d9d908afe5171c402a04c9678ba47b60f33506738b1375b" PYPI_PACKAGE="python-can" @@ -14,4 +14,5 @@ RDEPENDS_${PN}_class-target += "\ ${PYTHON_PN}-misc \ ${PYTHON_PN}-netserver \ ${PYTHON_PN}-sqlite3 \ + ${PYTHON_PN}-wrapt \ " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-can_2.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-can_2.2.1.bb index f0edb6408..f0edb6408 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-can_2.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-can_2.2.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-cassandra-driver.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-cassandra-driver.inc index 1648d3e94..1cc1f4c49 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-cassandra-driver.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-cassandra-driver.inc @@ -8,8 +8,8 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" SRCNAME = "cassandra-driver" -SRC_URI[md5sum] = "5c8b4a3adfc48180e8ec38b8c4e996fd" -SRC_URI[sha256sum] = "61b670fb2ba95d51d91fa7b589aae3666df494713f5d1ed78bb5c510778d77f0" +SRC_URI[md5sum] = "c5bed026bf48c821424c1f6296193908" +SRC_URI[sha256sum] = "b65218e2582277f5b77d1436e420db8616f63e3437a9e839cdcd7172d760e861" DISTUTILS_BUILD_ARGS += " \ --no-libev \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-certifi.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-certifi.inc index 26df5c115..c7955c57d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-certifi.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-certifi.inc @@ -7,7 +7,7 @@ HOMEPAGE = " http://certifi.io/" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=f77f61d14ee6feac4228d3ebd26cc1f1" -SRC_URI[md5sum] = "068fd5c3c690ae47504b3e0bf4e56c4c" -SRC_URI[sha256sum] = "edbc3f203427eef571f79a7692bb160a2b0f7ccaa31953e99bd17e307cf63f7d" +SRC_URI[md5sum] = "a84571995a209dcd00a1702a74302b88" +SRC_URI[sha256sum] = "4c1d68a1408dd090d2f3a869aa94c3947cc1d967821d1ed303208c9f41f0f2f4" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-certifi_2018.1.18.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-certifi_2018.8.13.bb index adfe6238e..adfe6238e 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-certifi_2018.1.18.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-certifi_2018.8.13.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-click.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-click.inc index 718bbabcf..c81545b15 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-click.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-click.inc @@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09e8b7869f94ba9e9a7b260d53c65dab" SRC_URI[md5sum] = "fc4cc00c4863833230d3af92af48abd4" SRC_URI[sha256sum] = "f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b" +UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/" + CLEANBROKEN = "1" RDEPENDS_${PN} += "\ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-cmd2_0.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-cmd2_0.9.2.bb index 145ab9890..1b75e347b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-cmd2_0.8.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-cmd2_0.9.2.bb @@ -1,10 +1,10 @@ SUMMARY = "Extra features for standard library's cmd module" HOMEPAGE = "http://packages.python.org/cmd2/" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://setup.py;beginline=51;endline=51;md5=0f13c9cfc75288223cf7edd2f3b985a2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=60bc6842001870a418935bd84570b676" -SRC_URI[md5sum] = "701b916ffac99137bea413205106f993" -SRC_URI[sha256sum] = "d09976f9ad2327883c2d07b5acb42e66ad52b17e352873c22041ed124bfe8aba" +SRC_URI[md5sum] = "bfe0900a2288283a40f0ee7533486a2f" +SRC_URI[sha256sum] = "e7b6b4b76272a051c943c3c709cd760142af16fbc9218e0ed3c22b28ea38d0a8" inherit pypi setuptools @@ -19,3 +19,5 @@ RDEPENDS_${PN} += "\ ${PYTHON_PN}-threading \ ${PYTHON_PN}-textutils \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-configparser.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-configparser.inc index c1fb8582c..133dbba71 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-configparser.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-configparser.inc @@ -1,4 +1,4 @@ -SUMMARY = "This module provides the ConfigParser class which implements a basic configuration language which provides a structure similar to what’s found in Microsoft Windows INI files." +SUMMARY = "This module provides the ConfigParser class which implements a basic configuration language which provides a structure similar to what's found in Microsoft Windows INI files." SECTION = "devel/python" HOMEPAGE = "https://docs.python.org/3/library/configparser.html" LICENSE = "MIT" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod.inc new file mode 100644 index 000000000..85da7cb3c --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod.inc @@ -0,0 +1,14 @@ +SUMMARY = "A Python module for generating objects that compute the Cyclic Redundancy Check." +HOMEPAGE = "https://pypi.org/project/crcmod" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a19291627cad2d1dfbfcf3c9fb85c2" + +SRC_URI[md5sum] = "2d5b92117d958dcead94f9e17f54cd32" +SRC_URI[sha256sum] = "dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-unittest" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod_1.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod_1.7.bb new file mode 100644 index 000000000..45b9a2ce6 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod_1.7.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-crcmod.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors.inc index 00bb87b0c..d1e254b4b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors.inc @@ -8,8 +8,8 @@ DEPENDS += " \ ${PYTHON_PN}-cryptography \ " -SRC_URI[md5sum] = "ef115b870cc8d8b9f0f4189b512bc170" -SRC_URI[sha256sum] = "78c4b4f3f84853ea5d038e2f53d355229dd8119fe9cf949c3e497c85c760a5ca" +SRC_URI[md5sum] = "294d44f32885a6b97d5f9cdd7ffc73a3" +SRC_URI[sha256sum] = "356a2ded84ae379e556515eec9b68dd74957651a38465d10605bb9fbae280f15" PYPI_PACKAGE = "cryptography_vectors" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors_2.1.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors_2.3.bb index 4975278a9..4975278a9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors_2.1.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors_2.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc index 4be79077e..dbbfe2cbe 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc @@ -1,7 +1,7 @@ SUMMARY = "Provides cryptographic recipes and primitives to python developers" HOMEPAGE = "https://cryptography.io/" LICENSE = "Apache-2.0 | BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d5ede125ed08d4fd14ec44d334bdb388" +LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124" DEPENDS += " \ ${PYTHON_PN}-cffi \ @@ -10,8 +10,8 @@ DEPENDS += " \ ${PYTHON_PN}-six \ " -SRC_URI[md5sum] = "9f39d4d8f2b05f295fa0ff52475ec4f2" -SRC_URI[sha256sum] = "e4d967371c5b6b2e67855066471d844c5d52d210c36c28d49a8507b96e2c5291" +SRC_URI[md5sum] = "a0f3f563ab1c5c3bc02fae8d4aa3ad16" +SRC_URI[sha256sum] = "c132bab45d4bd0fff1d3fe294d92b0a6eb8404e93337b3127bdec9f21de117e6" RDEPENDS_${PN} += " \ ${PYTHON_PN}-cffi \ @@ -39,6 +39,7 @@ RDEPENDS_${PN}-ptest += " \ ${PYTHON_PN}-iso8601 \ ${PYTHON_PN}-pretend \ ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pytz \ " inherit ptest diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography_2.3.bb index 9c2f88418..9c2f88418 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography_2.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-cython.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-cython.inc index 5d3b9d5ba..0939cad26 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-cython.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-cython.inc @@ -7,8 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa" PYPI_PACKAGE = "Cython" BBCLASSEXTEND = "native nativesdk" -SRC_URI[md5sum] = "0e0568d6bed4b09ad01afe0a38805305" -SRC_URI[sha256sum] = "634e2f10fc8d026c633cffacb45cd8f4582149fa68e1428124e762dbc566e68a" +SRC_URI[md5sum] = "0cb620e1259818e4ecc1a056e8c3a8be" +SRC_URI[sha256sum] = "b64575241f64f6ec005a4d4137339fb0ba5e156e826db2fdb5f458060d9979e0" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-cython_0.28.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-cython_0.28.5.bb index d803a6ed4..d803a6ed4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-cython_0.28.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-cython_0.28.5.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb index 4c18e2bad..ffb5beb57 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Library to implement a well-behaved Unix daemon process" HOMEPAGE = "https://pagure.io/python-daemon/" SECTION = "devel/python" -DEPENDS = "python-docutils" +DEPENDS += "python-docutils-native" RDEPENDS_${PN} = "python-docutils \ python-lockfile (>= 0.10) \ python-resource \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil.inc index 333b5e224..9c5a89dd3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil.inc @@ -4,8 +4,8 @@ HOMEPAGE = "https://dateutil.readthedocs.org" LICENSE = "BSD-3-Clause & Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996" -SRC_URI[md5sum] = "03a08c8bcf0a2b29f1cd21b9de4d12fb" -SRC_URI[sha256sum] = "9d8074be4c993fbe4947878ce593052f71dac82932a677d49194d8ce9778002e" +SRC_URI[md5sum] = "175b7c1a3cc0cb01151eced07c61c0b8" +SRC_URI[sha256sum] = "e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8" PYPI_PACKAGE = "python-dateutil" inherit pypi @@ -13,6 +13,8 @@ inherit pypi PACKAGES =+ "${PN}-zoneinfo" FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo" +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + RDEPENDS_${PN}_class-target = "\ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-numbers \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil_2.7.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil_2.7.3.bb index 12ae4c311..12ae4c311 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil_2.7.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil_2.7.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.8.bb index 0f18ccc88..b3f724054 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.8.bb @@ -9,15 +9,15 @@ DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native" SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz \ " -SRC_URI[md5sum] = "1ce1ddf2582060f8f971652ea54cc17e" -SRC_URI[sha256sum] = "32f29c17172cdb9cb61c68b1f1a71dfe7351506fc830869029c47449bd04faeb" +SRC_URI[md5sum] = "7379db774c10904f27e7e2743d90fb43" +SRC_URI[sha256sum] = "abf12bbb765e300bf8e2a1b2f32f85949eab06998dbda127952c31cb63957b6f" S = "${WORKDIR}/dbus-python-${PV}" inherit distutils-base autotools pkgconfig -PACKAGECONFIG ?= "" -PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python3-docutils-native" -PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python3-docutils-native python3-epydoc-native" +# documentation needs python-sphinx, which is not in oe-core or meta-python for now +# change to use PACKAGECONFIG when python-sphinx is added to oe-core or meta-python +EXTRA_OECONF += "--disable-documentation" export STAGING_LIBDIR export STAGING_INCDIR diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-django.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-django.inc index 4ef2d7f9d..ee3aee638 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-django.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-django.inc @@ -3,12 +3,14 @@ HOMEPAGE = "http://www.djangoproject.com/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" -SRC_URI[md5sum] = "f306015e16a8d5024dbac923ac34fffb" -SRC_URI[sha256sum] = "22383567385a9c406d8a5ce080a2694c82c6b733e157922197e8b393bb3aacd9" +SRC_URI[md5sum] = "38e82b59a1c27bbf98ccf0564ead7426" +SRC_URI[sha256sum] = "eb9271f0874f53106a2719c0c35ce67631f6cc27cf81a60c6f8c9817b35a3f6e" PYPI_PACKAGE = "Django" inherit pypi +UPSTREAM_CHECK_REGEX = "(?P<pver>1(\.\d+)+)" + FILES_${PN} += "${datadir}/django" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-django_1.11.10.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-django_1.11.14.bb index d2347cc96..d2347cc96 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-django_1.11.10.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-django_1.11.14.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-djangorestframework.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-djangorestframework.inc new file mode 100644 index 000000000..8551a8341 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-djangorestframework.inc @@ -0,0 +1,16 @@ +SUMMARY = "djangorestframework" +DESCRIPTION = "pip3 install djangorestframework" +HOMEPAGE = "https://pypi.python.org/pypi/djangorestframework" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=7879a5a716147a784f7e524c9cf103c1" + +SRC_URI[md5sum] = "0d481bf8dbb87bb927b46798edc1a9bd" +SRC_URI[sha256sum] = "607865b0bb1598b153793892101d881466bd5a991de12bd6229abb18b1c86136" +PYPI_PACKAGE = "djangorestframework" + +inherit pypi + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-django \ +"
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb new file mode 100644 index 000000000..540d12dc2 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb @@ -0,0 +1,2 @@ +require python-djangorestframework.inc +inherit setuptools
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate.inc index 7af4fe1b5..dfb20e9ee 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate.inc @@ -2,8 +2,8 @@ DESCRIPTION = "SQLAlchemy database migrations for Flask applications using Alemb LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85" -SRC_URI[md5sum] = "def4106c80897b7fad2afb3bc05360e4" -SRC_URI[sha256sum] = "b709ca8642559c3c5a81a33ab10839fa052177accd5ba821047a99db635255ed" +SRC_URI[md5sum] = "aaeee55431d0287063657122ff41a0e6" +SRC_URI[sha256sum] = "cd1b4e6cb829eeb41c02ad9202d83bef5f4b7a036dd9fad72ce96ad1e22efb07" PYPI_PACKAGE = "Flask-Migrate" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate_2.2.1.bb index ece516f50..ece516f50 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate_2.2.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sijax.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sijax.inc new file mode 100644 index 000000000..ff4e70a53 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sijax.inc @@ -0,0 +1,8 @@ +DESCRIPTION = "An extension for the Flask microframework that adds Sijax support." +HOMEPAGE = "https://github.com/spantaleev/flask-sijax" +LICENSE = "BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=266adc7b911b7c84b837bf77196e1ba6" + +PYPI_PACKAGE = "Flask-Sijax" +RDEPENDS_${PN} = "${PYTHON_PN}-sijax"
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sijax_0.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sijax_0.4.1.bb new file mode 100644 index 000000000..74738fc2f --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sijax_0.4.1.bb @@ -0,0 +1,4 @@ +inherit pypi setuptools +require python-flask-sijax.inc + +SRC_URI[sha256sum] = "fb2bf2d4f75408185102195055d75549fee8d9c9e954dca2427186925cdc429f"
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-flask.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-flask.inc index ecf5619ec..66ad1a6e7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-flask.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-flask.inc @@ -4,10 +4,10 @@ Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ intentions. And before you ask: It’s BSD licensed!" HOMEPAGE = "https://github.com/mitsuhiko/flask/" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=19866b76b054ab30c270c0eb9d7e43d7" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c011883ac26229b8ba3084f55c7664c6" -SRC_URI[md5sum] = "97278dfdafda98ba7902e890b0289177" -SRC_URI[sha256sum] = "49f44461237b69ecd901cc7ce66feea0319b9158743dd27a2899962ab214dac1" +SRC_URI[md5sum] = "824f0f20aae1f44c9c7dc4054adb7969" +SRC_URI[sha256sum] = "2271c0070dbcb5275fad4a82e29f23ab92682dc45f9dfbc22c02ba9b9322ce48" CLEANBROKEN = "1" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-flask_0.12.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-flask_1.0.2.bb index a0a28ab8b..a0a28ab8b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-flask_0.12.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-flask_1.0.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-future.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-future.inc new file mode 100644 index 000000000..224756180 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-future.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "Clean single-source support for Python 3 and 2" +HOMEPAGE = "https://python-future.org" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f457538b297bd0ef86564b8ac216ad7" + +SRC_URI[md5sum] = "3e8e88a2bda48d54b1da7634d04760d7" +SRC_URI[sha256sum] = "e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb" + +PYPI_PACKAGE_HASH = "99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3d" + +inherit pypi + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-future_0.16.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-future_0.16.0.bb index 46f7fe50f..d95e1ba77 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-future_0.16.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-future_0.16.0.bb @@ -1,13 +1,2 @@ -DESCRIPTION = "Clean single-source support for Python 3 and 2" -HOMEPAGE = "https://python-future.org" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3f457538b297bd0ef86564b8ac216ad7" - -SRC_URI[md5sum] = "3e8e88a2bda48d54b1da7634d04760d7" -SRC_URI[sha256sum] = "e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb" - -PYPI_PACKAGE_HASH = "99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3d" - -inherit pypi setuptools - -BBCLASSEXTEND = "native" +inherit setuptools +require python-future.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet.inc index 7a42240fe..fcd81f6c3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet.inc @@ -3,7 +3,7 @@ LICENSE = "MIT & PSF" LIC_FILES_CHKSUM = "file://LICENSE;md5=03143d7a1a9f5d8a0fee825f24ca9c36 \ file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" -SRC_URI[md5sum] = "6e0b9dd5385f81d478451ec8ed1d62b3" -SRC_URI[sha256sum] = "0fef83d43bf87a5196c91e73cb9772f945a4caaff91242766c5916d1dd1381e4" +SRC_URI[md5sum] = "a87b6028c3b742b210bf5973939db595" +SRC_URI[sha256sum] = "f1cc268a15ade58d9a0c04569fe6613e19b8b0345b64453064e2c3c6d79051af" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet_0.4.13.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet_0.4.14.bb index c14976ed3..c14976ed3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet_0.4.13.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet_0.4.14.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools.inc new file mode 100644 index 000000000..91cc62f40 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "Google gRPC tools" +HOMEPAGE = "http://www.grpc.io/" +SECTION = "devel/python" + +DEPENDS_append = "${PYTHON_PN}-grpcio" +RDEPENDS_${PN} = "${PYTHON_PN}-grpcio" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" + +inherit pypi + +SRC_URI[md5sum] = "b2fabfb54c7824c1e49a02de2aa6628e" +SRC_URI[sha256sum] = "4ce5aa660d7884f23aac1eafa93b97a4c3e2b512edff871e91fdb6ee86ebd5ea" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb new file mode 100644 index 000000000..5b19bebf1 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-grpcio-tools.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools_1.8.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools_1.8.4.bb deleted file mode 100644 index 45e0cc1b1..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools_1.8.4.bb +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION = "Google gRPC tools" -HOMEPAGE = "http://www.grpc.io/" -SECTION = "devel/python" - -DEPENDS = "python-grpcio" -RDEPENDS_${PN} = "python-grpcio" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" - -inherit pypi setuptools - -SRC_URI[md5sum] = "e04e65afe60410cf178ff2698f052a7c" -SRC_URI[sha256sum] = "edc84c09039d3a01012ccd97450abd06ee6b980710f6d9f191b50deb6774a75c" - -# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) -BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio.inc new file mode 100644 index 000000000..23d25f7aa --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio.inc @@ -0,0 +1,25 @@ +DESCRIPTION = "Google gRPC" +HOMEPAGE = "http://www.grpc.io/" +SECTION = "devel/python" + +DEPENDS_append = "${PYTHON_PN}-protobuf" + +FILESEXTRAPATHS_prepend := "${THISDIR}/python-grpcio:" +SRC_URI_append_class-target = " file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch " + +RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-six \ +" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" + +inherit pypi + +SRC_URI[md5sum] = "0987ae2e47b5103de3cacc437874a3c5" +SRC_URI[sha256sum] = "4bf23666e763ca7ff6010465864e9f088f4ac7ecc1e11abd6f85b250e66b2c05" + +CLEANBROKEN = "1" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch index 0c1d964a6..996597b14 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch @@ -18,16 +18,25 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: grpcio-1.8.4/setup.py +Index: grpcio-1.14.1/setup.py =================================================================== ---- grpcio-1.8.4.orig/setup.py -+++ grpcio-1.8.4/setup.py -@@ -115,7 +115,7 @@ if EXTRA_ENV_COMPILE_ARGS is None: +--- grpcio-1.14.1.orig/setup.py ++++ grpcio-1.14.1/setup.py +@@ -123,7 +123,7 @@ ENABLE_DOCUMENTATION_BUILD = os.environ. + EXTRA_ENV_COMPILE_ARGS = os.environ.get('GRPC_PYTHON_CFLAGS', None) + EXTRA_ENV_LINK_ARGS = os.environ.get('GRPC_PYTHON_LDFLAGS', None) + if EXTRA_ENV_COMPILE_ARGS is None: +- EXTRA_ENV_COMPILE_ARGS = ' -std=c++11' ++ EXTRA_ENV_COMPILE_ARGS = "" + if 'win32' in sys.platform and sys.version_info < (3, 5): + EXTRA_ENV_COMPILE_ARGS += ' -D_hypot=hypot' + # We use define flags here and don't directly add to DEFINE_MACROS below to +@@ -135,7 +135,7 @@ if EXTRA_ENV_COMPILE_ARGS is None: else: EXTRA_ENV_COMPILE_ARGS += ' -D_ftime=_ftime64 -D_timeb=__timeb64' elif "linux" in sys.platform: -- EXTRA_ENV_COMPILE_ARGS += ' -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions' +- EXTRA_ENV_COMPILE_ARGS += ' -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions' + EXTRA_ENV_COMPILE_ARGS += ' -fvisibility=hidden -fno-wrapv -fno-exceptions' elif "darwin" in sys.platform: EXTRA_ENV_COMPILE_ARGS += ' -fvisibility=hidden -fno-wrapv -fno-exceptions' - + EXTRA_ENV_COMPILE_ARGS += ' -DPB_FIELD_16BIT' diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb new file mode 100644 index 000000000..820bea44b --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb @@ -0,0 +1,6 @@ +inherit setuptools +require python-grpcio.inc + +RDEPENDS_${PN} += " python-enum34 \ + python-futures \ +" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio_1.8.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio_1.8.4.bb deleted file mode 100644 index bec9d846b..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio_1.8.4.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "Google gRPC" -HOMEPAGE = "http://www.grpc.io/" -SECTION = "devel/python" - -DEPENDS = "python-protobuf" - -SRC_URI_append_class-target = " file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch " - -RDEPENDS_${PN} = "python-enum34 \ - python-futures \ - python-protobuf \ - python-setuptools \ - python-six \ -" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" - -inherit pypi setuptools - -SRC_URI[md5sum] = "7860f7c61de3890323670b7b1ff63e56" -SRC_URI[sha256sum] = "88d87aab9c7889b3ab29dd74aac1a5493ed78b9bf5afba1c069c9dd5531f951d" - -# For usage in other recipes when compiling protobuf files (e.g. by grpcio-tools) -BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc index 2b5b0a0ff..78e3ee830 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc @@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/python-hyper/hyperlink" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3893d4ed05dcc823f8ed685a9ea19bcb" -SRC_URI[md5sum] = "eaccb9845b559817e838846669cbc68a" -SRC_URI[sha256sum] = "bc4ffdbde9bdad204d507bd8f554f16bba82dd356f6130cb16f41422909c33bc" +SRC_URI[sha256sum] = "f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306" +SRC_URI[md5sum] = "f41a96779b324d824864696a94b24823" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_17.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_18.0.0.bb index 59a9a5c8d..59a9a5c8d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_17.3.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_18.0.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-idna.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-idna.inc index b1d0d1895..519812ddc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-idna.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-idna.inc @@ -1,13 +1,18 @@ SUMMARY = "Internationalised Domain Names in Applications" HOMEPAGE = "https://github.com/kjd/idna" LICENSE = "BSD-3-Clause & Python-2.0 & Unicode" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=c9ba5acd829579492fd5eb306c7a0565" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=782775b32f96098512e283fb5d4546cd" -SRC_URI[md5sum] = "c706e2790b016bd0ed4edd2d4ba4d147" -SRC_URI[sha256sum] = "2c6a5de3089009e3da7c5dde64a141dbc8551d5b7f6cf4ed7c2568d0cc520a8f" +SRC_URI[md5sum] = "0e5bb69018ddef1b9d95f681182be82c" +SRC_URI[sha256sum] = "684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16" RDEPENDS_${PN}_class-target = "\ ${PYTHON_PN}-codecs \ " +# Remove bundled egg-info +do_compile_prepend() { + rm -rf ${S}/idna.egg-info +} + BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-idna_2.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-idna_2.7.bb index 2dcf72a29..2dcf72a29 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-idna_2.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-idna_2.7.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-inflection.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-inflection.inc new file mode 100644 index 000000000..556b26820 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-inflection.inc @@ -0,0 +1,14 @@ +SUMMARY = "A port of Ruby on Rails' inflection to Python." +HOMEPAGE = "https://pypi.org/project/inflection" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=de7833d9c2ce0052a4073928c76a13d7" + +SRC_URI[md5sum] = "7941165e9f148e0520023941c0886b40" +SRC_URI[sha256sum] = "18ea7fb7a7d152853386523def08736aa8c32636b047ade55f7578c4edeb16ca" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-pytest" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-inflection_0.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-inflection_0.3.1.bb new file mode 100644 index 000000000..4a9d49791 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-inflection_0.3.1.bb @@ -0,0 +1,4 @@ +inherit setuptools +require python-inflection.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-codecs" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-intervals.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-intervals.inc new file mode 100644 index 000000000..1ecca3524 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-intervals.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Interval arithmetic for Python" +HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals" +SECTION = "devel/python" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" + +PYPI_PACKAGE := "python-intervals" + +inherit pypi + +SRC_URI[md5sum] = "a35dd44269fdb134bf19cfd80cb2c120" +SRC_URI[sha256sum] = "a8a15b7c2fadb8465310f44aa96e384828b35a29de38ac74738cd665924cb8ac" + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-intervals_1.5.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-intervals_1.5.4.bb new file mode 100644 index 000000000..3c2a33bbc --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-intervals_1.5.4.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-intervals.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-ipaddress_1.0.19.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-ipaddress_1.0.22.bb index 9c50b4670..66de8b637 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-ipaddress_1.0.19.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-ipaddress_1.0.22.bb @@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a" DEPENDS += "python-pip" -SRC_URI[md5sum] = "d0687efaf93a32476d81e90ba0609c57" -SRC_URI[sha256sum] = "200d8686011d470b5e4de207d803445deee427455cd0cb7c982b68cf82524f81" +SRC_URI[md5sum] = "74c1ce3109f30eaa1ab3dd342e7b76d4" +SRC_URI[sha256sum] = "b146c751ea45cad6188dd6cf2d9b757f6f4f8d6ffb96a023e6f2e26eea02a72c" inherit pypi setuptools diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-isort.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-isort.inc index 6d13e5f7c..359b18012 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-isort.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-isort.inc @@ -13,3 +13,5 @@ RDEPENDS_${PN} += "\ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-shell \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb new file mode 100644 index 000000000..386da2daa --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "A backport of linecache to older supported Pythons" +HOMEPAGE = "https://github.com/testing-cabal/linecache2" +LICENSE = "Python-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=19;endline=19;md5=368ddc8588431c180ae7c33f4fb57519" + +DEPENDS = "${PYTHON_PN}-pbr-native" + +SRC_URI[md5sum] = "7b25d0289ec36bff1f9e63c4329ce65c" +SRC_URI[sha256sum] = "4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c" + +inherit pypi setuptools + +CLEAN_BROKEN = "1" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-lxml.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-lxml.inc index 3f3a1e27c..7f355a7bc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-lxml.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-lxml.inc @@ -18,8 +18,8 @@ LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \ DEPENDS += "libxml2 libxslt" -SRC_URI[md5sum] = "c266d9062e23b08f66426979a2b36f51" -SRC_URI[sha256sum] = "e2629cdbcad82b83922a3488937632a4983ecc0fed3e5cfbf430d069382eeb9b" +SRC_URI[md5sum] = "31239400ca4e130b69993bb3c14204b3" +SRC_URI[sha256sum] = "e2afbe403090f5893e254958d02875e0732975e73c4c0cdd33c1f009a61963ca" DISTUTILS_BUILD_ARGS += " \ --with-xslt-config='pkg-config libxslt' \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-lxml_4.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-lxml_4.2.4.bb index 81ccb12d8..81ccb12d8 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-lxml_4.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-lxml_4.2.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto.inc index 272c76ca1..a36ab8a7f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto_0.26.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto.inc @@ -1,35 +1,39 @@ SUMMARY = "A Python crypto and SSL toolkit" HOMEPAGE = "https://gitlab.com/m2crypto/m2crypto" -LICENSE = "BSD" +LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e" +FILESEXTRAPATHS_prepend := "${THISDIR}/python-m2crypto:" + SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch \ file://cross-compile-platform.patch \ file://m2crypto-0.26.4-gcc_macros.patch \ " -SRC_URI[md5sum] = "5c74c25ba8b45122318a165a3a2059ad" -SRC_URI[sha256sum] = "5cae7acc0b34821f8c0ddf6665e482893fe1f198ad6379e61ffa9d8e65f5c199" +SRC_URI[md5sum] = "7fce3cbf85eb84a669682892b935746b" +SRC_URI[sha256sum] = "a1b2751cdadc6afac3df8a5799676b7b7c67a6ad144bb62d38563062e7cd3fc6" PYPI_PACKAGE = "M2Crypto" -inherit pypi setuptools siteinfo +inherit pypi siteinfo DEPENDS += "openssl swig-native" RDEPENDS_${PN} += "python-typing" -DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST} -I${STAGING_INCDIR}" -DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}" +DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} -I${STAGING_INCDIR}" +DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}" SWIG_FEATURES_x86 = "-D__i386__" +SWIG_FEATURES_x32 = "-D__ILP32__" SWIG_FEATURES ?= "-D__${HOST_ARCH}__" export SWIG_FEATURES # Get around a problem with swig, but only if the # multilib header file exists. # -do_compile_prepend() { - ${CPP} -dM - < /dev/null | grep -v __STDC__ | grep -v __REGISTER_PREFIX__ | grep -v __GNUC__ \ - | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h +do_configure_prepend() { + ${CPP} -dM - < /dev/null | grep -v '__\(STDC\|REGISTER_PREFIX\|GNUC\|STDC_HOSTED\)__' \ + | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h + if [ "${SITEINFO_BITS}" = "64" ];then bit="64" else diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch index c71b16fec..b339d93f7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/0001-setup.py-link-in-sysroot-not-in-host-directories.patch @@ -10,30 +10,26 @@ Upstream-status: Unknown setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -diff --git a/setup.py b/setup.py -index 3407c82..15ed7cd 100644 ---- a/setup.py -+++ b/setup.py -@@ -127,7 +127,7 @@ class _M2CryptoBuildExt(build_ext.build_ext): - self.openssl = os.path.join(self.openssl, 'OpenSSL') - else: - self.libraries = ['ssl', 'crypto'] -- self.openssl = '/usr' -+ self.openssl = os.environ.get( "STAGING_DIR" ) +Index: M2Crypto-0.30.1/setup.py +=================================================================== +--- M2Crypto-0.30.1.orig/setup.py ++++ M2Crypto-0.30.1/setup.py +@@ -130,6 +130,7 @@ class _M2CryptoBuildExt(build_ext.build_ + self.set_undefined_options('build', ('bundledlls', 'bundledlls')) - def finalize_options(self): - '''Overloaded build_ext implementation to append custom openssl -@@ -143,8 +143,8 @@ class _M2CryptoBuildExt(build_ext.build_ext): - if _openssl and os.path.isdir(_openssl): - self.openssl = _openssl + self.libraries = ['ssl', 'crypto'] ++ self.openssl = os.environ.get( "STAGING_DIR" ) + if sys.platform == 'win32': + self.libraries = ['ssleay32', 'libeay32'] + if self.openssl and openssl_version(self.openssl, 0x10100000, True): +@@ -150,8 +151,8 @@ class _M2CryptoBuildExt(build_ext.build_ -- self.include_dirs.append(os.path.join(self.openssl, 'include')) -- openssl_library_dir = os.path.join(self.openssl, 'lib') -+ self.include_dirs.append(os.environ.get( "STAGING_INCDIR" )) -+ openssl_library_dir = os.environ.get( "STAGING_LIBDIR" ) + if self.openssl is not None: + log.debug('self.openssl = %s', self.openssl) +- openssl_library_dir = os.path.join(self.openssl, 'lib') +- openssl_include_dir = os.path.join(self.openssl, 'include') ++ openssl_library_dir = os.environ.get( "STAGING_LIBDIR" ) ++ openssl_include_dir = os.environ.get( "STAGING_INCDIR" ) - if platform.system() == "Linux": - if _multiarch: # on Fedora/RHEL it is an empty string --- -2.7.4 - + self.library_dirs.append(openssl_library_dir) + self.include_dirs.append(openssl_include_dir) diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch index c6654e540..4b64f4613 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/cross-compile-platform.patch @@ -4,27 +4,30 @@ since it pokes at the system for getting architecture values Upstream-Status: Inappropriate Signed-off-by: Khem Raj <raj.khem@gmail.com> -Index: M2Crypto-0.26.0/setup.py +Index: M2Crypto-0.30.1/setup.py =================================================================== ---- M2Crypto-0.26.0.orig/setup.py -+++ M2Crypto-0.26.0/setup.py -@@ -141,19 +141,6 @@ class _M2CryptoBuildExt(build_ext.build_ - self.include_dirs.append( - os.path.join(self.openssl, 'include', 'openssl')) +--- M2Crypto-0.30.1.orig/setup.py ++++ M2Crypto-0.30.1/setup.py +@@ -160,22 +160,6 @@ class _M2CryptoBuildExt(build_ext.build_ + log.debug('self.include_dirs = %s', self.include_dirs) + log.debug('self.library_dirs = %s', self.library_dirs) +- if platform.system() == "Linux": - # For RedHat-based distros, the '-D__{arch}__' option for - # Swig needs to be normalized, particularly on i386. - mach = platform.machine().lower() - if mach in ('i386', 'i486', 'i586', 'i686'): - arch = '__i386__' -- elif mach in ('ppc64', 'powerpc64'): +- elif mach in ('ppc64', 'powerpc64', 'ppc64le', 'ppc64el'): - arch = '__powerpc64__' - elif mach in ('ppc', 'powerpc'): - arch = '__powerpc__' - else: - arch = '__%s__' % mach - self.swig_opts.append('-D%s' % arch) +- if mach in ('ppc64le', 'ppc64el'): +- self.swig_opts.append('-D_CALL_ELF=2') - self.swig_opts.extend(['-I%s' % i for i in self.include_dirs]) - self.swig_opts.append('-includeall') - self.swig_opts.append('-modern') + + # Some Linux distributor has added the following line in diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch index 2d738cc94..7f6dd29f8 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto/m2crypto-0.26.4-gcc_macros.patch @@ -1,16 +1,22 @@ Imported from Fedora ---- M2Crypto/SWIG/_m2crypto.i 2017-09-26 11:26:33.000000000 +0200 -+++ M2Crypto-0.26.4/SWIG/_m2crypto.i 2017-09-26 21:04:14.080330741 +0200 -@@ -7,6 +7,7 @@ - * Copyright (c) 2009-2010 Heikki Toivonen. All rights reserved. +Index: M2Crypto-0.30.1/SWIG/_m2crypto.i +=================================================================== +--- M2Crypto-0.30.1.orig/SWIG/_m2crypto.i ++++ M2Crypto-0.30.1/SWIG/_m2crypto.i +@@ -8,6 +8,11 @@ * */ -+%import "gcc_macros.h" ++%import "gcc_macros.h" ++ ++%ignore WCHAR_MAX; ++%ignore WCHAR_MIN; ++ %module(threads=1) m2crypto /* We really don't need threadblock (PyGILState_Ensure() etc.) anywhere. -@@ -15,11 +16,6 @@ + Disable threadallow as well, only enable it for operations likely to +@@ -15,11 +20,6 @@ %nothreadblock; %nothreadallow; @@ -20,5 +26,10 @@ Imported from Fedora -#endif - %{ - #if __GNUC__ < 5 - #pragma GCC diagnostic ignored "-Wunused-label" + #ifdef _WIN32 + #define _WINSOCKAPI_ +@@ -95,4 +95,3 @@ static PyObject *x509_store_verify_cb_fu + %constant int encrypt = 1; + %constant int decrypt = 0; + #endif +- diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto_0.30.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto_0.30.1.bb new file mode 100644 index 000000000..c612fcdc5 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto_0.30.1.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-m2crypto.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb index a86d15800..6b63cd780 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb @@ -16,3 +16,5 @@ RDEPENDS_${PN} += " \ python-prettytable \ python-cmd2 \ python-pyparsing" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-mock_2.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-mock_2.0.0.bb index 840c36efe..210502ff5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-mock_2.0.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-mock_2.0.0.bb @@ -1,5 +1,5 @@ SUMMARY = "A Python Mocking and Patching Library for Testing" -LICENSE = "Apache-2.0" +LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" SRC_URI[md5sum] = "0febfafd14330c9dcaa40de2d82d40ad" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-monotonic_1.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-monotonic_1.5.bb index 4c5d8aedc..01e7b1ca0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-monotonic_1.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-monotonic_1.5.bb @@ -2,8 +2,8 @@ SUMMARY = "An implementation of time.monotonic() for Python 2.0 through 3.2" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" -SRC_URI[md5sum] = "29302cd6b1013b3ab0d1ed78e20d22f2" -SRC_URI[sha256sum] = "a02611d5b518cd4051bf22d21bd0ae55b3a03f2d2993a19b6c90d9d168691f84" +SRC_URI[md5sum] = "9f81cb0e5966479754453dea2b6822f4" +SRC_URI[sha256sum] = "23953d55076df038541e648a53676fb24980f7a1be290cdda21300b3bc21dfb0" inherit pypi setuptools diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc index d74302398..91235b961 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc @@ -3,8 +3,8 @@ HOMEPAGE = "http://python-requests.org" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=ce22c0cd986d2de3f7073cd6b5523ae0" -SRC_URI[md5sum] = "a0d349cf9530e331697a6e5ab1f40de6" -SRC_URI[sha256sum] = "fba4d4798dcac2965874f24afb6631b4326baa4bd02505744d34f690c354856a" +SRC_URI[md5sum] = "b0fc8ea38f87d2c1ab1ed79a95c078f9" +SRC_URI[sha256sum] = "d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210" PYPI_PACKAGE = "ndg_httpsclient" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.4.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.4.4.bb deleted file mode 100644 index ca0eb3263..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.4.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-ndg-httpsclient.inc -inherit pypi setuptools diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb new file mode 100644 index 000000000..9cd881a3e --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb @@ -0,0 +1,6 @@ +require python-ndg-httpsclient.inc +inherit pypi setuptools update-alternatives + +ALTERNATIVE_${PN} = "ndg_httpclient" +ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient" +ALTERNATIVE_PRIORITY = "20" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pandas.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pandas.inc index b9f84a614..d6ca24317 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pandas.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pandas.inc @@ -6,13 +6,13 @@ HOMEPAGE = "http://pandas.pydata.org/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=ee0470f2de336c370a71c2f8d5e81c11" -SRC_URI[md5sum] = "c7a2757b607748255f3270221ac61d59" -SRC_URI[sha256sum] = "44a94091dd71f05922eec661638ec1a35f26d573c119aa2fad964f10a2880e6c" +SRC_URI[md5sum] = "7b597c7f989652e0c9af5f09a157e3ae" +SRC_URI[sha256sum] = "5b24ca47acf69222e82530e89111dd9d14f9b970ab2cd3a1c2c78f0c4fbba4f4" inherit pypi DEPENDS += " \ - ${PYTHON_PN}-numpy-native \ + ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ " RDEPENDS_${PN} += " \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pandas_0.22.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pandas_0.23.4.bb index b3bfab969..b3bfab969 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pandas_0.22.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pandas_0.23.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type.inc new file mode 100644 index 000000000..4549ec98b --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type.inc @@ -0,0 +1,12 @@ +SUMMARY = "Simplifies building parse types based on the parse module" +HOMEPAGE = "https://github.com/jenisys/parse_type" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" + +SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" +SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" + +PYPI_PACKAGE = "parse_type" +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-parse" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb index b516c5912..8e10e801c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb @@ -1,11 +1,2 @@ -SUMMARY = "Simplifies building parse types based on the parse module" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" -PYPI_PACKAGE = "parse_type" - -SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" -SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" - -RDEPENDS_${PN} += "python-parse" - -inherit pypi setuptools +inherit setuptools +require python-parse-type.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc new file mode 100644 index 000000000..fa55a93c5 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc @@ -0,0 +1,14 @@ +SUMMARY = "Parse strings using a specification based on the Python format() syntax" +HOMEPAGE = "https://github.com/r1chardj0n3s/parse" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://parse.py;beginline=1273;endline=1291;md5=5147afdd9b3615290ad8733f0137a1a1" + +SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b" +SRC_URI[sha256sum] = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939" + +inherit pypi + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-logging \ + " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-parse_1.8.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-parse_1.8.2.bb deleted file mode 100644 index 8e16372c5..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-parse_1.8.2.bb +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "Parse strings using a specification based on the Python format() syntax" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://parse.py;beginline=1191;endline=1209;md5=5147afdd9b3615290ad8733f0137a1a1" - -SRC_URI[md5sum] = "42002338551bdfa0f01bbe4e679a17dd" -SRC_URI[sha256sum] = "8048dde3f5ca07ad7ac7350460952d83b63eaacecdac1b37f45fd74870d849d2" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-logging \ - " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-parse_1.8.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-parse_1.8.4.bb new file mode 100644 index 000000000..d31ccc72a --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-parse_1.8.4.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-parse.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb deleted file mode 100644 index bdff867f3..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some useful and sensible default behaviors into your setuptools run" -HOMEPAGE = "https://pypi.python.org/pypi/pbr" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" - -SRC_URI[md5sum] = "4e82c2e07af544c56a5b71c801525b00" -SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1" - -inherit pypi setuptools - -RDEPENDS_${PN}_class-target += " \ - python-pip \ - " - -BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb new file mode 100644 index 000000000..a4b56cdbd --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb @@ -0,0 +1,3 @@ +inherit setuptools +# The inc file is in oe-core +require recipes-devtools/python/python-pbr.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pep8_1.7.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pep8_1.7.1.bb index b12d72d38..54ce9781a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pep8_1.7.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pep8_1.7.1.bb @@ -12,3 +12,5 @@ RDEPENDS_${PN} += " \ python-prettytable \ python-cmd2 \ python-pyparsing" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-periphery.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-periphery.inc new file mode 100644 index 000000000..539c3579c --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-periphery.inc @@ -0,0 +1,7 @@ +DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux." +HOMEPAGE = "http://pythonhosted.org/python-periphery/" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=063846af82b555d48822cf43dc6db6af" + +PYPI_PACKAGE = "python-periphery"
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-periphery_1.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-periphery_1.1.1.bb new file mode 100644 index 000000000..6ae7fed81 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-periphery_1.1.1.bb @@ -0,0 +1,4 @@ +inherit pypi setuptools +require python-periphery.inc + +SRC_URI[sha256sum] = "fe8f351934edce72cd919b4eb070878ebff551db5e21aea61e0f446101f0a79f"
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect.inc index fa8ad0119..efeab8315 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect.inc @@ -4,8 +4,8 @@ SECTION = "devel/python" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b" -SRC_URI[md5sum] = "913fc0a68a915cdf6ad4250493c94cf7" -SRC_URI[sha256sum] = "9f8eb3277716a01faafaba553d629d3d60a1a624c7cf45daa600d2148c30020c" +SRC_URI[md5sum] = "d4f3372965a996238d57d19b95d2e03a" +SRC_URI[sha256sum] = "2a8e88259839571d1251d278476f3eec5db26deb73a70be5ed5dc5435e418aba" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect_4.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect_4.6.0.bb index 1c46b47a2..1c46b47a2 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect_4.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect_4.6.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pint.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pint.inc new file mode 100644 index 000000000..53f778393 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pint.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Interval arithmetic for Python" +HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals" +SECTION = "devel/python" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" + +PYPI_PACKAGE := "Pint" + +inherit pypi + +SRC_URI[md5sum] = "e1f80f3f8fc4e61f68ad3912db26b3a8" +SRC_URI[sha256sum] = "afcf31443a478c32bbac4b00337ee9026a13d0e2ac83d30c79151462513bb0d4" + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pint_0.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pint_0.8.1.bb new file mode 100644 index 000000000..480f08872 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pint_0.8.1.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-pint.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pip_9.0.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pip_18.0.bb index e3fc6ba65..6b943b008 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pip_9.0.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pip_18.0.bb @@ -1,10 +1,10 @@ SUMMARY = "PIP is a tool for installing and managing Python packages" HOMEPAGE = "https://pip.pypa.io/" LICENSE = "MIT & LGPL-2.1" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=25fba45109565f87de20bae85bc39452" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=593c6cd9d639307226978cbcae61ad4b" -SRC_URI[md5sum] = "b15b33f9aad61f88d0f8c866d16c55d8" -SRC_URI[sha256sum] = "7bf48f9a693be1d58f49f7af7e0ae9fe29fd671cde8a55e6edca3581c4ef5796" +SRC_URI[md5sum] = "52f75ceb21e96c258f289859a2996b60" +SRC_URI[sha256sum] = "a0e11645ee37c90b40c46d607070c4fd583e2cd46231b1c06e389c5e814eed76" inherit pypi setuptools diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb index 6f4390e24..406555ac3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb @@ -23,3 +23,5 @@ do_install_append() { UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PrettyTable/" UPSTREAM_CHECK_REGEX = "/PrettyTable/(?P<pver>(\d+[\.\-_]*)+)" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-progress.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-progress.inc index 297c0d373..9f00615c4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-progress.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-progress.inc @@ -3,8 +3,8 @@ HOMEPAGE = "http://github.com/verigak/progress/" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=aef5566ac4fede9815eccf124c281317" -SRC_URI[md5sum] = "f65ccfcc2339d522b2dd5801aaa40dc7" -SRC_URI[sha256sum] = "c88d89ee3bd06716a0b8b5504d9c3bcb3c1c0ab98f96dc7f1dc5f56812a4f60a" +SRC_URI[md5sum] = "057981e2f09029288f5255b1ea3ab64d" +SRC_URI[sha256sum] = "5e2f9da88ed8236a76fffbee3ceefd259589cf42dfbc2cec2877102189fae58a" RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-datetime \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-progress_1.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-progress_1.4.bb index 80608627a..80608627a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-progress_1.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-progress_1.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit.inc index cc409a4eb..1a4bd35c3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit.inc @@ -2,8 +2,8 @@ SUMMARY = "Library for building powerful interactive command lines in Python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" -SRC_URI[md5sum] = "8fe70295006dbc8afedd43e5eba99032" -SRC_URI[sha256sum] = "858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917" +SRC_URI[md5sum] = "8db8b8e40e91bc6dce133d8d5727a717" +SRC_URI[sha256sum] = "ff58ce8bb82c11c43416dd3eec7701dcbe8c576e2d7649f1d2b9d21a2fd93808" PYPI_PACKAGE = "prompt_toolkit" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.15.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit_2.0.4.bb index 527c905a8..527c905a8 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.15.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit_2.0.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf.inc index b84983d5b..b617904d2 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf.inc @@ -7,8 +7,14 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec inherit pypi -SRC_URI[md5sum] = "393a53483224cb338df5c643646c0300" -SRC_URI[sha256sum] = "09879a295fd7234e523b62066223b128c5a8a88f682e3aff62fb115e4a0d8be0" +SRC_URI[md5sum] = "e2daef80e70249aa1f05363670c6b3f8" +SRC_URI[sha256sum] = "1489b376b0f364bcc6f89519718c057eb191d7ad6f1b395ffd93d1aa45587811" + +# http://errors.yoctoproject.org/Errors/Details/184715/ +# Can't find required file: ../src/google/protobuf/descriptor.proto +CLEANBROKEN = "1" + +UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/" RDEPENDS_${PN} += " \ ${PYTHON_PN}-datetime \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf_3.5.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf_3.6.1.bb index f04fc489f..f04fc489f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf_3.5.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf_3.6.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-psutil.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-psutil.inc index 5d8e61f4b..67ae118bc 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-psutil.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-psutil.inc @@ -2,8 +2,8 @@ SUMMARY = "A cross-platform process and system utilities module for Python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=0f02e99f7f3c9a7fe8ecfc5d44c2be62" -SRC_URI[md5sum] = "3b291833dbea631db9d271aa602a169a" -SRC_URI[sha256sum] = "e2467e9312c2fa191687b89ff4bc2ad8843be4af6fb4dc95a7cc5f7d7a327b18" +SRC_URI[md5sum] = "200e073cdd56cc7a9ba9a06088569200" +SRC_URI[sha256sum] = "686e5a35fe4c0acc25f3466c32e716f2d498aaae7b7edc03e2305b682226bcf6" PACKAGES =+ "${PN}-tests" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-psutil_5.4.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-psutil_5.4.6.bb index 9aabfb206..9aabfb206 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-psutil_5.4.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-psutil_5.4.6.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess.inc index 43f2d094a..49cc5a432 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess.inc @@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490" SRCNAME = "ptyprocess" -SRC_URI[md5sum] = "d3b8febae1b8c53b054bd818d0bb8665" -SRC_URI[sha256sum] = "e64193f0047ad603b71f202332ab5527c5e52aa7c8b609704fc28c0dc20c4365" +SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f" +SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess_0.5.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess_0.6.0.bb index 7ca458771..7ca458771 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess_0.5.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess_0.6.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-py.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-py.inc index c7d672737..8144523c2 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-py.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-py.inc @@ -3,7 +3,8 @@ HOMEPAGE = "http://py.readthedocs.io/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9" -SRC_URI[md5sum] = "279ca69c632069e1b71e11b14641ca28" -SRC_URI[sha256sum] = "ca18943e28235417756316bfada6cd96b23ce60dd532642690dcfdaba988a76d" +SRC_URI[md5sum] = "5ccd0cd5373c55171cf9fd61b9f19a1b" +SRC_URI[sha256sum] = "06a30435d058473046be836d3fc4f27167fd84c45b99704f2fb5509ef61f9af1" +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-py_1.5.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-py_1.6.0.bb index 5ad2c1976..5ad2c1976 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-py_1.5.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-py_1.6.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules.inc index 9fa54cfe0..87dbd1d3c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules.inc @@ -4,10 +4,10 @@ DESCRIPTION = "A collection of ASN.1 modules expressed in form of pyasn1\ data structures (X.509, PKCS etc.)." HOMEPAGE = "https://github.com/etingof/pyasn1-modules" LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=280606d9c18f200e03e0c247ac61475a" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=815ac3f9ca693006349094b358ab3155" -SRC_URI[md5sum] = "ff938698590f314ff9b3d5c48737d899" -SRC_URI[sha256sum] = "af00ea8f2022b6287dc375b2c70f31ab5af83989fc6fe9eacd4976ce26cd7ccc" +SRC_URI[md5sum] = "65ce1ea1021679bffe96065baab232de" +SRC_URI[sha256sum] = "a0cf3e1842e7c60fde97cb22d275eb6f9524f5c5250489e292529de841417547" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules_0.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules_0.2.2.bb index eb7888408..eb7888408 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules_0.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules_0.2.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1.inc index f3c32e08a..ab34d2508 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1.inc @@ -1,10 +1,10 @@ SUMMARY = "Python library implementing ASN.1 types." HOMEPAGE = "http://pyasn1.sourceforge.net/" LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=280606d9c18f200e03e0c247ac61475a" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=815ac3f9ca693006349094b358ab3155" -SRC_URI[md5sum] = "cb5883ddc6a9f405600429f37cf0759c" -SRC_URI[sha256sum] = "d258b0a71994f7770599835249cece1caef3c70def868c4915e6e5ca49b67d15" +SRC_URI[md5sum] = "0d182b71e1f72fe147d7957bc90be7f2" +SRC_URI[sha256sum] = "f58f2a3d12fd754aa123e9fa74fb7345333000a035f3921dbdaa08597aa53137" RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-codecs \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1_0.4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1_0.4.4.bb index a13c74dda..a13c74dda 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1_0.4.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1_0.4.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11.inc index e441dc6de..1722875ab 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11.inc @@ -3,5 +3,5 @@ HOMEPAGE = "https://github.com/wjakob/pybind11" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62" -SRC_URI[md5sum] = "2c651a75a20dabbaa18a8b023ffd54c0" -SRC_URI[sha256sum] = "cbb036a8aad59a199ad672f98813f85c672642c6a67b4ff3868b1d6abc5fae3e" +SRC_URI[md5sum] = "5b9611041e4ea66b2b919239e3bacd65" +SRC_URI[sha256sum] = "87ff3ae777d9326349af5272974581270b2a0909b2392dc0cc57eb28ce23bcc3" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11_2.2.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11_2.2.3.bb index e56743002..e56743002 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11_2.2.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11_2.2.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle.inc new file mode 100644 index 000000000..c0e46b7ea --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle.inc @@ -0,0 +1,12 @@ +SUMMARY = "Python style guide checker (formly called pep8)" +HOMEPAGE = "https://pypi.org/project/pycodestyle" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=01831ddbaf398471da3cc87f5037e822" + +SRC_URI[md5sum] = "85bbebd2c90d2f833c1db467d4d0e9a3" +SRC_URI[sha256sum] = "cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a" + +inherit pypi + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb new file mode 100644 index 000000000..7c736e76f --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb @@ -0,0 +1,4 @@ +inherit setuptools +require python-pycodestyle.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-lang" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyflakes_1.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflakes_1.6.0.bb index 244485965..a16a880db 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyflakes_1.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflakes_1.6.0.bb @@ -12,3 +12,5 @@ RDEPENDS_${PN} += " \ ${PYTHON_PN}-prettytable \ ${PYTHON_PN}-cmd2 \ ${PYTHON_PN}-pyparsing" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch new file mode 100644 index 000000000..09c4394c2 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch @@ -0,0 +1,69 @@ +From 2ef124e235a47dd4742813cf80e11a89cf4f02f8 Mon Sep 17 00:00:00 2001 +From: Andrew Jeffery <andrew@aj.id.au> +Date: Thu, 3 May 2018 12:35:31 +0930 +Subject: [PATCH] ptrace: Abstract over user_regs_struct name, which differs on + ARM32 + +Signed-off-by: Andrew Jeffery <andrew@aj.id.au> +--- + src/ptrace.cc | 6 +++--- + src/ptrace.h | 10 ++++++++-- + 2 files changed, 11 insertions(+), 5 deletions(-) + +diff --git a/src/ptrace.cc b/src/ptrace.cc +index 485f58e4d82e..610fabb3b8e8 100644 +--- a/src/ptrace.cc ++++ b/src/ptrace.cc +@@ -122,8 +122,8 @@ void PtraceInterrupt(pid_t pid) { + DoWait(pid); + } + +-struct user_regs_struct PtraceGetRegs(pid_t pid) { +- struct user_regs_struct regs; ++user_regs_struct PtraceGetRegs(pid_t pid) { ++ user_regs_struct regs; + if (ptrace(PTRACE_GETREGS, pid, 0, ®s)) { + std::ostringstream ss; + ss << "Failed to PTRACE_GETREGS: " << strerror(errno); +@@ -132,7 +132,7 @@ struct user_regs_struct PtraceGetRegs(pid_t pid) { + return regs; + } + +-void PtraceSetRegs(pid_t pid, struct user_regs_struct regs) { ++void PtraceSetRegs(pid_t pid, user_regs_struct regs) { + if (ptrace(PTRACE_SETREGS, pid, 0, ®s)) { + std::ostringstream ss; + ss << "Failed to PTRACE_SETREGS: " << strerror(errno); +diff --git a/src/ptrace.h b/src/ptrace.h +index 7083be1c4dfd..d6af8bf9f83a 100644 +--- a/src/ptrace.h ++++ b/src/ptrace.h +@@ -23,6 +23,12 @@ + + #include "./config.h" + ++#if defined(__arm__) ++typedef struct user_regs user_regs_struct; ++#else ++typedef struct user_regs_struct user_regs_struct; ++#endif ++ + namespace pyflame { + + int DoWait(pid_t pid, int options = 0); +@@ -39,10 +45,10 @@ void PtraceSeize(pid_t pid); + void PtraceInterrupt(pid_t pid); + + // get regs from a process +-struct user_regs_struct PtraceGetRegs(pid_t pid); ++user_regs_struct PtraceGetRegs(pid_t pid); + + // set regs in a process +-void PtraceSetRegs(pid_t pid, struct user_regs_struct regs); ++void PtraceSetRegs(pid_t pid, user_regs_struct regs); + + // poke a long word into an address + void PtracePoke(pid_t pid, unsigned long addr, long data); +-- +2.14.1 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-symbol-Account-for-prelinked-shared-objects.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-symbol-Account-for-prelinked-shared-objects.patch new file mode 100644 index 000000000..3eefc9cb9 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-symbol-Account-for-prelinked-shared-objects.patch @@ -0,0 +1,134 @@ +From 007965d341349679607699d005c4af811b2c419a Mon Sep 17 00:00:00 2001 +From: Andrew Jeffery <andrew@aj.id.au> +Date: Fri, 4 May 2018 11:23:53 +0930 +Subject: [PATCH] symbol: Account for prelinked shared objects + +Some projects, such as those derived from Yocto, tend to prelink their +binaries and libraries to reduce runtime overhead. Currently this trips +up pyflame in its symbol address calculations, and leads to ptrace +failures due to spurious addresses: + + $ pyflame -t python -c "print 'foo'" + Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error + Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error + Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error + Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error + Unexpected ptrace(2) exception: Failed to PTRACE_PEEKDATA (pid 1482, addr 0x9f9b1d70): Input/output error + ... + +Add support for reading a prelinked base p_vaddr out of the ELF and +adjust the PyAddresses values accordingly. + +Signed-off-by: Andrew Jeffery <andrew@aj.id.au> +--- + src/symbol.cc | 15 +++++++++++++++ + src/symbol.h | 29 ++++++++++++++++++++++++++++- + 2 files changed, 43 insertions(+), 1 deletion(-) + +diff --git a/src/symbol.cc b/src/symbol.cc +index 125174efeeb5..39c3e8132dd1 100644 +--- a/src/symbol.cc ++++ b/src/symbol.cc +@@ -166,6 +166,17 @@ PyABI ELF::WalkTable(int sym, int str, PyAddresses *addrs) { + return abi; + } + ++addr_t ELF::GetBaseAddress() { ++ int32_t phnum = hdr()->e_phnum; ++ int32_t i; ++ for (i = 0; i < phnum && phdr(i)->p_type != PT_LOAD; i++) { ++ } ++ if (i == phnum) { ++ throw FatalException("Failed to find PT_LOAD entry in program headers"); ++ } ++ return phdr(i)->p_vaddr; ++} ++ + PyAddresses ELF::GetAddresses(PyABI *abi) { + PyAddresses addrs; + PyABI detected_abi = WalkTable(dynsym_, dynstr_, &addrs); +@@ -176,6 +187,10 @@ PyAddresses ELF::GetAddresses(PyABI *abi) { + if (abi != nullptr) { + *abi = detected_abi; + } ++ // Handle prelinked shared objects ++ if (hdr()->e_type == ET_DYN) { ++ return addrs - GetBaseAddress(); ++ } + return addrs; + } + } // namespace pyflame +diff --git a/src/symbol.h b/src/symbol.h +index 124853bcc1c1..bb92b9a2604b 100644 +--- a/src/symbol.h ++++ b/src/symbol.h +@@ -28,15 +28,19 @@ + + #if USE_ELF64 + #define ehdr_t Elf64_Ehdr ++#define phdr_t Elf64_Phdr + #define shdr_t Elf64_Shdr + #define dyn_t Elf64_Dyn + #define sym_t Elf64_Sym ++#define addr_t Elf64_Addr + #define ARCH_ELFCLASS ELFCLASS64 + #else + #define ehdr_t Elf32_Ehdr ++#define phdr_t Elf32_Phdr + #define shdr_t Elf32_Shdr + #define dyn_t Elf32_Dyn + #define sym_t Elf32_Sym ++#define addr_t Elf32_Addr + #define ARCH_ELFCLASS ELFCLASS32 + #endif + +@@ -67,8 +71,18 @@ struct PyAddresses { + interp_head_hint(0), + pie(false) {} + ++ PyAddresses operator-(const unsigned long base) const { ++ PyAddresses res(*this); ++ res.tstate_addr = this->tstate_addr == 0 ? 0 : this->tstate_addr - base; ++ res.interp_head_addr = ++ this->interp_head_addr == 0 ? 0 : this->interp_head_addr - base; ++ res.interp_head_fn_addr = ++ this->interp_head_fn_addr == 0 ? 0 : this->interp_head_fn_addr - base; ++ return res; ++ } ++ + PyAddresses operator+(const unsigned long base) const { +- PyAddresses res; ++ PyAddresses res(*this); + res.tstate_addr = this->tstate_addr == 0 ? 0 : this->tstate_addr + base; + res.interp_head_addr = + this->interp_head_addr == 0 ? 0 : this->interp_head_addr + base; +@@ -113,6 +127,9 @@ class ELF { + // ABI. + PyAddresses GetAddresses(PyABI *abi); + ++ // Extract the base load address from the Program Header table ++ addr_t GetBaseAddress(); ++ + private: + void *addr_; + size_t length_; +@@ -122,6 +139,16 @@ class ELF { + return reinterpret_cast<const ehdr_t *>(addr_); + } + ++ inline const phdr_t *phdr(int idx) const { ++ if (idx < 0) { ++ std::ostringstream ss; ++ ss << "Illegal phdr index: " << idx; ++ throw FatalException(ss.str()); ++ } ++ return reinterpret_cast<const phdr_t *>(p() + hdr()->e_phoff + ++ idx * hdr()->e_phentsize); ++ } ++ + inline const shdr_t *shdr(int idx) const { + if (idx < 0) { + std::ostringstream ss; +-- +2.14.1 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame.inc new file mode 100644 index 000000000..340aab74e --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame.inc @@ -0,0 +1,15 @@ +SUMMARY = "Pyflame: A Ptracing Profiler For Python" +HOMEPAGE = "https://github.com/uber/pyflame" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" +DEPENDS = "python" + +SRC_URI = "git://github.com/uber/pyflame.git;protocol=https" +S = "${WORKDIR}/git" + +inherit pkgconfig autotools + +COMPATIBLE_HOST_libc-musl_class-target = "null" +COMPATIBLE_HOST_mipsarch_class-target = "null" +COMPATIBLE_HOST_aarch64_class-target = "null" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb new file mode 100644 index 000000000..8dedb8928 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb @@ -0,0 +1,6 @@ +require python-pyflame.inc + +# v1.6.6 +SRCREV = "8a9d8c2acc3b3bb027475b738134f1e6fff14e6c" +SRC_URI += "file://0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch" +SRC_URI += "file://0001-symbol-Account-for-prelinked-shared-objects.patch" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface.inc index 620b244c6..2e398fcef 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface.inc @@ -5,7 +5,7 @@ LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fe869ee987a340198fb0d54c55c47f1" -SRC_URI[md5sum] = "06c3c71fe51df740dae6a88a13afb5e0" -SRC_URI[sha256sum] = "4bb79100cbcf7344a1ccaddc578cd6455da47d8eac6eb1bf903ec32e043af924" +SRC_URI[md5sum] = "b066aa984656742738127c9c75436ab4" +SRC_URI[sha256sum] = "e231e5735d329c5b2d4fc8854f069fdaa5436d3ef91ed64ee49e41e3f5e8a3f5" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface_0.0.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface_0.0.11.bb index 854cb30ee..854cb30ee 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface_0.0.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface_0.0.11.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt.inc index 9f9282eac..00c38e317 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt.inc @@ -6,8 +6,8 @@ HOMEPAGE = "http://github.com/jpadilla/pyjwt" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=68626705a7b513ca8d5f44a3e200ed0c" -SRC_URI[md5sum] = "f7dbe0d62f2087a7605946aeeca02541" -SRC_URI[sha256sum] = "dacba5786fe3bf1a0ae8673874e29f9ac497860955c501289c63b15d3daae63a" +SRC_URI[md5sum] = "2731c6b66b67b95d1944f072f5fa35a9" +SRC_URI[sha256sum] = "4ee413b357d53fd3fb44704577afac88e72e878716116270d722723d65b42176" PYPI_PACKAGE = "PyJWT" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt_1.6.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt_1.6.4.bb index f0a77b674..f0a77b674 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt_1.6.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt_1.6.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp.inc index 7765cc59c..468a80122 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp.inc @@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/MISP/PyMISP" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" -SRC_URI[md5sum] = "d4fee2abb2d7468010b7fe9ebc68b0cb" -SRC_URI[sha256sum] = "304fbd8862dfde27d767c093de87fec42fc63c70d8393643d1a3b4f765aae78f" +SRC_URI[md5sum] = "6d549b36cbfa8c1a3323c5d6e299789e" +SRC_URI[sha256sum] = "f4ed2000cbe1a314f1f88fd8a8eba4ad05974b351b96f1235c6e532158a39fe0" RDEPENDS_${PN} += " \ ${PYTHON_PN}-dateutil \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp_2.4.89.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp_2.4.93.bb index 1b1fbe956..1b1fbe956 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp_2.4.89.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp_2.4.93.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo.inc index baf3dd547..b5277f1c9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo.inc @@ -8,8 +8,8 @@ HOMEPAGE = "http://github.com/mongodb/mongo-python-driver" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRC_URI[md5sum] = "0d72c87fb93cea0759529befafefce54" -SRC_URI[sha256sum] = "f7ebcb846962ee40374db2d9014a89bea9c983ae63c1877957c3a0a756974796" +SRC_URI[md5sum] = "7449c81a6c32c3c8cb9bebebc848fded" +SRC_URI[sha256sum] = "f14fb6c4058772a0d74d82874d3b89d7264d89b4ed7fa0413ea0ef8112b268b9" PACKAGES =+ "${PYTHON_PN}-bson" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo_3.6.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo_3.7.1.bb index b1778b2f1..b1778b2f1 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo_3.6.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo_3.7.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl.inc index 7722e8ecd..516e7958a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl.inc @@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" DEPENDS += "openssl ${PYTHON_PN}-cryptography" -SRC_URI[md5sum] = "d9c5134db8bf3183573b7840954cac94" -SRC_URI[sha256sum] = "2c10cfba46a52c0b0950118981d61e72c1e5b1aac451ca1bc77de1a679456773" +SRC_URI[md5sum] = "c92e9c85b520b7e153fef0f7f3c5dda7" +SRC_URI[sha256sum] = "6488f1423b00f73b7ad5167885312bb0ce410d3312eb212393795b53c8caa580" PYPI_PACKAGE = "pyOpenSSL" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl_17.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl_18.0.0.bb index b7d514613..b7d514613 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl_17.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl_18.0.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip.inc index e05de6723..4ee47eef5 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip.inc @@ -1,12 +1,14 @@ DESCRIPTION = "A cross-platform clipboard module for Python. (only handles plain text for now)" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1ed92115c8f96b19ec34ed09df586e51" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=4a3129a2c1b8bdc0e2895a1ec0e2dae2" -SRC_URI[md5sum] = "d2f6a3129cd6f2518b52bb0b8deeeda7" -SRC_URI[sha256sum] = "ce829433a9af640e08ee89b20f7c62132714bcc5d77df114044d0fccb8c3b3b8" +SRC_URI[md5sum] = "3680607974f99d6e4411b102358b1884" +SRC_URI[sha256sum] = "43496f0a1f363a5ecfc4cda5eba6a2a3d5056fe6c7ffb9a99fbb1c5a3c7dea05" inherit pypi RDEPENDS_${PN} += " \ ${PYTHON_PN}-ctypes \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip_1.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip_1.6.2.bb index 6c9fcbd84..6c9fcbd84 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip_1.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip_1.6.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2.inc index 9ec9866d8..ed1981e49 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2.inc @@ -3,8 +3,8 @@ LICENSE = "GPLv2 & Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce" -SRC_URI[md5sum] = "9c251543c4282a2f8b1a8d6aa8afc688" -SRC_URI[sha256sum] = "7afad28ee0a0f3e7c34adaa9f953d00560ed9910203e93f107833b6e8d151171" +SRC_URI[md5sum] = "2f6f951e94356ae9d224f417dc6ebed2" +SRC_URI[sha256sum] = "42bf74495d95a0196a74dd171357f660175aba2bfc23f9b5f63e3830ccbef9ac" FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyroute2:" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2_0.4.21.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2_0.5.2.bb index f25f1b4ab..f25f1b4ab 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2_0.4.21.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2_0.5.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc new file mode 100644 index 000000000..a69867d91 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "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." +HOMEPAGE = "https://github.com/saltstack/pytest-helpers-namespace" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=71fac4dfeee99c39c51f617e9486237c" + +SRC_URI[md5sum] = "80fe3e515f640b1459709b539f6b857e" +SRC_URI[sha256sum] = "d8bdb017c0f7271699c08850b6b12e1ce9e52913cbd4461b5febd21082a29113" + +inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb new file mode 100644 index 000000000..2b6ee8550 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb @@ -0,0 +1,7 @@ +require python-pytest-helpers-namespace.inc + +inherit setuptools + +RDEPENDS_${PN} += " \ + python-pytest \ + " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner.inc index 7546743fb..3b057b0ca 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner.inc @@ -2,8 +2,8 @@ SUMMARY = "Invoke py.test as distutils command with dependency resolution" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e" -SRC_URI[md5sum] = "8f8363a52bbabc4cedd5e239beb2ba11" -SRC_URI[sha256sum] = "0f7c3a3cf5aead13f54baaa01ceb49e5ae92aba5d3ff1928e81e189c40bc6703" +SRC_URI[md5sum] = "4b696b0f35767f0694f183d0a1855300" +SRC_URI[sha256sum] = "d23f117be39919f00dd91bffeb4f15e031ec797501b717a245e377aee0f577be" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner_3.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner_4.2.bb index 1765a732d..1765a732d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner_3.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner_4.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir.inc new file mode 100644 index 000000000..196f6d644 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Adds support for a predictable and repeatable temporary directory." +HOMEPAGE = "https://github.com/saltstack/pytest-tempdir" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=8751a9cf4a70be4f02697a9b89e686ce" + +SRC_URI[md5sum] = "f87f2583f5f8aaca7203d57ada3948b5" +SRC_URI[sha256sum] = "65ff815966ea6dfc07ca1b43747c9888a6d883971170e67b16290f9f50d434ea" + +inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir_2016.8.20.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir_2016.8.20.bb new file mode 100644 index 000000000..8a9b83e3d --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir_2016.8.20.bb @@ -0,0 +1,7 @@ +require python-pytest-tempdir.inc + +inherit setuptools + +RDEPENDS_${PN} += " \ + python-pytest \ + " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pytz.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pytz.inc index 519487f49..aedffe15f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pytz.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pytz.inc @@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4878a915709225bceab739bdc2a18e8d" inherit pypi -SRC_URI[md5sum] = "f054437920c895dd14a4509fabafe029" -SRC_URI[sha256sum] = "c06425302f2cf668f1bba7a0a03f3c1d34d4ebeef2c72003da308b3947c7f749" +SRC_URI[md5sum] = "45409cbfa3927bdd2f3ee914dd5b1060" +SRC_URI[sha256sum] = "ffb9ef1de172603304d9d2819af6f5ece76f2e85ec10692a524dd876e72bf277" RDEPENDS_${PN}_class-target += "\ ${PYTHON_PN}-datetime \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pytz_2018.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pytz_2018.5.bb index f2ffc596f..f2ffc596f 100755 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pytz_2018.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pytz_2018.5.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev.inc index cb906c9ec..683a75cdd 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev.inc @@ -15,4 +15,5 @@ RDEPENDS_${PN} = "\ ${PYTHON_PN}-misc \ ${PYTHON_PN}-six \ ${PYTHON_PN}-threading \ + libudev \ " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml.inc index 3fef0cacd..afce543f1 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml.inc @@ -2,14 +2,14 @@ SUMMARY = "Python support for YAML" HOMEPAGE = "http://www.pyyaml.org" SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=6015f088759b10e0bc2bf64898d4ae17" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5591701d32590f9fa94f3bfee820b634" DEPENDS = "libyaml ${PYTHON_PN}-cython-native ${PYTHON_PN}" PYPI_PACKAGE = "PyYAML" inherit pypi -SRC_URI[md5sum] = "4c129761b661d181ebf7ff4eb2d79950" -SRC_URI[sha256sum] = "592766c6303207a20efc445587778322d7f73b161bd994f227adaa341ba212ab" +SRC_URI[md5sum] = "b78b96636d68ac581c0e2f38158c224f" +SRC_URI[sha256sum] = "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf" RDEPENDS_${PN} += "\ ${PYTHON_PN}-datetime \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml_3.13.bb index 5a4c92d88..5a4c92d88 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml_3.12.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml_3.13.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq.inc index b5baf82df..2447c2f34 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq_14.7.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq.inc @@ -1,16 +1,19 @@ SUMMARY = "Pyzmq provides Zero message queue access for the Python language" HOMEPAGE = "http://zeromq.org/bindings:python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e" +LICENSE = "BSD & LGPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ + file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" DEPENDS = "zeromq" -SRC_URI = "file://club-rpath-out.patch" -SRC_URI[md5sum] = "87e3abb33af5794db5ae85c667bbf324" -SRC_URI[sha256sum] = "77994f80360488e7153e64e5959dc5471531d1648e3a4bff14a714d074a38cc2" +FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:" -inherit pypi setuptools pkgconfig +SRC_URI += "file://club-rpath-out.patch" +SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943" +SRC_URI[sha256sum] = "2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4" -RDEPENDS_${PN} += "python-multiprocessing" +inherit pypi pkgconfig + +RDEPENDS_${PN} += "${PYTHON_PN}-multiprocessing" FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch index 2dc3b73f9..936f16585 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch @@ -1,26 +1,13 @@ diff --git a/setup.py b/setup.py -index 62df445..1fdbdeb 100755 +index d243eaa..98099bc 100755 --- a/setup.py +++ b/setup.py -@@ -213,12 +213,6 @@ def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False): - pass - # unused rpath args for OS X: - # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/..'] -- else: -- settings['runtime_library_dirs'] += ['$ORIGIN/..'] -- elif sys.platform != 'darwin': -- settings['runtime_library_dirs'] += [ -- os.path.abspath(x) for x in settings['library_dirs'] -- ] - - return settings +@@ -192,8 +192,6 @@ def _add_rpath(settings, path): + """ + if sys.platform == 'darwin': + settings['extra_link_args'].extend(['-Wl,-rpath','-Wl,%s' % path]) +- else: +- settings['runtime_library_dirs'].append(path) -@@ -592,8 +586,6 @@ class Configure(build_ext): - pass - # unused rpath args for OS X: - # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/../zmq'] -- else: -- settings['runtime_library_dirs'] = [ os.path.abspath(pjoin('.', 'zmq')) ] - - line() - info("Configure: Autodetecting ZMQ settings...") + def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False): + """load appropriate library/include settings from ZMQ prefix""" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb new file mode 100644 index 000000000..b690106bb --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb @@ -0,0 +1,2 @@ +require python-pyzmq.inc +inherit setuptools diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-requests.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-requests.inc index 5d6dca5d3..301c2f82f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-requests.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-requests.inc @@ -1,10 +1,16 @@ DESCRIPTION = "Python HTTP for Humans." HOMEPAGE = "http://python-requests.org" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=979d6a23b143e13ea0e5e3aa81248820" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bfbeafb85a2cee261510d65d5ec19156" -SRC_URI[md5sum] = "081412b2ef79bdc48229891af13f4d82" -SRC_URI[sha256sum] = "9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e" +FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:" + +SRC_URI += "file://0001-Strip-Authorization-header-whenever-root-URL-changes.patch \ + file://0002-Rework-authorization-stripping-logic-as-discussed.patch \ + " + +SRC_URI[md5sum] = "6c1a31afec9d614e2e71a91ee6ca2878" +SRC_URI[sha256sum] = "ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0001-Strip-Authorization-header-whenever-root-URL-changes.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0001-Strip-Authorization-header-whenever-root-URL-changes.patch new file mode 100644 index 000000000..80ef5ffb1 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0001-Strip-Authorization-header-whenever-root-URL-changes.patch @@ -0,0 +1,62 @@ +From fb0d391138df48e93c44a2087ea796cca5e229c0 Mon Sep 17 00:00:00 2001 +From: Bruce Merry <bmerry@ska.ac.za> +Date: Thu, 28 Jun 2018 16:38:42 +0200 +Subject: [PATCH 1/2] Strip Authorization header whenever root URL changes + +Previously the header was stripped only if the hostname changed, but in +an https -> http redirect that can leak the credentials on the wire +(#4716). Based on with RFC 7235 section 2.2, the header is now stripped +if the "canonical root URL" (scheme+authority) has changed, by checking +scheme, hostname and port. + +Upstream-Status: Backport + +Fix CVE-2018-18074 + +Signed-off-by: Chen Qi <Qi.Chen@windriver.com> +--- + requests/sessions.py | 4 +++- + tests/test_requests.py | 12 +++++++++++- + 2 files changed, 14 insertions(+), 2 deletions(-) + +diff --git a/requests/sessions.py b/requests/sessions.py +index ba13526..2969d83 100644 +--- a/requests/sessions.py ++++ b/requests/sessions.py +@@ -242,7 +242,9 @@ class SessionRedirectMixin(object): + original_parsed = urlparse(response.request.url) + redirect_parsed = urlparse(url) + +- if (original_parsed.hostname != redirect_parsed.hostname): ++ if (original_parsed.hostname != redirect_parsed.hostname ++ or original_parsed.port != redirect_parsed.port ++ or original_parsed.scheme != redirect_parsed.scheme): + del headers['Authorization'] + + # .netrc might have more auth for us on our new host. +diff --git a/tests/test_requests.py b/tests/test_requests.py +index fcddb1d..e0e801a 100644 +--- a/tests/test_requests.py ++++ b/tests/test_requests.py +@@ -1575,7 +1575,17 @@ class TestRequests: + auth=('user', 'pass'), + ) + assert r.history[0].request.headers['Authorization'] +- assert not r.request.headers.get('Authorization', '') ++ assert 'Authorization' not in r.request.headers ++ ++ def test_auth_is_stripped_on_scheme_redirect(self, httpbin, httpbin_secure, httpbin_ca_bundle): ++ r = requests.get( ++ httpbin_secure('redirect-to'), ++ params={'url': httpbin('get')}, ++ auth=('user', 'pass'), ++ verify=httpbin_ca_bundle ++ ) ++ assert r.history[0].request.headers['Authorization'] ++ assert 'Authorization' not in r.request.headers + + def test_auth_is_retained_for_redirect_on_host(self, httpbin): + r = requests.get(httpbin('redirect/1'), auth=('user', 'pass')) +-- +2.7.4 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0002-Rework-authorization-stripping-logic-as-discussed.patch b/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0002-Rework-authorization-stripping-logic-as-discussed.patch new file mode 100644 index 000000000..ef069fb97 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0002-Rework-authorization-stripping-logic-as-discussed.patch @@ -0,0 +1,118 @@ +From 698c2fa850bfc8b3bdb768e1c1cd6d57e643811d Mon Sep 17 00:00:00 2001 +From: Bruce Merry <bmerry@ska.ac.za> +Date: Tue, 14 Aug 2018 13:30:43 +0200 +Subject: [PATCH 2/2] Rework authorization stripping logic as discussed + +The exception for http->https upgrade now requires the standard HTTP(S) +ports to be used, either implicitly (no port specified) or explicitly. + +Upstream-Status: Backport + +Follow-up fix for CVE-2018-18074 + +Signed-off-by: Chen Qi <Qi.Chen@windriver.com> +--- + requests/sessions.py | 26 ++++++++++++++++++-------- + tests/test_requests.py | 33 ++++++++++++++++++++++----------- + 2 files changed, 40 insertions(+), 19 deletions(-) + +diff --git a/requests/sessions.py b/requests/sessions.py +index 2969d83..c11a3a2 100644 +--- a/requests/sessions.py ++++ b/requests/sessions.py +@@ -115,6 +115,22 @@ class SessionRedirectMixin(object): + return to_native_string(location, 'utf8') + return None + ++ def should_strip_auth(self, old_url, new_url): ++ """Decide whether Authorization header should be removed when redirecting""" ++ old_parsed = urlparse(old_url) ++ new_parsed = urlparse(new_url) ++ if old_parsed.hostname != new_parsed.hostname: ++ return True ++ # Special case: allow http -> https redirect when using the standard ++ # ports. This isn't specified by RFC 7235, but is kept to avoid ++ # breaking backwards compatibility with older versions of requests ++ # that allowed any redirects on the same host. ++ if (old_parsed.scheme == 'http' and old_parsed.port in (80, None) ++ and new_parsed.scheme == 'https' and new_parsed.port in (443, None)): ++ return False ++ # Standard case: root URI must match ++ return old_parsed.port != new_parsed.port or old_parsed.scheme != new_parsed.scheme ++ + def resolve_redirects(self, resp, req, stream=False, timeout=None, + verify=True, cert=None, proxies=None, yield_requests=False, **adapter_kwargs): + """Receives a Response. Returns a generator of Responses or Requests.""" +@@ -236,16 +252,10 @@ class SessionRedirectMixin(object): + headers = prepared_request.headers + url = prepared_request.url + +- if 'Authorization' in headers: ++ if 'Authorization' in headers and self.should_strip_auth(response.request.url, url): + # If we get redirected to a new host, we should strip out any + # authentication headers. +- original_parsed = urlparse(response.request.url) +- redirect_parsed = urlparse(url) +- +- if (original_parsed.hostname != redirect_parsed.hostname +- or original_parsed.port != redirect_parsed.port +- or original_parsed.scheme != redirect_parsed.scheme): +- del headers['Authorization'] ++ del headers['Authorization'] + + # .netrc might have more auth for us on our new host. + new_auth = get_netrc_auth(url) if self.trust_env else None +diff --git a/tests/test_requests.py b/tests/test_requests.py +index e0e801a..148067b 100644 +--- a/tests/test_requests.py ++++ b/tests/test_requests.py +@@ -1567,17 +1567,7 @@ class TestRequests: + preq = req.prepare() + assert test_url == preq.url + +- @pytest.mark.xfail(raises=ConnectionError) +- def test_auth_is_stripped_on_redirect_off_host(self, httpbin): +- r = requests.get( +- httpbin('redirect-to'), +- params={'url': 'http://www.google.co.uk'}, +- auth=('user', 'pass'), +- ) +- assert r.history[0].request.headers['Authorization'] +- assert 'Authorization' not in r.request.headers +- +- def test_auth_is_stripped_on_scheme_redirect(self, httpbin, httpbin_secure, httpbin_ca_bundle): ++ def test_auth_is_stripped_on_http_downgrade(self, httpbin, httpbin_secure, httpbin_ca_bundle): + r = requests.get( + httpbin_secure('redirect-to'), + params={'url': httpbin('get')}, +@@ -1594,6 +1584,27 @@ class TestRequests: + + assert h1 == h2 + ++ def test_should_strip_auth_host_change(self): ++ s = requests.Session() ++ assert s.should_strip_auth('http://example.com/foo', 'http://another.example.com/') ++ ++ def test_should_strip_auth_http_downgrade(self): ++ s = requests.Session() ++ assert s.should_strip_auth('https://example.com/foo', 'http://example.com/bar') ++ ++ def test_should_strip_auth_https_upgrade(self): ++ s = requests.Session() ++ assert not s.should_strip_auth('http://example.com/foo', 'https://example.com/bar') ++ assert not s.should_strip_auth('http://example.com:80/foo', 'https://example.com/bar') ++ assert not s.should_strip_auth('http://example.com/foo', 'https://example.com:443/bar') ++ # Non-standard ports should trigger stripping ++ assert s.should_strip_auth('http://example.com:8080/foo', 'https://example.com/bar') ++ assert s.should_strip_auth('http://example.com/foo', 'https://example.com:8443/bar') ++ ++ def test_should_strip_auth_port_change(self): ++ s = requests.Session() ++ assert s.should_strip_auth('http://example.com:1234/foo', 'https://example.com:4321/bar') ++ + def test_manual_redirect_with_partial_body_read(self, httpbin): + s = requests.Session() + r1 = s.get(httpbin('redirect/2'), allow_redirects=False, stream=True) +-- +2.7.4 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-requests_2.18.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-requests_2.19.1.bb index 0d7a29f74..0d7a29f74 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-requests_2.18.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-requests_2.19.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc new file mode 100644 index 000000000..9f07b6577 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc @@ -0,0 +1,15 @@ +SUMMARY = "Robot Framework test library for serial connection" +HOMEPAGE = "https://github.com/whosaysni/robotframework-seriallibrary" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI[md5sum] = "b7c9565d54c30df7cd3f3c0e29adffa3" +SRC_URI[sha256sum] = "256ad60fc0b7df4be44d82c302f5ed8fad4935cda99e4b45942e3c88179d1e19" + +SRC_URI = "https://files.pythonhosted.org/packages/ce/e1/1e337dc84a20b9d92d7b243d16bb9f6fc0084967eca7454228bb546efec7/robotframework-seriallibrary-0.3.1.tar.gz" +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pyserial \ + ${PYTHON_PN}-robotframework \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb new file mode 100644 index 000000000..440f69cbf --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb @@ -0,0 +1,2 @@ +inherit pypi setuptools +require python-robotframework-seriallibrary.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework.inc index 78bbbc6de..e920c51da 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework.inc @@ -11,8 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" inherit pypi -SRC_URI[md5sum] = "ea49a54b9d7e38302712194e85c37eaa" -SRC_URI[sha256sum] = "2018f233568227f9af8c366f93e243a157b742f3baf5b649ecc9750ac0ee1ff7" +SRC_URI[md5sum] = "ee753415645ff4831ff0d366a0467fe7" +SRC_URI[sha256sum] = "ab94257cbd848dfca7148e092d233a12853cc7e840ce8231af9cbb5e7f51aa47" RDEPENDS_${PN} += " \ ${PYTHON_PN}-shell \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework_3.0.4.bb index ff7dedb55..ff7dedb55 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework_3.0.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework_3.0.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-semver.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-semver.inc new file mode 100644 index 000000000..3c95c06ea --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-semver.inc @@ -0,0 +1,12 @@ +DESCRIPTION = "Python module for Semantic Versioning" +HOMEPAGE = "https://github.com/k-bx/python-semver" +BUGTRACKER = "https://github.com/k-bx/python-semver/issues" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" + +SRC_URI[md5sum] = "dc579ba9d0bb2137bad5324d4bdb7e40" +SRC_URI[sha256sum] = "5b09010a66d9a3837211bb7ae5a20d10ba88f8cb49e92cb139a69ef90d5060d8" + +inherit pypi + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-semver_2.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-semver_2.8.1.bb new file mode 100644 index 000000000..0572feb31 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-semver_2.8.1.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-semver.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-serpent.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-serpent.inc index 3f51bc29b..2ba65706b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-serpent.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-serpent.inc @@ -1,9 +1,9 @@ SUMMARY = "Serialization based on ast.literal_eval" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=acdea68f0e5a89eb6cbfdf54e38c356e" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5a8193ba89f1083617f32d522f6485e9" -SRC_URI[md5sum] = "d0c50f1943ff86d830eb3fe40f6dc1e3" -SRC_URI[sha256sum] = "b6855483d95a03b6aee358363684cd38a3a670240da5bc6da4253079cb07b8df" +SRC_URI[md5sum] = "0f9684622125a527fa4fbe2587738973" +SRC_URI[sha256sum] = "264a028e059c1b557701ae7c567cdab330dbd228ff924489343efcb39bd828a0" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-serpent_1.24.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-serpent_1.25.bb index 0db3cf98a..0db3cf98a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-serpent_1.24.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-serpent_1.25.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm.inc index eb66580a6..98883ec39 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm.inc @@ -2,8 +2,8 @@ SUMMARY = "the blessed package to manage your versions by scm tags" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" -SRC_URI[md5sum] = "1b55f9cedde4a33ab5d286c5f30e86db" -SRC_URI[sha256sum] = "e163e8a12d2121f77575773cfc2b5988275dc1f1d2541fdf780127c29dbbea9c" +SRC_URI[md5sum] = "cfec5d2dbbd0a85c40066f79035b5878" +SRC_URI[sha256sum] = "a767141fecdab1c0b3c8e4c788ac912d7c94a0d6c452d40777ba84f918316379" PYPI_PACKAGE = "setuptools_scm" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm_2.1.0.bb index 64b36e3a0..64b36e3a0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm_1.15.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm_2.1.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-sh.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-sh.inc new file mode 100644 index 000000000..f2fd562bb --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-sh.inc @@ -0,0 +1,32 @@ +SUMMARY = "Python subprocess replacement" +HOMEPAGE = "https://github.com/amoffat/sh" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5317094292296f03405f59ae5f6544b6" + +SRC_URI[md5sum] = "a8351aef25d25f707c17e0a7a6280251" +SRC_URI[sha256sum] = "b52bf5833ed01c7b5c5fb73a7f71b3d98d48e9b9b8764236237bdc7ecae850fc" + +PYPI_PACKAGE = "sh" + +inherit pypi + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-codecs \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-resource \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-terminal \ + ${PYTHON_PN}-tests \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-unixadmin \ +" + +# WARNING: We were unable to map the following python package/module +# dependencies to the bitbake packages which include them: +# coverage - only used in test and there is a check to see if it is +# available before importing. +# queue - part of threading +# signal - part of core in python3. not sure how it is imported in python2. +# No complants in compiling. diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-sh_1.12.14.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-sh_1.12.14.bb new file mode 100644 index 000000000..7cb5140d2 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-sh_1.12.14.bb @@ -0,0 +1,8 @@ +require python-sh.inc +inherit setuptools + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-contextlib \ + ${PYTHON_PN}-lang \ + ${PYTHON_PN}-textutils \ +" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-sijax.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-sijax.inc new file mode 100644 index 000000000..9e46893d8 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-sijax.inc @@ -0,0 +1,8 @@ +DESCRIPTION = "An easy to use AJAX library for Python based on jQuery.ajax" +HOMEPAGE = "https://github.com/spantaleev/sijax-python" +LICENSE = "BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=16e213d75641a392478df50cf0841903" + +PYPI_PACKAGE = "Sijax" +inherit pypi
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-sijax_0.3.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-sijax_0.3.2.bb new file mode 100644 index 000000000..4226c4235 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-sijax_0.3.2.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "An easy to use AJAX library for Python based on jQuery.ajax" +HOMEPAGE = "https://github.com/spantaleev/sijax-python" +LICENSE = "BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=16e213d75641a392478df50cf0841903" + +PYPI_PACKAGE = "Sijax" +inherit setuptools +require python-sijax.inc + +SRC_URI[sha256sum] = "11b062f4a8b2aad95c87e7c09e5daf5a6b0d0f08abf9efe5f91a0075c6be7c0d"
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson.inc index e28d51859..3d36f9608 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson.inc @@ -4,8 +4,8 @@ HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e" -SRC_URI[md5sum] = "870bf6257465ce2ee8cad14e2394f7eb" -SRC_URI[sha256sum] = "4c4ecf20e054716cc1e5a81cadc44d3f4027108d8dd0861d8b1e3bd7a32d4f0a" +SRC_URI[md5sum] = "744fa99aed207478f8fbf9dd9f04fad3" +SRC_URI[sha256sum] = "b1f329139ba647a9548aa05fb95d046b4a677643070dc2afc05fa2e975d09ca5" inherit pypi diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson_3.13.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson_3.16.0.bb index 24ad9a960..24ad9a960 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson_3.13.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson_3.16.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-slip-dbus_0.6.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-slip-dbus_0.6.1.bb index 8081416ee..dc587e761 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-slip-dbus_0.6.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-slip-dbus_0.6.1.bb @@ -25,3 +25,7 @@ SRC_URI[sha256sum] = "bc897f1ab6f5b4989f85548799aaeb84fde67bbba18e40341bfe1d7885 do_compile_prepend() { sed -e 's/@VERSION@/${PV}/g' setup.py.in > setup.py } + +# http://errors.yoctoproject.org/Errors/Details/184713/ +# python-native/python: can't open file 'setup.py': [Errno 2] No such file or directory +CLEANBROKEN = "1" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore.inc new file mode 100644 index 000000000..14ebc0ef0 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Manage dynamic plugins for Python applications" +HOMEPAGE = "https://github.com/dreamhost/stevedore" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[md5sum] = "525186cba577852e0408c92c3f8fac65" +SRC_URI[sha256sum] = "1e153545aca7a6a49d8337acca4f41c212fbfa60bf864ecd056df0cafb9627e8" + +inherit pypi + +DEPENDS += "${PYTHON_PN}-pbr-native" + +RDEPENDS_${PN} += "${PYTHON_PN}-pbr ${PYTHON_PN}-six" + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore_1.29.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore_1.29.0.bb new file mode 100644 index 000000000..70a00c131 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore_1.29.0.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-stevedore.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-tornado.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-tornado.inc index 29d10da6b..16899f88c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-tornado.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-tornado.inc @@ -4,10 +4,10 @@ By using non-blocking network I/O, Tornado can scale to tens of thousands of ope polling, WebSockets, and other applications that require a long-lived connection to each user." HOMEPAGE = "http://www.tornadoweb.org/en/stable/" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=15;md5=8d463fc66ff8f275354ffe88d1896e12" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[md5sum] = "a5fc7fd4aea94867609a491ce65786f1" -SRC_URI[sha256sum] = "6d14e47eab0e15799cf3cdcc86b0b98279da68522caace2bd7ce644287685f0a" +SRC_URI[md5sum] = "bd264851c409f926d1dae1ad5055d28d" +SRC_URI[sha256sum] = "4f66a2172cb947387193ca4c2c3e19131f1c70fa8be470ddbbd9317fd0801582" RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-numbers ${PYTHON_PN}-email \ ${PYTHON_PN}-pkgutil ${PYTHON_PN}-html ${PYTHON_PN}-json ${PYTHON_PN}-certifi ${PYTHON_PN}-threading \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-tornado_4.5.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-tornado_5.1.bb index 193a4db7d..193a4db7d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-tornado_4.5.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-tornado_5.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb new file mode 100644 index 000000000..696c875c6 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "A backport of traceback to older supported Pythons" +HOMEPAGE = "https://github.com/testing-cabal/traceback2" +LICENSE = "Python-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=31;endline=31;md5=368ddc8588431c180ae7c33f4fb57519" + +DEPENDS = "${PYTHON_PN}-pbr-native" + +SRC_URI[md5sum] = "9e9723f4d70bfc6308fa992dd193c400" +SRC_URI[sha256sum] = "05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030" + +inherit pypi setuptools + +CLEANBROKEN = "1" + +RDEPENDS_${PN} = "${PYTHON_PN}-linecache2" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-twisted.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-twisted.inc index 6480ad54f..01616b168 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-twisted.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-twisted.inc @@ -5,10 +5,10 @@ HOMEPAGE = "http://www.twistedmatrix.com" #twisted/topfiles/NEWS:655: - Relicensed: Now under the MIT license, rather than LGPL. LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=8a9c2fbfcba7d70504e3ba545e1820ed" +LIC_FILES_CHKSUM = "file://LICENSE;md5=04e7730aecedc79d805625a91bc06145" -SRC_URI[md5sum] = "6dbedb918f0c7288a4c670f59393ecf8" -SRC_URI[sha256sum] = "0da1a7e35d5fcae37bc9c7978970b5feb3bc82822155b8654ec63925c05af75c" +SRC_URI[sha256sum] = "a4cc164a781859c74de47f17f0e85f4bce8a3321a9d0892c015c8f80c4158ad9" +SRC_URI[md5sum] = "da8142ad4e9971a75fe751ac96a33b95" PYPI_PACKAGE = "Twisted" PYPI_PACKAGE_EXT = "tar.bz2" @@ -49,9 +49,12 @@ RDEPENDS_${PN} = "\ ${PN}-conch \ ${PN}-mail \ ${PN}-names \ + ${PN}-pair \ + ${PN}-protocols \ ${PN}-runner \ ${PN}-web \ ${PN}-words \ + ${PN}-zsh \ " RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink ${PYTHON_PN}-automat" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_17.9.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb index 2be1709d0..5903db3e0 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_17.9.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb @@ -2,3 +2,7 @@ inherit pypi setuptools require python-twisted.inc RDEPENDS_${PN}-core += "${PYTHON_PN}-contextlib" + +RDEPENDS_${PN} += " \ + ${PN}-news \ +" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3.inc index cf79926a6..288ed8b98 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3.inc @@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/shazow/urllib3" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067" -SRC_URI[md5sum] = "0da7bed3fe94bf7dc59ae37885cc72f7" -SRC_URI[sha256sum] = "cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f" +SRC_URI[md5sum] = "1ad43e4b5ab7a0794c89dc057e1d7179" +SRC_URI[sha256sum] = "a68ac5e15e76e7e5dd2b8f94007233e01effe3e50e8daddf69acfd81cb686baf" RDEPENDS_${PN} += "\ ${PYTHON_PN}-certifi \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3_1.22.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3_1.23.bb index 6c81f1db9..6c81f1db9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3_1.22.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3_1.23.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-vobject_0.9.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-vobject_0.9.6.1.bb index d2f343eb1..d31f2f5ac 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-vobject_0.9.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-vobject_0.9.6.1.bb @@ -4,8 +4,8 @@ HOMEPAGE = "http://vobject.skyhouseconsulting.com/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[md5sum] = "aa629d6ae95db5edfd5b2402eb1073cb" -SRC_URI[sha256sum] = "0f56cae196303d875682b9648b4bb43ffc769d2f0f800958e0a506af867b1243" +SRC_URI[md5sum] = "06357e96a84d55de2a71b36d39f6853e" +SRC_URI[sha256sum] = "96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101" inherit pypi setuptools diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms.inc index 916697fcf..868686bfe 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms.inc @@ -2,13 +2,12 @@ DESCRIPTION = "A flexible forms validation and rendering library for python web HOMEPAGE = "https://pypi.python.org/pypi/WTForms" SECTION = "devel/python" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=c459accc90c6ed6a94878c8fe0535be2" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=c4660c132770d5d0a5757541f6b79493" -SRC_URI[md5sum] = "6938a541fafd1a1ae2f6b9b88588eef2" -SRC_URI[sha256sum] = "ffdf10bd1fa565b8233380cb77a304cd36fd55c73023e91d4b803c96bc11d46f" +SRC_URI[md5sum] = "41c0008dbe7bd98892c58f7457a46a4a" +SRC_URI[sha256sum] = "0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61" PYPI_PACKAGE = "WTForms" -PYPI_PACKAGE_EXT = "zip" RDEPENDS_${PN} += "\ ${PYTHON_PN}-netserver \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms_2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms_2.2.1.bb index fdb015e8a..fdb015e8a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms_2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms_2.2.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface.inc index 1fab2cc7f..12623c9b6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface.inc @@ -2,8 +2,8 @@ SUMMARY = "Interface definitions for Zope products" LICENSE = "ZPL-2.1" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46" -SRC_URI[md5sum] = "8700a4f527c1203b34b10c2b4e7a6912" -SRC_URI[sha256sum] = "d6d26d5dfbfd60c65152938fcb82f949e8dada37c041f72916fef6621ba5c5ce" +SRC_URI[md5sum] = "7b669cd692d817772c61d2e3ad0f1e71" +SRC_URI[sha256sum] = "57c38470d9f57e37afb460c399eb254e7193ac7fb8042bd09bdc001981a9c74c" PYPI_PACKAGE = "zope.interface" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface_4.4.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface_4.5.0.bb index 1bdfd4d37..1bdfd4d37 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface_4.4.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface_4.5.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_0.9.8.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.0.0.bb index e248fe7ce..e248fe7ce 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_0.9.8.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.0.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_1.6.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb index 6e32c288f..6e32c288f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_1.6.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_17.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_18.1.0.bb index c34693f50..c34693f50 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_17.4.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_18.1.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.7.0.bb index 2c747643f..2c747643f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.7.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.4.0.bb index c43649dbf..c43649dbf 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.3.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.4.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-babel_2.5.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-babel_2.6.0.bb index 0715d59f4..0715d59f4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-babel_2.5.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-babel_2.6.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb new file mode 100644 index 000000000..84f47614e --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "Security oriented static analyser for python code." +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +SRC_URI[md5sum] = "f74155cb9921be857693b32d2531e857" +SRC_URI[sha256sum] = "cb977045497f83ec3a02616973ab845c829cdab8144ce2e757fe031104a9abd4" + +DEPENDS = "python3-pyyaml python3-six python3-stevedore python3-pbr-native" + +inherit setuptools3 pypi + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb new file mode 100644 index 000000000..1c55871b1 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-behave.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_0.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_0.8.3.bb index 7ee444dc9..7ee444dc9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_0.8.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_0.8.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-can_2.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-can_2.2.1.bb index aaa9e811c..aaa9e811c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-can_2.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-can_2.2.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.13.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.14.0.bb index 34f149d3f..34f149d3f 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.13.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.14.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-certifi_2018.1.18.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-certifi_2018.8.13.bb index 70f674b22..70f674b22 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-certifi_2018.1.18.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-certifi_2018.8.13.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb index 038043c56..38d8122ce 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb @@ -1,2 +1,7 @@ inherit setuptools3 require python-chardet.inc + +do_install_append () { + # rename scripts that would conflict with the Python 2 build of chardet + mv ${D}${bindir}/chardetect ${D}${bindir}/chardetect3 +} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb new file mode 100644 index 000000000..6996b13d0 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-crcmod.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.1.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.3.bb index 58994ffff..58994ffff 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.1.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography_2.3.bb index 195923343..195923343 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography_2.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cython_0.28.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cython_0.28.5.bb index 2ce6bdbd6..2ce6bdbd6 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cython_0.28.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cython_0.28.5.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.7.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.7.3.bb index 1d2baf55c..1d2baf55c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.7.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.7.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-django_1.11.10.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-django_1.11.14.bb index e1e38c322..e1e38c322 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-django_1.11.10.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-django_1.11.14.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb new file mode 100644 index 000000000..9ed6d1726 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-djangorestframework_3.9.0.bb @@ -0,0 +1,2 @@ +require python-djangorestframework.inc +inherit setuptools3
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_2.2.1.bb index c98cbfddb..c98cbfddb 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_2.2.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb new file mode 100644 index 000000000..e9a65c4ae --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb @@ -0,0 +1,4 @@ +inherit pypi setuptools3 +require python-flask-sijax.inc + +SRC_URI[sha256sum] = "fb2bf2d4f75408185102195055d75549fee8d9c9e954dca2427186925cdc429f"
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_0.12.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_1.0.2.bb index cd439900c..cd439900c 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_0.12.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_1.0.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-future_0.16.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-future_0.16.0.bb new file mode 100644 index 000000000..f059186bf --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-future_0.16.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-future.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_0.4.13.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_0.4.14.bb index 1aedf7fa8..1aedf7fa8 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_0.4.13.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_0.4.14.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.14.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.14.1.bb new file mode 100644 index 000000000..2da1a4df0 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.14.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-grpcio-tools.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb new file mode 100644 index 000000000..d4720b4b8 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-grpcio.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_17.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_18.0.0.bb index 70813bf34..70813bf34 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_17.3.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_18.0.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.7.bb index a08ca714a..a08ca714a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.6.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.7.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection_0.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection_0.3.1.bb new file mode 100644 index 000000000..cc36a02a7 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-inflection_0.3.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-inflection.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.5.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.5.4.bb new file mode 100644 index 000000000..8cbe1090f --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.5.4.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-intervals.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-langtable_0.0.38.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-langtable_0.0.38.bb index 0ca58c7b7..eb42fe978 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-langtable_0.0.38.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-langtable_0.0.38.bb @@ -16,8 +16,8 @@ SRC_URI = "git://github.com/mike-fabian/langtable.git;branch=master \ inherit setuptools3 python3native -DISTUTILS_INSTALL_ARGS = "--prefix=${D}/${prefix} \ - --install-data=${D}/${datadir}/langtable" +DISTUTILS_INSTALL_ARGS += " \ + --install-data=${datadir}/langtable" FILES_${PN} += "${datadir}/*" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.2.4.bb index ff4bc7faa..b95d7bae7 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.2.4.bb @@ -1,2 +1,3 @@ inherit setuptools3 require python-lxml.inc +CLEANBROKEN = "1" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-m2crypto_0.30.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-m2crypto_0.30.1.bb new file mode 100644 index 000000000..4d63d4bd3 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-m2crypto_0.30.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-m2crypto.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.4.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.4.4.bb deleted file mode 100644 index 3f07b2ed2..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.4.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-ndg-httpsclient.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb new file mode 100644 index 000000000..65a8c816f --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb @@ -0,0 +1,6 @@ +inherit pypi setuptools3 update-alternatives +require python-ndg-httpsclient.inc + +ALTERNATIVE_${PN} = "ndg_httpclient" +ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient" +ALTERNATIVE_PRIORITY = "30" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_2.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_2.0.2.bb deleted file mode 100644 index be6d4e169..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_2.0.2.bb +++ /dev/null @@ -1,10 +0,0 @@ -SUMMARY = "A MutableSet that remembers its order, so that every entry has an index." -HOMEPAGE = "http://github.com/LuminosoInsight/ordered-set" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=0feb0c85b722f488b87844fb5f81d2dc" - -SRC_URI[md5sum] = "7b8d73dc64fd3c783ecb48e050bfcc0d" -SRC_URI[sha256sum] = "942cad5d7d5b0760d5cbe93dfb385ac2ed402ca1d48c9f4e102d7d5cce3a90eb" - -inherit pypi setuptools3 - diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_3.0.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_3.0.1.bb new file mode 100644 index 000000000..662d3eebb --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_3.0.1.bb @@ -0,0 +1,11 @@ +SUMMARY = "A MutableSet that remembers its order, so that every entry has an index." +HOMEPAGE = "http://github.com/LuminosoInsight/ordered-set" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=2b36be0d99854aa2ae292a800a7c1d4e" + +SRC_URI[md5sum] = "a8059c7b99cde0f8dda01ddee6b43c2c" +SRC_URI[sha256sum] = "3d6fd7bffbb15f613a9e8a6281bf97c2d67f7bb8677deca8249df2fbdd9cce7b" + +inherit pypi setuptools3 + +DEPENDS += "python3-pytest-runner-native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_0.22.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_0.23.4.bb index b5dd5e092..b5dd5e092 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_0.22.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_0.23.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb new file mode 100644 index 000000000..91d9ce2d4 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-parse-type.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb new file mode 100644 index 000000000..b1242545c --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-parse.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_1.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_1.1.1.bb new file mode 100644 index 000000000..ba9a95dbf --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_1.1.1.bb @@ -0,0 +1,4 @@ +inherit pypi setuptools3 +require python-periphery.inc + +SRC_URI[sha256sum] = "fe8f351934edce72cd919b4eb070878ebff551db5e21aea61e0f446101f0a79f"
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.6.0.bb index cf39233a3..cf39233a3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.6.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.8.1.bb new file mode 100644 index 000000000..f793ac4ac --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.8.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pint.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-prctl_1.6.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-prctl_1.7.bb index 5de83ce48..54620a066 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-prctl_1.6.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-prctl_1.7.bb @@ -5,13 +5,13 @@ limitations in C and linux. This module provides a nice non-messy python(ic) \ interface." SECTION = "devel/python" LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=5eb2f4bcd60326f83e5deb542372d52f" +LIC_FILES_CHKSUM = "file://COPYING;md5=23ff9f50449d4bd0e513df16e4d9755f" S = "${WORKDIR}/git" B = "${S}" -SRCREV = "1107d0be7bec4b28c85c62c454882d16844c930a" -PV = "1.6.1+git${SRCPV}" +SRCREV = "57cd0a7cad76e8f8792eea22ee5b5d17bae0a90f" +PV = "1.7+git${SRCPV}" SRC_URI = "git://github.com/seveas/python-prctl;branch=master \ file://0001-support-cross-complication.patch \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-progress_1.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-progress_1.4.bb index 45e264213..45e264213 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-progress_1.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-progress_1.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.15.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.4.bb index 0e99917c2..0e99917c2 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.15.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.5.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.6.1.bb index 781d1dc4d..781d1dc4d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.5.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.6.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.4.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.4.6.bb index c1969ea65..c1969ea65 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.4.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.4.6.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess_0.5.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb index bdcd0e253..bdcd0e253 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess_0.5.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-py_1.5.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-py_1.6.0.bb index 0ee373d24..0ee373d24 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-py_1.5.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-py_1.6.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.2.bb index 3b1186f06..3b1186f06 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1_0.4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1_0.4.4.bb index a5e2a7136..a5e2a7136 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1_0.4.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1_0.4.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.2.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.2.3.bb index 355e28460..355e28460 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.2.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.2.3.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb new file mode 100644 index 000000000..cedcdb3bf --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pycodestyle.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/0001-Support-asynchronous-calls-58.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/0001-Support-asynchronous-calls-58.patch new file mode 100644 index 000000000..c5cb9a878 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/0001-Support-asynchronous-calls-58.patch @@ -0,0 +1,93 @@ +From 39a7d79ee6c548902fbac8b95c934af7e4c69260 Mon Sep 17 00:00:00 2001 +From: Vendula Poncova <vponcova@redhat.com> +Date: Thu, 2 Aug 2018 15:30:45 +0800 +Subject: [PATCH 1/2] Support asynchronous calls (#58) + +Added support for asynchronous calls of methods. A method is called +synchronously unless its callback parameter is specified. A callback +is a function f(*args, returned=None, error=None), where args is +callback_args specified in the method call, returned is a return +value of the method and error is an exception raised by the method. + +Example of an asynchronous call: + +def func(x, y, returned=None, error=None): + pass + +proxy.Method(a, b, callback=func, callback_args=(x, y)) + +Upstream-Status: Cherry-pick [https://src.fedoraproject.org/cgit/rpms/python-pydbus.git/] + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + pydbus/proxy_method.py | 44 ++++++++++++++++++++++++++++++++++++++------ + 1 file changed, 38 insertions(+), 6 deletions(-) + +diff --git a/pydbus/proxy_method.py b/pydbus/proxy_method.py +index 8798edd..4ea4304 100644 +--- a/pydbus/proxy_method.py ++++ b/pydbus/proxy_method.py +@@ -65,15 +65,34 @@ class ProxyMethod(object): + + # Python 2 sux + for kwarg in kwargs: +- if kwarg not in ("timeout",): ++ if kwarg not in ("timeout", "callback", "callback_args"): + raise TypeError(self.__qualname__ + " got an unexpected keyword argument '{}'".format(kwarg)) + timeout = kwargs.get("timeout", None) ++ callback = kwargs.get("callback", None) ++ callback_args = kwargs.get("callback_args", tuple()) ++ ++ call_args = ( ++ instance._bus_name, ++ instance._path, ++ self._iface_name, ++ self.__name__, ++ GLib.Variant(self._sinargs, args), ++ GLib.VariantType.new(self._soutargs), ++ 0, ++ timeout_to_glib(timeout), ++ None ++ ) ++ ++ if callback: ++ call_args += (self._finish_async_call, (callback, callback_args)) ++ instance._bus.con.call(*call_args) ++ return None ++ else: ++ ret = instance._bus.con.call_sync(*call_args) ++ return self._unpack_return(ret) + +- ret = instance._bus.con.call_sync( +- instance._bus_name, instance._path, +- self._iface_name, self.__name__, GLib.Variant(self._sinargs, args), GLib.VariantType.new(self._soutargs), +- 0, timeout_to_glib(timeout), None).unpack() +- ++ def _unpack_return(self, values): ++ ret = values.unpack() + if len(self._outargs) == 0: + return None + elif len(self._outargs) == 1: +@@ -81,6 +100,19 @@ class ProxyMethod(object): + else: + return ret + ++ def _finish_async_call(self, source, result, user_data): ++ error = None ++ return_args = None ++ ++ try: ++ ret = source.call_finish(result) ++ return_args = self._unpack_return(ret) ++ except Exception as err: ++ error = err ++ ++ callback, callback_args = user_data ++ callback(*callback_args, returned=return_args, error=error) ++ + def __get__(self, instance, owner): + if instance is None: + return self +-- +2.7.4 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/0002-Support-transformation-between-D-Bus-errors-and-exce.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/0002-Support-transformation-between-D-Bus-errors-and-exce.patch new file mode 100644 index 000000000..f5c0390c5 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/0002-Support-transformation-between-D-Bus-errors-and-exce.patch @@ -0,0 +1,203 @@ +From 69968dec867053e38de0b91d76ac41d5a5735e36 Mon Sep 17 00:00:00 2001 +From: Vendula Poncova <vponcova@redhat.com> +Date: Thu, 2 Aug 2018 15:31:56 +0800 +Subject: [PATCH 2/2] Support transformation between D-Bus errors and + exceptions. + +Exceptions can be registered with decorators, raised in a remote +method and recreated after return from the remote call. + +Upstream-Status: Cherry-pick [https://src.fedoraproject.org/cgit/rpms/python-pydbus.git/] + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + pydbus/error.py | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++ + pydbus/proxy_method.py | 18 ++++++++-- + pydbus/registration.py | 16 ++++++--- + 3 files changed, 123 insertions(+), 8 deletions(-) + create mode 100644 pydbus/error.py + +diff --git a/pydbus/error.py b/pydbus/error.py +new file mode 100644 +index 0000000..aaa3510 +--- /dev/null ++++ b/pydbus/error.py +@@ -0,0 +1,97 @@ ++from gi.repository import GLib, Gio ++ ++ ++def register_error(name, domain, code): ++ """Register and map decorated exception class to a DBus error.""" ++ def decorated(cls): ++ error_registration.register_error(cls, name, domain, code) ++ return cls ++ ++ return decorated ++ ++ ++def map_error(error_name): ++ """Map decorated exception class to a DBus error.""" ++ def decorated(cls): ++ error_registration.map_error(cls, error_name) ++ return cls ++ ++ return decorated ++ ++ ++def map_by_default(cls): ++ """Map decorated exception class to all unknown DBus errors.""" ++ error_registration.map_by_default(cls) ++ return cls ++ ++ ++class ErrorRegistration(object): ++ """Class for mapping exceptions to DBus errors.""" ++ ++ _default = None ++ _map = dict() ++ _reversed_map = dict() ++ ++ def map_by_default(self, exception_cls): ++ """Set the exception class as a default.""" ++ self._default = exception_cls ++ ++ def map_error(self, exception_cls, name): ++ """Map the exception class to a DBus name.""" ++ self._map[name] = exception_cls ++ self._reversed_map[exception_cls] = name ++ ++ def register_error(self, exception_cls, name, domain, code): ++ """Map and register the exception class to a DBus name.""" ++ self.map_error(exception_cls, name) ++ return Gio.DBusError.register_error(domain, code, name) ++ ++ def is_registered_exception(self, obj): ++ """Is the exception registered?""" ++ return obj.__class__ in self._reversed_map ++ ++ def get_dbus_name(self, obj): ++ """Get the DBus name of the exception.""" ++ return self._reversed_map.get(obj.__class__) ++ ++ def get_exception_class(self, name): ++ """Get the exception class mapped to the DBus name.""" ++ return self._map.get(name, self._default) ++ ++ def transform_message(self, name, message): ++ """Transform the message of the exception.""" ++ prefix = "{}:{}: ".format("GDBus.Error", name) ++ ++ if message.startswith(prefix): ++ return message[len(prefix):] ++ ++ return message ++ ++ def transform_exception(self, e): ++ """Transform the remote error to the exception.""" ++ if not isinstance(e, GLib.Error): ++ return e ++ ++ if not Gio.DBusError.is_remote_error(e): ++ return e ++ ++ # Get DBus name of the error. ++ name = Gio.DBusError.get_remote_error(e) ++ # Get the exception class. ++ exception_cls = self.get_exception_class(name) ++ ++ # Return the original exception. ++ if not exception_cls: ++ return e ++ ++ # Return new exception. ++ message = self.transform_message(name, e.message) ++ exception = exception_cls(message) ++ exception.dbus_name = name ++ exception.dbus_domain = e.domain ++ exception.dbus_code = e.code ++ return exception ++ ++ ++# Default error registration. ++error_registration = ErrorRegistration() +diff --git a/pydbus/proxy_method.py b/pydbus/proxy_method.py +index 4ea4304..e9496f5 100644 +--- a/pydbus/proxy_method.py ++++ b/pydbus/proxy_method.py +@@ -2,6 +2,7 @@ from gi.repository import GLib + from .generic import bound_method + from .identifier import filter_identifier + from .timeout import timeout_to_glib ++from .error import error_registration + + try: + from inspect import Signature, Parameter +@@ -87,9 +88,20 @@ class ProxyMethod(object): + call_args += (self._finish_async_call, (callback, callback_args)) + instance._bus.con.call(*call_args) + return None ++ + else: +- ret = instance._bus.con.call_sync(*call_args) +- return self._unpack_return(ret) ++ result = None ++ error = None ++ ++ try: ++ result = instance._bus.con.call_sync(*call_args) ++ except Exception as e: ++ error = error_registration.transform_exception(e) ++ ++ if error: ++ raise error ++ ++ return self._unpack_return(result) + + def _unpack_return(self, values): + ret = values.unpack() +@@ -108,7 +120,7 @@ class ProxyMethod(object): + ret = source.call_finish(result) + return_args = self._unpack_return(ret) + except Exception as err: +- error = err ++ error = error_registration.transform_exception(err) + + callback, callback_args = user_data + callback(*callback_args, returned=return_args, error=error) +diff --git a/pydbus/registration.py b/pydbus/registration.py +index f531539..1d2cbcb 100644 +--- a/pydbus/registration.py ++++ b/pydbus/registration.py +@@ -5,6 +5,7 @@ from . import generic + from .exitable import ExitableWithAliases + from functools import partial + from .method_call_context import MethodCallContext ++from .error import error_registration + import logging + + try: +@@ -91,11 +92,16 @@ class ObjectWrapper(ExitableWithAliases("unwrap")): + logger = logging.getLogger(__name__) + logger.exception("Exception while handling %s.%s()", interface_name, method_name) + +- #TODO Think of a better way to translate Python exception types to DBus error types. +- e_type = type(e).__name__ +- if not "." in e_type: +- e_type = "unknown." + e_type +- invocation.return_dbus_error(e_type, str(e)) ++ if error_registration.is_registered_exception(e): ++ name = error_registration.get_dbus_name(e) ++ invocation.return_dbus_error(name, str(e)) ++ else: ++ logger.info("name is not registered") ++ e_type = type(e).__name__ ++ if not "." in e_type: ++ e_type = "unknown." + e_type ++ ++ invocation.return_dbus_error(e_type, str(e)) + + def Get(self, interface_name, property_name): + type = self.readable_properties[interface_name + "." + property_name] +-- +2.7.4 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb index 7ed1c63b6..adaa86d5a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb @@ -1,2 +1,6 @@ require python-pydbus.inc inherit pypi setuptools3 + +SRC_URI += "file://0001-Support-asynchronous-calls-58.patch \ + file://0002-Support-transformation-between-D-Bus-errors-and-exce.patch \ +" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyiface_0.0.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyiface_0.0.11.bb index 721e7b1c9..721e7b1c9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyiface_0.0.5.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyiface_0.0.11.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_1.6.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_1.6.4.bb index dc16d2282..dc16d2282 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_1.6.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_1.6.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.4.89.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.4.93.bb index 4523d9e30..4523d9e30 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.4.89.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.4.93.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_3.6.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_3.7.1.bb index 5164b186b..5164b186b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_3.6.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_3.7.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyopenssl_17.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyopenssl_18.0.0.bb index 0f0f83e3a..0f0f83e3a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyopenssl_17.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyopenssl_18.0.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.6.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.6.2.bb index ee6f88bbb..ee6f88bbb 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.6.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.6.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.4.21.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.5.2.bb index a23e72c4a..a23e72c4a 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.4.21.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.5.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2016.7.10.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2016.7.10.bb new file mode 100644 index 000000000..f03f5d415 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2016.7.10.bb @@ -0,0 +1,7 @@ +require python-pytest-helpers-namespace.inc + +inherit setuptools3 + +RDEPENDS_${PN} += " \ + python3-pytest \ + " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_3.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_4.2.bb index df56ba6d4..df56ba6d4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_3.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_4.2.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2016.8.20.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2016.8.20.bb new file mode 100644 index 000000000..02e821563 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2016.8.20.bb @@ -0,0 +1,7 @@ +require python-pytest-tempdir.inc + +inherit setuptools3 + +RDEPENDS_${PN} += " \ + python3-pytest \ + " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2018.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2018.5.bb index 19a89dc55..19a89dc55 100755 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2018.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2018.5.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_3.12.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_3.13.bb index 470aca608..470aca608 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_3.12.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_3.13.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb new file mode 100644 index 000000000..050f53af1 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb @@ -0,0 +1,2 @@ +require python-pyzmq.inc +inherit setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_1.4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_1.4.3.bb index 8652876a4..0407779da 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_1.4.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_1.4.3.bb @@ -3,8 +3,8 @@ HOMEPAGE = "http://github.com/dashea/requests-file" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" -SRC_URI[md5sum] = "a907efb75faf0ccbb1857432bf9d8c0f" -SRC_URI[sha256sum] = "f518e7cfe048e053fd1019dfb891b4c55b871c56c5a31693d733240c80b8f191" +SRC_URI[md5sum] = "470711c9b7e0de1057f7b72a58b7ab51" +SRC_URI[sha256sum] = "8f04aa6201bacda0567e7ac7f677f1499b0fc76b22140c54bc06edf1ba92e2fa" inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.18.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.19.1.bb index 0a2410f85..0a2410f85 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.18.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.19.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb new file mode 100644 index 000000000..440f69cbf --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb @@ -0,0 +1,2 @@ +inherit pypi setuptools +require python-robotframework-seriallibrary.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_3.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_3.0.4.bb index 8f613c386..8f613c386 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_3.0.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_3.0.4.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-scapy_0.23.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-scapy_0.25.bb index 3e7baf45c..f785a2fe8 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-scapy_0.23.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-scapy_0.25.bb @@ -3,11 +3,11 @@ based on scapy with python3 compatibility" SECTION = "devel/python" HOMEPAGE = "https://github.com/phaethon/scapy" LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=95ea6ecfc360eb47fe6f470ad736d7cd" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a4282d4d80227fa599a99e77fdd95e71" inherit pypi setuptools3 PYPI_PACKAGE = "scapy-python3" -SRC_URI[md5sum] = "8642d09ca727e7e2b455223ae94059b7" -SRC_URI[sha256sum] = "8760991a67162f43af4d9e64828bcefc100ba88859b75177ae9f7ace56e58186" +SRC_URI[md5sum] = "c9003d39def73c028cb8c71bcbb42629" +SRC_URI[sha256sum] = "2ae1b3bd9759844e830a6cc3ba11c3f25b08433a8ee3e7eddc08224905e5ef2b" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb new file mode 100644 index 000000000..77925ae2b --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-semver.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.24.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.25.bb index 1e04def7b..1e04def7b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.24.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.25.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_1.15.7.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_2.1.0.bb index 5bf598387..5bf598387 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_1.15.7.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_2.1.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_1.12.14.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_1.12.14.bb new file mode 100644 index 000000000..812bd4b1a --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_1.12.14.bb @@ -0,0 +1,5 @@ +require python-sh.inc +inherit setuptools3 + +RDEPENDS_${PN} += " \ +" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb new file mode 100644 index 000000000..24e683372 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb @@ -0,0 +1,4 @@ +inherit setuptools3 +require python-sijax.inc + +SRC_URI[sha256sum] = "11b062f4a8b2aad95c87e7c09e5daf5a6b0d0f08abf9efe5f91a0075c6be7c0d"
\ No newline at end of file diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.13.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.16.0.bb index 38f406c5d..38f406c5d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.13.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.16.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_1.29.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_1.29.0.bb new file mode 100644 index 000000000..3f557f2cb --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_1.29.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-stevedore.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_4.5.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_5.1.bb index 77c9fb516..77c9fb516 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_4.5.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_5.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb index 6bd8c52eb..6bd8c52eb 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-urllib3_1.22.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-urllib3_1.23.bb index 19eb7025b..19eb7025b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-urllib3_1.22.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-urllib3_1.23.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_2.2.1.bb index add59cf7d..add59cf7d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_2.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_2.2.1.bb diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.4.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.5.0.bb index be11858d3..be11858d3 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.4.3.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.5.0.bb |