From 748a483a8f515f7aa0ce999ebeeebed4ed17ae10 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Fri, 24 Jul 2020 16:24:21 -0500 Subject: meta-openembedded: subtree update:e93d527a33..76b83194b3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Alejandro Enedino Hernandez Samaniego (1): Remmina: Upgrade to 1.4.7 Alistair Francis (1): python3-obd: Add missing setuptools RDEPENDS Andreas Müller (3): xfce4-whiskermenu-plugin: upgrade 2.4.4 -> 2.4.5 xfce4-time-out-plugin: upgrade 1.1.0 -> 1.1.1 graphene: upgrade 1.10.0 -> 1.10.2 Andrej Valek (1): python3-xlsxwriter: add recipe for v 1.2.9 Aníbal Limón (1): recipes-graphics: Add parallel-deqp-runner recipe Armin Kuster (10): python3-flask-babel: update to 1.0.0 and consolidate python3-fastnumbers: Add new package python3-icu: add new package python3-natsort: add new package python3-croniter: Fix missing rdep python3-gmpy2: add new package python3-ecdsa: add package python3-rsa: add new package python3-gnupg: add new package python3-qrcode: add package Changqing Li (2): rsyslog: get alias of syslog back radvd: add /etc/radvd.conf Christian Eggers (2): networkmanager: Package nmcli separately networkmanager: Fix udev dependency Colin McAllister (4): python3-cantools: Added recipe python3-dateparser: Added recipe python3-diskcache: Added recipe python3-bitstruct: Added recipe Dmitry Baryshkov (1): recipes-graphics: add Khronos OpenGL ES and Vulkan CTS recipes Julius Hemanth Pitti (1): netkit-telnetd: Fix buffer overflow in netoprintf Kai Kang (1): python3-pykickstart: 3.22 -> 3.26 Khem Raj (4): ace: Upgrade to 6.5.10 network-manager-applet: Add missing dependency on libgudev memcached: Upgrade to 1.6.6 samba: Fix conflicts with nss.h from glibc Leon Anavi (12): python3-cbor2: Upgrade 5.1.0 -> 5.1.1 python3-psutil: Upgrade 5.7.0 -> 5.7.2 python3-isort: Upgrade 4.3.21 -> 5.1.0 python3-netaddr: Upgrade 0.7.20 -> 0.8.0 python3-bitarray: Upgrade 1.2.2 -> 1.4.1 python3-pymysql: Upgrade 0.9.3 -> 0.10.0 python3-simplejson: Upgrade 3.17.0 -> 3.17.2 python3-isort: Upgrade 5.1.0 -> 5.1.4 python3-stevedore: Upgrade 2.0.1 -> 3.2.0 python3-mock: Upgrade 4.0.1 -> 4.0.2 python3-pychromecast: Upgrade 7.1.1 -> 7.1.2 python3-coverage: Upgrade 5.1 -> 5.2 Matt Hoosier (1): glmark2: don't build full OpenGL backends by default Mingde (Matthew) Zeng (1): net-snmp, openjpeg: add proper CVE tags to patches Mingli Yu (1): freeradius: fix the existed certificate error Ovidiu Panait (1): nss: upgrade 3.51.1 -> 3.54 Philip Balister (1): python3-pybind11: Use cmake to build and add -native version Ryan Rowe (2): python3-packaging: add -native version python3-pint: add setuptools and packaging to RDEPENDS Sakib Sajal (4): python3-mock: add recipe for v4.0.1 python3-pep8: add recipe for v1.7.1 python3-mccabe: add recipe for v0.2.1 python3-requests-toolbelt: add ptest Slater, Joseph (2): lvm2: reproducible binaries toybox-inittab: unpack to S Wang Mingyu (2): python3-idna: upgrade 2.9 -> 2.10 python3-pytz: upgrade 2019.3 -> 2020.1 Zang Ruochen (5): python3-requests-file: Enable ptest python3-semver: Enable ptest python3-smpplib: Enable ptest python3-soupsieve: Enable ptest python3-typeguard: Enable ptest Zheng Ruoqin (3): babeld: upgrade 1.9.1 -> 1.9.2 wireguard-module: upgrade 1.0.20200401 -> 1.0.20200712 wireguard-tools: upgrade 1.0.20200319 -> 1.0.20200513 Signed-off-by: Andrew Geissler Change-Id: I7d02cff7fbd61a6f8e1a96354e169f5f19edf023 --- .../recipes-devtools/python/python-flask-babel.inc | 16 -------- .../recipes-devtools/python/python-idna.inc | 4 +- .../recipes-devtools/python/python-xlsxwriter.inc | 11 ++++++ .../python/python3-bitarray_1.2.2.bb | 11 ------ .../python/python3-bitarray_1.4.1.bb | 11 ++++++ .../python/python3-bitstruct_8.11.0.bb | 14 +++++++ .../python/python3-cantools_35.1.0.bb | 14 +++++++ .../recipes-devtools/python/python3-cbor2_5.1.0.bb | 29 -------------- .../recipes-devtools/python/python3-cbor2_5.1.1.bb | 30 +++++++++++++++ .../python/python3-coverage_5.1.bb | 10 ----- .../python/python3-coverage_5.2.bb | 10 +++++ .../python/python3-croniter_0.3.34.bb | 2 +- .../python/python3-dateparser_0.7.6.bb | 21 +++++++++++ .../python/python3-diskcache_4.1.0.bb | 14 +++++++ .../recipes-devtools/python/python3-ecdsa_0.15.bb | 13 +++++++ .../python/python3-fastnumbers_3.0.0.bb | 9 +++++ .../python/python3-flask-babel_0.12.2.bb | 2 - .../python/python3-flask-babel_1.0.0.bb | 15 ++++++++ .../recipes-devtools/python/python3-gmpy2_2.0.8.bb | 13 +++++++ .../recipes-devtools/python/python3-gnupg_0.4.6.bb | 11 ++++++ .../python/python3-icu/fix_host_include.patch | 30 +++++++++++++++ .../recipes-devtools/python/python3-icu_2.5.bb | 13 +++++++ .../recipes-devtools/python/python3-idna_2.10.bb | 2 + .../recipes-devtools/python/python3-idna_2.9.bb | 2 - .../python/python3-isort_4.3.21.bb | 17 --------- .../recipes-devtools/python/python3-isort_5.1.4.bb | 17 +++++++++ .../python/python3-mccabe_0.2.1.bb | 15 ++++++++ .../recipes-devtools/python/python3-mock_4.0.2.bb | 17 +++++++++ .../python/python3-natsort_7.0.1.bb | 11 ++++++ .../python/python3-netaddr_0.7.20.bb | 13 ------- .../python/python3-netaddr_0.8.0.bb | 13 +++++++ .../recipes-devtools/python/python3-obd_0.7.1.bb | 2 +- .../python/python3-packaging_20.4.bb | 2 + .../recipes-devtools/python/python3-pep8_1.7.1.bb | 17 +++++++++ .../recipes-devtools/python/python3-pint_0.14.bb | 5 +++ .../python/python3-psutil_5.7.0.bb | 25 ------------ .../python/python3-psutil_5.7.2.bb | 26 +++++++++++++ ...t-check-pointer-size-when-cross-compiling.patch | 30 +++++++++++++++ .../0001-Do-not-strip-binaries.patch | 39 +++++++++++++++++++ .../python/python3-pybind11_2.5.0.bb | 17 +++++++-- .../python/python3-pychromecast_7.1.1.bb | 11 ------ .../python/python3-pychromecast_7.1.2.bb | 11 ++++++ .../python/python3-pymysql_0.10.0.bb | 17 +++++++++ .../python/python3-pymysql_0.9.3.bb | 17 --------- .../recipes-devtools/python/python3-pytz_2019.3.bb | 36 ------------------ .../recipes-devtools/python/python3-pytz_2020.1.bb | 36 ++++++++++++++++++ .../recipes-devtools/python/python3-qrcode_6.1.bb | 11 ++++++ .../python/python3-requests-file/run-ptest | 3 ++ .../python/python3-requests-file_1.5.1.bb | 15 +++++++- .../python/python3-requests-toolbelt/run-ptest | 3 ++ .../python/python3-requests-toolbelt_0.9.1.bb | 22 ++++++++++- .../recipes-devtools/python/python3-rsa_3.4.2.bb | 44 ++++++++++++++++++++++ .../python/python3-semver/run-ptest | 3 ++ .../python/python3-semver_2.10.2.bb | 14 ++++++- .../python/python3-simplejson_3.17.0.bb | 25 ------------ .../python/python3-simplejson_3.17.2.bb | 25 ++++++++++++ .../python/python3-smpplib/run-ptest | 3 ++ .../python/python3-smpplib_2.1.0.bb | 17 ++++++++- .../python/python3-soupsieve/run-ptest | 3 ++ .../python/python3-soupsieve_2.0.1.bb | 16 +++++++- .../python/python3-stevedore_2.0.1.bb | 15 -------- .../python/python3-stevedore_3.2.0.bb | 15 ++++++++ .../python/python3-typeguard/run-ptest | 3 ++ .../python/python3-typeguard_2.9.1.bb | 17 ++++++++- .../python/python3-xlsxwriter_1.2.9.bb | 5 +++ 65 files changed, 717 insertions(+), 243 deletions(-) delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel.inc create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python-xlsxwriter.inc delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.2.2.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.4.1.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-bitstruct_8.11.0.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_35.1.0.bb delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.1.0.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.1.1.bb delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.1.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.2.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-dateparser_0.7.6.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-diskcache_4.1.0.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.15.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.4.6.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.5.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.10.bb delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.9.bb delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-isort_4.3.21.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-isort_5.1.4.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-mock_4.0.2.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_0.7.20.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_0.8.0.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.2.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_7.1.1.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_7.1.2.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.10.0.bb delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2020.1.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-qrcode_6.1.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file/run-ptest create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-semver/run-ptest delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.0.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.2.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/run-ptest create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest delete mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_2.0.1.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_3.2.0.bb create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard/run-ptest create mode 100644 meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_1.2.9.bb (limited to 'meta-openembedded/meta-python/recipes-devtools') diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel.inc deleted file mode 100644 index 0e507f337..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel.inc +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "i18n and l10n support for Flask based on babel and pytz" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9" - -SRC_URI[md5sum] = "fcf2f360ff279d3133e40974804efd72" -SRC_URI[sha256sum] = "316ad183e42003f3922957fa643d0a1e8e34a0f0301a88c3a8f605bc37ba5c86" - -PYPI_PACKAGE = "Flask-Babel" - -inherit pypi - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-speaklater \ - ${PYTHON_PN}-babel \ - ${PYTHON_PN}-flask \ - " 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 adf26e027..4968f1072 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-idna.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-idna.inc @@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/kjd/idna" LICENSE = "BSD-3-Clause & Python-2.0 & Unicode" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=cf36c8682cc154d2d4aa57bd6246b9a1" -SRC_URI[md5sum] = "870b8b80267f00f0faf1b7ba4bdbf14e" -SRC_URI[sha256sum] = "7588d1c14ae4c77d74036e8c22ff447b26d0fde8f007354fd48a7814db15b7cb" +SRC_URI[md5sum] = "7a910c706db30d758f377db2762c0f9a" +SRC_URI[sha256sum] = "b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6" RDEPENDS_${PN}_class-target = "\ ${PYTHON_PN}-codecs \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-xlsxwriter.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-xlsxwriter.inc new file mode 100644 index 000000000..f5d56db00 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-xlsxwriter.inc @@ -0,0 +1,11 @@ +SUMMARY = "Python 2 and 3 compatibility library" +HOMEPAGE = "https://xlsxwriter.readthedocs.io" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0960d52d61b0801760f39463288c2672" + +inherit pypi + +PYPI_PACKAGE = "XlsxWriter" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.2.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.2.2.bb deleted file mode 100644 index c495738c4..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.2.2.bb +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "A high-level Python efficient arrays of booleans -- C extension" -HOMEPAGE = "https://github.com/ilanschnell/bitarray" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=d331e1d54f5e78247388f5416c2ab928" - -SRC_URI[md5sum] = "81c48852b0bc538ac3ed25fae020360c" -SRC_URI[sha256sum] = "27a69ffcee3b868abab3ce8b17c69e02b63e722d4d64ffd91d659f81e9984954" - -inherit setuptools3 pypi - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.4.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.4.1.bb new file mode 100644 index 000000000..4866e8464 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.4.1.bb @@ -0,0 +1,11 @@ +SUMMARY = "A high-level Python efficient arrays of booleans -- C extension" +HOMEPAGE = "https://github.com/ilanschnell/bitarray" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d" + +SRC_URI[md5sum] = "dfb3fe66ae989e4724747fcb0f704f56" +SRC_URI[sha256sum] = "9e26d3dc7fad932fed66e08da3fcf93dd15e8402aa84e764e1e2a9e1b6ae2b7f" + +inherit setuptools3 pypi + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstruct_8.11.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstruct_8.11.0.bb new file mode 100644 index 000000000..a25380418 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstruct_8.11.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "This module performs conversions between Python values and C bit field structs represented as Python byte strings." +HOMEPAGE = "https://github.com/eerimoq/bitstruct" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" + +SRC_URI[md5sum] = "8eaf853c95e10ca4b6bca2fe5ff307c6" +SRC_URI[sha256sum] = "2b13f2c3e76b49e8cd854f7a1da590bb73ecbc6cbfacc2d479eacf2b88282d5d" + +PYPI_PACKAGE = "bitstruct" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_35.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_35.1.0.bb new file mode 100644 index 000000000..a9638fbd2 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_35.1.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "CAN BUS tools in Python 3." +HOMEPAGE = "https://github.com/eerimoq/cantools" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" + +SRC_URI[md5sum] = "46b71bbfec33146d9dbba708489a8ae2" +SRC_URI[sha256sum] = "bd0ac5b16bb7fe2ada0c9436c91a0b3795217bed7126296dde1565919a3f44f1" + +PYPI_PACKAGE = "cantools" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.1.0.bb deleted file mode 100644 index 812539941..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.1.0.bb +++ /dev/null @@ -1,29 +0,0 @@ -DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." -DEPENDS +="${PYTHON_PN}-setuptools-scm-native" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -SRC_URI[sha256sum] = "43ce11e8c2fe4971d386d1a60cf83bfa0a4a667b97668ba76acbf5e6398821aa" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-unixadmin \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-datetime \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.1.1.bb new file mode 100644 index 000000000..6b26da2a6 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_5.1.1.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representation (CBOR)." +DEPENDS +="${PYTHON_PN}-setuptools-scm-native" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +SRC_URI[sha256sum] = "09e9607ea50e2ebb718791d475f11620cb244b0cc3758ce2e76cf36e8372ad64" +SRC_URI[md5sum] = "b034d7edfd22c1f98e600aaedbd90f39" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unixadmin \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-datetime \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.1.bb deleted file mode 100644 index 7265d2c97..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.1.bb +++ /dev/null @@ -1,10 +0,0 @@ -SUMMARY = "Code coverage measurement for Python" -HOMEPAGE = "https://coverage.readthedocs.io" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" - -SRC_URI[md5sum] = "506e30fb011158abe5ce92f39866b271" -SRC_URI[sha256sum] = "f90bfc4ad18450c80b024036eaf91e4a246ae287701aaa88eaebebf150868052" - -inherit pypi setuptools3 - diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.2.bb new file mode 100644 index 000000000..72558e10c --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.2.bb @@ -0,0 +1,10 @@ +SUMMARY = "Code coverage measurement for Python" +HOMEPAGE = "https://coverage.readthedocs.io" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" + +SRC_URI[md5sum] = "bfe80a336636160a3916467f55842bc5" +SRC_URI[sha256sum] = "1874bdc943654ba46d28f179c1846f5710eda3aeb265ff029e0ac2b52daae404" + +inherit pypi setuptools3 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb index 0c28948f6..123d17613 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb @@ -9,4 +9,4 @@ SRC_URI[sha256sum] = "7186b9b464f45cf3d3c83a18bc2344cc101d7b9fd35a05f2878437b149 inherit pypi setuptools3 -RDEPENDS_${PN} += " python3-dateutil" +RDEPENDS_${PN} += " python3-dateutil python3-natsort" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-dateparser_0.7.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-dateparser_0.7.6.bb new file mode 100644 index 000000000..e4683911e --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-dateparser_0.7.6.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Provides modules to easily parse localized dates in almost any string formats commonly found on web pages" +HOMEPAGE = "https://github.com/scrapinghub/dateparser" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3d3ed25571191e7aa3f55d0a6efe0051" + +SRC_URI[md5sum] = "78b4bf317f9b844631562abad5ce040b" +SRC_URI[sha256sum] = "e875efd8c57c85c2d02b238239878db59ff1971f5a823457fcc69e493bf6ebfa" + +PYPI_PACKAGE = "dateparser" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-dateutil \ + ${PYTHON_PN}-tzlocal \ + ${PYTHON_PN}-ruamel-yaml \ +" + +# Ommitted ${PYTHON_PN}-convertdate, ${PYTHON_PN}-jdatetime ${PYTHON_PN}-umalqurra diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-diskcache_4.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-diskcache_4.1.0.bb new file mode 100644 index 000000000..91cff0cd1 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-diskcache_4.1.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Disk Cache -- Disk and file backed persistent cache." +HOMEPAGE = "http://www.grantjenks.com/docs/diskcache/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9e046ce8fae71087134866418f646ec3" + +SRC_URI[md5sum] = "21c9945e7707799e1c64956f8a54d4c3" +SRC_URI[sha256sum] = "bcee5a59f9c264e2809e58d01be6569a3bbb1e36a1e0fb83f7ef9b2075f95ce0" + +PYPI_PACKAGE = "diskcache" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.15.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.15.bb new file mode 100644 index 000000000..aba62f3ef --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.15.bb @@ -0,0 +1,13 @@ +SUMMARY = "ECDSA cryptographic signature library (pure python)" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d" + +DEPENDS += "python3-pip python3-pbr" + +PYPI_PACKAGE = "ecdsa" +SRC_URI[sha256sum] = "8f12ac317f8a1318efa75757ef0a651abe12e51fc1af8838fb91079445227277" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-six python3-gmpy2 python3-pbr" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb new file mode 100644 index 000000000..b0ecb9d56 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_3.0.0.bb @@ -0,0 +1,9 @@ +SUMMARY = "Super-fast and clean conversions to numbers." +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f797665cf3d3e0fdc0d488f5200c6f55" + +PYPI_PACKAGE = "fastnumbers" +SRC_URI[sha256sum] = "93ce2f9516fbf2bbf46c85e4abef783cc569e5fbbc665352efb9cdddbae517ec" + +inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb deleted file mode 100644 index 104e7c28f..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-flask-babel.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb new file mode 100644 index 000000000..d968be3ee --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "i18n and l10n support for Flask based on babel and pytz" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9" + +SRC_URI[sha256sum] = "d6a70468f9a8919d59fba2a291a003da3a05ff884275dddbd965f3b98b09ab3e" + +PYPI_PACKAGE = "Flask-Babel" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-speaklater \ + ${PYTHON_PN}-babel \ + ${PYTHON_PN}-flask \ + " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb new file mode 100644 index 000000000..c6edcbb32 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2_2.0.8.bb @@ -0,0 +1,13 @@ +SUMMARY = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x" +SECTION = "devel/python" +LICENSE = "GPL-3.0 | LGPL-3.0+" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" + +DEPENDS += "gmp mpfr libmpc" + +PYPI_PACKAGE = "gmpy2" +PYPI_PACKAGE_EXT = "zip" +SRC_URI[sha256sum] = "dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f" + +inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.4.6.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.4.6.bb new file mode 100644 index 000000000..ff0a91c6f --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.4.6.bb @@ -0,0 +1,11 @@ +SUMMARY = "A wrapper for the Gnu Privacy Guard (GPG or GnuPG)" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b0b7ac63b60085b23fa9f7e1951daa1d" + +PYPI_PACKAGE = "python-gnupg" +SRC_URI[sha256sum] = "3aa0884b3bd414652c2385b9df39e7b87272c2eca1b8fcc3089bc9e58652019a" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "gnupg-gpg" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch new file mode 100644 index 000000000..1b6e89043 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/fix_host_include.patch @@ -0,0 +1,30 @@ +Fixed host contamination of include files + +python3-icu-2.5-r0 do_package_qa: QA Issue: python3-icu: The compile log indicates that host include and/or library paths were used. + +Also, don't use icu-config + +Upstream-Status: [inappropriate] OE specific +Signed-off-by: Armin Kuster + +Index: PyICU-2.5/setup.py +=================================================================== +--- PyICU-2.5.orig/setup.py ++++ PyICU-2.5/setup.py +@@ -81,7 +81,7 @@ Building PyICU %s for ICU %s (max ICU ma + + CONFIGURE_WITH_ICU_CONFIG = { + 'darwin': True, +- 'linux': True, ++ 'linux': False, + 'freebsd': False, # not tested + 'win32': False, # no icu-config + 'sunos5': False, # not tested +@@ -274,7 +274,6 @@ setup(name="PyICU", + ext_modules=[Extension('_icu', + [filename for filename in sorted(os.listdir(os.curdir)) + if filename.endswith('.cpp')], +- include_dirs=_includes, + extra_compile_args=_cflags, + extra_link_args=_lflags, + libraries=_libraries)], diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.5.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.5.bb new file mode 100644 index 000000000..5e8c8a3a0 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.5.bb @@ -0,0 +1,13 @@ +SUMMARY = "Python extension wrapping the ICU C++ API" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c7c4bfd81a21e3b6368bdcced992bf59" + +DEPENDS += "pkgconfig icu" + +PYPI_PACKAGE = "PyICU" +SRC_URI[sha256sum] = "a120b68c53f769f37bfb70b7e84ca12c3f4ab1e4df43e87a02dff05ae472cdbc" + +SRC_URI += "file://fix_host_include.patch" + +inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.10.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.10.bb new file mode 100644 index 000000000..a08ca714a --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.10.bb @@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-idna.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.9.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.9.bb deleted file mode 100644 index a08ca714a..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.9.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-idna.inc diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_4.3.21.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_4.3.21.bb deleted file mode 100644 index e0b21ab55..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_4.3.21.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "A Python utility / library to sort Python imports." -HOMEPAGE = "https://pypi.python.org/pypi/isort" -LICENSE = "MIT" -SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" - -SRC_URI[md5sum] = "05d66f2eb7ce2c2d702e86bac24bf9e4" -SRC_URI[sha256sum] = "54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-shell \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_5.1.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_5.1.4.bb new file mode 100644 index 000000000..59ff2ffe1 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_5.1.4.bb @@ -0,0 +1,17 @@ +SUMMARY = "A Python utility / library to sort Python imports." +HOMEPAGE = "https://pypi.python.org/pypi/isort" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489" + +SRC_URI[md5sum] = "64d552bbcef48219572cc39649c48fbd" +SRC_URI[sha256sum] = "145072eedc4927cc9c1f9478f2d83b2fc1e6469df4129c02ef4e8c742207a46c" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-shell \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb new file mode 100644 index 000000000..d3a9971e4 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "McCabe checker, plugin for flake8" +HOMEPAGE = "https://github.com/dreamhost/cliff" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.rst;md5=aa0383f6aee4f5c20084a97cd13164c4" + +SRC_URI[md5sum] = "5a3f3fa6a4bad126c88aaaa7dab682f5" +SRC_URI[sha256sum] = "5a2a170e47de5593a6abfae1e9542bd2c3924ac62bbe4e6ed96c953c0352243a" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \ + ${PYTHON_PN}-cmd2 \ + ${PYTHON_PN}-pyparsing \ + " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-mock_4.0.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-mock_4.0.2.bb new file mode 100644 index 000000000..39ab6d01f --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-mock_4.0.2.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "A Python Mocking and Patching Library for Testing" +HOMEPAGE = "https://pypi.python.org/pypi/mock" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \ + ${PYTHON_PN}-cmd2 \ + ${PYTHON_PN}-pyparsing \ + ${PYTHON_PN}-mccabe \ + ${PYTHON_PN}-pep8 \ + ${PYTHON_PN}-pyflakes" + +SRC_URI[md5sum] = "6466619b89c2969dc57722ad73f85676" +SRC_URI[sha256sum] = "dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb new file mode 100644 index 000000000..e20cdf0fa --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-natsort_7.0.1.bb @@ -0,0 +1,11 @@ +SUMMARY = "Simple yet flexible natural sorting in Python." +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6a96e5ad780a0eea866ecccec4463517" + +PYPI_PACKAGE = "natsort" +SRC_URI[sha256sum] = "a633464dc3a22b305df0f27abcb3e83515898aa1fd0ed2f9726c3571a27258cf" + +inherit pypi setuptools3 + +RDEPENDS_${PN} = "python3-fastnumbers python3-icu" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_0.7.20.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_0.7.20.bb deleted file mode 100644 index bc7598c46..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_0.7.20.bb +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "A network address manipulation library for Python." -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e6345d695ffe3776f68a56fe7962db44" - -SRC_URI[md5sum] = "f254d6b61e07123f9e2643b1dcbd03df" -SRC_URI[sha256sum] = "d09252e5aec3913815d77eb8e8ea8fa6eb33521253e52f977f6abaa964776f3e" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-pprint \ - ${PYTHON_PN}-xml \ -" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_0.8.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_0.8.0.bb new file mode 100644 index 000000000..a120b24f1 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-netaddr_0.8.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "A network address manipulation library for Python." +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e6345d695ffe3776f68a56fe7962db44" + +SRC_URI[md5sum] = "34cad578473b66ad77bc3b2a7613ed4a" +SRC_URI[sha256sum] = "d6cc57c7a07b1d9d2e917aa8b36ae8ce61c35ba3fcd1b83ca31c5a0ee2b5a243" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-xml \ +" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-obd_0.7.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-obd_0.7.1.bb index eb8a5a747..8f17068a4 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-obd_0.7.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-obd_0.7.1.bb @@ -7,4 +7,4 @@ SRC_URI[sha256sum] = "8b81ea5896157b6e861af12e173c10b001cb6cca6ebb04db2c01d32681 inherit setuptools3 pypi -RDEPENDS_${PN} += "${PYTHON_PN}-pyserial ${PYTHON_PN}-pint ${PYTHON_PN}-setuptools" +RDEPENDS_${PN} += "${PYTHON_PN}-pyserial ${PYTHON_PN}-pint ${PYTHON_PN}-setuptools ${PYTHON_PN}-packaging" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-packaging_20.4.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-packaging_20.4.bb index 0f78fd016..c75707e69 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-packaging_20.4.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-packaging_20.4.bb @@ -8,5 +8,7 @@ SRC_URI[sha256sum] = "4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d55 inherit pypi setuptools3 +BBCLASSEXTEND = "native" + DEPENDS += "${PYTHON_PN}-setuptools-scm-native" RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb new file mode 100644 index 000000000..8291281ca --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pep8_1.7.1.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Python style guide checker" +HOMEPAGE = "https://github.com/dreamhost/cliff" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.rst;md5=d8ebbbe831259ce010179d2f310b0f3e" + +SRC_URI[md5sum] = "a03bb494859e87b42601b61b1b043a0c" +SRC_URI[sha256sum] = "603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \ + ${PYTHON_PN}-cmd2 \ + ${PYTHON_PN}-pyparsing" + +SRC_URI[md5sum] = "603821d06db945c71d811b5a8d78423c" +SRC_URI[sha256sum] = "fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.14.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.14.bb index 8e1630476..333b015a9 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.14.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.14.bb @@ -21,6 +21,11 @@ SRC_URI += " \ file://run-ptest \ " +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-packaging \ +" + RDEPENDS_${PN}-ptest += " \ ${PYTHON_PN}-pytest \ " diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb deleted file mode 100644 index 170819d59..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "A cross-platform process and system utilities module for Python" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" - -SRC_URI[md5sum] = "ed7b0f11ed214bcabbe76b7cf52f3ae3" -SRC_URI[sha256sum] = "685ec16ca14d079455892f25bd124df26ff9137664af445563c1bd36629b5e0e" - -inherit pypi setuptools3 - -PACKAGES =+ "${PN}-tests" - -FILES_${PN}-tests += " \ - ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \ - ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ -" - - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-xml \ - ${PYTHON_PN}-netclient \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.2.bb new file mode 100644 index 000000000..d61d501e9 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.2.bb @@ -0,0 +1,26 @@ +SUMMARY = "A cross-platform process and system utilities module for Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" + +PYPI_SRC_URI = "https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1/psutil-${PV}.tar.gz" +SRC_URI[md5sum] = "50bf39b4faa268ba1da8a9730bb38bb6" +SRC_URI[sha256sum] = "90990af1c3c67195c44c9a889184f84f5b2320dce3ee3acbd054e3ba0b4a7beb" + +inherit pypi setuptools3 + +PACKAGES =+ "${PN}-tests" + +FILES_${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/psutil/test* \ + ${PYTHON_SITEPACKAGES_DIR}/psutil/__pycache__/test* \ +" + + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-xml \ + ${PYTHON_PN}-netclient \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch new file mode 100644 index 000000000..6455c95e7 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch @@ -0,0 +1,30 @@ +From 3abfa65517959ad279481021fafefba28f955e76 Mon Sep 17 00:00:00 2001 +From: Philip Balister +Date: Fri, 10 Jul 2020 10:14:59 -0400 +Subject: [PATCH] Do not check pointer size when cross compiling. + +It is reasonable to build for 32 machine on a 64 bit build machine. Prevents: +| CMake Error at tools/FindPythonLibsNew.cmake:127 (message): +| Python config failure: Python is 64-bit, chosen compiler is 32-bit + +Signed-off-by: Philip Balister +--- + tools/FindPythonLibsNew.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/FindPythonLibsNew.cmake b/tools/FindPythonLibsNew.cmake +index d0c8fa2..8479e70 100644 +--- a/tools/FindPythonLibsNew.cmake ++++ b/tools/FindPythonLibsNew.cmake +@@ -123,7 +123,7 @@ list(GET _PYTHON_VALUES 9 PYTHON_MULTIARCH) + + # Make sure the Python has the same pointer-size as the chosen compiler + # Skip if CMAKE_SIZEOF_VOID_P is not defined +-if(CMAKE_SIZEOF_VOID_P AND (NOT "${PYTHON_SIZEOF_VOID_P}" STREQUAL "${CMAKE_SIZEOF_VOID_P}")) ++if((NOT CMAKE_CROSSCOMPILING) AND CMAKE_SIZEOF_VOID_P AND (NOT "${PYTHON_SIZEOF_VOID_P}" STREQUAL "${CMAKE_SIZEOF_VOID_P}")) + if(PythonLibsNew_FIND_REQUIRED) + math(EXPR _PYTHON_BITS "${PYTHON_SIZEOF_VOID_P} * 8") + math(EXPR _CMAKE_BITS "${CMAKE_SIZEOF_VOID_P} * 8") +-- +2.25.4 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch new file mode 100644 index 000000000..07ab9a03b --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-strip-binaries.patch @@ -0,0 +1,39 @@ +From 918f3ef01c7a67f3beb67307966698474f144581 Mon Sep 17 00:00:00 2001 +From: Philip Balister +Date: Wed, 8 Jul 2020 09:41:43 -0400 +Subject: [PATCH] Do not strip binaries. + + * OpenEmbedded strips them after creating debug packages. + +Signed-off-by: Philip Balister +--- + tools/pybind11Tools.cmake | 13 ------------- + 1 file changed, 13 deletions(-) + +diff --git a/tools/pybind11Tools.cmake b/tools/pybind11Tools.cmake +index a3603ab..b4c8f63 100644 +--- a/tools/pybind11Tools.cmake ++++ b/tools/pybind11Tools.cmake +@@ -230,19 +230,6 @@ function(pybind11_add_module target_name) + + _pybind11_add_lto_flags(${target_name} ${ARG_THIN_LTO}) + +- if (NOT MSVC AND NOT ${CMAKE_BUILD_TYPE} MATCHES Debug|RelWithDebInfo) +- # Strip unnecessary sections of the binary on Linux/Mac OS +- if(CMAKE_STRIP) +- if(APPLE) +- add_custom_command(TARGET ${target_name} POST_BUILD +- COMMAND ${CMAKE_STRIP} -x $) +- else() +- add_custom_command(TARGET ${target_name} POST_BUILD +- COMMAND ${CMAKE_STRIP} $) +- endif() +- endif() +- endif() +- + if(MSVC) + # /MP enables multithreaded builds (relevant when there are many files), /bigobj is + # needed for bigger binding projects due to the limit to 64k addressable sections +-- +2.25.4 + diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb index dc3b8f6ad..46bba8d8d 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.5.0.bb @@ -3,7 +3,18 @@ HOMEPAGE = "https://github.com/wjakob/pybind11" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=beb87117af69fd10fbf9fb14c22a2e62" -SRC_URI[md5sum] = "5355e1fd05c8eedef19cc9bfd3d82a77" -SRC_URI[sha256sum] = "ea5a4e7a880112915463826f1acbec5892df36dfe102ecb249229ac514fb54ad" +DEPENDS = "boost" -inherit pypi setuptools3 +SRC_URI = "git://github.com/pybind/pybind11.git \ + file://0001-Do-not-strip-binaries.patch \ + file://0001-Do-not-check-pointer-size-when-cross-compiling.patch \ + " +SRCREV = "3b1dbebabc801c9cf6f0953a4c20b904d444f879" + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native" + +EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF" + +inherit cmake python3native diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_7.1.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_7.1.1.bb deleted file mode 100644 index 3da979c0f..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_7.1.1.bb +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "Library for Python 3.6+ to communicate with the Google Chromecast." -HOMEPAGE = "https://github.com/balloob/pychromecast" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" - -SRC_URI[md5sum] = "897e7acd6ac2c01f3df2e2d6b2e13c11" -SRC_URI[sha256sum] = "87fa9ad42425edd21e02a9240669e5763e52d975ee259a948a6fe07e6ab977b9" - -PYPI_PACKAGE = "PyChromecast" - -inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_7.1.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_7.1.2.bb new file mode 100644 index 000000000..98dbf33b2 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_7.1.2.bb @@ -0,0 +1,11 @@ +SUMMARY = "Library for Python 3.6+ to communicate with the Google Chromecast." +HOMEPAGE = "https://github.com/balloob/pychromecast" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" + +SRC_URI[md5sum] = "6ca5102b09009c85424a9ab628005992" +SRC_URI[sha256sum] = "adcf478d7fc539e9decde59b2db7b6a4b1d679c4cf78d515d880adb1c4bc1c30" + +PYPI_PACKAGE = "PyChromecast" + +inherit pypi setuptools3 diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.10.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.10.0.bb new file mode 100644 index 000000000..895c47b03 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.10.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "A pure-Python MySQL client library" +DESCRIPTION = " \ + This package contains a pure-Python MySQL client library, based on PEP 249 \ + Most public APIs are compatible with mysqlclient and MySQLdb. \ + " +SECTION = "devel/python" +HOMEPAGE = "https://pymysql.readthedocs.io" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" + +SRC_URI[md5sum] = "d08058b1592724d5808c43f56050f245" +SRC_URI[sha256sum] = "e14070bc84e050e0f80bf6063e31d276f03a0bb4d46b9eca2854566c4ae19837" + +PYPI_PACKAGE = "PyMySQL" +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-cryptography" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb deleted file mode 100644 index 6a64ccb16..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "A pure-Python MySQL client library" -DESCRIPTION = " \ - This package contains a pure-Python MySQL client library, based on PEP 249 \ - Most public APIs are compatible with mysqlclient and MySQLdb. \ - " -SECTION = "devel/python" -HOMEPAGE = "https://pymysql.readthedocs.io" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" - -SRC_URI[md5sum] = "e5d9183cc0a775ac29f9e0365cca6556" -SRC_URI[sha256sum] = "d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7" - -PYPI_PACKAGE = "PyMySQL" -inherit pypi setuptools3 - -RDEPENDS_${PN} += "${PYTHON_PN}-cryptography" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb deleted file mode 100644 index c28a0148b..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb +++ /dev/null @@ -1,36 +0,0 @@ -SUMMARY = "World timezone definitions, modern and historical" -HOMEPAGE = "http://pythonhosted.org/pytz" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4878a915709225bceab739bdc2a18e8d" - -inherit pypi setuptools3 ptest - -SRC_URI[md5sum] = "c3d84a465fc56a4edd52cca8873ac0df" -SRC_URI[sha256sum] = "b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be" - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-doctest \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-pprint \ - ${PYTHON_PN}-threading \ -" - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/pytz - install -d ${D}${PTEST_PATH}/pytz/tests - cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/ - cp -f ${S}/README.txt ${D}${PTEST_PATH}/ - -} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2020.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2020.1.bb new file mode 100644 index 000000000..198626311 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2020.1.bb @@ -0,0 +1,36 @@ +SUMMARY = "World timezone definitions, modern and historical" +HOMEPAGE = "http://pythonhosted.org/pytz" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999" + +inherit pypi setuptools3 ptest + +SRC_URI[md5sum] = "0349106ac02f2bfe565dd6d5594e3a15" +SRC_URI[sha256sum] = "c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048" + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-doctest \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-threading \ +" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/pytz + install -d ${D}${PTEST_PATH}/pytz/tests + cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/ + cp -f ${S}/README.rst ${D}${PTEST_PATH}/ + +} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-qrcode_6.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-qrcode_6.1.bb new file mode 100644 index 000000000..df99d403d --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-qrcode_6.1.bb @@ -0,0 +1,11 @@ +SUMMARY = "QR Code image generator" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9" + +PYPI_PACKAGE = "qrcode" +SRC_URI[sha256sum] = "505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369" + +inherit pypi setuptools3 + +RDEPENDS_${PN} = "python3-six python3-pillow" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file/run-ptest new file mode 100644 index 000000000..b63c4de0d --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb index 1c8bba40d..88915b8fb 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_1.5.1.bb @@ -6,7 +6,20 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" SRC_URI[md5sum] = "c96daf6b0c56687556e8a52748fd896c" SRC_URI[sha256sum] = "07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e" -inherit pypi setuptools3 +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} RDEPENDS_${PN} += " \ python3-requests \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest new file mode 100644 index 000000000..b63c4de0d --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_0.9.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_0.9.1.bb index 3beb39718..cb1bc607b 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_0.9.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_0.9.1.bb @@ -5,12 +5,30 @@ AUTHOR = "Ian Cordasco, Cory Benfield" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=71760e0f1dda8cff91b0bc9246caf571" +SRC_URI = "file://run-ptest \ + " + SRC_URI[md5sum] = "b1509735c4b4cf95df2619facbc3672e" SRC_URI[sha256sum] = "968089d4584ad4ad7c171454f0a5c6dac23971e9472521ea3b6d49d610aa6fc0" -inherit setuptools3 -inherit pypi +inherit pypi setuptools3 ptest RDEPENDS_${PN} += " \ ${PYTHON_PN}-requests (>=2.0.1) \ " + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-betamax \ + ${PYTHON_PN}-mock \ + ${PYTHON_PN}-multiprocessing \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + cp -rf ${S}/setup.py ${D}${PTEST_PATH} + # remove test test_multipart_encoder.py as it fails, + # downloaded file is not supported + rm -f ${D}${PTEST_PATH}/tests/test_multipart_encoder.py +} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb new file mode 100644 index 000000000..759214fa3 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-rsa_3.4.2.bb @@ -0,0 +1,44 @@ +SUMMARY = "Pure-Python RSA implementation" +SECTION = "devel/python" +AUTHOR = "Sybren A. Stuvel" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c403f6882d4f97a9cd927df987d55634" + +SRC_URI[sha256sum] = "25df4e10c263fb88b5ace923dd84bf9aa7f5019687b5e55382ffcdb8bede9db5" + +inherit pypi setuptools3 update-alternatives + +ALTERNATIVE_${PN} = "\ + pyrsa-decrypt \ + pyrsa-decrypt-bigfile \ + pyrsa-encrypt \ + pyrsa-encrypt-bigfile \ + pyrsa-keygen \ + pyrsa-priv2pub \ + pyrsa-sign \ + pyrsa-verify \ +" + +ALTERNATIVE_LINK_NAME[pyrsa-decrypt] = "${bindir}/pyrsa-decrypt" +ALTERNATIVE_LINK_NAME[pyrsa-decrypt-bigfile] = "${bindir}/pyrsa-decrypt-bigfile" +ALTERNATIVE_LINK_NAME[pyrsa-encrypt] = "${bindir}/pyrsa-encrypt" +ALTERNATIVE_LINK_NAME[pyrsa-encrypt-bigfile] = "${bindir}/pyrsa-encrypt-bigfile" +ALTERNATIVE_LINK_NAME[pyrsa-keygen] = "${bindir}/pyrsa-keygen" +ALTERNATIVE_LINK_NAME[pyrsa-priv2pub] = "${bindir}/pyrsa-priv2pub" +ALTERNATIVE_LINK_NAME[pyrsa-sign] = "${bindir}/pyrsa-sign" +ALTERNATIVE_LINK_NAME[pyrsa-verify] = "${bindir}/pyrsa-verify" +ALTERNATIVE_PRIORITY = "30" + + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-compression \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-doctest \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-pickle \ +" + +RDEPENDS_${PN} += "${PYTHON_PN}-pyasn1" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-semver/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-semver/run-ptest new file mode 100644 index 000000000..43c03b594 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-semver/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO test_semver.py --disable-warnings| sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.10.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.10.2.bb index b41ef5ddc..71cb1acec 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.10.2.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.10.2.bb @@ -7,6 +7,18 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665 SRC_URI[md5sum] = "3e11ae9782121e8ffe9f8a8b763a8cb5" SRC_URI[sha256sum] = "c0a4a9d1e45557297a722ee9bac3de2ec2ea79016b6ffcaca609b0bc62cf4276" -inherit pypi setuptools3 +inherit pypi setuptools3 ptest BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/test_semver.py ${D}${PTEST_PATH}/ +} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.0.bb deleted file mode 100644 index b76ae5299..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.0.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python" -HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e" - -SRC_URI[md5sum] = "8a5ed75c367b90fedc3d685742e2a1c7" -SRC_URI[sha256sum] = "2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-netserver \ - ${PYTHON_PN}-numbers \ -" - -PACKAGES =+ "${PN}-tests" -RDEPENDS_${PN}-tests = "${PN} ${PYTHON_PN}-unittest" -FILES_${PN}-tests+= " \ - ${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \ - ${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.2.bb new file mode 100644 index 000000000..cab0da6a1 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.2.bb @@ -0,0 +1,25 @@ +SUMMARY = "Simple, fast, extensible JSON encoder/decoder for Python" +HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e" + +SRC_URI[md5sum] = "27fba3bc75a32318bd3b163b8a31aa7e" +SRC_URI[sha256sum] = "75ecc79f26d99222a084fbdd1ce5aad3ac3a8bd535cd9059528452da38b68841" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-netserver \ + ${PYTHON_PN}-numbers \ +" + +PACKAGES =+ "${PN}-tests" +RDEPENDS_${PN}-tests = "${PN} ${PYTHON_PN}-unittest" +FILES_${PN}-tests+= " \ + ${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \ + ${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/run-ptest new file mode 100644 index 000000000..b63c4de0d --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb index 948af58aa..15b326bad 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.1.0.bb @@ -6,4 +6,19 @@ LIC_FILES_CHKSUM = "file://README.md;md5=56a03d0ce7e492d4b9487b8aae957efe" PYPI_PACKAGE = "smpplib" SRC_URI[sha256sum] = "df4139a279b35fbb42a58f2a254a9c6daf362b04a7f94e208dc120e0b8a3fd4b" -inherit pypi setuptools3 +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unittest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + sed -i 's/mock/unittest.mock/g' ${D}${PTEST_PATH}/tests/* +} diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest new file mode 100644 index 000000000..b63c4de0d --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb index aa087c920..ae242af56 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb @@ -7,6 +7,20 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5a6fd3b0c24fc5a041a3d1bbb22c81b5" SRC_URI[md5sum] = "62a7481c7dbf6d8cc21e4e3a79c72034" SRC_URI[sha256sum] = "a59dc181727e95d25f781f0eb4fd1825ff45590ec8ff49eadfd7f1a537cc0232" -inherit pypi setuptools3 +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-beautifulsoup4 \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} BBCLASSEXTEND = "native nativesdk" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_2.0.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_2.0.1.bb deleted file mode 100644 index cf388fa7c..000000000 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_2.0.1.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Manage dynamic plugins for Python applications" -HOMEPAGE = "https://docs.openstack.org/stevedore/latest/" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI[md5sum] = "d0f137ec4fe5d98978970671a860882d" -SRC_URI[sha256sum] = "609912b87df5ad338ff8e44d13eaad4f4170a65b79ae9cb0aa5632598994a1b7" - -DEPENDS += "${PYTHON_PN}-pbr-native" - -inherit pypi setuptools3 - -RDEPENDS_${PN} += "${PYTHON_PN}-pbr ${PYTHON_PN}-six" - -BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_3.2.0.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_3.2.0.bb new file mode 100644 index 000000000..0a2bffdcc --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_3.2.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Manage dynamic plugins for Python applications" +HOMEPAGE = "https://docs.openstack.org/stevedore/latest/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[md5sum] = "6a39764d7aecc63a0990cf4635cb430d" +SRC_URI[sha256sum] = "38791aa5bed922b0a844513c5f9ed37774b68edc609e5ab8ab8d8fe0ce4315e5" + +DEPENDS += "${PYTHON_PN}-pbr-native" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-pbr ${PYTHON_PN}-six" + +BBCLASSEXTEND = "native" diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard/run-ptest new file mode 100644 index 000000000..b63c4de0d --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_2.9.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_2.9.1.bb index a0167cf03..3786ccb85 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_2.9.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_2.9.1.bb @@ -6,7 +6,22 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" SRC_URI[md5sum] = "411df8eefd76ffa014328a46342bdf38" SRC_URI[sha256sum] = "529ef3d88189cc457f4340388028412f71be8091c2c943465146d4170fb67288" -inherit pypi setuptools3 +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-typing-extensions \ + ${PYTHON_PN}-unixadmin \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} DEPENDS += "\ python3-distutils-extra-native \ diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_1.2.9.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_1.2.9.bb new file mode 100644 index 000000000..cba856143 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_1.2.9.bb @@ -0,0 +1,5 @@ +inherit setuptools3 +require python-xlsxwriter.inc + +SRC_URI[md5sum] = "20f8b7df7f1705fa2f7ac3f84789d2ca" +SRC_URI[sha256sum] = "828b3285fc95105f5b1946a6a015b31cf388bd5378fdc6604e4d1b7839df2e77" -- cgit v1.2.3