diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
commit | 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch) | |
tree | cd70a267a5ef105ba32f200aa088e281fbd85747 /external/meta-openembedded/meta-python/recipes-devtools | |
parent | 4204309872da5cb401cbb2729d9e2d4869a87f42 (diff) |
basesystem-jjsandbox/ToshikazuOhiwa/master-jj
recipes
Diffstat (limited to 'external/meta-openembedded/meta-python/recipes-devtools')
817 files changed, 5260 insertions, 3766 deletions
diff --git a/external/meta-openembedded/meta-python/recipes-devtools/gyp/gyp.inc b/external/meta-openembedded/meta-python/recipes-devtools/gyp/gyp.inc new file mode 100644 index 00000000..98ed42cc --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/gyp/gyp.inc @@ -0,0 +1,13 @@ +DESCRIPTION = "GYP is a Meta-Build system: a build system that generates other build systems." +HOMEPAGE = "https://gyp.gsrc.io/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ab828cb8ce4c62ee82945a11247b6bbd" +SECTION = "devel" + +SRC_URI = "git://chromium.googlesource.com/external/gyp;protocol=https" +SRCREV = "fcd686f1880fa52a1ee78d3e98af1b88cb334528" + +S = "${WORKDIR}/git" +PV = "0.1+git${SRCPV}" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/gyp/gyp_git.bb b/external/meta-openembedded/meta-python/recipes-devtools/gyp/gyp_git.bb new file mode 100644 index 00000000..8e48a27f --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/gyp/gyp_git.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require gyp.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python-jsonref/python-jsonref.inc b/external/meta-openembedded/meta-python/recipes-devtools/python-jsonref/python-jsonref.inc new file mode 100644 index 00000000..45deb09c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python-jsonref/python-jsonref.inc @@ -0,0 +1,11 @@ +SUMMARY = "jsonref is a library for automatic dereferencing of JSON Reference objects for Python" +HOMEPAGE = "https://github.com/gazpachoking/jsonref" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a34264f25338d41744dca1abfe4eb18f" + +SRC_URI[md5sum] = "42b518b9ccd6852d1d709749bc96cb70" +SRC_URI[sha256sum] = "f3c45b121cf6257eafabdc3a8008763aed1cd7da06dbabc59a9e4d2a5e4e6697" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python-jsonref/python3-jsonref_0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python-jsonref/python3-jsonref_0.2.bb new file mode 100644 index 00000000..d97893f5 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python-jsonref/python3-jsonref_0.2.bb @@ -0,0 +1 @@ +require python-jsonref.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/pamela_0.3.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/pamela_0.3.0.bb index 8071fcb0..b6bee0ca 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/pamela_0.3.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/pamela_0.3.0.bb @@ -7,9 +7,9 @@ SRC_URI[sha256sum] = "1e198446a6cdd87704aa0def7621d62e7c20b0e6068e2788b9a866a835 PYPI_PACKAGE = "pamela" -inherit pypi setuptools +inherit pypi setuptools3 RDEPENDS_${PN} = "libpam" -inherit distro_features_check +inherit features_check REQUIRED_DISTRO_FEATURES = "pam" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb index 9d851abe..798daeb2 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/pyrtm_0.4.2.bb @@ -8,7 +8,7 @@ PYPI_PACKAGE_EXT = "tar.bz2" SRC_URI[md5sum] = "7c87da94656b620dfe532ca63d642eb8" SRC_URI[sha256sum] = "b2d701b25ad3f9a1542057f3eb492c5c1d7dbe2b8d1e8f763043dcc14ee1d933" -inherit pypi setuptools +inherit pypi setuptools3 PACKAGES =+ "${PN}-tests ${PN}-samples" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-alembic.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-alembic.inc deleted file mode 100644 index 477e89c5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-alembic.inc +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "A database migration tool for SQLAlchemy" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c5f1361296835ff94bda73db7dd312a6" - -SRC_URI[md5sum] = "762ab9ba56d1c0b1bfbc7c9f7f849c92" -SRC_URI[sha256sum] = "52d73b1d750f1414fa90c25a08da47b87de1e4ad883935718a8f36396e19e78e" - -PYPI_PACKAGE = "alembic" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-dateutil \ - ${PYTHON_PN}-editor \ - ${PYTHON_PN}-mako \ - ${PYTHON_PN}-sqlalchemy \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-alembic_1.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-alembic_1.0.0.bb deleted file mode 100644 index efcb2b1d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-alembic_1.0.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-alembic.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-anyjson.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-anyjson.inc deleted file mode 100644 index a0d20ff4..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-anyjson.inc +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "Wraps the best available JSON implementation available in a common interface" -DESCRIPTION = "Anyjson loads whichever is the fastest JSON module installed and \ -provides a uniform API regardless of which JSON implementation is used." -HOMEPAGE = "https://bitbucket.org/runeh/anyjson" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=989aa97e73c912a83a3c873fa11deb08" - -inherit pypi - -SRC_URI[md5sum] = "2ea28d6ec311aeeebaf993cb3008b27c" -SRC_URI[sha256sum] = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba" - -RDEPENDS_${PN} += "${PYTHON_PN}-simplejson" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-anyjson_0.3.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-anyjson_0.3.3.bb deleted file mode 100644 index 31b8749f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-anyjson_0.3.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-anyjson.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-appdirs.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-appdirs.inc deleted file mode 100644 index c4826723..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-appdirs.inc +++ /dev/null @@ -1,8 +0,0 @@ -SUMMARY = "A small Python module for determining appropriate + platform-specific dirs, e.g. a user data dir." -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" - -SRC_URI[md5sum] = "44c679904082a2133f5566c8a0d3ab42" -SRC_URI[sha256sum] = "9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92" - -inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-appdirs_1.4.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-appdirs_1.4.3.bb deleted file mode 100644 index e9ff9b3f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-appdirs_1.4.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-appdirs.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-asn1crypto_0.24.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-asn1crypto_0.24.0.bb deleted file mode 100644 index 46aace28..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-asn1crypto_0.24.0.bb +++ /dev/null @@ -1,7 +0,0 @@ -inherit setuptools -require python-asn1crypto.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-subprocess \ - ${PYTHON_PN}-textutils \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-astroid_1.6.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-astroid_1.6.5.bb deleted file mode 100644 index 687394da..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-astroid_1.6.5.bb +++ /dev/null @@ -1,10 +0,0 @@ -inherit setuptools -require python-astroid.inc - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-enum34 \ - ${PYTHON_PN}-backports-functools-lru-cache \ - ${PYTHON_PN}-re \ - ${PYTHON_PN}-singledispatch \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-attr.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-attr.inc deleted file mode 100644 index 1d93dd71..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-attr.inc +++ /dev/null @@ -1,9 +0,0 @@ -DESCRIPTION = "Simple decorator to set attributes of target function or class in a DRY way" -HOMEPAGE = "https://github.com/denis-ryzhkov/attr" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=59805a0285f4d2b6abdedae73db4f5c1" - -SRC_URI[md5sum] = "68b9a503991241fb2df28488686b0e1e" -SRC_URI[sha256sum] = "9091548058d17f132596e61fa7518e504f76b9a4c61ca7d86e1f96dbf7d4775d" - -inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-attr_0.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-attr_0.3.1.bb deleted file mode 100644 index 979d6cb6..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-attr_0.3.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-attr.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc deleted file mode 100644 index fa73ea54..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-attrs.inc +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "Classes Without Boilerplate" -HOMEPAGE = "http://www.attrs.org/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff" - -SRC_URI[sha256sum] = "e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b" -SRC_URI[md5sum] = "3f3f3e0750dab74cfa1dc8b0fd7a5f86" - -inherit pypi - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-cryptography \ - ${PYTHON_PN}-ctypes \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_18.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_18.1.0.bb deleted file mode 100644 index e3bec0fd..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-attrs_18.1.0.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools -require python-attrs.inc - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.7.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.7.0.bb deleted file mode 100644 index 8ac8c9c0..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-automat_0.7.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-automat.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.4.0.bb deleted file mode 100644 index 490e9739..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python_1.4.0.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-aws-iot-device-sdk-python.inc - -RDEPENDS_${PN}-examples += "${PYTHON_PN}-argparse" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-babel_2.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-babel_2.6.0.bb deleted file mode 100644 index f7c166eb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-babel_2.6.0.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools -require python-babel.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-backports-abc_0.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-backports-abc_0.4.bb deleted file mode 100644 index 6a4d267b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-backports-abc_0.4.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "collections.abc from Python 3.4" -DESCRIPTION = "A backport of recent additions to the 'collections.abc' module" - -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=dd98d01d471fac8d8dbdd975229dba03" - -# pypi package doesn't have valid entry for license -SRC_URI += "https://raw.githubusercontent.com/cython/backports_abc/master/LICENSE;name=license" - -SRC_URI[md5sum] = "0b65a216ce9dc9c1a7e20a729dd7c05b" -SRC_URI[sha256sum] = "8b3e4092ba3d541c7a2f9b7d0d9c0275b21c6a01c53a61c731eba6686939d0a5" -SRC_URI[license.md5sum] = "dd98d01d471fac8d8dbdd975229dba03" -SRC_URI[license.sha256sum] = "0a4f3b38055f50f047a42521568fa6ddb9a5976c2884f6ae138796d0f71150ca" - - - -PYPI_PACKAGE = "backports_abc" -inherit pypi setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb deleted file mode 100644 index 825444ff..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-backports-functools-lru-cache_1.5.bb +++ /dev/null @@ -1,19 +0,0 @@ -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=57;endline=57;md5=98fc3658e5970d26f6b2109808c766be" - -PYPI_PACKAGE = "backports.functools_lru_cache" - -SRC_URI[md5sum] = "20f53f54cd3f04b3346ce75a54959754" -SRC_URI[sha256sum] = "9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a" - -DEPENDS += "python-setuptools-scm-native" - -inherit setuptools pypi - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-threading \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-backports-ssl_3.5.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-backports-ssl_3.5.0.1.bb deleted file mode 100644 index 45492daa..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-backports-ssl_3.5.0.1.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "The ssl.match_hostname() function from Python 3.4" -DESCRIPTION = "The Secure Sockets layer is only actually secure if you check the hostname in the \ -certificate returned by the server to which you are connecting, and verify that it matches to hostname \ -that you are trying to reach. But the matching logic, defined in RFC2818, can be a bit tricky to implement \ -on your own. So the ssl package in the Standard Library of Python 3.2 and greater now includes a \ -match_hostname() function for performing this check instead of requiring every application to \ -implement the check separately. This backport brings match_hostname() to users of earlier versions of Python" - -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=95a5ee8fd779fbeca8b4cbca64433c87" - -SRC_URI[md5sum] = "c03fc5e2c7b3da46b81acf5cbacfe1e6" -SRC_URI[sha256sum] = "502ad98707319f4a51fa2ca1c677bd659008d27ded9f6380c79e8932e38dcdf2" - -PYPI_PACKAGE = "backports.ssl_match_hostname" -inherit pypi setuptools - -RDEPENDS_${PN} += "${PYTHON_PN}-pkgutil" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-bcrypt_3.1.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-bcrypt_3.1.4.bb deleted file mode 100644 index b136aa48..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-bcrypt_3.1.4.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools -require python-bcrypt.inc - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb deleted file mode 100644 index 907285ac..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-beautifulsoup4.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-behave.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-behave.inc deleted file mode 100644 index ded75801..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-behave.inc +++ /dev/null @@ -1,15 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-behave_1.2.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-behave_1.2.6.bb deleted file mode 100644 index 66221682..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-behave_1.2.6.bb +++ /dev/null @@ -1,8 +0,0 @@ -inherit setuptools -require python-behave.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-argparse \ - ${PYTHON_PN}-enum34 \ - ${PYTHON_PN}-traceback2 \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray.inc deleted file mode 100644 index 480f048b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray.inc +++ /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=f4ce1ae80a385140f0ddb2bcef410b06" - -SRC_URI[md5sum] = "f3131ac2a277f3b70dbb6132ca8f8889" -SRC_URI[sha256sum] = "050cd30b810ddb3aa941e7ddfbe0d8065e793012d0a88cb5739ec23624b9895e" - -inherit pypi - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray_0.8.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray_0.8.3.bb deleted file mode 100644 index f78c7abd..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-bitarray_0.8.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-bitarray.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-blinker.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-blinker.inc deleted file mode 100644 index eaf39083..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-blinker.inc +++ /dev/null @@ -1,7 +0,0 @@ -DESCRIPTION = "Fast, simple object-to-object and broadcast signaling." -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=946d7e89af6f7733aeaebed5635d2682" - -SRC_URI[md5sum] = "8b3722381f83c2813c52de3016b68d33" -SRC_URI[sha256sum] = "471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6" - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-blinker_1.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-blinker_1.4.bb deleted file mode 100644 index bc4164e9..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-blinker_1.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-blinker.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-can.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-can.inc deleted file mode 100644 index 46f08593..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-can.inc +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Controller Area Network (CAN) interface module for Python" -SECTION = "devel/python" -LICENSE = "LGPLv3" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=38138baa100d7259934590850bc0406e" - -SRC_URI[md5sum] = "dcdd3f6b924e3f20acb1ccf4598236cf" -SRC_URI[sha256sum] = "b5e93b2ee32bdd597d9d908afe5171c402a04c9678ba47b60f33506738b1375b" - -PYPI_PACKAGE="python-can" - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-misc \ - ${PYTHON_PN}-netserver \ - ${PYTHON_PN}-sqlite3 \ - ${PYTHON_PN}-wrapt \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-can_2.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-can_2.2.1.bb deleted file mode 100644 index f0edb640..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-can_2.2.1.bb +++ /dev/null @@ -1,8 +0,0 @@ -require python-can.inc -inherit pypi setuptools - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-argparse \ - ${PYTHON_PN}-subprocess \ - ${PYTHON_PN}-zlib \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cassandra-driver.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-cassandra-driver.inc deleted file mode 100644 index 1cc1f4c4..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cassandra-driver.inc +++ /dev/null @@ -1,33 +0,0 @@ -SUMMARY = "DataStax Python Driver for Apache Cassandra" -DESCRIPTION = "A modern, feature-rich and highly-tunable Python client \ -library for Apache Cassandra (1.2+) and DataStax Enterprise (3.1+) using \ -exclusively Cassandra's binary protocol and Cassandra Query Language v3." -HOMEPAGE = "https://github.com/datastax/python-driver" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" -SRCNAME = "cassandra-driver" - -SRC_URI[md5sum] = "c5bed026bf48c821424c1f6296193908" -SRC_URI[sha256sum] = "b65218e2582277f5b77d1436e420db8616f63e3437a9e839cdcd7172d760e861" - -DISTUTILS_BUILD_ARGS += " \ - --no-libev \ -" -DISTUTILS_INSTALL_ARGS += " \ - --no-libev \ -" - -inherit pypi - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-cython \ - ${PYTHON_PN}-multiprocessing \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-json \ - libevent \ -" - -DEPENDS_${PN} += "\ - ${PYTHON_PN}-cython \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-certifi_2018.8.13.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-certifi_2018.8.13.bb deleted file mode 100644 index adfe6238..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-certifi_2018.8.13.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-certifi.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cffi_1.11.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-cffi_1.11.5.bb deleted file mode 100644 index bc667b80..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cffi_1.11.5.bb +++ /dev/null @@ -1,6 +0,0 @@ -require python-cffi.inc -inherit pypi setuptools - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-chardet.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-chardet.inc deleted file mode 100644 index 63052997..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-chardet.inc +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Universal encoding detector for Python 2 and 3" -LICENSE = "LGPL-2.1" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343" - -inherit pypi - -# setup.py of chardet needs this. -DEPENDS += "${PYTHON_PN}-pytest-runner-native" - -SRC_URI[md5sum] = "7dd1ba7f9c77e32351b0a0cfacf4055c" -SRC_URI[sha256sum] = "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae" - -BBCLASSEXTEND = "native nativesdk" - -PACKAGES =+ "${PN}-cli" -RDEPENDS_${PN}-cli = "${PN} " -FILES_${PN}-cli += " \ - ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \ -" - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-logging \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-chardet_3.0.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-chardet_3.0.4.bb deleted file mode 100644 index 3b6feeef..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-chardet_3.0.4.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-chardet.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-argparse" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cheetah_2.4.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-cheetah_2.4.4.bb deleted file mode 100644 index 20fc2fdc..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cheetah_2.4.4.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Python template engine and code generation tool" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=aff1107514aa6aae948f9fe71fdc393b" - -PR = "r3" - -PYPI_PACKAGE = "Cheetah" -inherit pypi setuptools - -RDEPENDS_${PN} = "python-pickle python-pprint" -RDEPENDS_${PN}_class-native = "" - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI[md5sum] = "853917116e731afbc8c8a43c37e6ddba" -SRC_URI[sha256sum] = "be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-click_6.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-click_6.7.bb deleted file mode 100644 index f63e27c8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-click_6.7.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit pypi setuptools -require python-click.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-contextlib" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cmd2_0.9.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-cmd2_0.9.2.bb deleted file mode 100644 index 1b75e347..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cmd2_0.9.2.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Extra features for standard library's cmd module" -HOMEPAGE = "http://packages.python.org/cmd2/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=60bc6842001870a418935bd84570b676" - -SRC_URI[md5sum] = "bfe0900a2288283a40f0ee7533486a2f" -SRC_URI[sha256sum] = "e7b6b4b76272a051c943c3c709cd760142af16fbc9218e0ed3c22b28ea38d0a8" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-doctest \ - ${PYTHON_PN}-pyparsing \ - ${PYTHON_PN}-pyperclip \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-subprocess \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-textutils \ - " - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-configparser.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-configparser.inc deleted file mode 100644 index 133dbba7..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-configparser.inc +++ /dev/null @@ -1,11 +0,0 @@ -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" - -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" - -SRC_URI[md5sum] = "cfdd915a5b7a6c09917a64a573140538" -SRC_URI[sha256sum] = "5308b47021bc2340965c371f0f058cc6971a04502638d4244225c49d80db273a" - -inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-configparser_3.5.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-configparser_3.5.0.bb deleted file mode 100644 index 69f045db..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-configparser_3.5.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-configparser.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-constantly.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-constantly.inc deleted file mode 100644 index 81535049..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-constantly.inc +++ /dev/null @@ -1,11 +0,0 @@ -DESCRIPTION = "Symbolic constants in Python" -HOMEPAGE = "https://github.com/twisted/constantly" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e393e4ddd223e3a74982efa784f89fd7" - -SRC_URI[md5sum] = "f0762f083d83039758e53f8cf0086eef" -SRC_URI[sha256sum] = "586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35" - -inherit pypi - -RDEPENDS_${PN} += "${PYTHON_PN}-json" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-constantly_15.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-constantly_15.1.0.bb deleted file mode 100644 index 29b15eb6..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-constantly_15.1.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-constantly.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod.inc deleted file mode 100644 index 85da7cb3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod.inc +++ /dev/null @@ -1,14 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod_1.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod_1.7.bb deleted file mode 100644 index 45b9a2ce..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-crcmod_1.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-crcmod.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors_2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors_2.3.bb deleted file mode 100644 index 4975278a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors_2.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-cryptography-vectors.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography_2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography_2.3.bb deleted file mode 100644 index 9c2f8841..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography_2.3.bb +++ /dev/null @@ -1,22 +0,0 @@ -inherit pypi setuptools -require python-cryptography.inc - -SRC_URI += " \ - file://run-ptest \ -" - -DEPENDS += " \ - ${PYTHON_PN}-enum34 \ -" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-enum34 \ - ${PYTHON_PN}-ipaddress \ -" - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-enum34 \ - ${PYTHON_PN}-ipaddress \ - ${PYTHON_PN}-contextlib \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cython.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-cython.inc index 0939cad2..3260e92b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cython.inc +++ b/external/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] = "0cb620e1259818e4ecc1a056e8c3a8be" -SRC_URI[sha256sum] = "b64575241f64f6ec005a4d4137339fb0ba5e156e826db2fdb5f458060d9979e0" +SRC_URI[md5sum] = "6e2f139e30bb08d68366f9370d87964c" +SRC_URI[sha256sum] = "e4d6bb8703d0319eb04b7319b12ea41580df44fd84d83ccda13ea463c6801414" inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cython_0.28.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-cython_0.28.5.bb deleted file mode 100644 index d803a6ed..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cython_0.28.5.bb +++ /dev/null @@ -1,10 +0,0 @@ -inherit setuptools -require python-cython.inc - -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Cython/" -UPSTREAM_CHECK_REGEX = "/Cython/(?P<pver>(\d+[\.\-_]*)+)" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-distribute \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb deleted file mode 100644 index ffb5beb5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-daemon_2.1.2.bb +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTION = "Library to implement a well-behaved Unix daemon process" -HOMEPAGE = "https://pagure.io/python-daemon/" -SECTION = "devel/python" - -DEPENDS += "python-docutils-native" -RDEPENDS_${PN} = "python-docutils \ - python-lockfile (>= 0.10) \ - python-resource \ -" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -inherit pypi setuptools - -SRC_URI[md5sum] = "9c57343d81f2a96c51cffeab982b04d2" -SRC_URI[sha256sum] = "261c859be5c12ae7d4286dc6951e87e9e1a70a882a8b41fd926efc1ec4214f73" - -# Fix for build error in Yocto: -# i = p.rfind('/') + 1 -# AttributeError: 'NoneType' object has no attribute 'rfind' -#S = "${WORKDIR}/python-daemon" -SRC_URI_append = " \ - file://0001-Workaround-for-issue-2-1.patch \ -" - -PYPI_PACKAGE = "python-daemon" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-daemonize_2.4.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-daemonize_2.4.7.bb deleted file mode 100644 index 98f23aba..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-daemonize_2.4.7.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Library to enable your code run as a daemon process on Unix-like systems" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=13e982bf1b7b164b9d6d1665dac83873" -SRCNAME = "daemonize" - -inherit pypi setuptools - -RDEPENDS_${PN} = "\ - python-fcntl \ - python-unixadmin \ - python-logging \ - python-resource \ -" - -SRC_URI[md5sum] = "6759005b12dfeea0d4305f8536b4b0c2" -SRC_URI[sha256sum] = "c0194e861826be456c7c69985825ac7b79632d8ac7ad4cde8e12fee7971468c8" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil.inc index 9c5a89dd..e70e963e 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil.inc +++ b/external/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] = "175b7c1a3cc0cb01151eced07c61c0b8" -SRC_URI[sha256sum] = "e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8" +SRC_URI[md5sum] = "f2a1d4b680b297b367a974664ca3a4f6" +SRC_URI[sha256sum] = "73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c" PYPI_PACKAGE = "python-dateutil" inherit pypi @@ -15,9 +15,11 @@ FILES_${PN}-zoneinfo = "${libdir}/${PYTHON_DIR}/site-packages/dateutil/zoneinfo" DEPENDS += "${PYTHON_PN}-setuptools-scm-native" -RDEPENDS_${PN}_class-target = "\ +RDEPENDS_${PN} = "\ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-numbers \ ${PYTHON_PN}-six \ ${PYTHON_PN}-stringold \ " + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil_2.7.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil_2.7.3.bb deleted file mode 100644 index 12ae4c31..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dateutil_2.7.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-dateutil.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.8.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.8.bb deleted file mode 100644 index b3f72405..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.8.bb +++ /dev/null @@ -1,32 +0,0 @@ -SUMMARY = "Python bindings for the DBus inter-process communication system" -SECTION = "devel/python" -HOMEPAGE = "http://www.freedesktop.org/Software/dbus" -LICENSE = "MIT & AFL-2.1 | GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b03240518994df6d8c974675675e5ca4 \ - file://dbus-gmain/COPYING;md5=05c3eacd50f69bb1d58afec460baad57 " -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] = "7379db774c10904f27e7e2743d90fb43" -SRC_URI[sha256sum] = "abf12bbb765e300bf8e2a1b2f32f85949eab06998dbda127952c31cb63957b6f" -S = "${WORKDIR}/dbus-python-${PV}" - -inherit distutils-base autotools pkgconfig - -# 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 - -RDEPENDS_${PN} = "python-io python-logging python-stringold python-threading python-xml" - -FILES_${PN}-dev += "${libdir}/pkgconfig" - -do_install_append() { - # Remove files that clash with python3-dbus; their content is same - rm ${D}${includedir}/dbus-1.0/dbus/dbus-python.h ${D}${libdir}/pkgconfig/dbus-python.pc -} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-decorator.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-decorator.inc index 44edb8ad..3faee391 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-decorator.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-decorator.inc @@ -6,11 +6,11 @@ various non-trivial examples. Of course, as all techniques, decorators \ can be abused and you should not try to solve every problem with a \ decorator, just because you can." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=893f896413826096ce5270c700a498fd" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=be2fd2007972bf96c08af3293d728b22" -SRC_URI[md5sum] = "249e7299b9b4bced0c382343f84eb1c0" -SRC_URI[sha256sum] = "c39efa13fbdeb4506c476c9b3babf6a718da943dab7811c206005a4a956c080c" +SRC_URI[md5sum] = "d83c624cce93e6bdfab144821b526e1d" +SRC_URI[sha256sum] = "e3a62f0520172440ca0dcc823749319382e377f37f140a0b99ef45fecb84bfe7" inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-decorator_4.3.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-decorator_4.3.0.bb deleted file mode 100644 index 2a2b455f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-decorator_4.3.0.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-decorator.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-contextlib" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-django-south_1.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-django-south_1.0.2.bb deleted file mode 100644 index 357b766a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-django-south_1.0.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-django-south.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-django.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-django.inc index ee3aee63..c02b3fa5 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-django.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-django.inc @@ -3,13 +3,10 @@ HOMEPAGE = "http://www.djangoproject.com/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" -SRC_URI[md5sum] = "38e82b59a1c27bbf98ccf0564ead7426" -SRC_URI[sha256sum] = "eb9271f0874f53106a2719c0c35ce67631f6cc27cf81a60c6f8c9817b35a3f6e" - PYPI_PACKAGE = "Django" inherit pypi -UPSTREAM_CHECK_REGEX = "(?P<pver>1(\.\d+)+)" +UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" FILES_${PN} += "${datadir}/django" @@ -31,4 +28,7 @@ RDEPENDS_${PN} += "\ ${PYTHON_PN}-threading \ ${PYTHON_PN}-unixadmin \ ${PYTHON_PN}-xml \ + ${PYTHON_PN}-distutils \ " + +CVE_PRODUCT = "django" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-django_1.11.14.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-django_1.11.14.bb deleted file mode 100644 index d2347cc9..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-django_1.11.14.bb +++ /dev/null @@ -1,8 +0,0 @@ -require python-django.inc -inherit setuptools - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-argparse \ - ${PYTHON_PN}-subprocess \ - ${PYTHON_PN}-zlib \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb deleted file mode 100644 index 540d12dc..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-djangorestframework_3.9.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-djangorestframework.inc -inherit setuptools
\ No newline at end of file diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dnspython.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-dnspython.inc index 6a04429b..84502aff 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dnspython.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-dnspython.inc @@ -1,10 +1,10 @@ DESCRIPTION = "DNS toolkit for Python" HOMEPAGE = "http://www.dnspython.org/" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b9d855ee0d7bea17c8b0994d37985e1e" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34" -SRC_URI[md5sum] = "05d33ffb5d8f35ae0474bb952778a344" -SRC_URI[sha256sum] = "40f563e1f7a7b80dc5a4e76ad75c23da53d62f1e15e6e517293b04e1f84ead7c" +SRC_URI[md5sum] = "bc9ca3b3a82164667d5730ec6d5248a2" +SRC_URI[sha256sum] = "36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01" PYPI_PACKAGE_EXT = "zip" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dnspython_1.15.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-dnspython_1.15.0.bb deleted file mode 100644 index 9dbcd0ff..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dnspython_1.15.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-dnspython.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-docutils_0.14rc2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-docutils_0.14rc2.bb deleted file mode 100644 index 68436a1a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-docutils_0.14rc2.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Text processing system for documentation" -HOMEPAGE = "http://docutils.sourceforge.net" -SECTION = "devel/python" -LICENSE = "PSF & BSD-2-Clause & GPLv3" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=35a23d42b615470583563132872c97d6" - -DEPENDS = "python" - -SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz" -SRC_URI[md5sum] = "2f4bee6451958252f7bec71f18b05be3" -SRC_URI[sha256sum] = "3caee0bcb2a49fdf24fcfa70849a60abb7a181aa68b030f7cb7494096181830c" - -S = "${WORKDIR}/docutils-${PV}" - -inherit distutils - -BBCLASSEXTEND = "native" - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dominate_2.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-dominate_2.3.1.bb deleted file mode 100644 index c19445e7..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dominate_2.3.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-dominate.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-editor.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-editor.inc index 30650bda..734ce2bd 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-editor.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-editor.inc @@ -2,8 +2,8 @@ DESCRIPTION = "Programmatically open and editor, capture the result" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" -SRC_URI[md5sum] = "0aca5f2ef176ce68e98a5b7e31372835" -SRC_URI[sha256sum] = "a3c066acee22a1c94f63938341d4fb374e3fdd69366ed6603d7b24bed1efc565" +SRC_URI[md5sum] = "0e52648a4a6e7c89e3be44e9456530b4" +SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b" PYPI_PACKAGE = "python-editor" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-editor_1.0.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-editor_1.0.3.bb deleted file mode 100644 index f7a9a8c0..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-editor_1.0.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-editor.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-engineio.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-engineio.inc new file mode 100644 index 00000000..965f4201 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-engineio.inc @@ -0,0 +1,13 @@ +SUMMARY = "Engine.IO server" +HOMEPAGE = "https://github.com/miguelgrinberg/python-engineio/" +SECTION = "devel/python" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8" + +inherit pypi + +PYPI_PACKAGE = "python-engineio" + +SRC_URI[md5sum] = "e6ea8b3f2f32eeeb02014c46092f2adb" +SRC_URI[sha256sum] = "2481732d93646998f7372ef0ecf003af7817b82720b881db173c3d50b4887916" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-enum34_1.1.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-enum34_1.1.6.bb deleted file mode 100644 index d50b5c7c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-enum34_1.1.6.bb +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "backport of Python 3.4's enum package" -HOMEPAGE = "https://bitbucket.org/stoneleaf/enum34" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://enum/LICENSE;md5=0a97a53a514564c20efd7b2e8976c87e" - -SRC_URI[md5sum] = "5f13a0841a61f7fc295c514490d120d0" -SRC_URI[sha256sum] = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1" - -inherit pypi setuptools - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-epydoc_3.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-epydoc_3.0.1.bb deleted file mode 100644 index dd9799fa..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-epydoc_3.0.1.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "Epydoc is a tool for generating API documentation for Python modules, based on their docstrings" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=011c0d78eb6054d731c879132d7313f0" -HOMEPAGE = "http://epydoc.sourceforge.net/" - -SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294" -SRC_URI[sha256sum] = "d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1" - -inherit pypi distutils - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-codecs \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-re \ - ${PYTHON_PN}-xml \ - " - -BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-evdev.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-evdev.inc index 5a3884a6..5f5426aa 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-evdev.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-evdev.inc @@ -1,10 +1,14 @@ SUMMARY = "Python evdev lib" HOMEPAGE = "https://github.com/gvalkov/python-evdev" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=18debddbb3f52c661a129724a883a8e2" -SRC_URI[md5sum] = "c7e855ae9f97f869a59e75b29f05ce74" -SRC_URI[sha256sum] = "57edafc469a414f58b51af1bfb9ee2babb9f626dd2df530d71c1176871850aa1" +FILESEXTRAPATHS_prepend := "${THISDIR}/python-evdev:" + +SRC_URI = "${PYPI_SRC_URI}" + +SRC_URI[md5sum] = "05f9e900d6e11e1674475d2dd2668f0d" +SRC_URI[sha256sum] = "b1c649b4fed7252711011da235782b2c260b32e004058d62473471e5cd30634d" do_compile_prepend() { rm -rf ${S}/evdev/ecodes.c diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb deleted file mode 100644 index 63541363..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-evdev_0.7.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-evdev.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-fann2.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-fann2.inc new file mode 100644 index 00000000..c415b35a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-fann2.inc @@ -0,0 +1,9 @@ +SUMMARY = "Python bindings for Fast Artificial Neural Networks 2.2.0 (FANN >= 2.2.0)" +SECTION = "devel/python" +LICENSE = "LGPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c73b943dc75f6f65e007c56ac6515c8f" + +SRC_URI[md5sum] = "0b85b418018746d63ed66b55465697a9" +SRC_URI[sha256sum] = "cdca0a65ad48e08320672affe38c3dd4ea15e27821e5e1db9fa2b34299bdd41e" + +DEPENDS += "swig-native libfann" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedformatter.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedformatter.inc index a333ef4e..6ddcaa98 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedformatter.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedformatter.inc @@ -1,7 +1,7 @@ DESCRIPTION = "A Python library for generating news feeds in RSS and Atom formats" HOMEPAGE = "http://code.google.com/p/feedformatter/" SECTION = "devel/python" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=258e3f39e2383fbd011035d04311008d" SRCREV = "7391193c83e10420b5a2d8ef846d23fc368c6d85" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedformatter_0.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedformatter_0.4.bb deleted file mode 100644 index 175f9447..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedformatter_0.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-feedformatter.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedparser_5.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedparser_5.2.1.bb deleted file mode 100644 index b8ee700f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-feedparser_5.2.1.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "Python Atom and RSS feed parser" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c21a7713ef6dc1b99644061c397e7c2a" - -SRC_URI[md5sum] = "d552f7a2a55e8e33b2a3fe1082505b42" -SRC_URI[sha256sum] = "bd030652c2d08532c034c27fcd7c85868e7fa3cb2b17f230a44a6bbc92519bf9" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-codecs \ - ${PYTHON_PN}-email \ - ${PYTHON_PN}-html \ - ${PYTHON_PN}-netserver \ - ${PYTHON_PN}-stringold \ - " - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel.inc index b60ee17d..0e507f33 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel.inc @@ -1,9 +1,9 @@ DESCRIPTION = "i18n and l10n support for Flask based on babel and pytz" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9" -SRC_URI[md5sum] = "07803453743f139309021572a799c6b3" -SRC_URI[sha256sum] = "c0d75710bd4b0fe866f9f2347de6e19208712f9cec006436b4c1c15d4cb0c939" +SRC_URI[md5sum] = "fcf2f360ff279d3133e40974804efd72" +SRC_URI[sha256sum] = "316ad183e42003f3922957fa643d0a1e8e34a0f0301a88c3a8f605bc37ba5c86" PYPI_PACKAGE = "Flask-Babel" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel_0.11.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel_0.11.2.bb deleted file mode 100644 index 38e78c73..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-babel_0.11.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-babel.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-bcrypt_0.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-bcrypt_0.7.1.bb deleted file mode 100644 index f035862d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-bcrypt_0.7.1.bb +++ /dev/null @@ -1,12 +0,0 @@ -DESCRIPTION = "Bcrypt hashing for Flask." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0ee2ee5bee7fe96597770e92db5719a8" - -SRC_URI[md5sum] = "d345c36ac6637d3ca9fa942e238d00ca" -SRC_URI[sha256sum] = "d71c8585b2ee1c62024392ebdbc447438564e2c8c02b4e57b56a4cafd8d13c5f" - -PYPI_PACKAGE = "Flask-Bcrypt" - -inherit pypi setuptools - -RDEPENDS_${PN} += "${PYTHON_PN}-bcrypt ${PYTHON_PN}-flask" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-bootstrap_3.3.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-bootstrap_3.3.7.1.bb deleted file mode 100644 index eeaade9a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-bootstrap_3.3.7.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-bootstrap.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-login_0.4.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-login_0.4.1.bb deleted file mode 100644 index 510cedf2..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-login_0.4.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-login.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-mail.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-mail.inc index bb087034..0df276d1 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-mail.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-mail.inc @@ -1,7 +1,7 @@ SUMMARY = "Flask extension for sending email" DESCRIPTION = "A Flask extension for sending email" HOMEPAGE = " https://github.com/rduplain/flask-email" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=5b16dfa6d3f275ace5985bb92949f770" SRC_URI[md5sum] = "04b35a42a44ec7aa724ec8ce55e2e08e" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-mail_0.9.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-mail_0.9.1.bb deleted file mode 100644 index 8324da86..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-mail_0.9.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-mail.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate.inc index dfb20e9e..5202f8be 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate.inc +++ b/external/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] = "aaeee55431d0287063657122ff41a0e6" -SRC_URI[sha256sum] = "cd1b4e6cb829eeb41c02ad9202d83bef5f4b7a036dd9fad72ce96ad1e22efb07" +SRC_URI[md5sum] = "bedeb0366740fda6912fea683be11968" +SRC_URI[sha256sum] = "a96ff1875a49a40bd3e8ac04fce73fdb0870b9211e6168608cbafa4eb839d502" PYPI_PACKAGE = "Flask-Migrate" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate_2.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate_2.2.1.bb deleted file mode 100644 index ece516f5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-migrate_2.2.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-migrate.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-nav_0.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-nav_0.6.bb deleted file mode 100644 index 30b5b3b3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-nav_0.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-nav.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-navigation_0.2.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-navigation_0.2.0.bb deleted file mode 100644 index b2dc96e3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-navigation_0.2.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "The navigation of Flask application." -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=af2ec695dc1f3eb7bd74f79a68a0d789" - -SRC_URI[md5sum] = "d1075ee02a3f69da37e5cadad3395f31" -SRC_URI[sha256sum] = "c42d30efa989ca877444a410e8a1cd2563546f9effe3d9fe388eedf7a6c69285" - -PYPI_PACKAGE = "Flask-Navigation" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-blinker \ - ${PYTHON_PN}-flask \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-pymongo.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-pymongo.inc index fb2d6ed8..5fc35c19 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-pymongo.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-pymongo.inc @@ -2,12 +2,14 @@ SUMMARY = "PyMongo support for Flask applications" DESCRIPTION = "PyMongo support for Flask applications." HOMEPAGE = "https://github.com/mitsuhiko/flask/" SECTION = "devel/python" -LICENSE = "BSD" +LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://flask_pymongo/wrappers.py;beginline=1;endline=24;md5=424c4e1047d28e01b4e4634a069c019d" -SRC_URI[md5sum] = "d7a1b717f27154e1f3a355f8ec2467d6" -SRC_URI[sha256sum] = "2baaa2ba5107d72b3a8bd4b5c0c8881316e35340ad1ae979cc13f1f3c8843b3d" +SRC_URI[md5sum] = "94df71e6800b1d7915cc91a74b70f959" +SRC_URI[sha256sum] = "620eb02dc8808a5fcb90f26cab6cba9d6bf497b15032ae3ca99df80366e33314" PYPI_PACKAGE = "Flask-PyMongo" +DEPENDS = "${PYTHON_PN}-vcversioner ${PYTHON_PN}-vcversioner-native" + RDEPENDS_${PN} = "${PYTHON_PN}-pymongo ${PYTHON_PN}-flask" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-pymongo_0.5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-pymongo_0.5.1.bb deleted file mode 100644 index d41d0234..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-pymongo_0.5.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-pymongo.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-restful.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-restful.inc index 0485f85a..dcbcd0d7 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-restful.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-restful.inc @@ -6,8 +6,8 @@ HOMEPAGE = "https://github.com/flask-restful/flask-restful" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=685bb55ed99a366bb431995f5eef2783" -SRC_URI[md5sum] = "8243ca101185b130d8fa529cbdbdbddd" -SRC_URI[sha256sum] = "5795519501347e108c436b693ff9a4d7b373a3ac9069627d64e4001c05dd3407" +SRC_URI[md5sum] = "a7217ef1159be38af5faf61aa09aabef" +SRC_URI[sha256sum] = "f8240ec12349afe8df1db168ea7c336c4e5b0271a36982bff7394f93275f2ca9" inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-restful_0.3.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-restful_0.3.6.bb deleted file mode 100644 index 1968d1d9..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-restful_0.3.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-flask-restful.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-script.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-script.inc index fca777bc..f48af8bc 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-script.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-script.inc @@ -1,5 +1,5 @@ DESCRIPTION = "Scripting support for flask" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e686048adb69341fc8a08caeda528b41" SRC_URI[md5sum] = "3fbd91fe13cebedfb2431331f6eabb68" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-script_2.0.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-script_2.0.6.bb deleted file mode 100644 index b7d55af1..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-script_2.0.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-script.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sijax_0.4.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sijax_0.4.1.bb deleted file mode 100644 index 74738fc2..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sijax_0.4.1.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit pypi setuptools -require python-flask-sijax.inc - -SRC_URI[sha256sum] = "fb2bf2d4f75408185102195055d75549fee8d9c9e954dca2427186925cdc429f"
\ No newline at end of file diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-socketio.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-socketio.inc new file mode 100644 index 00000000..8d778d4b --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-socketio.inc @@ -0,0 +1,18 @@ +SUMMARY = "Socket.IO integration for Flask applications" +HOMEPAGE = "https://github.com/miguelgrinberg/Flask-SocketIO/" +SECTION = "devel/python" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=38cc21254909604298ce763a6e4440a0" + +inherit pypi + +PYPI_PACKAGE = "Flask-SocketIO" + +SRC_URI[md5sum] = "b23222fb7dd2f0676d78bbe24153fd80" +SRC_URI[sha256sum] = "2172dff1e42415ba480cee02c30c2fc833671ff326f1598ee3d69aa02cf768ec" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-flask \ + ${PYTHON_PN}-socketio \ + " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc index e0efbc63..86ba9dda 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc @@ -1,9 +1,9 @@ DESCRIPTION = "Adds SQLAlchemy support to your Flask application." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5ed1b8cc741515a835a7f6bf2f62ef4a" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" -SRC_URI[md5sum] = "373ce61dfd03b593ad2eaba68c9fee35" -SRC_URI[sha256sum] = "5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53" +SRC_URI[md5sum] = "1f5781cf3e1a2b1aabda47a5b20d2073" +SRC_URI[sha256sum] = "6974785d913666587949f7c2946f7001e4fa2cb2d19f4e69ead02e4b8f50b33d" PYPI_PACKAGE = "Flask-SQLAlchemy" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb deleted file mode 100644 index 3dc355c5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-sqlalchemy.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-uploads_0.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-uploads_0.2.1.bb deleted file mode 100644 index d39b07f6..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-uploads_0.2.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-uploads.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-user.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-user.inc index c2b71829..adef32cc 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-user.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-user.inc @@ -3,7 +3,7 @@ DESCRIPTION = "Customizable User Account Management for Flask; Register \ Confirm email, Login, Change username, Change password, Forgot Password \ and more." HOMEPAGE = " https://github.com/lingthio/Flask-User" -LICENSE = "BSD" +LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a" SRC_URI[md5sum] = "f7965e66ca139c8436896da07e66c21f" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-user_0.6.19.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-user_0.6.19.bb deleted file mode 100644 index 654d3775..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-user_0.6.19.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-user.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-wtf.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-wtf.inc index 3c90656a..86367115 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-wtf.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-wtf.inc @@ -1,5 +1,5 @@ DESCRIPTION = "Simple integration of Flask and WTForms." -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=3ca6bb31670492f791e6a9f2fb9f8a80" SRC_URI[md5sum] = "586f50f233926cade42e3d744aca3e8f" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-wtf_0.14.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-wtf_0.14.2.bb deleted file mode 100644 index dbf091bc..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-wtf_0.14.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-wtf.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-xstatic.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-xstatic.inc index a1fe14ed..48ff7149 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-xstatic.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-xstatic.inc @@ -1,5 +1,5 @@ DESCRIPTION = "XStatic support for flask" -LICENSE = "BSD" +LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=659968f6ebd4b70b6c3190d20b4a924c" SRC_URI[md5sum] = "2f56023e1444c8bd1fec41afe93de743" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-xstatic_0.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-xstatic_0.0.1.bb deleted file mode 100644 index dff14a8c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask-xstatic_0.0.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask-xstatic.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask.inc index 66ad1a6e..1263383d 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask.inc @@ -3,14 +3,14 @@ DESCRIPTION = "\ 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=c011883ac26229b8ba3084f55c7664c6" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" -SRC_URI[md5sum] = "824f0f20aae1f44c9c7dc4054adb7969" -SRC_URI[sha256sum] = "2271c0070dbcb5275fad4a82e29f23ab92682dc45f9dfbc22c02ba9b9322ce48" +SRC_URI[md5sum] = "0e3ed44ece1c489ed835d1b7047e349c" +SRC_URI[sha256sum] = "13f9f196f330c7c2c5d7a5cf91af894110ca0215ac051b5844701f2bfd934d52" CLEANBROKEN = "1" PYPI_PACKAGE = "Flask" -RDEPENDS_${PN} = "${PYTHON_PN}-werkzeug ${PYTHON_PN}-werkzeug-tests ${PYTHON_PN}-jinja2 ${PYTHON_PN}-itsdangerous ${PYTHON_PN}-click" +RDEPENDS_${PN} = "${PYTHON_PN}-werkzeug ${PYTHON_PN}-jinja2 ${PYTHON_PN}-itsdangerous ${PYTHON_PN}-click" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask_1.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask_1.0.2.bb deleted file mode 100644 index a0a28ab8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-flask_1.0.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-flask.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-funcsigs_1.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-funcsigs_1.0.2.bb deleted file mode 100644 index dad15ee0..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-funcsigs_1.0.2.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+" -DESCRPTION = " \ -funcsigs is a backport of the `PEP 362`_ function signature features from \ -Python 3.3's `inspect`_ module. The backport is compatible with Python 2.6, \ -2.7 as well as 3.3 and up. 3.2 was supported by version 0.4, but with \ -setuptools and pip no longer supporting 3.2, we cannot make any statement \ -about 3.2 compatibility. \ -" - -HOMEPAGE = "http://funcsigs.readthedocs.org" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d6bc91dc8e5793892189fe7481a2d354" - -SRC_URI[md5sum] = "7e583285b1fb8a76305d6d68f4ccc14e" -SRC_URI[sha256sum] = "a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50" - -inherit pypi setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-functools32_3.2.3-2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-functools32_3.2.3-2.bb deleted file mode 100644 index cb4bba49..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-functools32_3.2.3-2.bb +++ /dev/null @@ -1,10 +0,0 @@ -SUMMARY = "Backport of the functools module from Python 3.2.3 for use on 2.7 and PyPy." -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://LICENSE;md5=27cf2345969ed18e6730e90fb0063a10" - -SRC_URI[md5sum] = "09f24ffd9af9f6cd0f63cb9f4e23d4b2" -SRC_URI[sha256sum] = "f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d" - -inherit pypi setuptools - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-future.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-future.inc index 22475618..c0a2b39b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-future.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-future.inc @@ -1,10 +1,10 @@ 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" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a253924061f8ecc41ad7a2ba1560e8e7" -SRC_URI[md5sum] = "3e8e88a2bda48d54b1da7634d04760d7" -SRC_URI[sha256sum] = "e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb" +SRC_URI[md5sum] = "e4579c836b9c025872efe230f6270349" +SRC_URI[sha256sum] = "b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d" PYPI_PACKAGE_HASH = "99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3d" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-future_0.16.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-future_0.16.0.bb deleted file mode 100644 index d95e1ba7..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-future_0.16.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-future.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-gdata_2.0.18.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-gdata_2.0.18.bb deleted file mode 100644 index 897581f1..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-gdata_2.0.18.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Google Data APIs Python Client Library" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.txt;md5=4c8f0e6846e52a7fe4943acf462d808d" -HOMEPAGE = "http://code.google.com/p/gdata-python-client/" - -SRC_URI[md5sum] = "13b6e6dd8f9e3e9a8e005e05a8329408" -SRC_URI[sha256sum] = "56e7d22de819c22b13ceb0fe1869729b4287f89ebbd4bb55380d7bcf61a1fdb6" - -S = "${WORKDIR}/gdata.py-${PV}" - -inherit pypi distutils - -FILES_${PN} += "${datadir}" - -RDEPENDS_${PN} = " \ - ${PYTHON_PN}-distutils \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-netserver \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-xml \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent.inc index 13513f21..bc89d104 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent.inc @@ -4,8 +4,9 @@ a high-level synchronous API on top of the libevent event loop." HOMEPAGE = "http://www.gevent.org" LICENSE = "MIT & Python-2.0 & BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65 \ - file://NOTICE;md5=5966cd2c6582656d28ab3c33da3860f8 \ - file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347" + file://NOTICE;md5=18108df3583462cafd457f024b9b09b5 \ + file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347 \ + " DEPENDS += "libevent" DEPENDS += "${PYTHON_PN}-greenlet" RDEPENDS_${PN} = "${PYTHON_PN}-greenlet \ @@ -17,10 +18,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/python-gevent:" SRC_URI_append = " \ file://libev-conf.patch;patch=1;pnum=1 \ + file://0002-setup.py-do-not-query-for-include-dir.patch \ " -SRC_URI[md5sum] = "7f0baf355384fe5ff2ecf66853422554" -SRC_URI[sha256sum] = "4791c8ae9c57d6f153354736e1ccab1e2baf6c8d9ae5a77a9ac90f41e2966b2d" +SRC_URI[md5sum] = "6b9dd98917061803d9158e5258b8f412" +SRC_URI[sha256sum] = "1eb7fa3b9bd9174dfe9c3b59b7a09b768ecd496debfc4976a9530a3e15c990d1" # The python-gevent has no autoreconf ability # and the logic for detecting a cross compile is flawed diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch new file mode 100644 index 00000000..7536b71a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch @@ -0,0 +1,26 @@ +From a53ed6b2f967a5f95e69d51cad3f8c120d7df65b Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <alex.kanavin@gmail.com> +Date: Thu, 7 Feb 2019 15:21:15 +0100 +Subject: [PATCH] setup.py: do not query for include dir + +As this will return the native python directory erroneously. + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 86d6c5a..5d22291 100755 +--- a/setup.py ++++ b/setup.py +@@ -52,7 +52,7 @@ from _setupares import ARES + # Get access to the greenlet header file. + # The sysconfig dir is not enough if we're in a virtualenv + # See https://github.com/pypa/pip/issues/4610 +-include_dirs = [sysconfig.get_path("include")] ++include_dirs = [] + venv_include_dir = os.path.join(sys.prefix, 'include', 'site', + 'python' + sysconfig.get_python_version()) + venv_include_dir = os.path.abspath(venv_include_dir) diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent_1.2.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent_1.2.2.bb deleted file mode 100644 index f13bfd7b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-gevent_1.2.2.bb +++ /dev/null @@ -1,4 +0,0 @@ -require python-gevent.inc -inherit setuptools - -RDEPENDS_${PN} += "${PYTHON_PN}-re" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet.inc index fcd81f6c..c7c656c8 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet.inc +++ b/external/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] = "a87b6028c3b742b210bf5973939db595" -SRC_URI[sha256sum] = "f1cc268a15ade58d9a0c04569fe6613e19b8b0345b64453064e2c3c6d79051af" +SRC_URI[md5sum] = "10fa304f673fc18b28fa6d8c6658cb80" +SRC_URI[sha256sum] = "9416443e219356e3c31f1f918a91badf2e37acf297e2fa13d24d1cc2380f8fbc" inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet_0.4.14.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet_0.4.14.bb deleted file mode 100644 index c14976ed..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-greenlet_0.4.14.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit distutils -require python-greenlet.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools.inc index 91cc62f4..1a15c48d 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools.inc @@ -5,8 +5,8 @@ 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" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb deleted file mode 100644 index 5b19bebf..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio-tools_1.14.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-grpcio-tools.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio.inc deleted file mode 100644 index 23d25f7a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio.inc +++ /dev/null @@ -1,25 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch deleted file mode 100644 index 996597b1..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch +++ /dev/null @@ -1,42 +0,0 @@ -From b02be74a2eff8abc612ef84f30e0fbce6a7f65f5 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Fri, 4 Aug 2017 09:04:07 -0700 -Subject: [PATCH] setup.py: Do not mix C and C++ compiler options - -EXTRA_ENV_COMPILE_ARGS is used both with CC and CXX -so using -std=c++11 or -std=gnu99 together will cause -build time errors espcially with clang - -error: invalid argument '-std=gnu99' not allowed with 'C++' - -gcc7 ( defaults are -std=gnu11 and -std=gnu++14 ) - as well clang default to these standards mode or newer -anyway - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: grpcio-1.14.1/setup.py -=================================================================== ---- 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=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/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb deleted file mode 100644 index 820bea44..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools -require python-grpcio.inc - -RDEPENDS_${PN} += " python-enum34 \ - python-futures \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-html2text.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-html2text.inc new file mode 100644 index 00000000..678dcef3 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-html2text.inc @@ -0,0 +1,12 @@ +SUMMARY = "Convert HTML to Markdown-formatted text" +HOMEPAGE = "https://github.com/Alir3z4/html2text" + +LICENSE = "GPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SRC_URI[md5sum] = "21aad7ec95b70606024b783c8253899c" +SRC_URI[sha256sum] = "f516b9c10284174e2a974d86f91cab02b3cf983a17752075da751af0e895ef5e" + +inherit pypi + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-html5lib.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-html5lib.inc index 0eb8bf32..a8e0fb40 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-html5lib.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-html5lib.inc @@ -13,3 +13,5 @@ RDEPENDS_${PN} += "\ ${PYTHON_PN}-webencodings \ ${PYTHON_PN}-xml \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-html5lib_1.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-html5lib_1.0.1.bb deleted file mode 100644 index f5941a2a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-html5lib_1.0.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-html5lib.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-humanfriendly.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-humanfriendly.inc new file mode 100644 index 00000000..94f7f8b8 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-humanfriendly.inc @@ -0,0 +1,25 @@ +DESCRIPTION = "Human friendly output for text interfaces using Python" +HOMEPAGE = "https://humanfriendly.readthedocs.io/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=690da298a43805797a4fa7bbe180b3c6" + +PYPI_PACKAGE = "humanfriendly" + +SRC_URI[md5sum] = "9573f9f37a5454d8205cfd1b9b8db9d2" +SRC_URI[sha256sum] = "33ee8ceb63f1db61cce8b5c800c531e1a61023ac5488ccde2ba574a85be00a85" + +inherit pypi + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-stringold \ +" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-humanize_0.5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-humanize_0.5.1.bb deleted file mode 100644 index 57693093..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-humanize_0.5.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-humanize.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc index 78e3ee83..653170ca 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink.inc @@ -3,12 +3,12 @@ HOMEPAGE = "https://github.com/python-hyper/hyperlink" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3893d4ed05dcc823f8ed685a9ea19bcb" -SRC_URI[sha256sum] = "f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306" -SRC_URI[md5sum] = "f41a96779b324d824864696a94b24823" +SRC_URI[sha256sum] = "4288e34705da077fada1111a24a0aa08bb1e76699c9ce49876af722441845654" +SRC_URI[md5sum] = "4772fb4d87c26a1ab22a6161424e3cba" inherit pypi -RDEPENDS_${PN} += "${PYTHON_PN}-stringold ${PYTHON_PN}-netclient" +RDEPENDS_${PN} += "${PYTHON_PN}-stringold ${PYTHON_PN}-netclient ${PYTHON_PN}-idna" PACKAGES =. "${PN}-test " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_18.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_18.0.0.bb deleted file mode 100644 index 59a9a5c8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-hyperlink_18.0.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-hyperlink.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-idna-ssl.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-idna-ssl.inc new file mode 100644 index 00000000..e74bbd7c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-idna-ssl.inc @@ -0,0 +1,10 @@ +SUMMARY = "Patch ssl.match_hostname for Unicode(idna) domains support" +HOMEPAGE = "https://github.com/aio-libs/idna-ssl" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a61b9c5aec8796b64a6bf15d42605073" + +SRC_URI[md5sum] = "dd44ec53bac36e68446766fd8d3835bd" +SRC_URI[sha256sum] = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c" + +PYPI_PACKAGE = "idna-ssl" +inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-idna.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-idna.inc index 519812dd..13b0cdb6 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-idna.inc +++ b/external/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=782775b32f96098512e283fb5d4546cd" -SRC_URI[md5sum] = "0e5bb69018ddef1b9d95f681182be82c" -SRC_URI[sha256sum] = "684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16" +SRC_URI[md5sum] = "2e9ae0b4a0b26d1747c6127cdb060bc1" +SRC_URI[sha256sum] = "c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407" RDEPENDS_${PN}_class-target = "\ ${PYTHON_PN}-codecs \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-idna_2.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-idna_2.7.bb deleted file mode 100644 index 2dcf72a2..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-idna_2.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-idna.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-imaging_1.1.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-imaging_1.1.7.bb deleted file mode 100644 index 60dd7d0a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-imaging_1.1.7.bb +++ /dev/null @@ -1,48 +0,0 @@ -SUMMARY = "Python Imaging Library (PIL)" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README;beginline=92;endline=120;md5=c4371af4579f1e489cf881c1443dd4ec" -DEPENDS = "freetype jpeg tiff" -SRCNAME = "Imaging" -PR = "r5" - -SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \ - file://0001-python-imaging-setup.py-force-paths-for-zlib-freetyp.patch \ - file://allow.to.disable.some.features.patch \ - file://fix-freetype-includes.patch \ - file://remove-host-libdir.patch \ - file://python-imaging-CVE-2016-2533.patch \ -" - -SRC_URI[md5sum] = "fc14a54e1ce02a0225be8854bfba478e" -SRC_URI[sha256sum] = "895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -# There isn't enable/disable option, and lcms is in meta-oe, at least make it explicit when enabled -# setup.py already has FIXME: add mechanism to explicitly *disable* the use of a library -PACKAGECONFIG ??= "" -PACKAGECONFIG[lcms] = ",,lcms" - -inherit distutils - -do_compile() { - export STAGING_LIBDIR=${STAGING_LIBDIR} - export STAGING_INCDIR=${STAGING_INCDIR} - export LCMS_ENABLED=${@bb.utils.contains('PACKAGECONFIG', 'lcms', 'True', 'False', d)} - distutils_do_compile -} - -do_install() { - export STAGING_LIBDIR=${STAGING_LIBDIR} - export STAGING_INCDIR=${STAGING_INCDIR} - export LCMS_ENABLED=${@bb.utils.contains('PACKAGECONFIG', 'lcms', 'True', 'False', d)} - distutils_do_install - install -d ${D}${datadir}/doc/${BPN}/html/ - install -m 0644 ${S}/README ${D}${datadir}/doc/${BPN}/ - install -m 0644 ${S}/Docs/* ${D}${datadir}/doc/${BPN}/html/ - - # get rid of #!/usr/local/bin/python - sed -i -e 's:/usr/local/bin/:${bindir}/env :g' ${D}${bindir}/* -} - -RDEPENDS_${PN} += "python-lang python-stringold" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-importlib-metadata.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-importlib-metadata.inc new file mode 100644 index 00000000..b6165dc5 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-importlib-metadata.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Read metadata from Python packages" +HOMEPAGE = "https://pypi.org/project/importlib-metadata/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e88ae122f3925d8bde8319060f2ddb8e" + +SRC_URI = "https://files.pythonhosted.org/packages/d7/cd/3b1dffa46b19dac269d586b9d45090588a8bd7a5741602a369d45e1bdf65/importlib_metadata-1.5.2.tar.gz" +S = "${WORKDIR}/importlib_metadata-${PV}" +SRC_URI[md5sum] = "35a85a81c7d86605f4f49397f4e7e39c" +SRC_URI[sha256sum] = "dfc83688553a91a786c6c91eeb5f3b1d31f24d71877bbd94ecbf5484e57690a2" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS_${PN} += "${PYTHON_PN}-zipp ${PYTHON_PN}-pathlib2" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-incremental.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-incremental.inc index b63fac97..ef5e903f 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-incremental.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-incremental.inc @@ -17,4 +17,4 @@ RDEPENDS_${PN} += " \ # prevent a circular dependency. The build apparently does not use the part of # python-incremental which uses python-twisted, so this hack is OK. RDEPENDS_${PYTHON_PN}-incremental-native_remove = "${PYTHON_PN}-twisted-native" -BBCLASSEXTEND = "native nativesdk" +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-incremental_17.5.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-incremental_17.5.0.bb deleted file mode 100644 index 139ac0c5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-incremental_17.5.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-incremental.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-inflection_0.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-inflection_0.3.1.bb deleted file mode 100644 index 4a9d4979..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-inflection_0.3.1.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-inflection.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-codecs" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-intervals.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-intervals.inc index 1ecca352..4489aa59 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-intervals.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-intervals.inc @@ -2,14 +2,14 @@ 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" +LICENSE = "LGPLv3" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab" PYPI_PACKAGE := "python-intervals" inherit pypi -SRC_URI[md5sum] = "a35dd44269fdb134bf19cfd80cb2c120" -SRC_URI[sha256sum] = "a8a15b7c2fadb8465310f44aa96e384828b35a29de38ac74738cd665924cb8ac" +SRC_URI[md5sum] = "8955317ff4e42590c90ba6247b1caaed" +SRC_URI[sha256sum] = "0d26746eaed0be78a61dd289bb7a10721b08770bb3e807614835f490d514f2a5" BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-intervals_1.5.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-intervals_1.5.4.bb deleted file mode 100644 index 3c2a33bb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-intervals_1.5.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-intervals.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ipy.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ipy.inc new file mode 100644 index 00000000..46b2fad0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ipy.inc @@ -0,0 +1,19 @@ +SUMMARY = "IPy - class and tools for handling of IPv4 and IPv6 addresses and networks" +DESCRIPTION = "IPy is a Python module for handling IPv4 and IPv6 Addresses and Networks \ +in a fashion similar to perl's Net::IP and friends. The IP class allows \ +a comfortable parsing and handling for most notations in use for IPv4 \ +and IPv6 Addresses and Networks." +SECTION = "devel/python" +HOMEPAGE = "https://github.com/autocracy/python-ipy" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6" + +SRC_URI[md5sum] = "1a90c68174234672241a7e60c7ea0fb9" +SRC_URI[sha256sum] = "2f2bf658a858d43868d8a4352b3889cf78c66e2ce678b300dcf518c9149ba621" + +inherit pypi + +PYPI_PACKAGE = "IPy" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-iso8601.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-iso8601.inc index 61e9abba..a70843ea 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-iso8601.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-iso8601.inc @@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "49c4b20e1f38aa5cf109ddcd39647ac419f928512c869dc01d5c7098ed RDEPENDS_${PN} += "\ ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-numbers \ " BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-iso8601_0.1.12.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-iso8601_0.1.12.bb deleted file mode 100644 index c543cf9f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-iso8601_0.1.12.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-iso8601.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-isodate.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-isodate.inc new file mode 100644 index 00000000..8c128919 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-isodate.inc @@ -0,0 +1,14 @@ +SUMMARY = "ISO 8601 date/time parser" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" + +SRC_URI[md5sum] = "0e1203fce27ce65e2d01c5f21c4d428f" +SRC_URI[sha256sum] = "2e364a3d5759479cdb2d37cce6b9376ea504db2ff90252a2e5b7cc89cc9ff2d8" + +inherit pypi + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-six \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-isort.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-isort.inc index 359b1801..324d4cf1 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-isort.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-isort.inc @@ -4,8 +4,8 @@ LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" -SRC_URI[md5sum] = "fb554e9c8f9aa76e333a03d470a5cf52" -SRC_URI[sha256sum] = "b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8" +SRC_URI[md5sum] = "05d66f2eb7ce2c2d702e86bac24bf9e4" +SRC_URI[sha256sum] = "54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1" inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-isort_4.3.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-isort_4.3.4.bb deleted file mode 100644 index fa46d89b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-isort_4.3.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-isort.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-itsdangerous.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-itsdangerous.inc index 84f9e774..241786a7 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-itsdangerous.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-itsdangerous.inc @@ -1,10 +1,10 @@ SUMMARY = "Various helpers to pass trusted data to untrusted environments and back." HOMEPAGE = "http://github.com/mitsuhiko/itsdangerous" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b61841e2bf5f07884148e2a6f1bcab0c" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=370799bf709a1e4a6a369fa089ac73a6" -SRC_URI[md5sum] = "a3d55aa79369aef5345c036a8a26307f" -SRC_URI[sha256sum] = "cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519" +SRC_URI[md5sum] = "9b7f5afa7f1e3acfb7786eeca3d99307" +SRC_URI[sha256sum] = "321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19" CLEANBROKEN = "1" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-itsdangerous_0.24.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-itsdangerous_0.24.bb deleted file mode 100644 index 8c99cb4c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-itsdangerous_0.24.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit pypi setuptools -require python-itsdangerous.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-zlib \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-javaobj-py3.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-javaobj-py3.inc index a0e802ca..e667057b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-javaobj-py3.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-javaobj-py3.inc @@ -5,10 +5,10 @@ DESCRIPTION = "python-javaobj is a python library that provides functions\ representation is a standard data interchange format in Java world." HOMEPAGE = "https://github.com/tcalmant/python-javaobj" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://javaobj.py;beginline=21;endline=33;md5=8b504419ce78f8133b21b4d4a89ef7e9" +LIC_FILES_CHKSUM = "file://setup.py;beginline=15;endline=27;md5=af9ce26ac2de1b7436eb08c9308b4a1e" -SRC_URI[md5sum] = "f669bb8099380e3dd84db3d542aa5b68" -SRC_URI[sha256sum] = "b8b0d310fd97e1c7914d7911ee9d3f4b3d84d2a674aa95a4b0da3d8f155fc1bb" +SRC_URI[md5sum] = "352fe0df9336b8699ad0799ef152da6b" +SRC_URI[sha256sum] = "18c44cfaa214813784a823432b4ab9829c9626b2b00072011627b4008b0067cd" inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-javaobj-py3_0.2.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-javaobj-py3_0.2.4.bb deleted file mode 100644 index ed34740e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-javaobj-py3_0.2.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-javaobj-py3.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jinja2.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jinja2.inc deleted file mode 100644 index 0c0bf0de..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jinja2.inc +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python." -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=20c831f91dd3bd486020f672ba2be386" - -PYPI_PACKAGE = "Jinja2" - -SRC_URI[md5sum] = "61ef1117f945486472850819b8d1eb3d" -SRC_URI[sha256sum] = "f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4" - -RDEPENDS_${PN} += "${PYTHON_PN}-io ${PYTHON_PN}-pickle ${PYTHON_PN}-crypt \ - ${PYTHON_PN}-math ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-pprint ${PYTHON_PN}-shell ${PYTHON_PN}-markupsafe \ - ${PYTHON_PN}-json ${PYTHON_PN}-threading ${PYTHON_PN}-numbers" - -CLEANBROKEN = "1" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jinja2_2.10.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jinja2_2.10.bb deleted file mode 100644 index 5233cf40..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jinja2_2.10.bb +++ /dev/null @@ -1,8 +0,0 @@ -inherit pypi setuptools -require python-jinja2.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-lang \ - ${PYTHON_PN}-re \ - ${PYTHON_PN}-textutils \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpatch.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpatch.inc index 409c09ad..e23f96b6 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpatch.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpatch.inc @@ -1,12 +1,12 @@ SUMMARY = "Appling JSON patches in Python 2.6+ and 3.x" HOMEPAGE = "https://github.com/stefankoegl/python-json-patch" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3" inherit pypi -SRC_URI[md5sum] = "83c4c9faccb4a2ff8c1db80cbddc590d" -SRC_URI[sha256sum] = "49f29cab70e9068db3b1dc6b656cbe2ee4edf7dfe9bf5a0055f17a4b6804a4b9" +SRC_URI[md5sum] = "fcc546892414bef2f7f89f0e2a618a9e" +SRC_URI[sha256sum] = "ddc0f7628b8bfdd62e3cbfbc24ca6671b0b6265b50d186c2cf3659dc0f78fd6a" RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-stringold" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpatch_1.23.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpatch_1.23.bb deleted file mode 100644 index 90cd3180..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpatch_1.23.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-jsonpatch.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-re" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc index 4ed01ed6..3e41b70b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer.inc @@ -1,9 +1,9 @@ SUMMARY = "Resolve JSON Pointers in Python" HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3" -inherit pypi +inherit pypi ptest SRC_URI[md5sum] = "741b98d0e693b08b5e44e0a9da5a7bb7" SRC_URI[sha256sum] = "c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362" @@ -11,3 +11,17 @@ SRC_URI[sha256sum] = "c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83 RDEPENDS_${PN} += " \ ${PYTHON_PN}-json \ " + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/tests.py ${D}${PTEST_PATH}/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer_2.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer_2.0.bb deleted file mode 100644 index e13a776a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonpointer_2.0.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-jsonpointer.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-re" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonschema.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonschema.inc index 6fdc0249..8135b0fe 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonschema.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonschema.inc @@ -1,24 +1,48 @@ SUMMARY = "An implementation of JSON Schema validation for Python" +HOMEPAGE = "https://github.com/Julian/jsonschema" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8" +LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \ + file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" +DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native" -SRC_URI[md5sum] = "50c6b69a373a8b55ff1e0ec6e78f13f4" -SRC_URI[sha256sum] = "6ff5f3180870836cae40f06fa10419f557208175f13ad7bc26caa77beb1f6e02" +FILESEXTRAPATHS_prepend := "${THISDIR}/python-jsonschema:" -DEPENDS += "${PYTHON_PN}-vcversioner-native" +SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d" +SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a" + +PACKAGECONFIG ??= "format" +PACKAGECONFIG[format] = ",,,\ + ${PYTHON_PN}-idna \ + ${PYTHON_PN}-jsonpointer \ + ${PYTHON_PN}-webcolors \ + ${PYTHON_PN}-rfc3987 \ + ${PYTHON_PN}-strict-rfc3339 \ +" +PACKAGECONFIG[nongpl] = ",,,\ + ${PYTHON_PN}-idna \ + ${PYTHON_PN}-jsonpointer \ + ${PYTHON_PN}-webcolors \ + ${PYTHON_PN}-rfc3986-validator \ + ${PYTHON_PN}-rfc3339-validator \ +" RDEPENDS_${PN} += " \ + ${PYTHON_PN}-attrs \ ${PYTHON_PN}-core \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-importlib-metadata \ ${PYTHON_PN}-io \ ${PYTHON_PN}-json \ ${PYTHON_PN}-netclient \ ${PYTHON_PN}-numbers \ ${PYTHON_PN}-pkgutil \ ${PYTHON_PN}-pprint \ - ${PYTHON_PN}-rfc3987 \ + ${PYTHON_PN}-pyrsistent \ ${PYTHON_PN}-shell \ - ${PYTHON_PN}-strict-rfc3339 \ + ${PYTHON_PN}-six \ ${PYTHON_PN}-unittest \ + ${PYTHON_PN}-setuptools-scm \ + ${PYTHON_PN}-zipp \ " BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonschema_2.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonschema_2.6.0.bb deleted file mode 100644 index b677c646..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-jsonschema_2.6.0.bb +++ /dev/null @@ -1,12 +0,0 @@ -inherit pypi setuptools -require python-jsonschema.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-argparse \ - ${PYTHON_PN}-contextlib \ - ${PYTHON_PN}-functools32 \ - ${PYTHON_PN}-lang \ - ${PYTHON_PN}-re \ - ${PYTHON_PN}-subprocess \ - ${PYTHON_PN}-textutils \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-kconfiglib.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-kconfiglib.inc new file mode 100644 index 00000000..3dc4961c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-kconfiglib.inc @@ -0,0 +1,8 @@ +DESCRIPTION = "Kconfiglib is a Kconfig implementation in Python" +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=712177a72a3937909543eda3ad1bfb7c" + +SRC_URI[md5sum] = "4ad68618824d4bad1d1de1d7eb838bba" +SRC_URI[sha256sum] = "bed2cc2216f538eca4255a83a4588d8823563cdd50114f86cf1a2674e602c93c" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lazy-object-proxy.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-lazy-object-proxy.inc index 83d2ea3c..bbbd66ce 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lazy-object-proxy.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-lazy-object-proxy.inc @@ -1,10 +1,12 @@ SUMMARY = "A fast and thorough lazy object proxy" HOMEPAGE = "https://python-lazy-object-proxy.readthedocs.io/" -LICENSE = "BSD" +LICENSE = "BSD-2-Clause" SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://LICENSE;md5=ec680df42d8ad56427a83308817658cc" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9c5c2c74370826468065c5702b8a1fcf" -SRC_URI[md5sum] = "e128152b76eb5b9ba759504936139fd0" -SRC_URI[sha256sum] = "eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a" +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +SRC_URI[md5sum] = "5c64c06affcd2a7c6ddc848af4280cca" +SRC_URI[sha256sum] = "f3900e8a5de27447acbf900b4750b0ddfd7ec1ea7fbaf11dfa911141bc522af0" inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lazy-object-proxy_1.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-lazy-object-proxy_1.3.1.bb deleted file mode 100644 index df4d60bf..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lazy-object-proxy_1.3.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-lazy-object-proxy.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-license-expression.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-license-expression.inc new file mode 100644 index 00000000..add25810 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-license-expression.inc @@ -0,0 +1,29 @@ +SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions" +HOMEPAGE = "https://github.com/nexB/license-expression" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa" + +SRC_URI[md5sum] = "81477f779099f55071c6a7b88a29bb01" +SRC_URI[sha256sum] = "8aaa455c5b97c4f2174090178b19792b2a1c620e80591aafd4e0a99b713f9e8d" + +inherit pypi ptest + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-booleanpy \ + " + +BBCLASSEXTEND = "native nativesdk" + +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/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb deleted file mode 100644 index 386da2da..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb +++ /dev/null @@ -1,13 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb deleted file mode 100644 index 9ad865d4..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lockfile_0.12.2.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "Platform-independent file locking module" -HOMEPAGE = "http://launchpad.net/pylockfile" -SECTION = "devel/python" - -RDEPENDS_${PN} = "python-threading" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -inherit pypi setuptools - -SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9" -SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799" - -# Satisfy setup.py 'setup_requires' -DEPENDS += " \ - python-pbr-native \ - " - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lrparsing.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-lrparsing.inc new file mode 100644 index 00000000..d125151c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-lrparsing.inc @@ -0,0 +1,16 @@ +SUMMARY = "Python LR parsing library" +SECTION = "devel/python" +LICENSE = "AGPL-3.0" +LIC_FILES_CHKSUM = "file://agpl-3.0.txt;md5=73f1eb20517c55bf9493b7dd6e480788" + +HOMEPAGE = "http://lrparsing.sourceforge.net/" +BUGTRACKER = "https://sourceforge.net/p/lrparsing/tickets/" +UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lrparsing/files/" +UPSTREAM_CHECK_REGEX = "lrparsing-(?P<pver>\d+(\.\d+)+)" +SRC_URI = "${SOURCEFORGE_MIRROR}/lrparsing/lrparsing-${PV}.tar.gz" +SRC_URI[md5sum] = "34357d69bce87654d792cd8f02d148b2" +SRC_URI[sha256sum] = "b45afda44001dc5ba632934f74c043d40cce653f1a7526cfbcb68f6be055b8d7" + +S = "${WORKDIR}/lrparsing-${PV}" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lxml.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-lxml.inc index 7f355a7b..05b5eae4 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lxml.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-lxml.inc @@ -11,15 +11,15 @@ LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \ file://doc/licenses/elementtree.txt;md5=eb34d036a6e3d56314ee49a6852ac891 \ file://doc/licenses/BSD.txt;md5=700a1fc17f4797d4f2d34970c8ee694b \ file://doc/licenses/GPL.txt;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://src/lxml/isoschematron/resources/rng/iso-schematron.rng;beginline=2;endline=7;md5=939e7430ce85e1242ff50c4ee9430752 \ + file://src/lxml/isoschematron/resources/rng/iso-schematron.rng;beginline=2;endline=7;md5=fc85684a8dd5fa272c086bceb0d99e10 \ file://src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl;beginline=2;endline=24;md5=cc86b7b2bbc678e13f58ea403eb9929b \ file://src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl;beginline=2;endline=7;md5=5b03236d293dc3784205542b409d2f53 \ " DEPENDS += "libxml2 libxslt" -SRC_URI[md5sum] = "31239400ca4e130b69993bb3c14204b3" -SRC_URI[sha256sum] = "e2afbe403090f5893e254958d02875e0732975e73c4c0cdd33c1f009a61963ca" +SRC_URI[md5sum] = "f088e452ed45b030b6f84269f1e84d11" +SRC_URI[sha256sum] = "8620ce80f50d023d414183bf90cc2576c2837b88e00bea3f33ad2630133bbb60" DISTUTILS_BUILD_ARGS += " \ --with-xslt-config='pkg-config libxslt' \ @@ -33,11 +33,18 @@ DISTUTILS_INSTALL_ARGS += " \ inherit pypi -do_configure_prepend() { - sed -i -e 's/--version/--modversion/' ${B}/setupinfo.py -} +# {standard input}: Assembler messages: +# {standard input}:1488805: Error: branch out of range +DEBUG_OPTIMIZATION_remove_mips = " -Og" +DEBUG_OPTIMIZATION_append_mips = " -O" +BUILD_OPTIMIZATION_remove_mips = " -Og" +BUILD_OPTIMIZATION_append_mips = " -O" + +DEBUG_OPTIMIZATION_remove_mipsel = " -Og" +DEBUG_OPTIMIZATION_append_mipsel = " -O" +BUILD_OPTIMIZATION_remove_mipsel = " -Og" +BUILD_OPTIMIZATION_append_mipsel = " -O" BBCLASSEXTEND = "native nativesdk" RDEPENDS_${PN} += "libxml2 libxslt ${PYTHON_PN}-compression" -RDEPENDS_${PN}_class-native = "libxml2-native libxslt-native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lxml_4.2.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-lxml_4.2.4.bb deleted file mode 100644 index 81ccb12d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-lxml_4.2.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-lxml.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto.inc index a36ab8a7..81c81645 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto.inc @@ -17,7 +17,17 @@ PYPI_PACKAGE = "M2Crypto" inherit pypi siteinfo DEPENDS += "openssl swig-native" -RDEPENDS_${PN} += "python-typing" +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-netserver \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-smtpd \ + ${PYTHON_PN}-typing \ + ${PYTHON_PN}-xmlrpc \ +" DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} -I${STAGING_INCDIR}" DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}" @@ -32,7 +42,7 @@ export SWIG_FEATURES # 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 + | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > ${S}/SWIG/gcc_macros.h if [ "${SITEINFO_BITS}" = "64" ];then bit="64" @@ -42,11 +52,11 @@ do_configure_prepend() { if [ -e ${STAGING_INCDIR}/openssl/opensslconf-${bit}.h ] ;then for i in SWIG/_ec.i SWIG/_evp.i; do - sed -i -e "s/opensslconf.*\./opensslconf-${bit}\./" "$i" + sed -i -e "s/opensslconf.*\./opensslconf-${bit}\./" "${S}/$i" done elif [ -e ${STAGING_INCDIR}/openssl/opensslconf-n${bit}.h ] ;then for i in SWIG/_ec.i SWIG/_evp.i; do - sed -i -e "s/opensslconf.*\./opensslconf-n${bit}\./" "$i" + sed -i -e "s/opensslconf.*\./opensslconf-n${bit}\./" "${S}/$i" done fi } diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto_0.30.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto_0.30.1.bb deleted file mode 100644 index c612fcdc..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-m2crypto_0.30.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-m2crypto.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-mako.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-mako.inc index a9fa5563..abcbb884 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-mako.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-mako.inc @@ -2,14 +2,14 @@ SUMMARY = "A super-fast templating language that borrows the best ideas from the HOMEPAGE = "http://www.makotemplates.org/" SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1bb21fa2d2f7a534c884b990430a6863" +LIC_FILES_CHKSUM = "file://LICENSE;md5=df7e6c7c82990acf0228a55e00d29bc9" PYPI_PACKAGE = "Mako" inherit pypi -SRC_URI[md5sum] = "5836cc997b1b773ef389bf6629c30e65" -SRC_URI[sha256sum] = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae" +SRC_URI[md5sum] = "6c3f2da0b74af529a4c4a537d0848bf2" +SRC_URI[sha256sum] = "a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b" RDEPENDS_${PN} = " \ ${PYTHON_PN}-html \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-mako_1.0.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-mako_1.0.7.bb deleted file mode 100644 index 3372eeb2..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-mako_1.0.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-mako.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-markupsafe.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-markupsafe.inc index 927f8445..48087626 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-markupsafe.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-markupsafe.inc @@ -1,12 +1,27 @@ DESCRIPTION = "Implements a XML/HTML/XHTML Markup safe string for Python" HOMEPAGE = "http://github.com/mitsuhiko/markupsafe" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c6d1adcf45d69359f256c1cea3254127" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" -SRC_URI[md5sum] = "2fcedc9284d50e577b5192e8e3578355" -SRC_URI[sha256sum] = "a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665" +SRC_URI[md5sum] = "43fd756864fe42063068e092e220c57b" +SRC_URI[sha256sum] = "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b" PYPI_PACKAGE = "MarkupSafe" -inherit pypi +inherit pypi ptest RDEPENDS_${PN} += "${PYTHON_PN}-stringold" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb deleted file mode 100644 index 05bbe8a3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools -require python-markupsafe.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-re" - -BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch deleted file mode 100644 index 21b9094a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch +++ /dev/null @@ -1,110 +0,0 @@ -This fixes the numpy import problem in setupext.py using a hard-coded path. - -Index: matplotlib-2.0.2/setupext.py -=================================================================== ---- matplotlib-2.0.2.orig/setupext.py -+++ matplotlib-2.0.2/setupext.py -@@ -148,6 +148,7 @@ def has_include_file(include_dirs, filen - Returns `True` if `filename` can be found in one of the - directories in `include_dirs`. - """ -+ return True - if sys.platform == 'win32': - include_dirs += os.environ.get('INCLUDE', '.').split(';') - for dir in include_dirs: -@@ -172,7 +173,7 @@ def get_base_dirs(): - Returns a list of standard base directories on this platform. - """ - if options['basedirlist']: -- return options['basedirlist'] -+ return [os.environ['STAGING_LIBDIR']] - - basedir_map = { - 'win32': ['win32_static', ], -@@ -260,14 +261,6 @@ def make_extension(name, files, *args, * - `distutils.core.Extension` constructor. - """ - ext = DelayedExtension(name, files, *args, **kwargs) -- for dir in get_base_dirs(): -- include_dir = os.path.join(dir, 'include') -- if os.path.exists(include_dir): -- ext.include_dirs.append(include_dir) -- for lib in ('lib', 'lib64'): -- lib_dir = os.path.join(dir, lib) -- if os.path.exists(lib_dir): -- ext.library_dirs.append(lib_dir) - ext.include_dirs.append('.') - - return ext -@@ -314,6 +307,7 @@ class PkgConfig(object): - " matplotlib may not be able to find some of its dependencies") - - def set_pkgconfig_path(self): -+ return - pkgconfig_path = sysconfig.get_config_var('LIBDIR') - if pkgconfig_path is None: - return -@@ -875,14 +869,14 @@ class Numpy(SetupPackage): - reload(numpy) - - ext = Extension('test', []) -- ext.include_dirs.append(numpy.get_include()) -+ ext.include_dirs.append(os.path.join(os.environ['STAGING_LIBDIR'], 'python2.7/site-packages/numpy/core/include/')) - if not has_include_file( - ext.include_dirs, os.path.join("numpy", "arrayobject.h")): - warnings.warn( - "The C headers for numpy could not be found. " - "You may need to install the development package") - -- return [numpy.get_include()] -+ return [os.path.join(os.environ['STAGING_LIBDIR'], 'python2.7/site-packages/numpy/core/include/')] - - def check(self): - min_version = extract_versions()['__version__numpy__'] -Index: matplotlib-2.0.2/setup.py -=================================================================== ---- matplotlib-2.0.2.orig/setup.py -+++ matplotlib-2.0.2/setup.py -@@ -66,28 +66,6 @@ mpl_packages = [ - setupext.Python(), - setupext.Platform(), - 'Required dependencies and extensions', -- setupext.Numpy(), -- setupext.Six(), -- setupext.Dateutil(), -- setupext.FuncTools32(), -- setupext.Subprocess32(), -- setupext.Pytz(), -- setupext.Cycler(), -- setupext.Tornado(), -- setupext.Pyparsing(), -- setupext.LibAgg(), -- setupext.FreeType(), -- setupext.FT2Font(), -- setupext.Png(), -- setupext.Qhull(), -- setupext.Image(), -- setupext.TTConv(), -- setupext.Path(), -- setupext.ContourLegacy(), -- setupext.Contour(), -- setupext.Delaunay(), -- setupext.QhullWrap(), -- setupext.Tri(), - 'Optional subpackages', - setupext.SampleData(), - setupext.Toolkits(), -@@ -100,13 +78,8 @@ mpl_packages = [ - setupext.BackendMacOSX(), - setupext.BackendQt5(), - setupext.BackendQt4(), -- setupext.BackendGtk3Agg(), - setupext.BackendGtk3Cairo(), -- setupext.BackendGtkAgg(), -- setupext.BackendTkAgg(), -- setupext.BackendWxAgg(), - setupext.BackendGtk(), -- setupext.BackendAgg(), - setupext.BackendCairo(), - setupext.Windowing(), - 'Optional LaTeX dependencies', diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib_2.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib_2.0.2.bb deleted file mode 100644 index 5b1c3f05..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib_2.0.2.bb +++ /dev/null @@ -1,18 +0,0 @@ -DESCRIPTION = "matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats" -SECTION = "devel/python" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74" - -DEPENDS += "python-numpy freetype libpng python-dateutil python-pytz" -RDEPENDS_${PN} = "python-core python-distutils python-numpy freetype libpng python-dateutil python-pytz" - -SRC_URI = "https://github.com/matplotlib/matplotlib/archive/v${PV}.tar.gz \ - file://fix_setupext.patch \ -" -SRC_URI[md5sum] = "89717c1ef3c6fdcd6fb1f3b597a4858c" -SRC_URI[sha256sum] = "aebed23921562792b68b8ca355de5abc176af4424f1987e2fa95f65e5c5e7e89" -S = "${WORKDIR}/matplotlib-${PV}" -EXTRA_OECONF = "--disable-docs" - -inherit setuptools pkgconfig - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb deleted file mode 100644 index 6b63cd78..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-mccabe_0.4.0.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "McCabe checker, plugin for flake8" -HOMEPAGE = "https://github.com/dreamhost/cliff" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;md5=f8b50fba1711ecac6bcdb6324f85a66d" - -SRC_URI += " \ - file://0001-python-mccabe-remove-unnecessary-setup_requires-pyte.patch \ -" - -SRC_URI[md5sum] = "8c425db05f310adcd4bb174b991f26f5" -SRC_URI[sha256sum] = "9a2b12ebd876e77c72e41ebf401cc2e7c5b566649d50105ca49822688642207b" - -inherit pypi setuptools - -RDEPENDS_${PN} += " \ - python-prettytable \ - python-cmd2 \ - python-pyparsing" - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-meld3.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-meld3.inc new file mode 100644 index 00000000..558e436c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-meld3.inc @@ -0,0 +1,15 @@ +SUMMARY = "meld3 templating system used by Supervisor" +DESCRIPTION = "\ +meld3 is an HTML/XML templating system for Python which keeps \ +template markup and dynamic rendering logic separate from one \ +another. See http://www.entrian.com/PyMeld for a treatise on the \ +benefits of this pattern." +HOMEPAGE = "https://github.com/supervisor/meld3" +LICENSE = "BSD-4-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9e7581cef5645475fcefebdc15ed7abf" + +SRC_URI[md5sum] = "3ccc78cd79cffd63a751ad7684c02c91" +SRC_URI[sha256sum] = "f7b754a0fde7a4429b2ebe49409db240b5699385a572501bb0d5627d299f9558" + +PYPI_PACKAGE = "meld3" +inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-mock_2.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-mock_2.0.0.bb deleted file mode 100644 index 210502ff..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-mock_2.0.0.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "A Python Mocking and Patching Library for Testing" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" - -SRC_URI[md5sum] = "0febfafd14330c9dcaa40de2d82d40ad" -SRC_URI[sha256sum] = "b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba" - -inherit pypi setuptools - -DEPENDS += " \ - python-pbr-native" - -RDEPENDS_${PN} += " \ - python-prettytable \ - python-cmd2 \ - python-pyparsing \ - python-mccabe \ - python-pep8 \ - python-pyflakes \ - python-pbr \ - python-funcsigs \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-more-itertools.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-more-itertools.inc new file mode 100644 index 00000000..0b684c1b --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-more-itertools.inc @@ -0,0 +1,21 @@ +DESCRIPTION = "More routines for operating on iterables, beyond itertools" +HOMEPAGE = "https://github.com/erikrose/more-itertools" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5" + +BBCLASSEXTEND = "native nativesdk" + +inherit 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/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-msgpack.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-msgpack.inc deleted file mode 100644 index fdc89261..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-msgpack.inc +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "MessagePack (de)serializer" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" - -SRC_URI[md5sum] = "6d644c06a87a5a111bbbf5b34b4be440" -SRC_URI[sha256sum] = "378cc8a6d3545b532dfd149da715abae4fda2a3adb6d74e525d0d5e51f46909b" - -PYPI_PACKAGE = "msgpack-python" -inherit pypi - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-io \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-msgpack_0.5.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-msgpack_0.5.6.bb deleted file mode 100644 index 2c2c8f2a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-msgpack_0.5.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-msgpack.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc index 91235b96..bca58f76 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc @@ -1,6 +1,6 @@ DESCRIPTION = "Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL" HOMEPAGE = "http://python-requests.org" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=ce22c0cd986d2de3f7073cd6b5523ae0" SRC_URI[md5sum] = "b0fc8ea38f87d2c1ab1ed79a95c078f9" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb deleted file mode 100644 index 9cd881a3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient_0.5.1.bb +++ /dev/null @@ -1,6 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-netaddr.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-netaddr.inc index 5b6d4dff..bea9be67 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-netaddr.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-netaddr.inc @@ -1,5 +1,5 @@ SUMMARY = "A network address manipulation library for Python." -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e6345d695ffe3776f68a56fe7962db44" SRC_URI[md5sum] = "51019ef59c93f3979bcb37d3b8527e07" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb deleted file mode 100644 index ca5a79a7..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-netaddr_0.7.19.bb +++ /dev/null @@ -1,6 +0,0 @@ -require python-netaddr.inc -inherit setuptools - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-textutils \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-netifaces.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-netifaces.inc new file mode 100644 index 00000000..daccc4fb --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-netifaces.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Portable network interface information for Python" +SECTION = "devel/python" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=a53cbc7cb75660694e138ba973c148df" + +SRC_URI[md5sum] = "de92cc322b4f56047c073f802ad77860" +SRC_URI[sha256sum] = "2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3" + +inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-networkx.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-networkx.inc new file mode 100644 index 00000000..4bca636d --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-networkx.inc @@ -0,0 +1,8 @@ +DESCRIPTION = "Python package for creating and manipulating graphs and networks" +LICENSE = "BSD-3-Clause" + +inherit pypi + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-decorator \ + " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-networkx_2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-networkx_2.1.bb deleted file mode 100644 index bc0c6863..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-networkx_2.1.bb +++ /dev/null @@ -1,12 +0,0 @@ -DESCRIPTION = "Python package for creating and manipulating graphs and networks" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3376ff7c9c58048c62d91431f7f08cde" - -SRC_URI[md5sum] = "4a2c2a62dfc46ba7d594daca7c834995" -SRC_URI[sha256sum] = "64272ca418972b70a196cb15d9c85a5a6041f09a2f32e0d30c0255f25d458bb1" - -PYPI_PACKAGE_EXT = "zip" - -inherit pypi setuptools - -RDEPENDS_${PN} += "python-2to3" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-numeric_24.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-numeric_24.2.bb deleted file mode 100644 index c91d77c8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-numeric_24.2.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "A sophisticated Numeric Processing Package for Python" -SECTION = "devel/python" -LICENSE = "PSF & LLNL" -LIC_FILES_CHKSUM = "file://Legal.htm;md5=e3ce75dedd4043918d15979ae43e312e" - -PR = "ml3" - -SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/Numeric-${PV}.tar.gz \ - file://0001-it-tries-to-define-this-function-differently-than-it.patch \ -" -S = "${WORKDIR}/Numeric-${PV}" - -inherit distutils - -SRC_URI[md5sum] = "2ae672656e06716a149acb048cca3093" -SRC_URI[sha256sum] = "5f72e729eb6ff57442f2a38bfc9931738b59e5077928e2e70d22b4610ff15258" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-oauthlib.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-oauthlib.inc index c5de8a09..fea07144 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-oauthlib.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-oauthlib.inc @@ -1,7 +1,7 @@ SUMMARY = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic" HOMEPAGE = "https://github.com/idan/oauthlib" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b" SRC_URI = "https://pypi.python.org/packages/a5/8a/212e9b47fb54be109f3ff0684165bb38c51117f34e175c379fce5c7df754/oauthlib-${PV}.tar.gz" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-oauthlib_2.0.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-oauthlib_2.0.6.bb deleted file mode 100644 index 4329d21a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-oauthlib_2.0.6.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-oauthlib.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-re ${PYTHON_PN}-lang" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-packaging.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-packaging.inc new file mode 100644 index 00000000..418483f4 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-packaging.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Core utilities for Python packages" +HOMEPAGE = "https://github.com/pypa/packaging" +LICENSE = "Apache-2.0 & BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91" + +SRC_URI[md5sum] = "19e0d1f82a9007b448650ccfeffd0a26" +SRC_URI[sha256sum] = "3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-pyparsing" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-paho-mqtt_1.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-paho-mqtt_1.3.1.bb deleted file mode 100644 index a1031176..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-paho-mqtt_1.3.1.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools -require python-paho-mqtt.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pam_1.8.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pam_1.8.2.bb deleted file mode 100644 index 60a3b43d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pam_1.8.2.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Python PAM module using ctypes, py3/py2." -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=64326d42471b493c5c088305364ad5da" - -SRC_URI[md5sum] = "db71b6b999246fb05d78ecfbe166629d" -SRC_URI[sha256sum] = "26efe4e79b869b10f97cd8c4a6bbb04a4e54d41186364e975b4108c9c071812c" - -PYPI_PACKAGE = "python-pam" - -inherit pypi setuptools - -RDEPENDS_${PN} = "libpam" - -inherit distro_features_check -REQUIRED_DISTRO_FEATURES = "pam" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pandas_0.23.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pandas_0.23.4.bb deleted file mode 100644 index b3bfab96..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pandas_0.23.4.bb +++ /dev/null @@ -1,7 +0,0 @@ -inherit setuptools -require python-pandas.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-future \ - ${PYTHON_PN}-json \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type.inc index 4549ec98..147ea644 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type.inc @@ -7,6 +7,19 @@ SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" PYPI_PACKAGE = "parse_type" -inherit pypi +inherit pypi ptest RDEPENDS_${PN} += "${PYTHON_PN}-parse" + +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/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb deleted file mode 100644 index 8e10e801..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-parse-type.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc index fa55a93c..ecfd6717 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse.inc @@ -1,14 +1,26 @@ 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" +LIC_FILES_CHKSUM = "file://parse.py;beginline=1325;endline=1345;md5=3d987b2e73881bbce768a80f9cdd23d9" -SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b" -SRC_URI[sha256sum] = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939" +SRC_URI[md5sum] = "a5aa82b2b8b4d733d227e3c99d7d01b4" +SRC_URI[sha256sum] = "a6d4e2c2f1fbde6717d28084a191a052950f758c0cbd83805357e6575c2b95c0" -inherit pypi +inherit pypi ptest RDEPENDS_${PN} += "\ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-logging \ " + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse_1.8.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse_1.8.4.bb deleted file mode 100644 index d31ccc72..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-parse_1.8.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-parse.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-passlib.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-passlib.inc index 9e477ecf..9cf02807 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-passlib.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-passlib.inc @@ -6,11 +6,11 @@ managing existing password hashes. It’s designed to be useful for a wide range tasks, from verifying a hash found in /etc/shadow, to providing full-strength password \ hashing for multi-user applications." HOMEPAGE = "https://bitbucket.org/ecollins/passlib" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=73eed1a5470b969951dac411086c7036" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=44fd7dcd5d42b48d6dea59ac643a0179" -SRC_URI[md5sum] = "254869dae3fd9f09f0746a3cb29a0b15" -SRC_URI[sha256sum] = "3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0" +SRC_URI[md5sum] = "b908529cfd4c33057c244324c692eae7" +SRC_URI[sha256sum] = "8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8" RDEPENDS_${PN} += "\ ${PYTHON_PN}-crypt \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-passlib_1.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-passlib_1.7.1.bb deleted file mode 100644 index 11c598a0..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-passlib_1.7.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-passlib.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-paste_2.0.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-paste_2.0.3.bb deleted file mode 100644 index 6b4019f8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-paste_2.0.3.bb +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Tools for using a Web Server Gateway Interface stack" -HOMEPAGE = "http://pythonpaste.org/" -LICENSE = "MIT" -RDEPENDS_${PN} = "python-six" - -LIC_FILES_CHKSUM = "file://docs/license.txt;md5=1798f29d55080c60365e6283cb49779c" - -SRC_URI[md5sum] = "1231e14eae62fa7ed76e9130b04bc61e" -SRC_URI[sha256sum] = "2346a347824c32641bf020c17967b49ae74d3310ec1bc9b958d4b84e2d985218" - -PYPI_PACKAGE = "Paste" -inherit pypi setuptools - -FILES_${PN} += "/usr/lib/*" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pathlib2.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pathlib2.inc new file mode 100644 index 00000000..d69d5273 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pathlib2.inc @@ -0,0 +1,11 @@ +DESCRIPTION = "Object-oriented filesystem paths" +HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=042856c23a3e903b33bf361ea1cbe29a" + +SRC_URI[md5sum] = "f2bd0a363eb0f8fa0556f35c1d9e66fb" +SRC_URI[sha256sum] = "6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868" + +RDEPENDS_${PN} += "${PYTHON_PN}-six ${PYTHON_PN}-ctypes" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb deleted file mode 100644 index a4b56cdb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb +++ /dev/null @@ -1,3 +0,0 @@ -inherit setuptools -# The inc file is in oe-core -require recipes-devtools/python/python-pbr.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pep8_1.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pep8_1.7.1.bb deleted file mode 100644 index 54ce9781..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pep8_1.7.1.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Python style guide checker" -HOMEPAGE = "https://github.com/dreamhost/cliff" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;md5=d8ebbbe831259ce010179d2f310b0f3e" - -SRC_URI[md5sum] = "603821d06db945c71d811b5a8d78423c" -SRC_URI[sha256sum] = "fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374" - -inherit pypi setuptools - -RDEPENDS_${PN} += " \ - python-prettytable \ - python-cmd2 \ - python-pyparsing" - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-periphery.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-periphery.inc index 539c3579..0171f63f 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-periphery.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-periphery.inc @@ -2,6 +2,8 @@ DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI HOMEPAGE = "http://pythonhosted.org/python-periphery/" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=063846af82b555d48822cf43dc6db6af" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1ecf5c2354c22fb5bfd53eefb8f9e65b" -PYPI_PACKAGE = "python-periphery"
\ No newline at end of file +PYPI_PACKAGE = "python-periphery" + +RDEPENDS_${PN} += "${PYTHON_PN}-mmap" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-periphery_1.1.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-periphery_1.1.1.bb deleted file mode 100644 index 6ae7fed8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-periphery_1.1.1.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit pypi setuptools -require python-periphery.inc - -SRC_URI[sha256sum] = "fe8f351934edce72cd919b4eb070878ebff551db5e21aea61e0f446101f0a79f"
\ No newline at end of file diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect.inc index efeab831..c6230b2b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect.inc @@ -4,8 +4,10 @@ SECTION = "devel/python" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b" -SRC_URI[md5sum] = "d4f3372965a996238d57d19b95d2e03a" -SRC_URI[sha256sum] = "2a8e88259839571d1251d278476f3eec5db26deb73a70be5ed5dc5435e418aba" +SRC_URI += "file://0001-FSM.py-change-shebang-from-python-to-python3.patch" + +SRC_URI[md5sum] = "153eb25184249d6a85fde9acf4804085" +SRC_URI[sha256sum] = "fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect_4.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect_4.6.0.bb deleted file mode 100644 index 1c46b47a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pexpect_4.6.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pexpect.inc -inherit pypi setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pika.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pika.inc new file mode 100644 index 00000000..bde154fe --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pika.inc @@ -0,0 +1,22 @@ +SUMMARY = "Pika is a RabbitMQ (AMQP 0-9-1) client library for Python." +DESCRIPTION = " \ +Pika is a pure-Python implementation of the AMQP 0-9-1 protocol \ +including RabbitMQ’s extensions. \ +" +SECTION = "devel/python" +HOMEPAGE = "https://pika.readthedocs.io" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=535836bf0a5de515a7bfee026075701d" + +SRC_URI[md5sum] = "6002400cdd33bf85ec8680ece72910d4" +SRC_URI[sha256sum] = "9fa76ba4b65034b878b2b8de90ff8660a59d925b087c5bb88f8fdbb4b64a1dbf" + +inherit pypi + +PYPI_PACKAGE = "pika" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-tornado \ + ${PYTHON_PN}-twisted \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pint.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pint.inc index 53f77839..5c348100 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pint.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pint.inc @@ -3,13 +3,28 @@ 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" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" PYPI_PACKAGE := "Pint" -inherit pypi +inherit pypi ptest -SRC_URI[md5sum] = "e1f80f3f8fc4e61f68ad3912db26b3a8" -SRC_URI[sha256sum] = "afcf31443a478c32bbac4b00337ee9026a13d0e2ac83d30c79151462513bb0d4" +SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965" +SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d" -BBCLASSEXTEND = "native" +DEPENDS += "python3-setuptools-scm-native" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/testsuite + cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pint_0.8.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pint_0.8.1.bb deleted file mode 100644 index 480f0887..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pint_0.8.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-pint.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pip_18.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pip_18.0.bb deleted file mode 100644 index 6b943b00..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pip_18.0.bb +++ /dev/null @@ -1,14 +0,0 @@ -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=593c6cd9d639307226978cbcae61ad4b" - -SRC_URI[md5sum] = "52f75ceb21e96c258f289859a2996b60" -SRC_URI[sha256sum] = "a0e11645ee37c90b40c46d607070c4fd583e2cd46231b1c06e389c5e814eed76" - -inherit pypi setuptools - -# Since PIP is like CPAN for PERL we need to drag in all python modules to ensure everything works -RDEPENDS_${PN}_class-target = "python-modules python-distribute python-misc" - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pluggy.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pluggy.inc index 320359aa..1198d5f7 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pluggy.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pluggy.inc @@ -1,9 +1,27 @@ SUMMARY = "Plugin and hook calling mechanisms for python" HOMEPAGE = "https://github.com/pytest-dev/pluggy" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=338dad807ed9337bfaeb9979c3bfe20f" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2" -SRC_URI[md5sum] = "ffdde7c3a5ba9a440404570366ffb6d5" -SRC_URI[sha256sum] = "7f8ae7f5bdf75671a718d2daf0a64b7885f74510bcd98b1a0bb420eb9a9d0cff" +SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d" +SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0" -inherit pypi +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \ + ${PYTHON_PN}-more-itertools \ +" + +inherit pypi ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/testing + cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pluggy_0.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pluggy_0.6.0.bb deleted file mode 100644 index edcd4f51..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pluggy_0.6.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-pluggy.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ply.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ply.inc index a744950b..149fe058 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ply.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ply.inc @@ -2,7 +2,7 @@ SUMMARY = "Python Lex and Yacc" DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python" HOMEPAGE = "https://pypi.python.org/pypi/ply" SECTION = "devel/python" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c" SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ply_3.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ply_3.11.bb deleted file mode 100644 index 2b6165c5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ply_3.11.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-ply.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pocketsphinx.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pocketsphinx.inc new file mode 100644 index 00000000..1f8f66a1 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pocketsphinx.inc @@ -0,0 +1,9 @@ +SUMMARY = "This package provides a python interface to CMU Sphinxbase and Pocketsphinx libraries created with SWIG and Setuptools." +SECTION = "devel/python" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72" + +SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575" +SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f" + +DEPENDS += "swig-native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pretend.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pretend.inc index b342aef5..58f19619 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pretend.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pretend.inc @@ -1,6 +1,6 @@ SUMMARY = "A library for stubbing in Python" HOMEPAGE = "https://github.com/alex/pretend" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=411780c0b7fa756753e94affeee5bc99" SRC_URI[md5sum] = "ad53883ede48aeac7ae584f0de0240e8" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pretend_1.0.9.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pretend_1.0.9.bb deleted file mode 100644 index 73b8ed4d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pretend_1.0.9.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-pretend.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable.inc index 406555ac..c77a4919 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable_0.7.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable.inc @@ -1,6 +1,6 @@ SUMMARY = "Python library for displaying tabular data in a ASCII table format" HOMEPAGE = "http://code.google.com/p/prettytable" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=3e73500ffa52de5071cff65990055282" SRC_URI[md5sum] = "0c1361104caff8b09f220748f9d69899" @@ -12,8 +12,6 @@ SRC_URI = "https://pypi.python.org/packages/source/P/PrettyTable/${SRCNAME}-${PV S = "${WORKDIR}/${SRCNAME}-${PV}" -inherit setuptools - do_install_append() { perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` for f in $perm_files; do @@ -25,3 +23,21 @@ UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PrettyTable/" UPSTREAM_CHECK_REGEX = "/PrettyTable/(?P<pver>(\d+[\.\-_]*)+)" BBCLASSEXTEND = "native nativesdk" +inherit ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-html \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/prettytable_test.py ${D}${PTEST_PATH}/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-progress.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-progress.inc index 9f00615c..d59ba2cc 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-progress.inc +++ b/external/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] = "057981e2f09029288f5255b1ea3ab64d" -SRC_URI[sha256sum] = "5e2f9da88ed8236a76fffbee3ceefd259589cf42dfbc2cec2877102189fae58a" +SRC_URI[md5sum] = "408df0e3db0ad4b74f19f6beec814ae4" +SRC_URI[sha256sum] = "69ecedd1d1bbe71bf6313d88d1e6c4d2957b7f1d4f71312c211257f7dae64372" RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-datetime \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-progress_1.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-progress_1.4.bb deleted file mode 100644 index 80608627..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-progress_1.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-progress.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit.inc index 1a4bd35c..91aa7bb1 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit.inc @@ -1,9 +1,9 @@ SUMMARY = "Library for building powerful interactive command lines in Python" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f" -SRC_URI[md5sum] = "8db8b8e40e91bc6dce133d8d5727a717" -SRC_URI[sha256sum] = "ff58ce8bb82c11c43416dd3eec7701dcbe8c576e2d7649f1d2b9d21a2fd93808" +SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53" +SRC_URI[sha256sum] = "f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db" PYPI_PACKAGE = "prompt_toolkit" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit_2.0.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit_2.0.4.bb deleted file mode 100644 index 527c905a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-prompt-toolkit_2.0.4.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit pypi setuptools -require python-prompt-toolkit.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf.inc index b617904d..5716894f 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf.inc @@ -3,12 +3,12 @@ HOMEPAGE = "https://developers.google.com/protocol-buffers/" SECTION = "devel/python" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=19e8f490f9526b1de84f8d949cfcfd4e" inherit pypi -SRC_URI[md5sum] = "e2daef80e70249aa1f05363670c6b3f8" -SRC_URI[sha256sum] = "1489b376b0f364bcc6f89519718c057eb191d7ad6f1b395ffd93d1aa45587811" +SRC_URI[md5sum] = "eeda7dea65fc94e560fc9a8180eb1872" +SRC_URI[sha256sum] = "c77c974d1dadf246d789f6dad1c24426137c9091e930dbf50e0a29c1fcf00b1f" # http://errors.yoctoproject.org/Errors/Details/184715/ # Can't find required file: ../src/google/protobuf/descriptor.proto @@ -28,4 +28,5 @@ RDEPENDS_${PN} += " \ " # For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools) -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf_3.6.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf_3.6.1.bb deleted file mode 100644 index f04fc489..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-protobuf_3.6.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-protobuf.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-psutil.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-psutil.inc index 67ae118b..dfb33e8d 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-psutil.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-psutil.inc @@ -1,9 +1,9 @@ SUMMARY = "A cross-platform process and system utilities module for Python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0f02e99f7f3c9a7fe8ecfc5d44c2be62" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e35fd9f271d19d5f742f20a9d1f8bb8b" -SRC_URI[md5sum] = "200e073cdd56cc7a9ba9a06088569200" -SRC_URI[sha256sum] = "686e5a35fe4c0acc25f3466c32e716f2d498aaae7b7edc03e2305b682226bcf6" +SRC_URI[md5sum] = "ed7b0f11ed214bcabbe76b7cf52f3ae3" +SRC_URI[sha256sum] = "685ec16ca14d079455892f25bd124df26ff9137664af445563c1bd36629b5e0e" PACKAGES =+ "${PN}-tests" @@ -18,3 +18,5 @@ RDEPENDS_${PN} += " \ ${PYTHON_PN}-threading \ ${PYTHON_PN}-xml \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-psutil_5.4.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-psutil_5.4.6.bb deleted file mode 100644 index 9aabfb20..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-psutil_5.4.6.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit pypi setuptools -require python-psutil.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess.inc index 49cc5a43..a6dc21cf 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess.inc @@ -15,6 +15,27 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" RDEPENDS_${PN} = "\ ${PYTHON_PN}-core \ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-terminal \ + ${PYTHON_PN}-resource \ " BBCLASSEXTEND = "native nativesdk" + +inherit ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-terminal \ + ${PYTHON_PN}-resource \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess_0.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess_0.6.0.bb deleted file mode 100644 index 7ca45877..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ptyprocess_0.6.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-ptyprocess.inc -inherit pypi setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-py_1.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-py_1.6.0.bb deleted file mode 100644 index 5ad2c197..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-py_1.6.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-py.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb deleted file mode 100644 index e5153421..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyalsaaudio_0.8.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyalsaaudio.inc -inherit pypi setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules.inc index 87dbd1d3..ce979199 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules.inc @@ -4,13 +4,26 @@ 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=815ac3f9ca693006349094b358ab3155" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a14482d15c2249de3b6f0e8a47e021fd" -SRC_URI[md5sum] = "65ce1ea1021679bffe96065baab232de" -SRC_URI[sha256sum] = "a0cf3e1842e7c60fde97cb22d275eb6f9524f5c5250489e292529de841417547" +SRC_URI[md5sum] = "18c77d56abeef631d94f95ff2d652859" +SRC_URI[sha256sum] = "0c35a52e00b672f832e5846826f1fb7507907f7d52fba6faa9e3c4cbe874fe4b" -inherit pypi +inherit pypi ptest RDEPENDS_${PN} = "${PYTHON_PN}-pyasn1" BBCLASSEXTEND = "native nativesdk" + +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/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules_0.2.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules_0.2.2.bb deleted file mode 100644 index eb788840..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1-modules_0.2.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyasn1-modules.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1.inc index ab34d250..d9557646 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1.inc +++ b/external/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=815ac3f9ca693006349094b358ab3155" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=a14482d15c2249de3b6f0e8a47e021fd" -SRC_URI[md5sum] = "0d182b71e1f72fe147d7957bc90be7f2" -SRC_URI[sha256sum] = "f58f2a3d12fd754aa123e9fa74fb7345333000a035f3921dbdaa08597aa53137" +SRC_URI[md5sum] = "dffae4ff9f997a83324b3f33fe62be54" +SRC_URI[sha256sum] = "aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba" RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-codecs \ @@ -14,3 +14,18 @@ RDEPENDS_${PN}_class-target += " \ " BBCLASSEXTEND = "native nativesdk" + +inherit 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/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1_0.4.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1_0.4.4.bb deleted file mode 100644 index a13c74dd..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyasn1_0.4.4.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit pypi setuptools -require python-pyasn1.inc - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-lang \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyaudio.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyaudio.inc new file mode 100644 index 00000000..0d3ddb1a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyaudio.inc @@ -0,0 +1,13 @@ +SUMMARY = "PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README;md5=288793c2b9b05bd67abbd2a8f5d144f7" + +PYPI_PACKAGE = "PyAudio" + +SRC_URI[md5sum] = "7e4c88139284033f67b4336c74eda3b8" +SRC_URI[sha256sum] = "93bfde30e0b64e63a46f2fd77e85c41fd51182a4a3413d9edfaf9ffaa26efb74" + +DEPENDS += "portaudio-v19" + +RDEPENDS_${PN} += "portaudio-v19" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11.inc index 1722875a..d1d53e12 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11.inc +++ b/external/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] = "5b9611041e4ea66b2b919239e3bacd65" -SRC_URI[sha256sum] = "87ff3ae777d9326349af5272974581270b2a0909b2392dc0cc57eb28ce23bcc3" +SRC_URI[md5sum] = "23fdca8191b16ce3e7f38fb9e4252b2d" +SRC_URI[sha256sum] = "72e6def53fb491f7f4e92692029d2e7bb5a0783314f20d80222735ff10a75758" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11_2.2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11_2.2.3.bb deleted file mode 100644 index e5674300..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybind11_2.2.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-pybind11.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybluez.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybluez.inc deleted file mode 100644 index 399fe579..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybluez.inc +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "Bluetooth Python extension module" -HOMEPAGE = "http://karulis.github.io/pybluez/" -SECTION = "devel/python" - -DEPENDS = "bluez5" - -LICENSE = "GPL-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" - -inherit pypi - -SRC_URI = "https://pypi.python.org/packages/c1/98/3149481d508bee174335be6725880f00d297afebe75c15e917af8f6fe169/PyBluez-0.22.zip" -SRC_URI[md5sum] = "49dab9d5a8f0b798c8125c7f649be3cd" -SRC_URI[sha256sum] = "4ce006716a54d9d18e8186a3f1c8b12a8e6befecffe8fd5828a291fb694ce49d" - -S = "${WORKDIR}/PyBluez-${PV}" - -RDEPENDS_${PN} += "\ - bluez5 \ - ${PYTHON_PN}-fcntl \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybluez_0.22.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybluez_0.22.bb deleted file mode 100644 index 3158f4b6..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pybluez_0.22.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pybluez.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb deleted file mode 100644 index 7c736e76..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle_2.4.0.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-pycodestyle.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-lang" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycparser_2.18.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycparser_2.18.bb deleted file mode 100644 index 98742737..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycparser_2.18.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit pypi setuptools -require python-pycparser.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb deleted file mode 100644 index e13db01b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycrypto_2.6.1.bb +++ /dev/null @@ -1,9 +0,0 @@ -inherit distutils -require python-pycrypto.inc - -# We explicitly call distutils_do_install, since we want it to run, but -# *don't* want the autotools install to run, since this package doesn't -# provide a "make install" target. -do_install() { - distutils_do_install -} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycryptodome.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycryptodome.inc deleted file mode 100644 index c4969f96..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycryptodome.inc +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "Cryptographic library for Python" -DESCRIPTION = "PyCryptodome is a self-contained Python package of low-level\ - cryptographic primitives." -HOMEPAGE = "http://www.pycryptodome.org" -LICENSE = "PD & BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=775fe77831c03bf82f35abc0e230d4c1" - -SRC_URI[md5sum] = "a2587b6381b0ef4eb960cea1e7507d04" -SRC_URI[sha256sum] = "c5dd29e9f1b733e74311bf95d0e544e91bd1d14bc0366e8f443562d8d9920b7d" - -inherit pypi - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-math \ -" - -RDEPENDS_${PN}-tests += " \ - ${PYTHON_PN}-unittest \ -" - -PACKAGES =+ "${PN}-tests" - -FILES_${PN}-tests += " \ - ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/ \ - ${PYTHON_SITEPACKAGES_DIR}/Crypto/SelfTest/__pycache__/ \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycryptodome_3.4.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycryptodome_3.4.11.bb deleted file mode 100644 index c7701eb9..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycryptodome_3.4.11.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pycryptodome.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pydbus.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pydbus.inc deleted file mode 100644 index 0773b7ff..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pydbus.inc +++ /dev/null @@ -1,11 +0,0 @@ -DESCRIPTION = "Pythonic DBus library" -HOMEPAGE = "https://pypi.python.org/pypi/pydbus/" -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a916467b91076e631dd8edb7424769c7" - -SRC_URI[md5sum] = "c6abd44862322679bd4e907bebc3e0d0" -SRC_URI[sha256sum] = "4207162eff54223822c185da06c1ba8a34137a9602f3da5a528eedf3f78d0f2c" - -S = "${WORKDIR}/pydbus-${PV}" - -RDEPENDS_${PN} = "${PYTHON_PN}-pygobject" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pydbus_0.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pydbus_0.6.0.bb deleted file mode 100644 index 1722a80c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pydbus_0.6.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pydbus.inc -inherit pypi setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyexpect_1.0.17.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyexpect_1.0.17.bb deleted file mode 100644 index d26beb79..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyexpect_1.0.17.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-pyexpect.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyfirmata_1.0.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyfirmata_1.0.3.bb deleted file mode 100644 index d77e0f38..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyfirmata_1.0.3.bb +++ /dev/null @@ -1,3 +0,0 @@ -inherit setuptools -require python-pyfirmata.inc - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch deleted file mode 100644 index 09c4394c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-ptrace-Abstract-over-user_regs_struct-name-which-dif.patch +++ /dev/null @@ -1,69 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-symbol-Account-for-prelinked-shared-objects.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-symbol-Account-for-prelinked-shared-objects.patch deleted file mode 100644 index 3eefc9cb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame-1.6.6/0001-symbol-Account-for-prelinked-shared-objects.patch +++ /dev/null @@ -1,134 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame.inc deleted file mode 100644 index 340aab74..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame.inc +++ /dev/null @@ -1,15 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb deleted file mode 100644 index 8dedb892..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb +++ /dev/null @@ -1,6 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-pygpgme_0.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pygpgme_0.3.bb deleted file mode 100644 index 14e967db..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pygpgme_0.3.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "A Python module for working with OpenPGP messages" -DESCRIPTION = "PyGPGME is a Python module that lets you sign, verify, \ - encrypt and decrypt messages using the OpenPGP format." -HOMEPAGE = "https://launchpad.net/pygpgme" - -LICENSE = "LGPL-2.1" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=6517bdc8f2416f27ab725d4702f7aac3" - -SRC_URI = "file://run-ptest \ - file://0001-reflect-2.1-reporting-for-key-imports.patch \ - file://0002-passphrase_cb-is-deprecated.patch \ - file://0003-handle-generic-error-when-no-passphrase-callback-pre.patch \ -" - -SRC_URI[md5sum] = "d38355af73f0352cde3d410b25f34fd0" -SRC_URI[sha256sum] = "5fd887c407015296a8fd3f4b867fe0fcca3179de97ccde90449853a3dfb802e1" - -DEPENDS += "gpgme" -RDEPENDS_${PN} += "gnupg" - -inherit pypi setuptools ptest - -do_install_ptest(){ - install ${S}/test_all.py ${D}${PTEST_PATH} - cp -r ${S}/tests ${D}${PTEST_PATH} -} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface.inc deleted file mode 100644 index 2e398fce..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface.inc +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "Pyiface is a package that exposes the network interfaces of the operating system in a easy to use and transparent way" -SECTION = "devel/python" -HOMEPAGE = "https://pypi.python.org/pypi/pyiface/" -LICENSE = "GPLv3+" - -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fe869ee987a340198fb0d54c55c47f1" - -SRC_URI[md5sum] = "b066aa984656742738127c9c75436ab4" -SRC_URI[sha256sum] = "e231e5735d329c5b2d4fc8854f069fdaa5436d3ef91ed64ee49e41e3f5e8a3f5" - -inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface_0.0.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface_0.0.11.bb deleted file mode 100644 index 854cb30e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyiface_0.0.11.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-pyiface.inc
\ No newline at end of file diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyinotify.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyinotify.inc deleted file mode 100644 index 975f11c1..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyinotify.inc +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Python pyinotify: Linux filesystem events monitoring" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=ab173cade7965b411528464589a08382" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-misc \ - ${PYTHON_PN}-shell \ -" - -SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406" -SRC_URI[sha256sum] = "9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4" - -inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyinotify_0.9.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyinotify_0.9.6.bb deleted file mode 100644 index 0c9a2c72..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyinotify_0.9.6.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools -require python-pyinotify.inc - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjks_17.1.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjks_17.1.1.bb deleted file mode 100644 index ce99f283..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjks_17.1.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyjks.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt_1.6.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt_1.6.4.bb deleted file mode 100644 index f0a77b67..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt_1.6.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyjwt.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pylint.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pylint.inc deleted file mode 100644 index ba85b988..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pylint.inc +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY="Pylint is a Python source code analyzer" -HOMEPAGE= "http://www.pylint.org/" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" - -SRC_URI[md5sum] = "2eb5f3cb8fe567eaf5420dd415012202" -SRC_URI[sha256sum] = "c77311859e0c2d7932095f30d2b1bfdc4b6fe111f534450ba727a52eae330ef2" - -inherit pypi - -DEPENDS += "${PYTHON_PN}-pytest-runner-native" - -do_install_append(){ - rm ${D}${bindir}/pylint - cat >> ${D}${bindir}/pylint <<EOF -#!/usr/bin/env ${PYTHON_PN} -from pylint import run_pylint -run_pylint() -EOF - chmod 755 ${D}${bindir}/pylint - sed -i -e 's:^#!/usr/bin/python:#!/usr/bin/env\ ${PYTHON_PN}:g' ${D}/${PYTHON_SITEPACKAGES_DIR}/pylint/test/data/ascript -} - -PACKAGES =+ "${PN}-tests" -FILES_${PN}-tests+= " \ - ${PYTHON_SITEPACKAGES_DIR}/pylint/test/ \ - ${PYTHON_SITEPACKAGES_DIR}/pylint/testutils.py \ -" - -RDEPENDS_${PN} += "${PYTHON_PN}-astroid \ - ${PYTHON_PN}-isort \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-pkgutil \ - ${PYTHON_PN}-difflib \ - ${PYTHON_PN}-netserver \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pylint_1.8.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pylint_1.8.3.bb deleted file mode 100644 index 7b51d3fb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pylint_1.8.3.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools python-dir -require python-pylint.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-backports-functools-lru-cache" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp_2.4.93.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp_2.4.93.bb deleted file mode 100644 index 1b1fbe95..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp_2.4.93.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-pymisp.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo_3.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo_3.7.1.bb deleted file mode 100644 index b1778b2f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo_3.7.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-pymongo.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pynetlinux.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pynetlinux.inc deleted file mode 100644 index 6a398962..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pynetlinux.inc +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "Linux network configuration library for Python" -DESCRIPTION = "This library contains Python bindings to ioctl calls" -SECTION = "devel/python" -HOMEPAGE = "http://github.com/rlisagor/pynetlinux" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=74e1861736ee959824fe7542323c12e9" - -inherit pypi - -SRC_URI[md5sum] = "3336e5d4a478acca4e35bf3125b4f883" -SRC_URI[sha256sum] = "4ad08298c9f5ba15a11cddc639ba8778cabdfc402b51066d9e0a325e5a5b391c" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pynetlinux_1.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pynetlinux_1.1.bb deleted file mode 100644 index c45ad6ad..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pynetlinux_1.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-pynetlinux.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl_18.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl_18.0.0.bb deleted file mode 100644 index b7d51461..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl_18.0.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyopenssl.inc -inherit pypi setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyparsing_2.2.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyparsing_2.2.0.bb deleted file mode 100644 index 90217f3c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyparsing_2.2.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-pyparsing.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip.inc deleted file mode 100644 index 4ee47eef..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip.inc +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "A cross-platform clipboard module for Python. (only handles plain text for now)" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=4a3129a2c1b8bdc0e2895a1ec0e2dae2" - -SRC_URI[md5sum] = "3680607974f99d6e4411b102358b1884" -SRC_URI[sha256sum] = "43496f0a1f363a5ecfc4cda5eba6a2a3d5056fe6c7ffb9a99fbb1c5a3c7dea05" - -inherit pypi - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-ctypes \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip_1.6.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip_1.6.2.bb deleted file mode 100644 index 6c9fcbd8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyperclip_1.6.2.bb +++ /dev/null @@ -1,7 +0,0 @@ -inherit setuptools -require python-pyperclip.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-contextlib \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyrex-native_0.9.9.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyrex-native_0.9.9.bb deleted file mode 100644 index e8ef1aa1..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyrex-native_0.9.9.bb +++ /dev/null @@ -1,5 +0,0 @@ -require python-pyrex_${PV}.bb -inherit native pythonnative -DEPENDS = "python-native" -RDEPENDS_${PN} = "" -PR = "r3" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyrex_0.9.9.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyrex_0.9.9.bb deleted file mode 100644 index c4dd2e69..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyrex_0.9.9.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "Language for writing Python extension modules" -DESCRIPTION = "Pyrex is a language specially designed for writing Python extension modules. \ -It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python \ -and the messy, low-level world of C." -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=771d472f53f933033f57eeee7808e5bd" -SRCNAME = "Pyrex" -PR = "r4" - -SRC_URI = "\ - http://www.cosc.canterbury.ac.nz/greg.ewing/python/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ - file://pyrex-fix-optimized-mode.patch \ -" - -SRC_URI[md5sum] = "515dee67d15d4393841e2d60e8341947" -SRC_URI[sha256sum] = "5f87df06831d0b3412eb4bc9d3fc2ee7bfae1b913d7da8c23ab2bf5699fb6b50" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils - -FILES_${PN} += "${datadir}${base_libdir}/${PYTHON_DIR}/site-packages/Pyrex/Compiler/Lexicon.pickle" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2_0.5.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2_0.5.2.bb deleted file mode 100644 index f25f1b4a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2_0.5.2.bb +++ /dev/null @@ -1,6 +0,0 @@ -require python-pyroute2.inc -inherit setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyserial.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyserial.inc deleted file mode 100644 index 52a7e05c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyserial.inc +++ /dev/null @@ -1,42 +0,0 @@ -SUMMARY = "Serial Port Support for Python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d476d94926db6e0008a5b3860d1f5c0d" - -SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b" -SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627" - -inherit pypi - -PACKAGES =+ "${PN}-java ${PN}-osx ${PN}-win32 ${PN}-tools" - -FILES_${PN}-java = " \ - ${PYTHON_SITEPACKAGES_DIR}/serial/*java* \ - ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*java* \ -" - -FILES_${PN}-osx = " \ - ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*osx* \ - ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*osx* \ -" - -FILES_${PN}-win32 = " \ - ${PYTHON_SITEPACKAGES_DIR}/serial/*serialcli* \ - ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*serialcli* \ - ${PYTHON_SITEPACKAGES_DIR}/serial/*win32* \ - ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*win32* \ - ${PYTHON_SITEPACKAGES_DIR}/serial/tools/miniterm* \ - ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/miniterm* \ - ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*windows* \ - ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*windows* \ -" - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyserial_3.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyserial_3.4.bb deleted file mode 100644 index fd852a2b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyserial_3.4.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-pyserial.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-argparse" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysmi_0.2.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysmi_0.2.2.bb deleted file mode 100644 index 24759b5d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysmi_0.2.2.bb +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "SNMP SMI/MIB Parser" -DESCRIPTION = "A pure-Python implementation of SNMP/SMI MIB \ - parsing and conversion library. Can produce PySNMP MIB modules. \ -" -HOMEPAGE = "https://pypi.python.org/pypi/pysmi" -SECTION = "devel/python" - -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d8b1bbadd635f187dee74d999a8c67b8" - -SRC_URI[md5sum] = "3b0f71e4e9f730d211f09d8ef5371140" -SRC_URI[sha256sum] = "2a315cc3e556b3428372b69da663a24d2f0df9e9ab075b022cb133855f25aef7" - -inherit pypi setuptools - -RDEPENDS_${PN} = "python-ply" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysnmp_4.3.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysnmp_4.3.5.bb deleted file mode 100644 index 0b38d58e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysnmp_4.3.5.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "A pure-Python SNMPv1/v2c/v3 library" -DESCRIPTION = "SNMP v1/v2c/v3 engine and apps written in pure-Python. \ - Supports Manager/Agent/Proxy roles, scriptable MIBs, asynchronous \ - operation (asyncio, twisted, asyncore) and multiple transports.\ -" -HOMEPAGE = "https://pypi.python.org/pypi/pysnmp" -SECTION = "devel/python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=280606d9c18f200e03e0c247ac61475a" - -SRCNAME = "pysnmp" - -SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" - -SRC_URI[md5sum] = "387aaa23c168ccc0b59775cfdf519fc0" -SRC_URI[sha256sum] = "38253fe95cea33f352fb36e85f3c2874043401724300c4888df74835161169d2" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit setuptools - -RDEPENDS_${PN} += "python-pycrypto \ - python-pyasn1 \ - python-pysmi \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysocks_1.6.8.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysocks_1.6.8.bb deleted file mode 100644 index 8a24e4c4..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysocks_1.6.8.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-pysocks.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysqlite.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysqlite.inc deleted file mode 100644 index 88455657..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysqlite.inc +++ /dev/null @@ -1,18 +0,0 @@ -DESCRIPTION = "DB-API 2.0 interface for SQLite 3.x" -HOMEPAGE = "http://github.com/ghaering/pysqlite" -LICENSE = "Zlib" -LIC_FILES_CHKSUM = "file://LICENSE;md5=28ad4f115e06c88bd737372a453369d8" - -SRC_URI[md5sum] = "033f17b8644577715aee55e8832ac9fc" -SRC_URI[sha256sum] = "17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490" - -inherit pypi - -DEPENDS += "${PYTHON_PN}-pip" - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-datetime \ - sqlite3 \ -" - -FILES_${PN}-doc += "${datadir}" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysqlite_2.8.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysqlite_2.8.3.bb deleted file mode 100644 index 95938f2b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysqlite_2.8.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-pysqlite.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pystache_0.5.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pystache_0.5.4.bb deleted file mode 100644 index a4550124..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pystache_0.5.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-pystache.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb deleted file mode 100644 index 2b6ee855..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace_2016.7.10.bb +++ /dev/null @@ -1,7 +0,0 @@ -require python-pytest-helpers-namespace.inc - -inherit setuptools - -RDEPENDS_${PN} += " \ - python-pytest \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner_4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner_4.2.bb deleted file mode 100644 index 1765a732..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner_4.2.bb +++ /dev/null @@ -1,5 +0,0 @@ -inherit setuptools -require python-pytest-runner.inc - -# Dependency only exists for python2 -RDEPENDS_${PN} += "python-argparse python-compiler" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir.inc deleted file mode 100644 index 196f6d64..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir.inc +++ /dev/null @@ -1,10 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir_2016.8.20.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir_2016.8.20.bb deleted file mode 100644 index 8a9b83e3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-tempdir_2016.8.20.bb +++ /dev/null @@ -1,7 +0,0 @@ -require python-pytest-tempdir.inc - -inherit setuptools - -RDEPENDS_${PN} += " \ - python-pytest \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch deleted file mode 100644 index 06dfcdfc..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 24a901fd17926e8e05be4ed2e01b0113a2e3a852 Mon Sep 17 00:00:00 2001 -From: Derek Straka <derek@asterius.io> -Date: Tue, 19 Dec 2017 11:36:39 -0500 -Subject: [PATCH] [PATCH 1/1] setup.py: remove the setup_requires for - setuptools-scm - -The setup_requires argument forces the download of the egg file for setuptools-scm -during the do_compile phase. This download is incompatible with the typical fetch -and mirror structure. The only usage of scm is the generation of the _version.py -file and in the release tarball it is already correctly created - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Derek Straka <derek@asterius.io> ---- - setup.py | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 3eb38ef..1163202 100644 ---- a/setup.py -+++ b/setup.py -@@ -82,7 +82,6 @@ def main(): - keywords="test unittest", - cmdclass={'test': PyTest}, - # the following should be enabled for release -- setup_requires=['setuptools-scm'], - python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', - install_requires=install_requires, - extras_require=extras_require, --- -2.7.4 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest/pytest_version_fix.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest/pytest_version_fix.patch deleted file mode 100644 index b373d93e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest/pytest_version_fix.patch +++ /dev/null @@ -1,51 +0,0 @@ -Upstream-Status: Inappropriate (OE specific) - -python-pytest: remove fetch during do_compile phase -commit: c974fbf9ebf185552ab65301e07af44f36517abf - -introduced an issue by making the version 0.0.0 -this fixes that - -Signed-off-by: Armin Kuster <akuster@mvista.com> - -Index: pytest-3.2.2/setup.py -=================================================================== ---- pytest-3.2.2.orig/setup.py -+++ pytest-3.2.2/setup.py -@@ -1,5 +1,6 @@ - import os - import sys -+import re - import setuptools - import pkg_resources - from setuptools import setup, Command -@@ -22,6 +23,18 @@ classifiers = [ - with open('README.rst') as fd: - long_description = fd.read() - -+def read(*names, **kwargs): -+ with open(os.path.join( *names), 'r') as fp: -+ return fp.read() -+ -+def find_version(*file_paths): -+ version_file = read(*file_paths) -+ version_match = re.search(r"^version = ['\']([^'\"]*)['\']", -+ version_file, re.M) -+ -+ if version_match: -+ return version_match.group(1) -+ raise RuntimeError("Unable to find version string.") - - def get_environment_marker_support_level(): - """ -@@ -59,9 +72,7 @@ def main(): - name='pytest', - description='pytest: simple powerful testing with Python', - long_description=long_description, -- use_scm_version={ -- 'write_to': '_pytest/_version.py', -- }, -+ version=find_version("_pytest", "_version.py"), - url='http://pytest.org', - license='MIT license', - platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'], diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest_3.4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest_3.4.2.bb deleted file mode 100644 index 39e50aca..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest_3.4.2.bb +++ /dev/null @@ -1,9 +0,0 @@ -inherit pypi setuptools -require python-pytest.inc - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-argparse \ - ${PYTHON_PN}-compiler \ - ${PYTHON_PN}-funcsigs \ -" -ALTERNATIVE_PRIORITY = "10" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytz.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytz.inc deleted file mode 100644 index aedffe15..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytz.inc +++ /dev/null @@ -1,20 +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 - -SRC_URI[md5sum] = "45409cbfa3927bdd2f3ee914dd5b1060" -SRC_URI[sha256sum] = "ffb9ef1de172603304d9d2819af6f5ece76f2e85ec10692a524dd876e72bf277" - -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" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytz_2018.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytz_2018.5.bb deleted file mode 100755 index f2ffc596..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytz_2018.5.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-pytz.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev.inc deleted file mode 100644 index 683a75cd..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev.inc +++ /dev/null @@ -1,19 +0,0 @@ -SUMMARY = "A libudev binding" -LICENSE = "LGPLv2.1+" -LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" - -SRC_URI[md5sum] = "cf4d9db7d772622144ca1be6b5d9353b" -SRC_URI[sha256sum] = "094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b" - -do_configure_prepend() { - sed -i "/import pyudev/d" ${S}/setup.py - sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py -} - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-misc \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-threading \ - libudev \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb deleted file mode 100644 index a3e15014..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyudev_0.21.0.bb +++ /dev/null @@ -1,9 +0,0 @@ -require python-pyudev.inc - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-contextlib \ - ${PYTHON_PN}-subprocess \ -" - -inherit pypi setuptools - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyusb.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyusb.inc deleted file mode 100644 index 30bbe85a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyusb.inc +++ /dev/null @@ -1,10 +0,0 @@ -SUMMARY = "PyUSB provides USB access on the Python language" -HOMEPAGE = "http://pyusb.sourceforge.net/" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=51691ed11cc2c7ae93e383f60ed49b0f" -DEPENDS += "libusb1" - -SRC_URI[md5sum] = "862b56452c64948c787ad8ef9498590b" -SRC_URI[sha256sum] = "4e9b72cc4a4205ca64fbf1f3fff39a335512166c151ad103e55c8223ac147362" - -inherit pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyusb_1.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyusb_1.0.2.bb deleted file mode 100644 index 99a795b2..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyusb_1.0.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-pyusb.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml.inc deleted file mode 100644 index afce543f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml.inc +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Python support for YAML" -HOMEPAGE = "http://www.pyyaml.org" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5591701d32590f9fa94f3bfee820b634" -DEPENDS = "libyaml ${PYTHON_PN}-cython-native ${PYTHON_PN}" - -PYPI_PACKAGE = "PyYAML" -inherit pypi - -SRC_URI[md5sum] = "b78b96636d68ac581c0e2f38158c224f" -SRC_URI[sha256sum] = "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml_3.13.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml_3.13.bb deleted file mode 100644 index 5a4c92d8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyyaml_3.13.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyyaml.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq.inc deleted file mode 100644 index 2447c2f3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq.inc +++ /dev/null @@ -1,27 +0,0 @@ -SUMMARY = "Pyzmq provides Zero message queue access for the Python language" -HOMEPAGE = "http://zeromq.org/bindings:python" -LICENSE = "BSD & LGPL-3.0" -LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ - file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" -DEPENDS = "zeromq" - -FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:" - -SRC_URI += "file://club-rpath-out.patch" -SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943" -SRC_URI[sha256sum] = "2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4" - -inherit pypi pkgconfig - -RDEPENDS_${PN} += "${PYTHON_PN}-multiprocessing" - -FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" - -do_compile_prepend() { - echo [global] > ${S}/setup.cfg - echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg - echo have_sys_un_h = True >> ${S}/setup.cfg - echo skip_check_zmq = True >> ${S}/setup.cfg - echo libzmq_extension = False >> ${S}/setup.cfg - echo no_libzmq_extension = True >> ${S}/setup.cfg -} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb deleted file mode 100644 index b690106b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyzmq_17.1.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyzmq.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-redis.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-redis.inc deleted file mode 100644 index 1a65d731..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-redis.inc +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Python client for Redis key-value store" -DESCRIPTION = "The Python interface to the Redis key-value store." -HOMEPAGE = "http://github.com/andymccurdy/redis-py" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=51d9ad56299ab60ba7be65a621004f27" - -SRC_URI[md5sum] = "048348d8cfe0b5d0bba2f4d835005c3b" -SRC_URI[sha256sum] = "a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-redis_2.10.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-redis_2.10.6.bb deleted file mode 100644 index 6c3ca851..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-redis_2.10.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-redis.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0001-Strip-Authorization-header-whenever-root-URL-changes.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0001-Strip-Authorization-header-whenever-root-URL-changes.patch deleted file mode 100644 index 80ef5ffb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0001-Strip-Authorization-header-whenever-root-URL-changes.patch +++ /dev/null @@ -1,62 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0002-Rework-authorization-stripping-logic-as-discussed.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0002-Rework-authorization-stripping-logic-as-discussed.patch deleted file mode 100644 index ef069fb9..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests/0002-Rework-authorization-stripping-logic-as-discussed.patch +++ /dev/null @@ -1,118 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests_2.19.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests_2.19.1.bb deleted file mode 100644 index 0d7a29f7..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests_2.19.1.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-requests.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-zlib" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3339-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3339-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch new file mode 100644 index 00000000..ce8ca0bc --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3339-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch @@ -0,0 +1,32 @@ +From 2de281fdca88f223ace1eb6428a77b9903c69264 Mon Sep 17 00:00:00 2001 +From: Nicola Lunghi <nicola.lunghi@jci.com> +Date: Thu, 14 Nov 2019 11:58:28 +0000 +Subject: [PATCH] setup.py: move pytest-runner to test_requirements + +This fixes an issue with yocto build. +pytest-runner is only needed when running tests. + +Upstream-Status: Pending +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 9a50767..e3b1c6e 100644 +--- a/setup.py ++++ b/setup.py +@@ -12,9 +12,9 @@ requirements = [ + 'six', + ] + +-setup_requirements = ['pytest-runner', ] ++setup_requirements = [] + +-test_requirements = ['pytest>=3', ] ++test_requirements = ['pytest>=3', 'pytest-runner'] + + setup( + author="Nicolas Aimetti", +-- +2.20.1 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch new file mode 100644 index 00000000..8a646874 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3986-validator/0001-setup.py-move-pytest-runner-to-test_requirements.patch @@ -0,0 +1,32 @@ +From 3531ff73631a0d59234eb4713e7b3a7f5ea57bbb Mon Sep 17 00:00:00 2001 +From: Nicola Lunghi <nicola.lunghi@jci.com> +Date: Thu, 14 Nov 2019 12:17:51 +0000 +Subject: [PATCH] setup.py: move pytest-runner to test_requirements + +This fixes an issue with yocto build. +pytest-runner is only needed when running tests. + +Upstream-Status: Pending +--- + setup.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 53ebea7..ebb0de2 100644 +--- a/setup.py ++++ b/setup.py +@@ -10,9 +10,9 @@ with open('README.md') as readme_file: + + requirements = [] + +-setup_requirements = ['pytest-runner', ] ++setup_requirements = [] + +-test_requirements = ['pytest>=3', ] ++test_requirements = ['pytest>=3', 'pytest-runner'] + + setup( + author="Nicolas Aimetti", +-- +2.20.1 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3987_1.3.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3987_1.3.7.bb deleted file mode 100644 index dcda5aa4..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3987_1.3.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-rfc3987.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc deleted file mode 100644 index 9f07b657..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary.inc +++ /dev/null @@ -1,15 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb deleted file mode 100644 index 440f69cb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework-seriallibrary_0.3.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-robotframework-seriallibrary.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework.inc deleted file mode 100644 index e920c51d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework.inc +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "A Python generic test automation framework" -DESCRIPTION = "Generic open source test atomation framework for acceptance\ -testing and acceptance test-driven development (ATDD). It has easy-to-use\ -tabular test data syntax and it utilizes the keyword-driven testing approach.\ -Its testing capabilities can be extended by test libraries implemented either\ -with Python or Java, and users can create new higher-level keywords from\ -existing ones using the same syntax that is used for creating test cases." -HOMEPAGE = "http://robotframework.org" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" - -inherit pypi - -SRC_URI[md5sum] = "ee753415645ff4831ff0d366a0467fe7" -SRC_URI[sha256sum] = "ab94257cbd848dfca7148e092d233a12853cc7e840ce8231af9cbb5e7f51aa47" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-pprint \ - ${PYTHON_PN}-xml \ - ${PYTHON_PN}-difflib \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-html \ - ${PYTHON_PN}-docutils \ - ${PYTHON_PN}-ctypes \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework_3.0.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework_3.0.4.bb deleted file mode 100644 index ff7dedb5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-robotframework_3.0.4.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools -require python-robotframework.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-zlib \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-scrypt.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-scrypt.inc deleted file mode 100644 index 783d05b7..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-scrypt.inc +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "Bindings for the scrypt key derivation function library" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=8bef8e6712b1be5aa76af1ebde9d6378" -HOMEPAGE="https://bitbucket.org/mhallin/py-scrypt/overview" - -FILESEXTRAPATHS_prepend := "${THISDIR}/python-scrypt:" - -SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" - -SRC_URI[md5sum] = "ae8e3263aa31b040c1f9c7f1e1843a56" -SRC_URI[sha256sum] = "f8239b2d47fa1d40bc27efd231dc7083695d10c1c2ac51a99380360741e0362d" - -inherit pypi - -RDEPENDS_${PN}_class-target += "\ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-scrypt_0.8.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-scrypt_0.8.6.bb deleted file mode 100644 index 9fbd00e0..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-scrypt_0.8.6.bb +++ /dev/null @@ -1,3 +0,0 @@ -inherit setuptools python-dir -require python-scrypt.inc - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sdnotify.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-sdnotify.inc deleted file mode 100644 index ea0e575c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sdnotify.inc +++ /dev/null @@ -1,16 +0,0 @@ -HOMEPAGE = "https://github.com/bb4242/sdnotify" -SUMMARY = "A pure Python implementation of systemd's service notification protocol (sd_notify)" - -DESCRIPTION = "\ - sdnotify is a pure Python implementation of the systemd sd_notify protocol. \ - This protocol can be used to inform systemd about service start-up completion, \ - watchdog events, and other service status changes. \ - Thus, this package can be used to write system services in Python that play nicely with systemd. \ - " - -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cc572ccc4b18a4b7d13be5d01bc8213e" - -SRC_URI[md5sum] = "749ddca1c70be1697fecc443fb1fdb16" -SRC_URI[sha256sum] = "73977fc746b36cc41184dd43c3fe81323e7b8b06c2bb0826c4f59a20c56bb9f1" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sdnotify_0.3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-sdnotify_0.3.2.bb deleted file mode 100644 index 39ae3fb0..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sdnotify_0.3.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools pypi -require python-sdnotify.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-selectors34_1.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-selectors34_1.2.bb deleted file mode 100644 index 69545ebb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-selectors34_1.2.bb +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Backport of the selectors module from Python 3.4" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2fae0222c31d6c10488d4ab93a863af7" - -SRC_URI[md5sum] = "bc855a1c8839a811476c019dc07d92dd" -SRC_URI[sha256sum] = "09f5066337f8a76fb5233f267873f89a27a17c10bf79575954894bb71686451c" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-six \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-semver.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-semver.inc deleted file mode 100644 index 3c95c06e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-semver.inc +++ /dev/null @@ -1,12 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-semver_2.8.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-semver_2.8.1.bb deleted file mode 100644 index 0572feb3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-semver_2.8.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-semver.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-serpent.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-serpent.inc deleted file mode 100644 index 2ba65706..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-serpent.inc +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "Serialization based on ast.literal_eval" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5a8193ba89f1083617f32d522f6485e9" - -SRC_URI[md5sum] = "0f9684622125a527fa4fbe2587738973" -SRC_URI[sha256sum] = "264a028e059c1b557701ae7c567cdab330dbd228ff924489343efcb39bd828a0" - -inherit pypi - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-serpent_1.25.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-serpent_1.25.bb deleted file mode 100644 index 0db3cf98..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-serpent_1.25.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-serpent.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm.inc deleted file mode 100644 index 98883ec3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm.inc +++ /dev/null @@ -1,14 +0,0 @@ -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] = "cfec5d2dbbd0a85c40066f79035b5878" -SRC_URI[sha256sum] = "a767141fecdab1c0b3c8e4c788ac912d7c94a0d6c452d40777ba84f918316379" - -PYPI_PACKAGE = "setuptools_scm" -inherit pypi - -RDEPENDS_${PN}_class-target = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools ${PYTHON_PN}-debugger ${PYTHON_PN}-json" -RDEPENDS_${PN}_class-native = "${PYTHON_PN}-setuptools-native" - -BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm_2.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm_2.1.0.bb deleted file mode 100644 index 64b36e3a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-setuptools-scm_2.1.0.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-setuptools-scm.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-argparse" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sh.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-sh.inc deleted file mode 100644 index f2fd562b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sh.inc +++ /dev/null @@ -1,32 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-sh_1.12.14.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-sh_1.12.14.bb deleted file mode 100644 index 7cb5140d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sh_1.12.14.bb +++ /dev/null @@ -1,8 +0,0 @@ -require python-sh.inc -inherit setuptools - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-contextlib \ - ${PYTHON_PN}-lang \ - ${PYTHON_PN}-textutils \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sijax.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-sijax.inc deleted file mode 100644 index 9e46893d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sijax.inc +++ /dev/null @@ -1,8 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-sijax_0.3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-sijax_0.3.2.bb deleted file mode 100644 index 4226c423..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sijax_0.3.2.bb +++ /dev/null @@ -1,11 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson_3.16.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson_3.16.0.bb deleted file mode 100644 index 24ad9a96..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson_3.16.0.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit setuptools -require python-simplejson.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-re" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-singledispatch_3.4.0.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-singledispatch_3.4.0.3.bb deleted file mode 100644 index 44c9505b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-singledispatch_3.4.0.3.bb +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "functools.singledispatch from Python 3.4" -DESCRIPTION = "PEP 443 proposed to expose a mechanism in the functools standard library module \ -in Python 3.4 that provides a simple form of generic programming known as single-dispatch \ -generic functions. This library is a backport of this functionality to Python 2.6 - 3.3" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;md5=ee3cd67264adc7eb07981f3644dc17dc" - -SRC_URI[md5sum] = "af2fc6a3d6cc5a02d0bf54d909785fcb" -SRC_URI[sha256sum] = "5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c" - -inherit pypi setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-six.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-six.inc deleted file mode 100644 index a5915c11..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-six.inc +++ /dev/null @@ -1,19 +0,0 @@ -SUMMARY = "Python 2 and 3 compatibility library" -HOMEPAGE = "http://pypi.python.org/pypi/six/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=35cec5bf04dd0820d0a18533ea7c774a" - -SRC_URI[md5sum] = "d12789f9baf7e9fb2524c0c64f1773f8" -SRC_URI[sha256sum] = "70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9" - -do_compile_append() { - ${PYTHON} setup.py -q bdist_egg --dist-dir ./ -} -do_install_append() { - install -m 0644 ${S}/*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/ -} - -RDEPENDS_${PN} += "${PYTHON_PN}-io" - -BBCLASSEXTEND = "native nativesdk" - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-six_1.11.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-six_1.11.0.bb deleted file mode 100644 index 9075745d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-six_1.11.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-six.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-smbus.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-smbus.inc deleted file mode 100644 index f472a57f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-smbus.inc +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Set of i2c tools for linux - Python module" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://smbusmodule.c;beginline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8" -PR = "r1" - -SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz " -SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa" -SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62f2054bb39f19961d67e0c91610f071ca403" - -DEPENDS += "i2c-tools" - -S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-smbus_4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-smbus_4.0.bb deleted file mode 100644 index 1b957788..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-smbus_4.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit distutils -require python-smbus.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-snakefood_1.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-snakefood_1.4.bb deleted file mode 100644 index e4a6d767..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-snakefood_1.4.bb +++ /dev/null @@ -1,51 +0,0 @@ -SUMMARY = "Dependency graphing for Python" -DESCRIPTION = " Generate dependency graphs from Python code. This \ -dependency tracker package has a few distinguishing characteristics \ -\ - * It uses the AST to parse the Python files. This is very reliable, \ - it always runs.\ - * No module is loaded. Loading modules to figure out dependencies is \ - almost always problem, because a lot of codebases run initialization \ - code in the global namespace, which often requires additional setup. \ - Snakefood is guaranteed not to have this problem (it just runs, no \ - matter what).\ - * It works on a set of files, i.e. you do not have to specify a single \ - script, you can select a directory (package or else) or a set of files.\ - It finds all the Python files recursively automatically.\ - * Automatic/no configuration: your PYTHONPATH is automatically adjusted \ - to include the required package roots. It figures out the paths that \ - are required from the files/directories given as input. You should not \ - have to setup ANYTHING.\ - * It does not have to automatically 'follow' dependencies between modules,\ - i.e. by default it only considers the files and directories you specify \ - on the command-line and their immediate dependencies. It also has an \ - option to automatically include only the dependencies within the \ - packages of the files you specify.\ - * It follows the UNIX philosophy of small programs that do one thing well:\ - it consists of a few simple programs whose outputs you combine via \ - pipes. Graphing dependencies always requires the user to filter and \ - cluster the filenames, so this is appropriate. You can combine it with \ - your favourite tools, grep, sed, etc.\ -\ -A problem with dependency trackers that run code is that they are unreliable, \ -due to the dynamic nature of Python (the presence of imports within function \ -calls and __import__ hooks makes it almost impossible to always do the right \ -thing). This script aims at being right 99% of the time, and we think that \ -given the trade-offs, 99% is good enough for 99% of the uses.\ -" -AUTHOR = "Martin Blais <blais@furius.ca>" -HOMEPAGE = "http://furius.ca/snakefood" -LICENSE = "GPL-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" - -SRC_URI[md5sum] = "56c88667a33d8909b0aabf2ab6903bdf" -SRC_URI[sha256sum] = "295784668032254e7391ca99ba7060edd3ae4eca1a330ac11627b18ab5923b77" - -inherit pypi setuptools - -RDEPENDS_${PN} = " python-logging python-compiler python-shell" -# the above modules do not have a -native counterpart -RDEPENDS_${PN}_class-native = "" - -BBCLASSEXTEND = "native" - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-snimpy_0.8.12.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-snimpy_0.8.12.bb deleted file mode 100644 index c5af48dd..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-snimpy_0.8.12.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Interactive SNMP tool" -DESCRIPTION = "Snimpy is a Python-based tool providing a simple interface to build SNMP query" -HOMEPAGE = "https://pypi.python.org/pypi/snimpy" -SECTION = "devel/python" - -DEPENDS += "libsmi python-cffi-native python-vcversioner-native" - -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://docs/license.rst;md5=7c53ab2d1240828625c3e093d049d4f4" - -SRC_URI[md5sum] = "6d016b6356db432e6a87ad708eb8fcb6" -SRC_URI[sha256sum] = "04efcfba867ffb0e10cc8d7f93a553ceb6bdf2ee34e49762749028a2c76096c1" - -inherit pypi setuptools - -RDEPENDS_${PN} = "python-cffi \ - python-pycparser \ - python-pysnmp \ - python-setuptools \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sparts_0.7.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-sparts_0.7.3.bb deleted file mode 100644 index a1253112..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sparts_0.7.3.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "Library for rapid service prototyping with minimal boilerplate" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0c1554636a564da3baf037ac652fc831" - -SRC_URI[md5sum] = "6aa8815652c6f5e5e8e5b2ac1813dd87" -SRC_URI[sha256sum] = "b25707c349079a7c888155e7fdfd8394df2da9aca9c8eee4e205528cb16b7662" - -inherit pypi setuptools - -RDEPENDS_${PN} = "\ - python-subprocess \ - python-six \ - python-argparse \ - python-re \ - python-shell \ - python-threading \ - python-logging \ - python-unixadmin \ - python-distutils \ - python-daemonize \ - python-futures \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-speaklater.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-speaklater.inc deleted file mode 100644 index 94fa8a6c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-speaklater.inc +++ /dev/null @@ -1,9 +0,0 @@ -DESCRIPTION = "Media asset management for Python, with glue code for various frameworks" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b810770075a29bf44b96607440e7c801" - -SRC_URI[md5sum] = "e8d5dbe36e53d5a35cff227e795e8bbf" -SRC_URI[sha256sum] = "59fea336d0eed38c1f0bf3181ee1222d0ef45f3a9dd34ebe65e6bfffdd6a65a9" - -PYPI_PACKAGE = "speaklater" - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-speaklater_1.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-speaklater_1.3.bb deleted file mode 100644 index 56fd5557..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-speaklater_1.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-speaklater.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.17.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.17.bb deleted file mode 100644 index 53c8fecf..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sqlalchemy_1.1.17.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-sqlalchemy.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore_1.29.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore_1.29.0.bb deleted file mode 100644 index 70a00c13..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore_1.29.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-stevedore.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-strict-rfc3339.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-strict-rfc3339.inc deleted file mode 100644 index dca9ea93..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-strict-rfc3339.inc +++ /dev/null @@ -1,8 +0,0 @@ -SUMMARY = "Strict, simple, lightweight RFC3339 function.s" -LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://LICENSE;md5=8f0e2cd40e05189ec81232da84bd6e1a" - -SRC_URI[md5sum] = "4d9b635b4df885bc37bc1189d66c9abc" -SRC_URI[sha256sum] = "5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277" - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-strict-rfc3339_0.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-strict-rfc3339_0.7.bb deleted file mode 100644 index b01ea99a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-strict-rfc3339_0.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-strict-rfc3339.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-subprocess32_3.2.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-subprocess32_3.2.7.bb deleted file mode 100644 index f4370692..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-subprocess32_3.2.7.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "A backport of the subprocess module from Python 3.2 for use on 2.x" -DESCRIPTION = "This is a backport of the subprocess standard library module \ -from Python 3.2 - 3.5 for use on Python 2. It includes bugfixes and some new \ -features. On POSIX systems it is guaranteed to be reliable when used in \ -threaded applications. It includes timeout support from Python 3.3 and the \ -run() API from 3.5 but otherwise matches 3.2's API." -LICENSE = "Python-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d3e62baa8fb96b11a59d3f2cd335d5c0" - -SRC_URI[md5sum] = "824c801e479d3e916879aae3e9c15e16" -SRC_URI[sha256sum] = "1e450a4a4c53bf197ad6402c564b9f7a53539385918ef8f12bdf430a61036590" - -inherit pypi setuptools - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd.inc index 5be5de09..b14f8250 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd.inc @@ -7,7 +7,7 @@ PYPI_PACKAGE = "systemd-python" DEPENDS += "systemd (<=234)" RDEPENDS_${PN} += "systemd ${PYTHON_PN}-syslog ${PYTHON_PN}-logging" REQUIRED_DISTRO_FEATURES = "systemd" -inherit pypi distro_features_check +inherit pypi features_check SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d" SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7" @@ -15,4 +15,6 @@ SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895 # allow for common patches for python- and python3-systemd FILESEXTRAPATHS_prepend := "${THISDIR}/python-systemd:" +SRC_URI += "file://endian.patch" + SRC_URI_append_libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd/endian.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd/endian.patch new file mode 100644 index 00000000..e09aea73 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd/endian.patch @@ -0,0 +1,14 @@ +Include endian.h for missing definitions of htobe16 + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- a/systemd/util.c ++++ b/systemd/util.c +@@ -28,6 +28,7 @@ + #include <stdbool.h> + #include <assert.h> + #include <errno.h> ++#include <endian.h> + #include <fcntl.h> + #include <unistd.h> + #include <net/if.h> diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd_234.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd_234.bb deleted file mode 100644 index 80f29007..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-systemd_234.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-systemd.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado-redis_2.4.18.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado-redis_2.4.18.bb deleted file mode 100644 index 46a20a5e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado-redis_2.4.18.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Tornado-Redis is an asyncronous Redis client for the Tornado Web Server" -DESCRIPTION = "Tornado-Redis is a Redis client that uses Tornado's native 'tornado-gen' interface. \ -It can be used alongside redis-py in Tornado applications: \ -tornado-redis to subscribe to Pub/Sub notifications and for blocking commands (such as BLPOP, BRPOP, BRPOPLPUSH); \ -redis-py for other commands." -HOMEPAGE = "https://github.com/leporo/tornado-redis" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=ca307e8f37b5fa7f8dbbec033f7db7de" - -SRC_URI[md5sum] = "1c7ec0f645d15400871141c1149e6934" -SRC_URI[sha256sum] = "8fd3b324158291ad5fb7f5f8dc2e8763b2895556bd2a44f2dd721b703c669046" - -inherit pypi setuptools - -RDEPENDS_${PN} += "python-tornado" - -RDEPENDS_${PN}-test += "${PN} python-tornado" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado.inc index 16899f88..7cb61931 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado.inc @@ -6,8 +6,8 @@ HOMEPAGE = "http://www.tornadoweb.org/en/stable/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[md5sum] = "bd264851c409f926d1dae1ad5055d28d" -SRC_URI[sha256sum] = "4f66a2172cb947387193ca4c2c3e19131f1c70fa8be470ddbbd9317fd0801582" +SRC_URI[md5sum] = "cab4b11480f6d032e46465586192d343" +SRC_URI[sha256sum] = "c845db36ba616912074c5b1ee897f8e0124df269468f25e4fe21fe72f6edd7a9" 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/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado_5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado_5.1.bb deleted file mode 100644 index 193a4db7..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-tornado_5.1.bb +++ /dev/null @@ -1,8 +0,0 @@ -inherit pypi setuptools -require python-tornado.inc -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-backports-abc \ - ${PYTHON_PN}-backports-ssl \ - ${PYTHON_PN}-singledispatch \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb deleted file mode 100644 index 696c875c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted.inc index 01616b16..7537bafd 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted.inc @@ -5,10 +5,15 @@ 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=04e7730aecedc79d805625a91bc06145" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1743f12d8b8f5aec625c0569a058f0a6" -SRC_URI[sha256sum] = "a4cc164a781859c74de47f17f0e85f4bce8a3321a9d0892c015c8f80c4158ad9" -SRC_URI[md5sum] = "da8142ad4e9971a75fe751ac96a33b95" +# allow for common patches for python- and python3-twisted +FILESEXTRAPATHS_prepend := "${THISDIR}/python-twisted:" + +SRC_URI += "file://0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch" + +SRC_URI[sha256sum] = "7394ba7f272ae722a74f3d969dcf599bc4ef093bc392038748a490f1724a515d" +SRC_URI[md5sum] = "f2d70f7a66ecdf54152310164cceadfe" PYPI_PACKAGE = "Twisted" PYPI_PACKAGE_EXT = "tar.bz2" @@ -35,7 +40,6 @@ PACKAGES += "\ " PACKAGES =+ "\ - ${PN}-src \ ${PN}-bin \ " @@ -57,9 +61,20 @@ RDEPENDS_${PN} = "\ ${PN}-zsh \ " -RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink ${PYTHON_PN}-automat" +RDEPENDS_${PN}-core = "${PYTHON_PN}-appdirs \ + ${PYTHON_PN}-automat \ + ${PYTHON_PN}-constantly \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-debugger \ + ${PYTHON_PN}-hyperlink \ + ${PYTHON_PN}-incremental \ + ${PYTHON_PN}-pyhamcrest \ + ${PYTHON_PN}-pyserial \ + ${PYTHON_PN}-unixadmin \ + ${PYTHON_PN}-zopeinterface \ +" RDEPENDS_${PN}-test = "${PN}" -RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols" +RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols ${PYTHON_PN}-bcrypt ${PYTHON_PN}-cryptography ${PYTHON_PN}-pyasn1 ${PYTHON_PN}-pickle" RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols" RDEPENDS_${PN}-names = "${PN}-core" RDEPENDS_${PN}-news = "${PN}-core ${PN}-protocols" @@ -242,9 +257,10 @@ FILES_${PN}-doc += " \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_pydoctortemplates/ \ " -RDEPENDS_{PN}-src = "${PN}" +RDEPENDS_${PN}-src = "${PN}" FILES_${PN}-src = " \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*.py \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/*.py \ " + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch new file mode 100644 index 00000000..39fc7d43 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted/0001-fix-MemoryReactor-import-in-test_runner-to-be-from-t.patch @@ -0,0 +1,38 @@ +From 754f21282ad2775db8ff501d40bbc497faeb17ba Mon Sep 17 00:00:00 2001 +From: Trevor Gamblin <trevor.gamblin@windriver.com> +Date: Tue, 17 Dec 2019 15:09:22 -0500 +Subject: [PATCH] fix MemoryReactor import in test_runner to be from + twisted.internet.testing + +Upstream-Status: Backport [https://github.com/twisted/twisted/commit/754f21282ad2775db8ff501d40bbc497faeb17ba] + +Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> +--- + src/twisted/application/newsfragments/9746.misc | 1 + + src/twisted/application/runner/test/test_runner.py | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + create mode 100644 src/twisted/application/newsfragments/9746.misc + +diff --git a/src/twisted/application/newsfragments/9746.misc b/src/twisted/application/newsfragments/9746.misc +new file mode 100644 +index 000000000..8b1378917 +--- /dev/null ++++ b/src/twisted/application/newsfragments/9746.misc +@@ -0,0 +1 @@ ++ +diff --git a/src/twisted/application/runner/test/test_runner.py b/src/twisted/application/runner/test/test_runner.py +index 9abc3449a..cce495b12 100644 +--- a/src/twisted/application/runner/test/test_runner.py ++++ b/src/twisted/application/runner/test/test_runner.py +@@ -15,7 +15,7 @@ from twisted.logger import ( + LogLevel, LogPublisher, LogBeginner, + FileLogObserver, FilteringLogObserver, LogLevelFilterPredicate, + ) +-from twisted.test.proto_helpers import MemoryReactor ++from twisted.internet.testing import MemoryReactor + + from ...runner import _runner + from .._exit import ExitStatus +-- +2.24.1 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb deleted file mode 100644 index 5903db3e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-twisted_18.4.0.bb +++ /dev/null @@ -1,8 +0,0 @@ -inherit pypi setuptools -require python-twisted.inc - -RDEPENDS_${PN}-core += "${PYTHON_PN}-contextlib" - -RDEPENDS_${PN} += " \ - ${PN}-news \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-twofish.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-twofish.inc deleted file mode 100644 index 79ab285e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-twofish.inc +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "Bindings for the Twofish implementation by Niels Ferguson" -DESCRIPTION = "Bindings for the Twofish implementation by Niels Ferguson\ - libtwofish-dev." -HOMEPAGE = "http://github.com/keybase/python-twofish" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=33a63abf6d7567b1689d8ce69f00e43b" - -SRC_URI[md5sum] = "d7d22f16dc4ffa0e3ae2200654033abe" -SRC_URI[sha256sum] = "b09d8bb50d33b23ff34cafb1f9209f858f752935c6a5c901efb92a41acb830fa" - -inherit pypi - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-twofish_0.3.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-twofish_0.3.0.bb deleted file mode 100644 index 85b02159..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-twofish_0.3.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-twofish.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-typing.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-typing.inc deleted file mode 100644 index a0ee6b24..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-typing.inc +++ /dev/null @@ -1,9 +0,0 @@ -SUMMARY = "Simple Python module defined by PEP 484." -HOMEPAGE = "https://github.com/python/typing" -LICENSE = "PSF" -LIC_FILES_CHKSUM = "file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f" - -SRC_URI[md5sum] = "5b2ade08d83be488f17b5fe587c27c74" -SRC_URI[sha256sum] = "d400a9344254803a2368533e4533a4200d21eb7b6b729c173bc38201a74db3f2" - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-typing_3.6.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-typing_3.6.4.bb deleted file mode 100644 index 04ce063c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-typing_3.6.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-typing.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ujson.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ujson.inc deleted file mode 100644 index c3d0bfee..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ujson.inc +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "Ultra fast JSON encoder and decoder for Python" -DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." - -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e" - -SRC_URI[md5sum] = "42f77b0cce686dfa4da2e68480b1dd24" -SRC_URI[sha256sum] = "f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86" - -inherit pypi - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-numbers \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ujson_1.35.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-ujson_1.35.bb deleted file mode 100644 index b3c6ae66..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ujson_1.35.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-ujson.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-unidiff.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-unidiff.inc deleted file mode 100644 index fc120620..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-unidiff.inc +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Unified diff parsing/metadata extraction library" -HOMEPAGE = "http://github.com/matiasb/python-unidiff" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" - -SRC_URI[md5sum] = "47f669d7273541fec45e4cc0fba8d8e9" -SRC_URI[sha256sum] = "9c9ab5fb96b6988b4cd5def6b275492442c04a570900d33aa6373105780025bc" - -inherit pypi - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-codecs \ - ${PYTHON_PN}-io \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-unidiff_0.5.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-unidiff_0.5.5.bb deleted file mode 100644 index bdb3d27f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-unidiff_0.5.5.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-unidiff.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3_1.23.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3_1.23.bb deleted file mode 100644 index 6c81f1db..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3_1.23.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-urllib3.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb deleted file mode 100644 index cd6fa8df..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-vcversioner_2.16.0.0.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Python vcversioner, automagically update the project's version" -HOMEPAGE = "https://github.com/habnabit/vcversioner" - -LICENSE = "ISC" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=827a7a91a8d20d3c666b665cd96db8e3" - -SRC_URI[md5sum] = "aab6ef5e0cf8614a1b1140ed5b7f107d" -SRC_URI[sha256sum] = "dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa06e19b" - -inherit pypi setuptools - -do_compile_append() { - ${PYTHON} setup.py -q bdist_egg --dist-dir ./ -} - -do_install_append() { - install -m 0644 ${S}/vcversioner*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/ -} - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-subprocess \ - " -RDEPENDS_${PN}_class-native = "" - -BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-visitor.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-visitor.inc deleted file mode 100644 index 8c2288cf..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-visitor.inc +++ /dev/null @@ -1,6 +0,0 @@ -SUMMARY = "A tiny pythonic visitor implementation." -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" - -SRC_URI[md5sum] = "94a024ed0ec1b02b4497c15267d319ca" -SRC_URI[sha256sum] = "2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-visitor_0.1.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-visitor_0.1.3.bb deleted file mode 100644 index eee25a54..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-visitor_0.1.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-visitor.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-vobject_0.9.6.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-vobject_0.9.6.1.bb deleted file mode 100644 index d31f2f5a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-vobject_0.9.6.1.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "Python package for parsing and generating vCard and vCalendar files" -HOMEPAGE = "http://vobject.skyhouseconsulting.com/" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI[md5sum] = "06357e96a84d55de2a71b36d39f6853e" -SRC_URI[sha256sum] = "96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-dateutil \ - ${PYTHON_PN}-numbers \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb deleted file mode 100644 index ef107c16..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wcwidth_0.1.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-wcwidth.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webcolors.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-webcolors.inc deleted file mode 100644 index a02bbbbe..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webcolors.inc +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Simple Python module for working with HTML/CSS color definitions." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=197add016087e6884a012b0f185d44ad" - -SRC_URI[md5sum] = "40890db38b2a856e526a568864025fe6" -SRC_URI[sha256sum] = "030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59" - -RDEPENDS_${PN}_class-target = "\ - ${PYTHON_PN}-stringold \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webcolors_1.8.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-webcolors_1.8.1.bb deleted file mode 100644 index a0b6708c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webcolors_1.8.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-webcolors.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webdav_0.1.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-webdav_0.1.2.bb deleted file mode 100644 index 7a6437dc..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webdav_0.1.2.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "This project aims to provide an object-oriented Python WebDAV client-side library\ - based on Python`s standard httplib and Greg Stein`s davlib.\ - The client shall fully support RFCs 4918 (basic specification),\ - 3744 (access control), and 3253 (versioning)." -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/webdav/WebdavClient.py;endline=15;md5=a1520fad859feb7b0d7f05277bc6ce48" -HOMEPAGE = "http://sourceforge.net/projects/pythonwebdavlib/" -SRCNAME = "Python_WebDAV_Library" -DEPENDS = "python" - -SRC_URI = "${SOURCEFORGE_MIRROR}/pythonwebdavlib/Python%20WebDAV%20Library%20-%20${PV}/${SRCNAME}-${PV}.zip" -SRC_URI[md5sum] = "8e49e0ecc5b4327c4f752a544ee10e1a" -SRC_URI[sha256sum] = "72c029ad1e25de950f59c2f1812d009d2c1691b70e4b5b09f1af9006e8fd5f23" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webencodings.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-webencodings.inc deleted file mode 100644 index 34ca7066..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webencodings.inc +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "Character encoding aliases for legacy web content" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" - -SRC_URI[md5sum] = "32f6e261d52e57bf7e1c4d41546d15b8" -SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" - -inherit pypi - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-codecs \ - ${PYTHON_PN}-json \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb deleted file mode 100644 index 5de2ed1d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-webencodings.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-werkzeug_0.14.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-werkzeug_0.14.1.bb deleted file mode 100644 index db41161b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-werkzeug_0.14.1.bb +++ /dev/null @@ -1,7 +0,0 @@ -inherit pypi setuptools -require python-werkzeug.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-subprocess \ - ${PYTHON_PN}-zlib \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-whoosh.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-whoosh.inc deleted file mode 100644 index a4ca5dcd..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-whoosh.inc +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "Fast, pure-Python full text indexing, search, and spell checking library." -DESCRIPTION = "\ -Whoosh is a fast, featureful full-text indexing and searching library \ -implemented in pure Python. Programmers can use it to easily add search \ -functionality to their applications and websites. Every part of how \ -Whoosh works can be extended or replaced to meet your needs exactly." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05303186defc6141143629961c7c8a60" - -SRC_URI[md5sum] = "893433e9c0525ac043df33e6e04caab2" -SRC_URI[sha256sum] = "e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69" - -PYPI_PACKAGE = "Whoosh" -PYPI_PACKAGE_EXT = "zip" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-email \ - ${PYTHON_PN}-multiprocessing \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-stringold \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-whoosh_2.7.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-whoosh_2.7.4.bb deleted file mode 100644 index 3b4291f4..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-whoosh_2.7.4.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit pypi setuptools -require python-whoosh.inc - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-subprocess \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wrapt.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-wrapt.inc deleted file mode 100644 index c85548fb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wrapt.inc +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "A Python module for decorators, wrappers and monkey patching." -HOMEPAGE = "http://wrapt.readthedocs.org/" -LICENSE = "BSD" -SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://LICENSE;md5=61c27930012e86b3dc7e36f92e83c4d8" - -SRC_URI[md5sum] = "e1346f31782d50401f81c2345b037076" -SRC_URI[sha256sum] = "d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6" - -inherit pypi - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wrapt_1.10.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-wrapt_1.10.11.bb deleted file mode 100644 index bb424765..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wrapt_1.10.11.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools -require python-wrapt.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms.inc deleted file mode 100644 index 868686bf..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms.inc +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "A flexible forms validation and rendering library for python web development." -HOMEPAGE = "https://pypi.python.org/pypi/WTForms" -SECTION = "devel/python" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=c4660c132770d5d0a5757541f6b79493" - -SRC_URI[md5sum] = "41c0008dbe7bd98892c58f7457a46a4a" -SRC_URI[sha256sum] = "0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61" - -PYPI_PACKAGE = "WTForms" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-netserver \ - ${PYTHON_PN}-numbers \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms_2.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms_2.2.1.bb deleted file mode 100644 index fdb015e8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wtforms_2.2.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-wtforms.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xlrd.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-xlrd.inc deleted file mode 100644 index d1ab05d4..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xlrd.inc +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files" -DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\ - versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \ -Strong support for Excel dates. Unicode-aware." -HOMEPAGE = "http://www.python-excel.org/" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=08bd814936237b6e1355e6370b24b2c1" - -SRC_URI[md5sum] = "b85c9916ac755cad489a9005f5a0d390" -SRC_URI[sha256sum] = "8a21885513e6d915fe33a8ee5fdfa675433b61405ba13e2a69e62ee36828d7e2" - -RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xlrd_1.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-xlrd_1.1.0.bb deleted file mode 100644 index 3a4d709e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xlrd_1.1.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-xlrd.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic-font-awesome.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic-font-awesome.inc deleted file mode 100644 index d13cb83f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic-font-awesome.inc +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION = "Font Awesome icons packaged for setuptools (easy_install) / pip." -HOMEPAGE = "https://pypi.python.org/pypi/XStatic-Font-Awesome" -SECTION = "devel/python" -LICENSE = "Apache-2" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=313d021898694cd2b0ea6508bdfe51a2" - -PYPI_PACKAGE = "XStatic-Font-Awesome" - -inherit pypi - -SRC_URI[md5sum] = "141a0e9a7e21e82f922573a00ae0c166" -SRC_URI[sha256sum] = "e01fb480caaa7c7963dcb3328a4700e631bef6070db0e8b685816d220e685f6c" - -DEPENDS += " \ - ${PYTHON_PN}-xstatic \ - ${PYTHON_PN}-pip \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic-font-awesome_4.7.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic-font-awesome_4.7.0.0.bb deleted file mode 100644 index 41e85f4a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic-font-awesome_4.7.0.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-xstatic-font-awesome.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic.inc deleted file mode 100644 index f7c7db99..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic.inc +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "XStatic base package with minimal support code" -HOMEPAGE = "https://pypi.python.org/pypi/XStatic" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README.txt;md5=36a1e7eaa71e1bd07b8d2247839f228e" - -PYPI_PACKAGE = "XStatic" - -SRC_URI[md5sum] = "7064b5ea7fd1ee990e0ae0538301d9bc" -SRC_URI[sha256sum] = "0ec93d7c66ebb9e0d31b664753437dc8634cb66e13310cb47c9eb1e0bc66d726" - -DEPENDS += " \ - ${PYTHON_PN}-pip \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic_1.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic_1.0.1.bb deleted file mode 100644 index 80730370..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-xstatic_1.0.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools -require python-xstatic.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-yappi.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python-yappi.inc deleted file mode 100644 index 651ce773..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-yappi.inc +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "Yet Another Python Profiler" -HOMEPAGE = "http://yappi.googlecode.com/" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=6b131c3041637f6a5175a43112dde05c" - -SRC_URI[md5sum] = "dc56240575c99938a924eaeb7c0d8beb" -SRC_URI[sha256sum] = "5f657129e1b9b952379ffbc009357d0dcdb58c50f3bfe88ffbb992e4b27b263c" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-pickle \ - ${PYTHON_PN}-threading \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-yappi_0.98.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-yappi_0.98.bb deleted file mode 100644 index a3bdde5c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-yappi_0.98.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-yappi.inc -inherit setuptools diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface_4.5.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface_4.5.0.bb deleted file mode 100644 index 1bdfd4d3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface_4.5.0.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit pypi setuptools -require python-zopeinterface.inc - -RDEPENDS_${PN}-test += "python-unittest python-doctest" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-absl_0.7.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-absl_0.7.0.bb new file mode 100644 index 00000000..c65a6d7d --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-absl_0.7.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "Abseil Python Common Libraries" +HOMEPAGE = "https://github.com/abseil/abseil-py" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "git://github.com/abseil/abseil-py.git" +SRCREV ?= "e3ce504183c57fc4eca52fe84732c11cda99d131" + +inherit setuptools3 + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aenum_2.2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aenum_2.2.3.bb new file mode 100644 index 00000000..16d2a881 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aenum_2.2.3.bb @@ -0,0 +1,11 @@ +SUMMARY = "Advanced Enumerations library" +HOMEPAGE = "https://pypi.org/project/aenum/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://aenum/LICENSE;md5=c6a85477543f8b8591b9c1f82abebbe9" + +SRC_URI[md5sum] = "026786dbb37c15c2c8dc91fbf5828e97" +SRC_URI[sha256sum] = "a4334cabf47c167d44ab5a6198837b80deec5d5bad1b5cf70c966c3a330260e8" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aiofiles_0.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aiofiles_0.4.0.bb new file mode 100644 index 00000000..b21cade5 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aiofiles_0.4.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "File support for asyncio" +DESCRIPTION = "Asynchronous local file IO library for asyncio and Python" +HOMEPAGE = "https://github.com/aio-libs/aiohttp" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" + +SRC_URI[md5sum] = "cb33cf96c371fbd56fc27ab0bd81bd61" +SRC_URI[sha256sum] = "021ea0ba314a86027c166ecc4b4c07f2d40fc0f4b3a950d1868a0f2571c2bbee" + +PYPI_PACKAGE = "aiofiles" + +inherit pypi setuptools3 + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-asyncio \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.6.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.6.2.bb new file mode 100644 index 00000000..121447cd --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.6.2.bb @@ -0,0 +1,21 @@ +SUMMARY = "Async http client/server framework" +DESCRIPTION = "Asynchronous HTTP client/server framework for asyncio and Python" +HOMEPAGE = "https://github.com/aio-libs/aiohttp" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cf056e8e7a0a5477451af18b7b5aa98c" + +SRC_URI[md5sum] = "ca40144c199a09fc1a141960cf6295f0" +SRC_URI[sha256sum] = "259ab809ff0727d0e834ac5e8a283dc5e3e0ecc30c4d80b3cd17a4139ce1f326" + +PYPI_PACKAGE = "aiohttp" +inherit setuptools3 pypi +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-async-timeout \ + ${PYTHON_PN}-attrs \ + ${PYTHON_PN}-chardet \ + ${PYTHON_PN}-idna-ssl \ + ${PYTHON_PN}-misc \ + ${PYTHON_PN}-multidict \ + ${PYTHON_PN}-typing \ + ${PYTHON_PN}-yarl \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.0.0.bb deleted file mode 100644 index e248fe7c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.0.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-alembic.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.4.2.bb new file mode 100644 index 00000000..22630604 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.4.2.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "A database migration tool for SQLAlchemy" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bd64aba1b968c2bfbc2b525a181ce85c" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "1d67bdbd3abd33f0319afcd29bc59686" +SRC_URI[sha256sum] = "035ab00497217628bf5d0be82d664d8713ab13d37b630084da8e1f98facf4dbf" + +PYPI_PACKAGE = "alembic" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-dateutil \ + ${PYTHON_PN}-editor \ + ${PYTHON_PN}-mako \ + ${PYTHON_PN}-sqlalchemy \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ansi2html_1.5.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ansi2html_1.5.2.bb new file mode 100644 index 00000000..8e586ea3 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ansi2html_1.5.2.bb @@ -0,0 +1,13 @@ +DESCRPTION = "ansi2html - Convert text with ANSI color codes to HTML or to LaTeX" +HOMEPAGE = "https://github.com/ralphbean/ansi2html" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404" +LICENSE = "GPLv3" + +PYPI_PACKAGE = "ansi2html" + +SRC_URI[md5sum] = "52d6085ad1c5970082ea5305a26af981" +SRC_URI[sha256sum] = "96ae85ae7b26b7da674d87de2870ba4d1964bca733ae4614587080b6358c3ba9" + +inherit pypi setuptools3 + +RDEPENDS_${PN} = "${PYTHON_PN}-six" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-anyjson_0.3.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-anyjson_0.3.3.bb index 199e225b..91c66724 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-anyjson_0.3.3.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-anyjson_0.3.3.bb @@ -1,2 +1,13 @@ -inherit setuptools3 -require python-anyjson.inc +SUMMARY = "Wraps the best available JSON implementation available in a common interface" +DESCRIPTION = "Anyjson loads whichever is the fastest JSON module installed and \ +provides a uniform API regardless of which JSON implementation is used." +HOMEPAGE = "https://bitbucket.org/runeh/anyjson" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=989aa97e73c912a83a3c873fa11deb08" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "2ea28d6ec311aeeebaf993cb3008b27c" +SRC_URI[sha256sum] = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba" + +RDEPENDS_${PN} += "${PYTHON_PN}-simplejson" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs/run-ptest new file mode 100644 index 00000000..5287f3e0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest | sed -e 's/\[100%\]//g' | sed -e 's/\.\.F/: FAIL/g' | sed -e 's/\.\.\./: PASS/g' diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.3.bb deleted file mode 100644 index d24e1d8b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-appdirs.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb new file mode 100644 index 00000000..eef5c027 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-appdirs_1.4.4.bb @@ -0,0 +1,21 @@ +SUMMARY = "A small Python module for determining appropriate + platform-specific dirs, e.g. a user data dir." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" + +SRC_URI += " \ + file://run-ptest \ +" + +SRC_URI[md5sum] = "d6bca12613174185dd9abc8a29f4f012" +SRC_URI[sha256sum] = "7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41" + +inherit pypi setuptools3 ptest + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.4.bb new file mode 100644 index 00000000..8d23678a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.4.bb @@ -0,0 +1,15 @@ +SUMMARY = "Apply values to optional params" +HOMEPAGE = "https://github.com/bcb/apply_defaults" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c89120516900f96f4c60d35fdc4c3f15" + +PYPI_PACKAGE = "apply_defaults" + +SRC_URI[md5sum] = "719abb133f4b46283ebd940fcdf30a78" +SRC_URI[sha256sum] = "1ce26326a61d8773d38a9726a345c6525a91a6120d7333af79ad792dacb6246c" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-core" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_1.9.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_1.9.2.bb new file mode 100644 index 00000000..802a5b2e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_1.9.2.bb @@ -0,0 +1,15 @@ +SUMMARY = "Arpeggio is a recursive descent parser with memoization based on PEG grammars (aka Packrat parser)" +HOMEPAGE = "https://pypi.org/project/Arpeggio/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=33b8d1ba459a2fa4d801acfd1d1b7ceb" + +SRC_URI[md5sum] = "39667a626217c670bc634444be6e904a" +SRC_URI[sha256sum] = "948ce06163a48a72c97f4fe79ad3d1c1330b6fec4f22ece182fb60ef60bd022b" + +PYPI_PACKAGE = "Arpeggio" +inherit pypi setuptools3 + +# setup.py of Arpeggio needs this. +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-asn1crypto_0.24.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-asn1crypto_0.24.0.bb deleted file mode 100644 index cfbe5752..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-asn1crypto_0.24.0.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit setuptools3 -require python-asn1crypto.inc - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-shell \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-asn1crypto.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb index f1f0a3c5..0d38da98 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-asn1crypto.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb @@ -2,14 +2,14 @@ DESCRIPTION = "A fast, pure Python library for parsing and serializing ASN.1 str HOMEPAGE = "https://github.com/wbond/asn1crypto" SECTION = "devel/python" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=52010cd3c7d7bd965b55721ef4d93ec2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7439e38f5e04ff62fae436184786b7ca" PYPI_PACKAGE = "asn1crypto" -SRC_URI[md5sum] = "de3520426e81a6581352d4366f310eb1" -SRC_URI[sha256sum] = "9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49" +SRC_URI[md5sum] = "daad112940181917e3ff169b47b9bd9a" +SRC_URI[sha256sum] = "5a215cb8dc12f892244e3a113fe05397ee23c5c4ca7a69cd6e69811755efc42d" -inherit pypi +inherit pypi setuptools3 RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-codecs \ @@ -18,6 +18,8 @@ RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-io \ ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ " -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb new file mode 100644 index 00000000..125a0236 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-astor_0.8.1.bb @@ -0,0 +1,14 @@ +SUMMARY = "Easy manipulation of Python source via the AST." +HOMEPAGE = "https://github.com/berkerpeksag/astor" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=561205fdabc3ec52cae2d30815b8ade7" + +SRC_URI = "git://github.com/berkerpeksag/astor.git " +SRCREV ?= "c7553c79f9222e20783fe9bd8a553f932e918072" + +inherit setuptools3 + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb deleted file mode 100644 index 6e32c288..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_1.6.5.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-astroid.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-astroid.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_2.3.3.bb index fae0f13c..dc1ce0eb 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-astroid.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_2.3.3.bb @@ -4,10 +4,12 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -SRC_URI[md5sum] = "2dd01ef0d5b5f0fc754c1ba40137b61c" -SRC_URI[sha256sum] = "fc9b582dba0366e63540982c3944a9230cbc6f303641c51483fa547dcc22393a" +SRC_URI[md5sum] = "5f3d73d82d1753b59bb49a6bc6046dee" +SRC_URI[sha256sum] = "71ea07f44df9568a75d0f354c49143a4575d90645e9fead6dfb52c26a85ed13a" -inherit pypi +inherit pypi setuptools3 + +DEPENDS += "${PYTHON_PN}-pytest-runner-native" PACKAGES =+ "${PN}-tests" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-async-timeout_3.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-async-timeout_3.0.1.bb new file mode 100644 index 00000000..22dffe64 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-async-timeout_3.0.1.bb @@ -0,0 +1,19 @@ +SUMMARY = "asyncio-compatible timeout context manager" +DESCRIPTION = "\ +The context manager is useful in cases when you want to apply \ +timeout logic around block of code or in cases when asyncio.wait_for() \ +is not suitable. Also it's much faster than asyncio.wait_for() because \ +timeout doesn't create a new task." +HOMEPAGE = "https://github.com/aio-libs/async-timeout" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +SRC_URI[md5sum] = "305c4fa529f2485c403d0dbe14390175" +SRC_URI[sha256sum] = "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f" + +PYPI_PACKAGE = "async-timeout" +inherit pypi setuptools3 + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-asyncio \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-atomicwrites_1.3.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-atomicwrites_1.3.0.bb new file mode 100644 index 00000000..e43bf088 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-atomicwrites_1.3.0.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Powerful Python library for atomic file writes" +HOMEPAGE = "https://github.com/untitaker/python-atomicwrites" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=91cc36cfafeefb7863673bcfcb1d4da4" + +SRC_URI[md5sum] = "ce11f780a4ce0fce8a55d64494a88178" +SRC_URI[sha256sum] = "75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6" + +inherit pypi setuptools3 + +RDEPENDS_${PN} = "${PYTHON_PN}-misc" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attr_0.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attr_0.3.1.bb index e80648c8..22c5218c 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attr_0.3.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attr_0.3.1.bb @@ -1,2 +1,9 @@ -inherit setuptools3 -require python-attr.inc +DESCRIPTION = "Simple decorator to set attributes of target function or class in a DRY way" +HOMEPAGE = "https://github.com/denis-ryzhkov/attr" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=59805a0285f4d2b6abdedae73db4f5c1" + +SRC_URI[md5sum] = "68b9a503991241fb2df28488686b0e1e" +SRC_URI[sha256sum] = "9091548058d17f132596e61fa7518e504f76b9a4c61ca7d86e1f96dbf7d4775d" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_18.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_18.1.0.bb deleted file mode 100644 index c34693f5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_18.1.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-attrs.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb new file mode 100644 index 00000000..7ff8049e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "Classes Without Boilerplate" +HOMEPAGE = "http://www.attrs.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d4ab25949a73fe7d4fdee93bcbdbf8ff" + +SRC_URI[sha256sum] = "f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72" +SRC_URI[md5sum] = "5b2db50fcc31be34d32798183c9bd062" + +inherit pypi setuptools3 + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-ctypes \ +" +RDEPENDS_${PN}_class-nativesdk += " \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-ctypes \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-automat/0001-setup.py-remove-the-dependency-on-m2r.patch index c29b659b..c29b659b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-automat/0001-setup.py-remove-the-dependency-on-m2r.patch diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.7.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.7.0.bb deleted file mode 100644 index 2c747643..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.7.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-automat.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-automat.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.8.0.bb index f6cbb35c..f8981bcb 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-automat.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-automat_0.8.0.bb @@ -3,20 +3,17 @@ HOMEPAGE = "https://github.com/glyph/Automat" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477" -FILESEXTRAPATHS_prepend := "${THISDIR}/python-automat:" +SRC_URI[md5sum] = "47e980a48201a1dabe37fa11f0187013" +SRC_URI[sha256sum] = "269a09dfb063a3b078983f4976d83f0a0d3e6e7aaf8e27d8df1095e09dc4a484" -SRC_URI[md5sum] = "b72d5b7a83c2b1bd6e9ec3614a69f9ea" -SRC_URI[sha256sum] = "cbd78b83fa2d81fe2a4d23d258e1661dd7493c9a50ee2f1a5b2cac61c1793b0e" - -PYPI_PACKAGE = "Automat" - -inherit pypi +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" SRC_URI_append = " \ file://0001-setup.py-remove-the-dependency-on-m2r.patch \ " -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +PYPI_PACKAGE = "Automat" +inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-attrs \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.4.0.bb deleted file mode 100644 index c43649db..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.4.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-aws-iot-device-sdk-python.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.4.8.bb index 7423fa76..f763067c 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-aws-iot-device-sdk-python.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-aws-iot-device-sdk-python_1.4.8.bb @@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "\ file://AWSIoTPythonSDK/core/protocol/paho/client.py;endline=14;md5=5a3c8a1a4bb71bd934f450ecff972ad9 \ " -SRC_URI[md5sum] = "50a5c46410c2b44b5c09f1ea5eb15a3b" -SRC_URI[sha256sum] = "b3c8af3ce24eab861447a194f3c382509dd70e90452c86a5426f1e7272460177" +SRC_URI[md5sum] = "d05596f02774ea39517765c5dced874a" +SRC_URI[sha256sum] = "bcd68cb7fdb044dbd5e5d3a02c311b25717c0376168e7c992982130f19c51b03" -inherit pypi +inherit pypi setuptools3 PYPI_PACKAGE = "AWSIoTPythonSDK" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-babel_2.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-babel_2.6.0.bb deleted file mode 100644 index 0715d59f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-babel_2.6.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-babel.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-babel.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-babel_2.8.0.bb index 14b5a9f5..c69098b2 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-babel.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-babel_2.8.0.bb @@ -1,14 +1,14 @@ DESCRIPTION = "A collection of tools for internationalizing Python applications" HOMEPAGE = "http://babel.edgewall.org/" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=eebdc057dc12abcc2d6c4453628bfcd4" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=942469df9305abb1c59e95f778310384" -SRC_URI[md5sum] = "c384ac03026e8fe6f9b90f55201f1bff" -SRC_URI[sha256sum] = "8cba50f48c529ca3fa18cf81fa9403be176d374ac4d60738b839122dfaaa3d23" +SRC_URI[md5sum] = "6fad9772e75421969ddb41975483abdf" +SRC_URI[sha256sum] = "1aac2ae2d0d8ea368fa90906567f5c08463d98ade155c0c4bfedd6a0f7160e38" PYPI_PACKAGE = "Babel" -inherit pypi +inherit pypi setuptools3 CLEANBROKEN = "1" @@ -23,3 +23,5 @@ RDEPENDS_${PN} += " \ ${PYTHON_PN}-shell \ ${PYTHON_PN}-threading \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.1.bb new file mode 100644 index 00000000..c95a759a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-backports-functools-lru-cache_1.6.1.bb @@ -0,0 +1,19 @@ +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://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e" + +PYPI_PACKAGE = "backports.functools_lru_cache" + +SRC_URI[md5sum] = "103000b21a8e683647e2ce41929f2a9d" +SRC_URI[sha256sum] = "8fde5f188da2d593bd5bc0be98d9abc46c95bb8a9dde93429570192ee6cc2d4a" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-threading \ + " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb deleted file mode 100644 index 84f47614..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.4.0.bb +++ /dev/null @@ -1,12 +0,0 @@ -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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.6.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.6.2.bb new file mode 100644 index 00000000..fa28861e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bandit_1.6.2.bb @@ -0,0 +1,14 @@ +SUMMARY = "Security oriented static analyser for python code." +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +SRC_URI[md5sum] = "c6a6772d7afa0af8828b3384e73b7085" +SRC_URI[sha256sum] = "41e75315853507aa145d62a78a2a6c5e3240fe14ee7c601459d0df9418196065" + +DEPENDS = "python3-pbr-native python3-git python3-pbr python3-pyyaml python3-six python3-stevedore" + +inherit setuptools3 pypi + +RDEPENDS_${PN} += "python3-modules python3-git python3-pbr python3-pyyaml python3-six python3-stevedore" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bcrypt_3.1.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bcrypt_3.1.4.bb deleted file mode 100644 index d2ec9e38..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bcrypt_3.1.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-bcrypt.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-bcrypt.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bcrypt_3.1.7.bb index 44909697..0f2d31f5 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-bcrypt.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bcrypt_3.1.7.bb @@ -4,10 +4,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c" DEPENDS += "${PYTHON_PN}-cffi-native" -SRC_URI[md5sum] = "8408abc974446e64862a9742104e97b6" -SRC_URI[sha256sum] = "67ed1a374c9155ec0840214ce804616de49c3df9c5bc66740687c1c9b1cd9e8d" +SRC_URI[md5sum] = "5d6f93b575ce52470af37a8e7dce76fe" +SRC_URI[sha256sum] = "0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42" -inherit pypi +inherit pypi setuptools3 RDEPENDS_${PN}_class-target += "\ ${PYTHON_PN}-cffi \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb deleted file mode 100644 index d98df11e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-beautifulsoup4.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-beautifulsoup4.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.8.2.bb index d60d987c..63fbd095 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-beautifulsoup4.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.8.2.bb @@ -3,15 +3,15 @@ HOMEPAGE = " https://www.crummy.com/software/BeautifulSoup/bs4" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=f2d38d8a40bf73fd4b3d16ca2e5882d1" -SRC_URI[md5sum] = "c17714d0f91a23b708a592cb3c697728" -SRC_URI[sha256sum] = "808b6ac932dccb0a4126558f7dfdcf41710dd44a4ef497a0bb59a77f9f078e89" +SRC_URI[md5sum] = "5dbdb56c009e4632bae7bed1b385804b" +SRC_URI[sha256sum] = "05fd825eb01c290877657a56df4c6e4c311b3965bda790c613a3d6fb01a5462a" -inherit pypi +inherit pypi setuptools3 -RDEPENDS_${PN}_class-target = "\ - ${PYTHON_PN}-core \ +RDEPENDS_${PN} = "\ ${PYTHON_PN}-html5lib \ ${PYTHON_PN}-lxml \ + ${PYTHON_PN}-soupsieve \ " BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb index 1c55871b..a28e5273 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb @@ -1,2 +1,15 @@ -inherit setuptools3 -require python-behave.inc +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 setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-parse-type \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-six \ + " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_0.8.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_0.8.3.bb deleted file mode 100644 index 7ee444dc..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_0.8.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-bitarray.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.2.1.bb new file mode 100644 index 00000000..2bf2937d --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_1.2.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;md5=dc301a25ebe210dcc53b0a2d5a038eae" + +SRC_URI[md5sum] = "a46bf869f6adf34f5b0dc82b469793b7" +SRC_URI[sha256sum] = "2ed675f460bb0d3d66fd8042a6f1f0d36cf213e52e72a745283ddb245da7b9cf" + +inherit setuptools3 pypi + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker_1.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker_1.4.bb index 924b3cf5..e2f76c33 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker_1.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-blinker_1.4.bb @@ -1,2 +1,8 @@ +DESCRIPTION = "Fast, simple object-to-object and broadcast signaling." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=946d7e89af6f7733aeaebed5635d2682" + +SRC_URI[md5sum] = "8b3722381f83c2813c52de3016b68d33" +SRC_URI[sha256sum] = "471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6" + inherit pypi setuptools3 -require python-blinker.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb new file mode 100644 index 00000000..ebf7ba4e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb @@ -0,0 +1,14 @@ +SUMMARY = "Define boolean algebras, create and parse boolean expressions and create custom boolean DSL" +HOMEPAGE = "https://github.com/bastikr/boolean.py" + +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e319747a5eb94cddf646037c01ddba47" + +SRC_URI[md5sum] = "1189d115a38f84f5df743014926a9159" +SRC_URI[sha256sum] = "bd19b412435611ecc712603d0fd7d0e280e24698e7a6e3d5f610473870c5dd1e" + +PYPI_PACKAGE = "boolean.py" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb new file mode 100644 index 00000000..7c45ed33 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cachecontrol_0.12.6.bb @@ -0,0 +1,29 @@ +SUMMARY = "httplib2 caching for requests" +HOMEPAGE = "https://pypi.org/project/CacheControl/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6dc7e1b428eda03d850209fdbd6c71f1" + +# On PyPi, this is "CacheControl", rather than "cachecontrol", so we need to +# override PYPI_PACKAGE so fetch succeeds. +PYPI_PACKAGE = "CacheControl" + +SRC_URI[md5sum] = "5890b797f9b48b2b4cd1448cca89e396" +SRC_URI[sha256sum] = "be9aa45477a134aee56c8fac518627e1154df063e85f67d4f83ce0ccc23688e8" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + python3-crypt \ + python3-datetime \ + python3-email \ + python3-lockfile \ + python3-json \ + python3-logging \ + python3-msgpack \ + python3-netclient \ + python3-pickle \ + python3-requests \ + python3-urllib3 \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_4.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_4.1.0.bb new file mode 100644 index 00000000..7411a749 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_4.1.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "Extensible memoizing collections and decorators" +HOMEPAGE = "https://github.com/tkem/cachetools" +DESCRIPTION = "This module provides various memoizing \ +collections and decorators, including variants of the \ +Python 3 Standard Library @lru_cache function decorator." +SECTION = "devel/python" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2d1e1bf0ccb26126a230c51f997ce362" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "4468da43443115a00c02c126cf601ae0" +SRC_URI[sha256sum] = "1d057645db16ca7fe1f3bd953558897603d6f0b9c51ed9d11eb4d071ec4e2aab" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-can_2.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-can_2.2.1.bb deleted file mode 100644 index aaa9e811..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-can_2.2.1.bb +++ /dev/null @@ -1,7 +0,0 @@ -require python-can.inc -inherit pypi setuptools3 - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-codecs \ - ${PYTHON_PN}-compression \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-can_3.3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-can_3.3.2.bb new file mode 100644 index 00000000..698eaf5b --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-can_3.3.2.bb @@ -0,0 +1,26 @@ +SUMMARY = "Controller Area Network (CAN) interface module for Python" +SECTION = "devel/python" +LICENSE = "LGPLv3" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02" + +SRC_URI[md5sum] = "b724553a330478270267380b4888a18e" +SRC_URI[sha256sum] = "5fefb5c1e7e7f07faefc02c6eac79f9b58376f007048a04d8e7f325d48ec6b2e" + +PYPI_PACKAGE="python-can" + +inherit pypi setuptools3 + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-aenum \ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-codecs \ + ${PYTHON_PN}-compression \ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-misc \ + ${PYTHON_PN}-netserver \ + ${PYTHON_PN}-sqlite3 \ + ${PYTHON_PN}-wrapt \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.14.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.14.0.bb index 34f149d3..768e557b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.14.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.14.0.bb @@ -1,8 +1,35 @@ -inherit setuptools3 -require python-cassandra-driver.inc +SUMMARY = "DataStax Python Driver for Apache Cassandra" +DESCRIPTION = "A modern, feature-rich and highly-tunable Python client \ +library for Apache Cassandra (1.2+) and DataStax Enterprise (3.1+) using \ +exclusively Cassandra's binary protocol and Cassandra Query Language v3." +HOMEPAGE = "https://github.com/datastax/python-driver" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" +SRCNAME = "cassandra-driver" -# Requires concurrent which is currently in -misc -RDEPENDS_${PN} += " \ +SRC_URI[md5sum] = "c5bed026bf48c821424c1f6296193908" +SRC_URI[sha256sum] = "b65218e2582277f5b77d1436e420db8616f63e3437a9e839cdcd7172d760e861" + +DISTUTILS_BUILD_ARGS += " \ + --no-libev \ +" +DISTUTILS_INSTALL_ARGS += " \ + --no-libev \ +" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-cython \ + ${PYTHON_PN}-json \ ${PYTHON_PN}-misc \ + ${PYTHON_PN}-multiprocessing \ ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-six \ + libevent \ +" + +DEPENDS += "\ + ${PYTHON_PN}-cython \ " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-certifi_2018.8.13.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-certifi_2018.8.13.bb deleted file mode 100644 index 70f674b2..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-certifi_2018.8.13.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-certifi.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-certifi.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-certifi_2019.11.28.bb index c7955c57..c9e945f2 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-certifi.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-certifi_2019.11.28.bb @@ -7,7 +7,9 @@ HOMEPAGE = " http://certifi.io/" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=f77f61d14ee6feac4228d3ebd26cc1f1" -SRC_URI[md5sum] = "a84571995a209dcd00a1702a74302b88" -SRC_URI[sha256sum] = "4c1d68a1408dd090d2f3a869aa94c3947cc1d967821d1ed303208c9f41f0f2f4" +SRC_URI[md5sum] = "4d5229c4d9f0a4a79106f9e2c2cfd381" +SRC_URI[sha256sum] = "25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f" + +inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cffi_1.11.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cffi_1.11.5.bb deleted file mode 100644 index e8880843..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cffi_1.11.5.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-cffi.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cffi.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cffi_1.14.0.bb index e6071eec..53c8ee26 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cffi.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cffi_1.14.0.bb @@ -4,12 +4,15 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=5677e2fdbf7cdda61d6dd2b57df547bf" DEPENDS += "libffi ${PYTHON_PN}-pycparser" -SRC_URI[md5sum] = "ac8492f4ad952360737413e82d661908" -SRC_URI[sha256sum] = "e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4" +SRC_URI[md5sum] = "74845f8d2b7b583dd9a3574f402edf39" +SRC_URI[sha256sum] = "2d384f4a127a15ba701207f7639d94106693b6cd64173d6c8988e2c25f3ac2b6" + +inherit pypi setuptools3 RDEPENDS_${PN}_class-target = " \ ${PYTHON_PN}-ctypes \ ${PYTHON_PN}-io \ + ${PYTHON_PN}-pycparser \ ${PYTHON_PN}-shell \ " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb index 38d8122c..80785b8d 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-chardet_3.0.4.bb @@ -1,7 +1,24 @@ -inherit setuptools3 -require python-chardet.inc +SUMMARY = "Universal encoding detector for Python 2 and 3" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343" -do_install_append () { - # rename scripts that would conflict with the Python 2 build of chardet - mv ${D}${bindir}/chardetect ${D}${bindir}/chardetect3 -} +SRC_URI[md5sum] = "7dd1ba7f9c77e32351b0a0cfacf4055c" +SRC_URI[sha256sum] = "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae" + +# setup.py of chardet needs this. +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + +inherit pypi setuptools3 + +PACKAGES =+ "${PN}-cli" +FILES_${PN}-cli += " \ + ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \ +" + +RDEPENDS_${PN}-cli = "${PN} " + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-logging \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.4.bb new file mode 100644 index 00000000..05882d08 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.4.bb @@ -0,0 +1,14 @@ +SUMMARY = "Python template engine and code generation tool" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=15e13a4ed0e5880e3e55ec88b0921181" + +PYPI_PACKAGE = "Cheetah3" +inherit pypi setuptools3 + +RDEPENDS_${PN} = "python3-pickle python3-pprint" +RDEPENDS_${PN}_class-native = "" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI[md5sum] = "8c0ac643263ffc3454fb321342284d0a" +SRC_URI[sha256sum] = "caabb9c22961a3413ac85cd1e5525ec9ca80daeba6555f4f60802b6c256e252b" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-click_6.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-click_6.7.bb deleted file mode 100644 index 19206440..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-click_6.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-click.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-click.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-click_7.0.bb index c81545b1..cfa3e0fe 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-click.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-click_7.0.bb @@ -5,11 +5,14 @@ in a composable way with as little code as necessary. It's the "Command \ Line Interface Creation Kit". It's highly configurable but comes with \ sensible defaults out of the box." HOMEPAGE = "http://click.pocoo.org/" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=09e8b7869f94ba9e9a7b260d53c65dab" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=c13ed890b210a882c1778216694c98c7" -SRC_URI[md5sum] = "fc4cc00c4863833230d3af92af48abd4" -SRC_URI[sha256sum] = "f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b" +SRC_URI[md5sum] = "7f53d50f7b7373ebc7963f9ff697450a" +SRC_URI[sha256sum] = "5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7" + +PYPI_PACKAGE = "Click" +inherit pypi setuptools3 UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_0.9.23.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_0.9.23.bb new file mode 100644 index 00000000..803ca4a4 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_0.9.23.bb @@ -0,0 +1,20 @@ +SUMMARY = "Extra features for standard library's cmd module" +HOMEPAGE = "http://packages.python.org/cmd2/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9791cd24ca7d1807388ccd55cd066def" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +SRC_URI[md5sum] = "6db66a06210d5f1edb44693b887ed62b" +SRC_URI[sha256sum] = "8ad12ef3cc46d03073c545b6e80a3f84a5921f6653073a60e7d9a7ff3b352c9e" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-attrs \ + ${PYTHON_PN}-colorama \ + ${PYTHON_PN}-pyperclip \ + ${PYTHON_PN}-wcwidth \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-colorama_0.4.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-colorama_0.4.3.bb new file mode 100644 index 00000000..7a3f533f --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-colorama_0.4.3.bb @@ -0,0 +1,10 @@ +SUMMARY = "Cross-platform colored terminal text." +HOMEPAGE = "https://github.com/tartley/colorama" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "02daee502863d24112a8c05a5d69a612" +SRC_URI[sha256sum] = "e96da0d330793e2cb9485e9ddfd918d456036c7149416295932478192f4436a1" + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb new file mode 100644 index 00000000..88fac87c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-coloredlogs_10.0.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "Colored terminal output for Python's logging module" +HOMEPAGE = "https://coloredlogs.readthedocs.io" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=690da298a43805797a4fa7bbe180b3c6" + +SRC_URI[md5sum] = "0a186966a1955fff8cf9489373e691d9" +SRC_URI[sha256sum] = "b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36" + +inherit pypi setuptools3 + +do_compile_prepend() { + sed -ie "s/find_pth_directory(),/'',/g" ${S}/setup.py +} + +do_install_append() { + rm -rf ${D}${datadir} +} + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-humanfriendly \ +" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-colorlog_4.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-colorlog_4.1.0.bb new file mode 100644 index 00000000..ea4c575e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-colorlog_4.1.0.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "A colored formatter for the python logging module" +HOMEPAGE = "https://github.com/borntyping/python-colorlog" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README.md;md5=05592f7a5b83bfc756f62dbd70a9b9b5" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "colorlog" + +SRC_URI[md5sum] = "25f79b76421132e2a9e08da15e4e0a73" +SRC_URI[sha256sum] = "30aaef5ab2a1873dec5da38fd6ba568fa761c9fa10b40241027fa3edea47f3d2" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_0.15.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_0.15.1.bb new file mode 100644 index 00000000..0797898a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_0.15.1.bb @@ -0,0 +1,22 @@ +SUMMARY = "A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables." +HOMEPAGE = "https://github.com/bw2/ConfigArgParse" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=da746463714cc35999ed9a42339f2943" + +SRC_URI[md5sum] = "aba15b7973b7a70bea86fd69289f8fe3" +SRC_URI[sha256sum] = "baaf0fd2c1c108d007f402dab5481ac5f12d77d034825bf5a27f8224757bd0ac" + +PYPI_PACKAGE = "ConfigArgParse" + +inherit pypi setuptools3 + +PACKAGECONFIG ?= "yaml" +PACKAGECONFIG[yaml] = ",,,${PYTHON_PN}-pyyaml" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-shell \ +" + +BBCLASSEXTEND = "native nativesdk" + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configparser_3.5.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configparser_3.5.0.bb deleted file mode 100644 index 770cba59..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configparser_3.5.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-configparser.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configparser_4.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configparser_4.0.2.bb new file mode 100644 index 00000000..19666092 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configparser_4.0.2.bb @@ -0,0 +1,14 @@ +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" + +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=10;endline=10;md5=23f9ad5cad3d8cc0336e2a5d8a87e1fa" + +SRC_URI[md5sum] = "35926cc4b9133f1f9ca70a1fd2fdf237" +SRC_URI[sha256sum] = "c7d282687a5308319bf3d2e7706e575c635b0a470342641c93bea0ea3b5331df" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.28.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.28.bb new file mode 100644 index 00000000..2d9ec079 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.28.bb @@ -0,0 +1,16 @@ +SUMMARY = "A Python library for building configuration shells" +DESCRIPTION = "configshell-fb is a Python library that provides a framework for \ +building simple but nice CLI-based applications. This runs with Python 2 and \ +2to3 is run by setup.py to run on Python 3." + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +SRC_URI = "git://github.com/open-iscsi/configshell-fb.git;protocol=https;branch=master" +SRCREV = "da8f0cef114e7343a7ae96ff1db7c8c574f819be" + +S = "${WORKDIR}/git" + +inherit setuptools3 + +RDEPENDS_${PN} += "python3-modules python3-fcntl python3-six" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-constantly_15.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-constantly_15.1.0.bb index 3f667540..ad24f6de 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-constantly_15.1.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-constantly_15.1.0.bb @@ -1,2 +1,11 @@ -inherit setuptools3 -require python-constantly.inc +DESCRIPTION = "Symbolic constants in Python" +HOMEPAGE = "https://github.com/twisted/constantly" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e393e4ddd223e3a74982efa784f89fd7" + +SRC_URI[md5sum] = "f0762f083d83039758e53f8cf0086eef" +SRC_URI[sha256sum] = "586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-json" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-contextlib2_0.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-contextlib2_0.6.0.bb new file mode 100644 index 00000000..6074efa7 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-contextlib2_0.6.0.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Backports and enhancements for the contextlib module" +HOMEPAGE = "http://contextlib2.readthedocs.org/" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=43d1c7827e8fad6454b553caf0e1d734" + +SRC_URI[md5sum] = "d03a631073b40073b5c41364ad8f5979" +SRC_URI[sha256sum] = "7197aa736777caac513dbd800944c209a49765bf1979b12b037dce0277077ed3" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_4.4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.0.2.bb index c983e0b5..9407278e 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_4.4.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_5.0.2.bb @@ -3,8 +3,8 @@ HOMEPAGE = "https://coverage.readthedocs.io" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" -SRC_URI[md5sum] = "29a9fe85377e0f7327cf5db1e335483f" -SRC_URI[sha256sum] = "309d91bd7a35063ec7a0e4d75645488bfab3f0b66373e7722f23da7f5b0f34cc" +SRC_URI[md5sum] = "876be562bc78deac6fc2a06ee4a6d551" +SRC_URI[sha256sum] = "b251c7092cbb6d789d62dc9c9e7c4fb448c9138b51285c36aeb72462cad3600e" inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb index 6996b13d..14a344f7 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-crcmod_1.7.bb @@ -1,2 +1,14 @@ -inherit setuptools3 -require python-crcmod.inc +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 setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-unittest" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.3.bb deleted file mode 100644 index 58994fff..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.3.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-cryptography-vectors.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb index d1e254b4..948aab9e 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography-vectors.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography-vectors_2.8.bb @@ -4,15 +4,17 @@ SECTION = "devel/python" LICENSE = "Apache-2.0 | BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4" +SRC_URI[md5sum] = "a744ed29bb9ef56b3a50317fea3b218e" +SRC_URI[sha256sum] = "6cd32174c56a3eca72f64af43c1daacaae758cfa5ff9d280dfcf818fa11ef116" + +PYPI_PACKAGE = "cryptography_vectors" + +inherit pypi setuptools3 + DEPENDS += " \ ${PYTHON_PN}-cryptography \ " -SRC_URI[md5sum] = "294d44f32885a6b97d5f9cdd7ffc73a3" -SRC_URI[sha256sum] = "356a2ded84ae379e556515eec9b68dd74957651a38465d10605bb9fbae280f15" - -PYPI_PACKAGE = "cryptography_vectors" - BBCLASSEXTEND = "native nativesdk" UPSTREAM_CHECK_REGEX = "" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography_2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography_2.3.bb deleted file mode 100644 index 19592334..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography_2.3.bb +++ /dev/null @@ -1,8 +0,0 @@ -inherit pypi setuptools3 -require python-cryptography.inc - -LDSHARED += "-pthread" - -SRC_URI += " \ - file://run-ptest \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb index dbbfe2cb..c75dabb9 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb @@ -1,8 +1,20 @@ SUMMARY = "Provides cryptographic recipes and primitives to python developers" HOMEPAGE = "https://cryptography.io/" +SECTION = "devel/python" LICENSE = "Apache-2.0 | BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124" +LDSHARED += "-pthread" + +SRC_URI[md5sum] = "77730058b556c6d9838679a94c6229ce" +SRC_URI[sha256sum] = "3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02871651" + +SRC_URI += " \ + file://run-ptest \ +" + +inherit pypi setuptools3 + DEPENDS += " \ ${PYTHON_PN}-cffi \ ${PYTHON_PN}-cffi-native \ @@ -10,14 +22,10 @@ DEPENDS += " \ ${PYTHON_PN}-six \ " -SRC_URI[md5sum] = "a0f3f563ab1c5c3bc02fae8d4aa3ad16" -SRC_URI[sha256sum] = "c132bab45d4bd0fff1d3fe294d92b0a6eb8404e93337b3127bdec9f21de117e6" - RDEPENDS_${PN} += " \ ${PYTHON_PN}-cffi \ ${PYTHON_PN}-idna \ ${PYTHON_PN}-asn1crypto \ - ${PYTHON_PN}-pycparser \ ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-six \ " @@ -27,7 +35,6 @@ RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-idna \ ${PYTHON_PN}-numbers \ ${PYTHON_PN}-asn1crypto \ - ${PYTHON_PN}-pycparser \ ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-six \ ${PYTHON_PN}-threading \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cycler_0.10.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cycler_0.10.0.bb new file mode 100644 index 00000000..cd21be8a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cycler_0.10.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "Composable style cycles" +HOMEPAGE = "http://github.com/matplotlib/cycler" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7713fe42cd766b15c710e19392bfa811" + +SRC_URI[md5sum] = "4cb42917ac5007d1cdff6cccfe2d016b" +SRC_URI[sha256sum] = "cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + python3-core \ + python3-six \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cython_0.28.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cython_0.29.14.bb index 2ce6bdbd..2ce6bdbd 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cython_0.28.5.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-cython_0.29.14.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.7.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.8.1.bb index 1d2baf55..1d2baf55 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.7.3.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.8.1.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.1.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.1.2.bb new file mode 100644 index 00000000..2784013a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.1.2.bb @@ -0,0 +1,13 @@ +SUMMARY = "A zero-dependency DBus library for Python with asyncio support" +HOMEPAGE = "https://github.com/acrisci/python-dbus-next" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b32e18a71bcdd072bce21f204629a104" + +SRC_URI[md5sum] = "df838d695284dd1775860f9691a8663f" +SRC_URI[sha256sum] = "a567d845ceed5feac48dda7faeb9ff2571f9a434a3c32b9b363f763e82368762" + +PYPI_PACKAGE = "dbus_next" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch index c4d81784..c4d81784 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dbusmock/0002-Add-possibility-to-import-templates-from-packages.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbusmock/0002-Add-possibility-to-import-templates-from-packages.patch index 06ab1f05..06ab1f05 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dbusmock/0002-Add-possibility-to-import-templates-from-packages.patch +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbusmock/0002-Add-possibility-to-import-templates-from-packages.patch diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dbusmock_0.16.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbusmock_0.16.7.bb index ec8c54aa..cd760ab8 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dbusmock_0.16.7.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbusmock_0.16.7.bb @@ -16,7 +16,7 @@ SRC_URI += " \ PYPI_PACKAGE = "python-dbusmock" -inherit pypi setuptools +inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-dbus \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbussy_1.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbussy_1.2.1.bb new file mode 100644 index 00000000..ac4b8c2a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dbussy_1.2.1.bb @@ -0,0 +1,22 @@ +SUMMARY = "language bindings for libdbus, for Python 3.5 or later" +HOMEPAGE = "https://github.com/ldo/dbussy" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" + +SRC_URI = "git://github.com/ldo/dbussy.git" + +SRCREV = "d0ec0223f3797e1612d835e71694a1083881149f" + +S = "${WORKDIR}/git" + +inherit distutils3 + +RDEPENDS_${PN} += "\ + python3-asyncio \ + python3-core \ + python3-ctypes \ + python3-xml \ +" + +BBCLASSEXTEND = "native nativesdk" + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-decorator_4.3.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-decorator_4.4.2.bb index 844cbdc9..844cbdc9 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-decorator_4.3.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-decorator_4.4.2.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-defusedxml_0.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-defusedxml_0.6.0.bb new file mode 100644 index 00000000..d041d0e6 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-defusedxml_0.6.0.bb @@ -0,0 +1,11 @@ +SUMMARY = "XML bomb protection for Python stdlib modules" +DESCRIPTION = "Python package with modified subclasses of all stdlib XML \ +parsers that prevent any potentially malicious operation." + +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=056fea6a4b395a24d0d278bf5c80249e" + +SRC_URI[md5sum] = "a59741f675c4cba649de40a99f732897" +SRC_URI[sha256sum] = "f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-distro_1.5.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-distro_1.5.0.bb new file mode 100644 index 00000000..aaaee0de --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-distro_1.5.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Distro is an OS platform information API" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" + +PYPI_PACKAGE = "distro" + +SRC_URI[md5sum] = "0ed68b4064709bdaaf6cce69780ddc51" +SRC_URI[sha256sum] = "0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-django_1.11.14.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-django_1.11.14.bb deleted file mode 100644 index e1e38c32..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-django_1.11.14.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-django.inc -inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-django_2.2.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-django_2.2.7.bb new file mode 100644 index 00000000..e56453ab --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-django_2.2.7.bb @@ -0,0 +1,9 @@ +require python-django.inc +inherit setuptools3 + +SRC_URI[md5sum] = "b0833024aac4c8240467e4dc91a12e9b" +SRC_URI[sha256sum] = "16040e1288c6c9f68c6da2fe75ebde83c0a158f6f5d54f4c5177b0c1478c5b86" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-sqlparse \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython_1.15.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython_1.16.0.bb index ce4dfdc7..ce4dfdc7 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython_1.15.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython_1.16.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb deleted file mode 100644 index 5304ccc1..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.3.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-dominate.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dominate.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.5.1.bb index ecf74a0b..dd8c5960 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-dominate.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dominate_2.5.1.bb @@ -2,8 +2,10 @@ SUMMARY = "Dominate is a Python library for creating and manipulating HTML docum LICENSE = "LGPLv3" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" -SRC_URI[md5sum] = "45bd97e6f7888aac24ae86013c57638e" -SRC_URI[sha256sum] = "4b8ce6f33633c9dd9175b228d21c00c801b6bd0327747cd5e17fc2da934c3a69" +SRC_URI[md5sum] = "35eeb6b5587c8c9a51cd22c83e07ac49" +SRC_URI[sha256sum] = "9b05481605ea8c0afd0a98c0156a9fb78d9c406368d66b3e6fedf36920fb9d78" + +inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-numbers \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dt-schema_git.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dt-schema_git.bb new file mode 100644 index 00000000..06a9012c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-dt-schema_git.bb @@ -0,0 +1,15 @@ +SUMMARY = "Tooling for devicetree validation using YAML and jsonschema" +AUTHOR = "Rob Herring" + +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://setup.py;beginline=2;endline=3;md5=c795d4924c5f739424fa8d9b569c6659" + +inherit setuptools3 + +SRC_URI = "git://github.com/robherring/dt-schema.git" +SRCREV = "5009e47c1c76e48871f5988e08dad61f3c91196b" +PV = "0.1+git${SRCPV}" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN} = "python3-jsonschema python3-ruamel-yaml" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-editor_1.0.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb index 8ad2b869..8ad2b869 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-editor_1.0.3.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-engineio_3.12.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-engineio_3.12.1.bb new file mode 100644 index 00000000..028d1104 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-engineio_3.12.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-engineio.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_1.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_1.0.1.bb new file mode 100644 index 00000000..cfff150c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_1.0.1.bb @@ -0,0 +1,20 @@ +SUMMARY = "et_xmlfile is a low memory library for creating large XML files" +DESCRIPTION = "It is based upon the xmlfile module from lxml with the aim of allowing code \ +to be developed that will work with both libraries. It was developed initially for \ +the openpyxl project but is now a standalone module." + +HOMEPAGE = "https://bitbucket.org/openpyxl/et_xmlfile/src/default/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b3d89cae66f26c3a0799be8a96f3178b" + +SRC_URI[md5sum] = "f47940fd9d556375420b2e276476cfaf" +SRC_URI[sha256sum] = "614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b" + +RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell" + +inherit setuptools3 +PYPI_PACKAGE ?= "et_xmlfile" +PYPI_SRC_URI ?= "https://files.pythonhosted.org/packages/source/e/et_xmlfile/et_xmlfile-1.0.1.tar.gz" +SECTION = "devel/python" +SRC_URI += "${PYPI_SRC_URI}" +S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-evdev_0.7.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb index 3a92b6ec..d87bf2fe 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-evdev_0.7.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-evdev_1.3.0.bb @@ -1,2 +1,3 @@ inherit pypi setuptools3 require python-evdev.inc + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-fann2/0001-setup.py-Don-t-hardcode-swig-and-fann2-binary-locati.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-fann2/0001-setup.py-Don-t-hardcode-swig-and-fann2-binary-locati.patch new file mode 100644 index 00000000..cbc838f0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-fann2/0001-setup.py-Don-t-hardcode-swig-and-fann2-binary-locati.patch @@ -0,0 +1,28 @@ +From 85307f592c7cb87af162cca4b121b874108b7754 Mon Sep 17 00:00:00 2001 +From: Alistair Francis <alistair.francis@wdc.com> +Date: Tue, 2 Apr 2019 11:25:15 -0700 +Subject: [PATCH] setup.py: Don't hardcode swig and fann2 binary locations + +Upstream-Status: Inappropriate [configuration] +Signed-off-by: Alistair Francis <alistair.francis@wdc.com> +--- + setup.py | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/setup.py b/setup.py +index 37af7c7..8e416f2 100755 +--- a/setup.py ++++ b/setup.py +@@ -81,11 +81,8 @@ def find_swig(): + + def build_swig(): + '''Run SWIG with specified parameters''' +- print("Looking for FANN libs...") +- find_fann() +- print("running SWIG...") + swig_bin = find_swig() +- swig_cmd = [swig_bin, '-c++', '-python', 'fann2/fann2.i'] ++ swig_cmd = ['swig', '-c++', '-python', 'fann2/fann2.i'] + subprocess.Popen(swig_cmd).wait() + + if "sdist" not in sys.argv: diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb new file mode 100644 index 00000000..a04c961f --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-fann2_1.1.2.bb @@ -0,0 +1,4 @@ +require python-fann2.inc +inherit pypi setuptools3 + +SRC_URI += " file://0001-setup.py-Don-t-hardcode-swig-and-fann2-binary-locati.patch" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-fasteners_0.15.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-fasteners_0.15.bb new file mode 100644 index 00000000..8786a148 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-fasteners_0.15.bb @@ -0,0 +1,9 @@ +SUMMARY = "A python package that provides useful locks." +HOMEPAGE = "https://github.com/harlowja/fasteners" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52" + +SRC_URI[md5sum] = "440f8ab461c8fed941355860d8669556" +SRC_URI[sha256sum] = "3a176da6b70df9bb88498e1a18a9e4a8579ed5b9141207762368a1017bf8f5ef" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_0.11.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb index 104e7c28..104e7c28 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_0.11.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb new file mode 100644 index 00000000..5d7e9b51 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "A Flask extension adding a decorator for JSONP support" +HOMEPAGE = "https://github.com/CoryDolphin/flask-jsonpify" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README.rst;md5=bd59445a234a0c8250b39178d42e3148" + +PYPI_PACKAGE = "Flask-Jsonpify" + +SRC_URI[md5sum] = "8a10e37942c43d93d107644a3fe77d98" +SRC_URI[sha256sum] = "8ac4c732aa5b11d9f6c2de58065d3b669f139518ca8f529bce943817e2fedbfb" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-flask" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb new file mode 100644 index 00000000..779a2e25 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "JWT token authentication for Flask apps" +HOMEPAGE = "https://github.com/mattupstate/flask-jwt" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ff00db41c47ec84b4567a8b3c246a959" + +PYPI_PACKAGE = "Flask-JWT" + +SRC_URI[md5sum] = "878ad79a12afa70ad38a12d5ffd2dc1e" +SRC_URI[sha256sum] = "49c0672fbde0f1cd3374bd834918d28956e3c521c7e00089cdc5380d323bd0ad" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-pyjwt ${PYTHON_PN}-flask" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_2.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_2.5.2.bb index c98cbfdd..c98cbfdd 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_2.2.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_2.5.2.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_0.5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb index 2102554b..2102554b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_0.5.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_2.3.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.7.bb index 6bff59a5..6bff59a5 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.6.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.7.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_4.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_4.2.1.bb new file mode 100644 index 00000000..ffc4aa7f --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_4.2.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-flask-socketio.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.4.1.bb index 07f45bcf..07f45bcf 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.3.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_2.4.1.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_1.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_1.1.1.bb index cd439900..cd439900 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_1.0.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-flask_1.1.1.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-future_0.16.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-future_0.18.2.bb index f059186b..f059186b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-future_0.16.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-future_0.18.2.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gast_0.2.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gast_0.2.2.bb new file mode 100644 index 00000000..6e08a199 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gast_0.2.2.bb @@ -0,0 +1,14 @@ +SUMMARY = "A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST)." +HOMEPAGE = "https://github.com/serge-sans-paille/gast" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a3ad9b6802e713fc5e307e1230f1ea90" + +SRC_URI = "git://github.com/serge-sans-paille/gast.git" +SRCREV ?= "ed82e2a507505c6b18eb665d3738b6c0602da5e7" + +inherit setuptools3 + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb new file mode 100644 index 00000000..7c3c23b2 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-geojson_2.5.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Python bindings and utilities for GeoJSON" +HOMEPAGE = "https://pypi.org/project/geojson/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f48972abe5cddee79e301574742ed745" + +SRC_URI[md5sum] = "14753ed28678828b1de73f68b04e2324" +SRC_URI[sha256sum] = "6e4bb7ace4226a45d9c8c8b1348b3fc43540658359f93c3f7e03efa9f15f658a" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-simplejson python3-math" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent_1.2.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb index 1f172e58..df688e42 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent_1.2.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb @@ -1,3 +1,2 @@ require python-gevent.inc inherit setuptools3 - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gmqtt_0.6.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gmqtt_0.6.5.bb new file mode 100644 index 00000000..379c7679 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gmqtt_0.6.5.bb @@ -0,0 +1,21 @@ +SUMMARY = "Client for MQTT protocol" +HOMEPAGE = "https://github.com/wialon/gmqtt" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=903f1792621a3b35ee546da75d139177" + +SRC_URI[md5sum] = "9388ec09b6536c4e68c5ac5c31de3dc9" +SRC_URI[sha256sum] = "c12b2d7d5a90f3304b7291b1d9d21df47e228dfb4ff990e965008fdd1a55ce60" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + python3-asyncio \ + python3-core \ + python3-datetime \ + python3-json \ + python3-logging \ + python3-netclient \ + python3-typing \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_1.7.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_1.7.11.bb new file mode 100644 index 00000000..25e3b9c3 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_1.7.11.bb @@ -0,0 +1,9 @@ +SUMMARY = "The Google API Client for Python is a client library for accessing the Plus, Moderator, and many other Google APIs." +HOMEPAGE = "https://github.com/googleapis/google-api-python-client" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=94023d14f6b58272fd885e4e3f2f08b3" + +SRC_URI[md5sum] = "6e28e8caf2e4d55ed5b7c48a538a61c9" +SRC_URI[sha256sum] = "a8a88174f66d92aed7ebbd73744c2c319b4b1ce828e565f9ec721352d2e2fb8c" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_0.4.14.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_0.4.15.bb index 1aedf7fa..1aedf7fa 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_0.4.14.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_0.4.15.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-Fix-build-on-riscv32.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-Fix-build-on-riscv32.patch new file mode 100644 index 00000000..920fc116 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-Fix-build-on-riscv32.patch @@ -0,0 +1,65 @@ +From 04e28fdda03b545a0f7b446a784ec2fa7249cbb8 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Wed, 29 Apr 2020 15:37:40 -0700 +Subject: [PATCH] Fix build on riscv32 + +Define __NR_mmap in terms of __NR_mmap2 and __NR_futex interms of +__NR_futex_time64 for rv32, since there calls dont exist for rv32 + +Also recognise rv32 as a new 32bit platform + +Upstream-Status: Submitted [https://github.com/abseil/abseil-cpp/pull/675] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + absl/base/internal/direct_mmap.h | 5 +++++ + absl/base/internal/spinlock_linux.inc | 4 ++++ + absl/synchronization/internal/waiter.cc | 4 ++++ + 3 files changed, 13 insertions(+) + +--- a/third_party/abseil-cpp/absl/base/internal/direct_mmap.h ++++ b/third_party/abseil-cpp/absl/base/internal/direct_mmap.h +@@ -26,6 +26,10 @@ + + #ifdef __linux__ + ++#if !defined(__NR_mmap) && defined(__riscv) && __riscv_xlen == 32 ++# define __NR_mmap __NR_mmap2 ++#endif ++ + #include <sys/types.h> + #ifdef __BIONIC__ + #include <sys/syscall.h> +@@ -72,6 +76,7 @@ inline void* DirectMmap(void* start, siz + #if defined(__i386__) || defined(__ARM_ARCH_3__) || defined(__ARM_EABI__) || \ + (defined(__mips__) && _MIPS_SIM == _MIPS_SIM_ABI32) || \ + (defined(__PPC__) && !defined(__PPC64__)) || \ ++ (defined(__riscv) && __riscv_xlen == 32) || \ + (defined(__s390__) && !defined(__s390x__)) + // On these architectures, implement mmap with mmap2. + static int pagesize = 0; +--- a/third_party/abseil-cpp/absl/base/internal/spinlock_linux.inc ++++ b/third_party/abseil-cpp/absl/base/internal/spinlock_linux.inc +@@ -14,6 +14,10 @@ + // + // This file is a Linux-specific part of spinlock_wait.cc + ++#if !defined(__NR_futex) && defined(__riscv) && __riscv_xlen == 32 ++# define __NR_futex __NR_futex_time64 ++#endif ++ + #include <linux/futex.h> + #include <sys/syscall.h> + #include <unistd.h> +--- a/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc ++++ b/third_party/abseil-cpp/absl/synchronization/internal/waiter.cc +@@ -24,6 +24,10 @@ + #include <unistd.h> + #endif + ++#if !defined(__NR_futex) && defined(__riscv) && __riscv_xlen == 32 ++# define __NR_futex __NR_futex_time64 ++#endif ++ + #ifdef __linux__ + #include <linux/futex.h> + #include <sys/syscall.h> diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch new file mode 100644 index 00000000..bff50a0a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch @@ -0,0 +1,74 @@ +From 2ef8a85933f3ac36b289979ff9edd49dd12d0d16 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 4 Aug 2017 09:04:07 -0700 +Subject: [PATCH] setup.py: Do not mix C and C++ compiler options + +EXTRA_ENV_COMPILE_ARGS is used both with CC and CXX +so using -std=c++11 or -std=gnu99 together will cause +build time errors espcially with clang + +error: invalid argument '-std=gnu99' not allowed with 'C++' + +gcc7 ( defaults are -std=gnu11 and -std=gnu++14 ) + as well clang default to these standards mode or newer +anyway + +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +1. Keep '-std=c++11' and '-std=gnu99' to fix native build error +with old gcc (such as gcc 5.4.0 on ubuntu 16.04), for clang +we will remove them through GRPC_PYTHON_CFLAGS at do_compile +in bb recipe. + +2. While export CC="gcc ", cc_args is None, it will +cause subprocess.Popen always return 1. On centos 8, if you don't +install package libatomic, there will be a native build error +`cannot find /usr/lib64/libatomic.so.1.2.0'. + +Add no harm '-g' to cc_args if cc_args is empty. + +Upstream-Status: Inappropriate [oe specific] +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + setup.py | 6 +++++- + src/python/grpcio/commands.py | 5 ++++- + 2 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index e950057..1b68221 100644 +--- a/setup.py ++++ b/setup.py +@@ -144,9 +144,13 @@ ENABLE_DOCUMENTATION_BUILD = os.environ.get( + + def check_linker_need_libatomic(): + """Test if linker on system needs libatomic.""" ++ compiler, cc_args = os.environ.get('CC').split(' ', 1) or 'gcc' ++ if not cc_args: ++ cc_args = "-g" ++ + code_test = (b'#include <atomic>\n' + + b'int main() { return std::atomic<int64_t>{}; }') +- cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'], ++ cc_test = subprocess.Popen([compiler, cc_args, '-x', 'c++', '-std=c++11', '-'], + stdin=PIPE, + stdout=PIPE, + stderr=PIPE) +diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py +index 064dda9..a75d8b9 100644 +--- a/src/python/grpcio/commands.py ++++ b/src/python/grpcio/commands.py +@@ -216,7 +216,10 @@ class BuildExt(build_ext.build_ext): + when invoked in C mode. GCC is okay with this, while clang is not. + """ + # TODO(lidiz) Remove the generated a.out for success tests. +- cc_test = subprocess.Popen(['cc', '-x', 'c', '-std=c++11', '-'], ++ compiler, cc_args = os.environ.get('CC').split(' ', 1) or 'gcc' ++ if not cc_args: ++ cc_args = "-g" ++ cc_test = subprocess.Popen([compiler, cc_args, '-x', 'c', '-std=c++11', '-'], + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) +-- +2.7.4 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch new file mode 100644 index 00000000..8ac2aef8 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/ppc-boringssl-support.patch @@ -0,0 +1,17 @@ +Let boringSSL compile on ppc32 bit + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +--- a/third_party/boringssl/include/openssl/base.h ++++ b/third_party/boringssl/include/openssl/base.h +@@ -99,6 +99,9 @@ extern "C" { + #elif (defined(__PPC64__) || defined(__powerpc64__)) && defined(_LITTLE_ENDIAN) + #define OPENSSL_64_BIT + #define OPENSSL_PPC64LE ++#elif (defined(__PPC__) || defined(__powerpc__)) ++#define OPENSSL_32_BIT ++#define OPENSSL_PPC + #elif defined(__mips__) && !defined(__LP64__) + #define OPENSSL_32_BIT + #define OPENSSL_MIPS diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch new file mode 100644 index 00000000..8c9ffa21 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch @@ -0,0 +1,21 @@ +Add RISC-V 64bit support + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- a/third_party/boringssl/include/openssl/base.h ++++ b/third_party/boringssl/include/openssl/base.h +@@ -108,6 +108,14 @@ extern "C" { + #elif defined(__mips__) && defined(__LP64__) + #define OPENSSL_64_BIT + #define OPENSSL_MIPS64 ++#elif defined(__riscv) ++# if (__riscv_xlen == 64) ++# define OPENSSL_64_BIT ++# define OPENSSL_RISCV64 ++# elif(__riscv_xlen == 32) ++# define OPENSSL_32_BIT ++# define OPENSSL_RISCV32 ++# endif + #elif defined(__pnacl__) + #define OPENSSL_32_BIT + #define OPENSSL_PNACL diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb deleted file mode 100644 index d4720b4b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-grpcio.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.27.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.27.1.bb new file mode 100644 index 00000000..129bb35b --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.27.1.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "Google gRPC" +HOMEPAGE = "http://www.grpc.io/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +DEPENDS += "${PYTHON_PN}-protobuf" + +SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch" +SRC_URI_append_class-target = " file://ppc-boringssl-support.patch \ + file://riscv64_support.patch \ + file://0001-Fix-build-on-riscv32.patch \ +" +SRC_URI[md5sum] = "ccaf4e7eb4f031d926fb80035d193b98" +SRC_URI[sha256sum] = "a899725d34769a498ecd3be154021c4368dd22bdc69473f6ec46779696f626c4" + +RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-six \ +" + +inherit setuptools3 +inherit pypi + +export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1" + +do_compile_prepend_toolchain-clang() { + export GRPC_PYTHON_CFLAGS='-fvisibility=hidden -fno-wrapv -fno-exceptions' +} + +CLEANBROKEN = "1" + +BBCLASSEXTEND = "native nativesdk" + +CCACHE_DISABLE = "1" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gunicorn_20.0.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gunicorn_20.0.4.bb new file mode 100644 index 00000000..5bd8d51c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-gunicorn_20.0.4.bb @@ -0,0 +1,11 @@ +SUMMARY = "WSGI HTTP Server for UNIX" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f75f3fb94cdeab1d607e2adaa6077752" + +SRC_URI[md5sum] = "543669fcbb5739ee2af77184c5e571a1" +SRC_URI[sha256sum] = "1904bb2b8a43658807108d59c3f3d56c2b6121a701161de0ddf9ad140073c626" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-setuptools ${PYTHON_PN}-fcntl" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch new file mode 100644 index 00000000..ff50c85a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py/0001-cross-compiling-support.patch @@ -0,0 +1,46 @@ +From 7e3b1745c1fef34683a0610381dd3308ad4d1ba9 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Tue, 29 Jan 2019 17:08:32 +0800 +Subject: [PATCH] cross compiling support + +Remove useless dirs + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + setup_build.py | 4 ---- + setup_configure.py | 2 +- + 2 files changed, 1 insertion(+), 5 deletions(-) + +diff --git a/setup_build.py b/setup_build.py +index 85b321a..2c78e92 100644 +--- a/setup_build.py ++++ b/setup_build.py +@@ -53,10 +53,6 @@ if sys.platform.startswith('win'): + ('_HDF5USEDLL_', None), + ('H5_BUILT_AS_DYNAMIC_LIB', None) + ]) +-else: +- FALLBACK_PATHS['include_dirs'].extend(['/opt/local/include', '/usr/local/include']) +- FALLBACK_PATHS['library_dirs'].extend(['/opt/local/lib', '/usr/local/lib']) +- + + class h5py_build_ext(build_ext): + +diff --git a/setup_configure.py b/setup_configure.py +index a2de76a..197f2da 100644 +--- a/setup_configure.py ++++ b/setup_configure.py +@@ -208,7 +208,7 @@ def autodetect_version(hdf5_dir=None): + else: + regexp = re.compile(r'^libhdf5.so') + +- libdirs = ['/usr/local/lib', '/opt/local/lib'] ++ libdirs = [] + try: + if pkgconfig.exists("hdf5"): + libdirs.extend(pkgconfig.parse("hdf5")['library_dirs']) +-- +2.7.4 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_2.9.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_2.9.0.bb new file mode 100644 index 00000000..7822e463 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_2.9.0.bb @@ -0,0 +1,30 @@ +SUMMARY = "Provides both a high- and low-level interface to the HDF5 library from Python. " +HOMEPAGE = "https://www.h5py.org/" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://setup.py;beginline=107;endline=107;md5=795ecad0d261c998cc526c84a822dff6" + +SRC_URI = "git://github.com/h5py/h5py.git \ + file://0001-cross-compiling-support.patch \ + " +SRCREV ?= "8d96a14c3508de1bde77aec5db302e478dc5dbc4" + +inherit setuptools3 + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native" + +DEPENDS = "python3-pkgconfig-native \ + python3-cython-native \ + python3-numpy-native \ + python3-six-native \ + python3 \ + hdf5 \ + " + +RDEPENDS_${PN} = "python3-numpy \ + python3-six \ + " + +export HDF5_VERSION="1.8.19" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.2.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.2.0.bb new file mode 100644 index 00000000..fc2cc7d6 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.2.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "Calculate the distance between 2 points on Earth" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +SRC_URI[md5sum] = "6b1badeb63aac6214c978d07a4ecd171" +SRC_URI[sha256sum] = "b710aaf32c442a6d04aa89678be55e3f6c11f9752fc01c216e89b13120b36269" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-numpy" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2019.8.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2019.8.11.bb new file mode 100644 index 00000000..9cb5b01e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2019.8.11.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-html2text.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-httplib2_0.17.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-httplib2_0.17.3.bb new file mode 100644 index 00000000..57047c9a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-httplib2_0.17.3.bb @@ -0,0 +1,10 @@ +SUMMARY = "A comprehensive HTTP client library, httplib2 supports many features left out of other HTTP libraries." +HOMEPAGE = "https://github.com/httplib2/httplib2" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=4edb3f072a9d815734530f608039a167" + +SRC_URI[md5sum] = "5730490cfe83350477b54b0a8a190c8a" +SRC_URI[sha256sum] = "39dd15a333f67bfb70798faa9de8a6e99c819da6ad82b77f9a259a5c7b1225a2" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-humanfriendly_4.18.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-humanfriendly_4.18.bb new file mode 100644 index 00000000..2ca5fe36 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-humanfriendly_4.18.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-humanfriendly.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_18.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_19.0.0.bb index 70813bf3..70813bf3 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_18.0.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-hyperlink_19.0.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb new file mode 100644 index 00000000..3643fcfd --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-idna-ssl.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.8.bb index a08ca714..a08ca714 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.7.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-idna_2.8.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.6.0.bb new file mode 100644 index 00000000..8fe4b988 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.6.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "Python library that provides an easy interface to read and \ +write a wide range of image data, including animated images, video, \ +volumetric data, and scientific formats." +SECTION = "devel/python" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d8b7fdd0dff0fd18f35c05365d3d7bf7" + +SRC_URI = "git://github.com/imageio/imageio.git;protocol=https" +SRCREV = "0b161649b3ee108f80bd99466aeab2e65cf82cd8" +S = "${WORKDIR}/git" + +inherit setuptools3 + +RDEPENDS_${PN} = "python3-numpy python3-pillow" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_1.5.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_1.5.2.bb new file mode 100644 index 00000000..8a971dac --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_1.5.2.bb @@ -0,0 +1,5 @@ +inherit pypi setuptools3 +require python-importlib-metadata.inc + +RDEPENDS_${PN}_append_class-target = " python3-misc" +RDEPENDS_${PN}_append_class-nativesdk = " python3-misc" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.5.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb index 8cbe1090..8cbe1090 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.5.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ipaddress_1.0.22.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb index 66de8b63..796213fc 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-ipaddress_1.0.22.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb @@ -3,11 +3,9 @@ HOMEPAGE = "https://github.com/phihag/ipaddress" LICENSE = "Python-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a" -DEPENDS += "python-pip" +SRC_URI[md5sum] = "aaee67a8026782af1831148beb0d9060" +SRC_URI[sha256sum] = "b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2" -SRC_URI[md5sum] = "74c1ce3109f30eaa1ab3dd342e7b76d4" -SRC_URI[sha256sum] = "b146c751ea45cad6188dd6cf2d9b757f6f4f8d6ffb96a023e6f2e26eea02a72c" - -inherit pypi setuptools +inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.00.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.00.bb new file mode 100644 index 00000000..ea6a1055 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.00.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-ipy.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166_1.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166_1.0.1.bb new file mode 100644 index 00000000..23fc4eb7 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-iso3166_1.0.1.bb @@ -0,0 +1,13 @@ +SUMMARY = "Self-contained ISO 3166-1 country definitions" +HOMEPAGE = "https://pypi.org/project/iso3166/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5e2f4edc7e7408a82e4a1d05f229b695" + +SRC_URI[md5sum] = "53c313c7ae8721e40ddd5e7a01bbcb7e" +SRC_URI[sha256sum] = "b1e58dbcf50fbb2c9c418ec7a6057f0cdb30b8f822ac852f72e71ba769dae8c5" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-numbers" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-isodate_0.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-isodate_0.6.0.bb new file mode 100644 index 00000000..0e79ae99 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-isodate_0.6.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-isodate.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_4.3.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_4.3.21.bb index 755b3e2f..755b3e2f 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_4.3.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-isort_4.3.21.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-itsdangerous_0.24.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-itsdangerous_1.1.0.bb index a71c20f0..a71c20f0 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-itsdangerous_0.24.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-itsdangerous_1.1.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.2.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.0.1.bb index 0ec23ba9..0ec23ba9 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.2.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.0.1.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal/run-ptest index 0ba239c2..5cec7116 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-cryptography/run-ptest +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal/run-ptest @@ -1,2 +1,3 @@ #!/bin/sh -py.test + +pytest diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb new file mode 100644 index 00000000..46deeae1 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb @@ -0,0 +1,27 @@ +SUMMARY = "This module contains functions for converting between Julian dates and calendar dates" +DESCRIPTION = "A function for converting Gregorian calendar dates to Julian dates, \ +and another function for converting Julian calendar dates to Julian dates are defined. \ +Two functions for the reverse calculations are also defined." + +HOMEPAGE = "https://github.com/phn/jdcal" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bd236e1f590973467a427bb354be0f46" + +inherit pypi setuptools3 ptest + +SRC_URI[md5sum] = "e05bdb60fa80f25bc60e73e0c6b7c5dc" +SRC_URI[sha256sum] = "472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8" + +RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/test_jdcal.py ${D}${PTEST_PATH}/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jinja2/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jinja2/run-ptest new file mode 100644 index 00000000..5cec7116 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jinja2/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jinja2_2.10.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jinja2_2.10.bb deleted file mode 100644 index 61156b63..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jinja2_2.10.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-jinja2.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb new file mode 100644 index 00000000..681acf8f --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb @@ -0,0 +1,43 @@ +DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python." + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" + +SRC_URI[sha256sum] = "89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0" + +PYPI_PACKAGE = "Jinja2" + +CLEANBROKEN = "1" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unixadmin \ +" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-asyncio \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-markupsafe \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers\ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-threading \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsmin/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsmin/run-ptest new file mode 100644 index 00000000..cbcfffda --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsmin/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +python3 test.py diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb new file mode 100644 index 00000000..9b7a8240 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "JavaScript minifier." +HOMEPAGE = "https://github.com/tikitu/jsmin/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a3301ce2ad647e172f4a1016c67324d" + +inherit setuptools3 pypi ptest +SRC_URI[md5sum] = "00e7a3179a4591aab2ee707b3214e2fd" +SRC_URI[sha256sum] = "b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/jsmin/test.py ${D}${PTEST_PATH}/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpatch_1.23.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb index 73efceee..73efceee 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpatch_1.23.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer/run-ptest new file mode 100644 index 00000000..51e609f4 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpointer/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +python3 tests.py diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.2.bb new file mode 100644 index 00000000..e23720c3 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonrpcserver_4.1.2.bb @@ -0,0 +1,24 @@ +SUMMARY = "Library to process JSON-RPC requests" +HOMEPAGE = "https://github.com/bcb/jsonrpcserver" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c89120516900f96f4c60d35fdc4c3f15" + +SRC_URI[md5sum] = "fd4091bc19eb18579c15b97af70714eb" +SRC_URI[sha256sum] = "73db55d1cf245ebdfb96ca05c4cce01c51b61be845a2a981f539ea1e6a4e0c4a" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + python3-apply-defaults \ + python3-asyncio \ + python3-core \ + python3-json \ + python3-jsonschema \ + python3-logging \ + python3-netclient \ + python3-pkgutil \ + python3-typing \ +" + +BBCLASSEXTEND = "native nativesdk" + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema_2.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb index 92699074..92699074 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema_2.6.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb new file mode 100644 index 00000000..ab0944ff --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-kconfiglib_14.1.0.bb @@ -0,0 +1,2 @@ +require python-kconfiglib.inc +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb new file mode 100644 index 00000000..4293a63c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb @@ -0,0 +1,19 @@ +SUMMARY = "Reference implementations of popular deep learning models" +HOMEPAGE = "https://github.com/keras-team/keras-applications" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=366e2fd3c9714f162d3663b6f97cfe41" + +SRC_URI = "git://github.com/keras-team/keras-applications.git" +SRCREV ?= "3b180cb10eda683dda7913ecee2e6487288d292d" + + +inherit setuptools3 + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native" + +RDEPENDS_${PN} = "python3-numpy \ + python3-h5py \ + " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.0.bb new file mode 100644 index 00000000..eacb3402 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "Easy data preprocessing and data augmentation for deep learning models" +HOMEPAGE = "https://github.com/keras-team/keras-preprocessing" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1744b320500cc2e3112964d00cce7aa4" + +SRC_URI = "git://github.com/keras-team/keras-preprocessing.git" +SRCREV ?= "ff90696c0416b74344b91df097b228e694339b88" + +inherit setuptools3 + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native" + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-kiwisolver_1.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-kiwisolver_1.1.0.bb new file mode 100644 index 00000000..a1083025 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-kiwisolver_1.1.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "A fast implementation of the Cassowary constraint solver" +HOMEPAGE = "https://github.com/nucleic/kiwi" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://setup.py;endline=7;md5=1c177d169db050341d3b890c69fb80e3" + +SRC_URI[md5sum] = "fc8a614367f7ba0d34a02fd08c535afc" +SRC_URI[sha256sum] = "53eaed412477c836e1b9522c19858a8557d6e595077830146182225613b11a75" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + python3-core \ + python3-setuptools \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.4.3.bb index 150e12fd..150e12fd 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.3.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.4.3.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-license-expression/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-license-expression/run-ptest new file mode 100644 index 00000000..5cec7116 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-license-expression/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-license-expression_1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-license-expression_1.0.bb new file mode 100644 index 00000000..10a702ca --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-license-expression_1.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-license-expression.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb new file mode 100644 index 00000000..30b1297e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lockfile_0.12.2.bb @@ -0,0 +1,17 @@ +# This recipe is originally from meta-openstack: +# https://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/tree/meta-openstack/recipes-devtools/python/python-lockfile_0.12.2.bb + +SUMMARY = "Platform-independent file locking module" +HOMEPAGE = "https://pypi.org/project/lockfile/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2340dffbbfea534b58f1349984eeef72" + +SRC_URI[md5sum] = "a6a1a82957a23afdf44cfdd039b65ff9" +SRC_URI[sha256sum] = "6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799" + +inherit pypi setuptools3 + +DEPENDS += "python3-distutils-extra-native python3-pbr-native" +RDEPENDS_${PN} += "python3-sqlite3" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lrparsing_1.0.16.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lrparsing_1.0.16.bb new file mode 100644 index 00000000..21a80cde --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lrparsing_1.0.16.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-lrparsing.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_1.12.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_1.12.0.bb new file mode 100644 index 00000000..cdb1ac8b --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_1.12.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "A component library to support SBC display drivers" +DESCRIPTION = "A component library to support SBC display drivers" +HOMEPAGE = "https://github.com/rm-hull/luma.core" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=eda804060ba2312e41fe96b6fa334fd7" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "4378edb99cd12540b4e4a588969567ee" +SRC_URI[sha256sum] = "864a427de78bcc16758f4f4402a9e61f31cc8857bfae9aba8041159aaec3a491" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "luma.core" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pillow \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-smbus2 \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.4.0.bb new file mode 100644 index 00000000..ee3b00e7 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.4.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "A small library to drive an OLED device" +DESCRIPTION = "\ +A small library to drive an OLED device with either SSD1306 , SSD1309, SSD1322, \ +SSD1325, SSD1327, SSD1331, SSD1351 or SH1106 chipset" +HOMEPAGE = "https://github.com/rm-hull/luma.oled" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=c328c862c3335ad464e1c9a3ba574249" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "2944155b2242b9d2ddeb6e139c6083b8" +SRC_URI[sha256sum] = "2ea2b535e7e2f056a51a8c54ad78aa1f00d5699fc439c01bc7c2902823889552" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "luma.oled" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-luma-core \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.2.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.5.0.bb index b95d7bae..b95d7bae 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.2.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.5.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb new file mode 100644 index 00000000..cdfe5496 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markdown_3.0.1.bb @@ -0,0 +1,14 @@ +SUMMARY = "A Python implementation of John Gruber's Markdown." +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=745aaad0c69c60039e638bff9ffc59ed" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "Markdown" +PYPI_SRC_URI = "https://files.pythonhosted.org/packages/3c/52/7bae9e99a7a4be6af4a713fe9b692777e6468d28991c54c273dfb6ec9fb2/Markdown-${PV}.tar.gz" +SRC_URI[md5sum] = "72219f46ca440b657bf227500731bdf1" +SRC_URI[sha256sum] = "d02e0f9b04c500cde6637c11ad7c72671f359b87b9fe924b2383649d8841db7c" + +BBCLASSEXTEND = "native" + +RDEPENDS_${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest new file mode 100644 index 00000000..5cec7116 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markupsafe_1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markupsafe_1.1.1.bb index 765e3c90..765e3c90 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markupsafe_1.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-markupsafe_1.1.1.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb new file mode 100644 index 00000000..f6d8c53d --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib_3.2.1.bb @@ -0,0 +1,37 @@ +SUMMARY = "matplotlib: plotting with Python" +DESCRIPTION = "\ +Matplotlib is a Python 2D plotting library which produces \ +publication-quality figures in a variety of hardcopy formats \ +and interactive environments across platforms." +HOMEPAGE = "https://github.com/matplotlib/matplotlib" +SECTION = "devel/python" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "\ + file://setup.py;beginline=250;endline=250;md5=2a114620e4e6843aa7568d5902501753 \ + file://LICENSE/LICENSE;md5=afec61498aa5f0c45936687da9a53d74 \ +" +DEPENDS = "\ + freetype \ + libpng \ + python3-numpy-native \ + python3-dateutil-native \ + python3-pytz-native \ +" + +SRC_URI[md5sum] = "6c018a644a88120886cc7211f7c826f0" +SRC_URI[sha256sum] = "ffe2f9cdcea1086fc414e82f42271ecf1976700b8edd16ca9d376189c6d93aee" + +inherit pypi setuptools3 pkgconfig + +RDEPENDS_${PN} = "\ + freetype \ + libpng \ + python3-numpy \ + python3-pyparsing \ + python3-cycler \ + python3-dateutil \ + python3-kiwisolver \ + python3-pytz \ +" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-meld3_1.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-meld3_1.0.2.bb new file mode 100644 index 00000000..f6959162 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-meld3_1.0.2.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-meld3.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-monotonic_1.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-monotonic_1.5.bb index 01e7b1ca..94b90524 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-monotonic_1.5.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-monotonic_1.5.bb @@ -1,10 +1,9 @@ -SUMMARY = "An implementation of time.monotonic() for Python 2.0 through 3.2" +SUMMARY = "This module provides a monotonic() function which returns the value (in fractional seconds) of a clock which never goes backwards." +HOMEPAGE = "https://github.com/atdt/monotonic" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" SRC_URI[md5sum] = "9f81cb0e5966479754453dea2b6822f4" SRC_URI[sha256sum] = "23953d55076df038541e648a53676fb24980f7a1be290cdda21300b3bc21dfb0" -inherit pypi setuptools - -RDEPENDS_${PN} += "${PYTHON_PN}-ctypes ${PYTHON_PN}-io ${PYTHON_PN}-re ${PYTHON_PN}-threading" +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-more-itertools/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-more-itertools/run-ptest new file mode 100644 index 00000000..3385d689 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-more-itertools/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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb new file mode 100644 index 00000000..c3b34d36 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-more-itertools_8.2.0.bb @@ -0,0 +1,5 @@ +inherit pypi setuptools3 +require python-more-itertools.inc + +SRC_URI[md5sum] = "55e7e0a5eabc5a57bc8353c65c6f9965" +SRC_URI[sha256sum] = "b1ddb932186d8a6ac451e1d95844b382f55e12686d51ca0c68b6f61f2ab7a507" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-mpmath_1.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-mpmath_1.1.0.bb new file mode 100644 index 00000000..7879a85c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-mpmath_1.1.0.bb @@ -0,0 +1,16 @@ +# This recipe is adapted from one in meta-jupyter: +# https://github.com/Xilinx/meta-jupyter/blob/master/recipes-python/python3-mpmath_0.19.bb + +SUMMARY = "Python library for arbitrary-precision floating-point arithmetic" +HOMEPAGE = "https://pypi.org/project/mpmath/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=efe9feb00df0b763941f2b1bbac7c402" + +SRC_URI[md5sum] = "acb1cdddf38e16084628065b174ddbfe" +SRC_URI[sha256sum] = "fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-image" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack/run-ptest new file mode 100644 index 00000000..5cec7116 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.5.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.5.6.bb deleted file mode 100644 index 096d7ddc..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.5.6.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-msgpack.inc -inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb new file mode 100644 index 00000000..6d7e7a0d --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb @@ -0,0 +1,28 @@ +SUMMARY = "MessagePack (de)serializer" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" + +PYPI_PACKAGE = "msgpack" +inherit pypi setuptools3 ptest + +SRC_URI[md5sum] = "ba46fdee995565f40e332bd7eea882f1" +SRC_URI[sha256sum] = "ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830" + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-io \ +" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msk_0.3.13.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msk_0.3.13.bb new file mode 100644 index 00000000..3f2aaf48 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msk_0.3.13.bb @@ -0,0 +1,11 @@ +SUMMARY = "A tool to help with creating, uploading, and upgrading Mycroft skills on the skills repo." +HOMEPAGE = "https://github.com/MycroftAI/mycroft-skills-kit" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.md;md5=2f90e43663eddf1c33087419fbb35e28" + +SRC_URI[md5sum] = "11d9fc865ef627efe68f25fc113974e8" +SRC_URI[sha256sum] = "55be86ff2cd0087016759f2b15b40861cda2a8d8a8d0c669fdacdf32a77a10da" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-git" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msm_0.8.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msm_0.8.3.bb new file mode 100644 index 00000000..24e1ccb3 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-msm_0.8.3.bb @@ -0,0 +1,20 @@ +SUMMARY = "Mycroft Skill Manager, in python!" +HOMEPAGE = "https://github.com/MycroftAI/mycroft-skills-manager" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa" + +SRC_URI[md5sum] = "d5f580c58389b337f5577cb92f36e788" +SRC_URI[sha256sum] = "c201785997f3b766ec376a89bbb3367889ac542183ca26733ffe002bb94917b4" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + python3-pako \ + python3-monotonic \ + python3-appdirs \ +" + +do_install_append() { + # Stop this from being installed + rm -rf ${D}/usr/share +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict/run-ptest new file mode 100644 index 00000000..5cec7116 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_3.3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_3.3.2.bb deleted file mode 100644 index e65d7d4f..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_3.3.2.bb +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "Multidicts are useful for working with HTTP headers, URL query args etc." -HOMEPAGE = "https://github.com/aio-libs/multidict/" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e74c98abe0de8f798ca609137f9cef4a" - -inherit pypi setuptools3 - -SRC_URI[md5sum] = "06ca91d993de2d04c7ee6df0cbb44ea2" -SRC_URI[sha256sum] = "f82e61c7408ed0dce1862100db55595481911f159d6ddec0b375d35b6449509b" - -# Work-around for broken make clean. Note this is fixed in v4.0.0. -# https://github.com/aio-libs/multidict/issues/194 -CLEANBROKEN = "1" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_4.7.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_4.7.4.bb new file mode 100644 index 00000000..0636972e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_4.7.4.bb @@ -0,0 +1,22 @@ +SUMMARY = "Multidicts are useful for working with HTTP headers, URL query args etc." +HOMEPAGE = "https://github.com/aio-libs/multidict/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e74c98abe0de8f798ca609137f9cef4a" + +inherit pypi setuptools3 ptest + +SRC_URI[md5sum] = "22b46f759cf2cc3ca1d2c9f82cc9bb79" +SRC_URI[sha256sum] = "d7d428488c67b09b26928950a395e41cc72bb9c3d5abfe9f0521940ee4f796d4" + +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/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-netifaces_0.10.9.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-netifaces_0.10.9.bb new file mode 100644 index 00000000..69d5c674 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-netifaces_0.10.9.bb @@ -0,0 +1,2 @@ +require python-netifaces.inc +inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_2.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_2.4.bb new file mode 100644 index 00000000..efa82e21 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_2.4.bb @@ -0,0 +1,8 @@ +require python-networkx.inc + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b68290ee1026b204170a23bbdb27a4fd" + +SRC_URI[md5sum] = "63e3fdc9d3a46bcabc776acc5ea5fe48" +SRC_URI[sha256sum] = "f8f4ff0b6f96e4f9b16af6b84622597b5334bf9cae8cf9b2e42e7985d5c95c64" + +inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-nmap_1.4.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-nmap_1.4.1.bb new file mode 100644 index 00000000..80384845 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-nmap_1.4.1.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "python-nmap is a python library which helps in using nmap port scanner" +HOMEPAGE = "https://www.nmmapper.com/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +DEPENDS += "${PYTHON_PN}-wheel-native" + +PYPI_PACKAGE = "python3-nmap" + +SRC_URI[md5sum] = "64a382c870e14b53f2f52b7455996321" +SRC_URI[sha256sum] = "9b64c5956789f4cac9e8ea2e0de6763dea1cecde1a20ae50a4b4dc5ab0ab6e42" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "nmap ${PYTHON_PN}-requests" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb index 93df83ad..ce2618b8 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb @@ -11,4 +11,4 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools3 python3native pypi -RDEPENDS_${PN} += "${PYTHON_PN}-datetime" +RDEPENDS_${PN} += "${PYTHON_PN}-datetime ${PYTHON_PN}-io" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-obd_0.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-obd_0.7.1.bb new file mode 100644 index 00000000..eb8a5a74 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-obd_0.7.1.bb @@ -0,0 +1,10 @@ +DESCRIPTION = "A python module for handling realtime sensor data from OBD-II vehicle ports"HOMEPAGE = "https://github.com/brendan-w/python-OBD" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://README.md;md5=58ba896fa086c96ad23317cebfeab277" + +SRC_URI[md5sum] = "305efcb6c650db7b9583532355ebeb7c" +SRC_URI[sha256sum] = "8b81ea5896157b6e861af12e173c10b001cb6cca6ebb04db2c01d326812ad77b" + +inherit setuptools3 pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-pyserial ${PYTHON_PN}-pint ${PYTHON_PN}-setuptools" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-openpyxl_3.0.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-openpyxl_3.0.3.bb new file mode 100644 index 00000000..018c4abe --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-openpyxl_3.0.3.bb @@ -0,0 +1,15 @@ +SUMMARY = "openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files" +DESCRIPTION = "It was born from lack of existing library to read/write natively \ +from Python the Office Open XML format. All kudos to the PHPExcel team as openpyxl \ +was initially based on PHPExcel." + +HOMEPAGE = "http://www.python-excel.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a6e506457afab4a25ecbaeb4bc3ed623" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "9583cea56b9d4441d96eb63a8a5c92a4" +SRC_URI[sha256sum] = "547a9fc6aafcf44abe358b89ed4438d077e9d92e4f182c87e2dc294186dc4b64" + +RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell ${PYTHON_PN}-jdcal ${PYTHON_PN}-et-xmlfile" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest new file mode 100644 index 00000000..f7b9d090 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest test.py diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_3.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_3.0.1.bb deleted file mode 100644 index 662d3eeb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_3.0.1.bb +++ /dev/null @@ -1,11 +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=2b36be0d99854aa2ae292a800a7c1d4e" - -SRC_URI[md5sum] = "a8059c7b99cde0f8dda01ddee6b43c2c" -SRC_URI[sha256sum] = "3d6fd7bffbb15f613a9e8a6281bf97c2d67f7bb8677deca8249df2fbdd9cce7b" - -inherit pypi setuptools3 - -DEPENDS += "python3-pytest-runner-native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_3.1.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_3.1.1.bb new file mode 100644 index 00000000..bf362daa --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_3.1.1.bb @@ -0,0 +1,23 @@ +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] = "6e12312c8dc4c90fe840e86e8a352644" +SRC_URI[sha256sum] = "a7bfa858748c73b096e43db14eb23e2bc714a503f990c89fac8fab9b0ee79724" + +inherit pypi setuptools3 ptest + +DEPENDS += "python3-pytest-runner-native" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/test.py ${D}${PTEST_PATH}/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-packaging_20.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-packaging_20.3.bb new file mode 100644 index 00000000..aa20fb26 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-packaging_20.3.bb @@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-packaging.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb new file mode 100644 index 00000000..f506a786 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-padaos_0.1.10.bb @@ -0,0 +1,9 @@ +SUMMARY = "A rigid, lightweight, dead-simple intent parser" +HOMEPAGE = "https://github.com/MycroftAI/padaos" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README.md;md5=b51c3e8e53a7cd95c13c5aab6cbc8e67" + +SRC_URI[md5sum] = "dbf852015ef87a6694549779fb475b52" +SRC_URI[sha256sum] = "2ac05fcbc826873c574568aa5ce09945d6ea987bee10399e766eb8f7c6356d72" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-padatious_0.4.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-padatious_0.4.7.bb new file mode 100644 index 00000000..4abe7c74 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-padatious_0.4.7.bb @@ -0,0 +1,9 @@ +SUMMARY = "An efficient and agile neural network intent parser. Padatious is a core component of Mycroft AI." +HOMEPAGE = "https://github.com/MycroftAI/padatious" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.md;md5=77baec496a458dd0e0fc4ca64cd305bc" + +SRC_URI[md5sum] = "1f53967a1633baa8fd48f11139808a33" +SRC_URI[sha256sum] = "3c235942ff4151a3c36536fd776bd8a6d4d57c97046723d2fa80a89b34faac1f" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_1.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_1.3.1.bb deleted file mode 100644 index 4981e61e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_1.3.1.bb +++ /dev/null @@ -1,3 +0,0 @@ -inherit setuptools3 -require python-paho-mqtt.inc - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-paho-mqtt.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.0.bb index f834e6fd..cc6f4dc8 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-paho-mqtt.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_1.5.0.bb @@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc \ " SRCNAME = "paho-mqtt" -inherit pypi -SRC_URI[md5sum] = "2cc27d8b369700b1fc99325add0dadd2" -SRC_URI[sha256sum] = "31911f6031de306c27ed79dc77b690d7c55b0dcb0f0434ca34ec6361d0371122" +inherit pypi setuptools3 + +SRC_URI[md5sum] = "45e80d9b8066a8d0ba1ecfffe271bd3d" +SRC_URI[sha256sum] = "e3d286198baaea195c8b3bc221941d25a3ab0e1507fc1779bdb7473806394be4" DEPENDS += "${PYTHON_PN}-pytest-runner-native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pako_0.2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pako_0.2.3.bb new file mode 100644 index 00000000..21c48fca --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pako_0.2.3.bb @@ -0,0 +1,13 @@ +SUMMARY = "The universal package manager library" +HOMEPAGE = "https://github.com/MycroftAI/pako" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa" + +SRC_URI[md5sum] = "8eb7077075091c50e4b8a9f939607277" +SRC_URI[sha256sum] = "6be55fd8c5a2a6f02974f37438c1c47a3d9e764ce81c9d0a1a8c9a1815a59778" + +inherit pypi setuptools3 + +do_install_append() { + rm -rf ${D}/usr/share +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_0.23.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_0.23.4.bb deleted file mode 100644 index b5dd5e09..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_0.23.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-pandas.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pandas.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_1.0.3.bb index d6ca2431..099e035e 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pandas.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_1.0.3.bb @@ -6,10 +6,10 @@ HOMEPAGE = "http://pandas.pydata.org/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=ee0470f2de336c370a71c2f8d5e81c11" -SRC_URI[md5sum] = "7b597c7f989652e0c9af5f09a157e3ae" -SRC_URI[sha256sum] = "5b24ca47acf69222e82530e89111dd9d14f9b970ab2cd3a1c2c78f0c4fbba4f4" +SRC_URI[md5sum] = "a3ea90326c5b55944d369bef87740a72" +SRC_URI[sha256sum] = "32f42e322fb903d0e189a4c10b75ba70d90958cc4f66a1781ed027f1a1d14586" -inherit pypi +inherit pypi setuptools3 DEPENDS += " \ ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb new file mode 100644 index 00000000..40876d35 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parallax_1.0.6.bb @@ -0,0 +1,13 @@ +SUMMARY = "Execute commands and copy files over SSH to multiple machines at once." +HOMEPAGE = "https://github.com/krig/parallax/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=52c67ffa6102f288a0347f8c5802fd18" + +SRC_URI[md5sum] = "e312397b083426af84db7076dc2a28d7" +SRC_URI[sha256sum] = "c16703202ff67aed4740c0727df304abe9f3e7851e653533b24de21b338d9081" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-fcntl ${PYTHON_PN}-threading ${PYTHON_PN}-unixadmin" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse/run-ptest new file mode 100644 index 00000000..40c28479 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse/run-ptest @@ -0,0 +1,2 @@ +#!/bin/sh +pytest diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb index b1242545..b1242545 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.15.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-passlib_1.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb index 18180a07..18180a07 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-passlib_1.7.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-passlib_1.7.2.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb new file mode 100644 index 00000000..66f71e57 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pathlib2_2.3.5.bb @@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-pathlib2.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_1.1.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_1.1.1.bb deleted file mode 100644 index ba9a95db..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_1.1.1.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit pypi setuptools3 -require python-periphery.inc - -SRC_URI[sha256sum] = "fe8f351934edce72cd919b4eb070878ebff551db5e21aea61e0f446101f0a79f"
\ No newline at end of file diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb new file mode 100644 index 00000000..e9944274 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb @@ -0,0 +1,5 @@ +inherit pypi setuptools3 +require python-periphery.inc + +SRC_URI[md5sum] = "1d958f02575d4a19734ee2dd92336157" +SRC_URI[sha256sum] = "5da4d5f40ff8974cf6c724587baa674d7e0593f07b6f6ee896104f11c1be18ec" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb new file mode 100644 index 00000000..58cd05e2 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-petact_0.1.2.bb @@ -0,0 +1,9 @@ +SUMMARY = "Petact is a library used for installing and updating compressed tar files" +HOMEPAGE = "https://github.com/matthewscholefield/petact" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README.md;md5=c8533d4ba77519398cdae0173db799a1" + +SRC_URI[md5sum] = "47e9a6abc91b4022953e4007ddae9e68" +SRC_URI[sha256sum] = "5dcb0d44f86a601e41a2def9770993cd0ea45c76d37eb3f35e3dd61aa50350e6" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect/0001-FSM.py-change-shebang-from-python-to-python3.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect/0001-FSM.py-change-shebang-from-python-to-python3.patch new file mode 100644 index 00000000..bee772da --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect/0001-FSM.py-change-shebang-from-python-to-python3.patch @@ -0,0 +1,25 @@ +From 35462d7b778eea32fd0cc0bbc79d6e6f53d942b4 Mon Sep 17 00:00:00 2001 +From: Changqing Li <changqing.li@windriver.com> +Date: Thu, 23 Apr 2020 08:01:42 +0000 +Subject: [PATCH] FSM.py: change shebang from python to python3 + +Upstream-Status: Pending + +Signed-off-by: Changqing Li <changqing.li@windriver.com> +--- + pexpect/FSM.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pexpect/FSM.py b/pexpect/FSM.py +index 46b392e..4e77654 100644 +--- a/pexpect/FSM.py ++++ b/pexpect/FSM.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + '''This module implements a Finite State Machine (FSM). In addition to state + this FSM also maintains a user defined "memory". So this FSM can be used as a +-- +2.24.1 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb index cf39233a..cf39233a 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.6.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch deleted file mode 100644 index 3beef070..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pid/0001-remove-requirement-of-nose.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 04d04a8fa1ef3d8dbdaebbaac9ae936e1c8234c1 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <hongxu.jia@windriver.com> -Date: Wed, 28 Jun 2017 21:17:43 -0400 -Subject: [PATCH] remove requirement of nose - -The nose extends unittest to make testing easier. -Do not need the test suite, so remove requirement of nose. - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> ---- - setup.py | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/setup.py b/setup.py -index 3f7c7cb..c42a546 100644 ---- a/setup.py -+++ b/setup.py -@@ -53,6 +53,4 @@ setup( - keywords='pid pidfile context manager decorator', - packages=["pid"], - install_requires=[], -- test_suite='nose.collector', -- setup_requires=['nose>=1.0'], - ) --- -2.8.1 - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pid_2.2.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pid_2.2.5.bb index e4383198..ef194788 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pid_2.2.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pid_2.2.5.bb @@ -4,11 +4,9 @@ HOMEPAGE = "https://github.com/trbs/pid/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=83d53cbd3105063f20305bc313464e29" -SRC_URI[md5sum] = "04d30308013d16aa882b3806feda8ab2" -SRC_URI[sha256sum] = "d8bb2ceec21a4ae84be6e9d320db1f56934b30e676e31c6f098ca7218b3d67d4" +SRC_URI[md5sum] = "ad352ee1dc28b9746a15451c0c53e9d7" +SRC_URI[sha256sum] = "96eb7dba326b88f5164bc1afdc986c7793e0d32d7f62366256a3903c7b0614ef" inherit pypi setuptools3 -SRC_URI += " \ - file://0001-remove-requirement-of-nose.patch \ -" +RDEPENDS_${PN} += "${PYTHON_PN}-fcntl ${PYTHON_PN}-logging ${PYTHON_PN}-io" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pika_1.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pika_1.1.0.bb new file mode 100644 index 00000000..a1515881 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pika_1.1.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pika.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch new file mode 100644 index 00000000..35aee421 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-explicitly-set-compile-options.patch @@ -0,0 +1,37 @@ +From 862a981ce462cd83a99e3db9faeeda1f8c64983f Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Mon, 18 Mar 2019 23:23:55 -0400 +Subject: [PATCH] explicitly set compile options + +OE does not support to install egg package, so +explicitly set build_ext options for oe-core's +`setup.py install' + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> + +--- + setup.cfg | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/setup.cfg b/setup.cfg +index 1c6ebc84..1ccc3d69 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -13,3 +13,15 @@ multi_line_output = 3 + + [tool:pytest] + addopts = -rs ++ ++[build_ext] ++disable-platform-guessing = 1 ++enable-zlib = 1 ++enable-jpeg = 1 ++enable-tiff = 1 ++enable-freetype = 1 ++enable-lcms = 1 ++enable-jpeg2000 = 1 ++disable-webp = 1 ++disable-webpmux = 1 ++disable-imagequant = 1 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch new file mode 100644 index 00000000..6de19ad8 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch @@ -0,0 +1,61 @@ +From ae7c8d0336381dd4c10e809e9c8926f9deeafeb8 Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Thu, 14 Mar 2019 03:48:10 -0400 +Subject: [PATCH] support cross compiling + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + setup.py | 13 +++---------- + 1 file changed, 3 insertions(+), 10 deletions(-) + +diff --git a/setup.py b/setup.py +index 5ceae344..07863340 100755 +--- a/setup.py ++++ b/setup.py +@@ -105,7 +105,7 @@ _LIB_IMAGING = ( + "codec_fd", + ) + +-DEBUG = False ++DEBUG = True + + + class DependencyException(Exception): +@@ -396,21 +396,16 @@ class pil_build_ext(build_ext): + _add_directory(library_dirs, match.group(1)) + + # include, rpath, if set as environment variables: +- for k in ("C_INCLUDE_PATH", "CPATH", "INCLUDE"): ++ for k in ('C_INCLUDE_PATH', 'CPATH', 'INCLUDE', 'STAGING_INCDIR'): + if k in os.environ: + for d in os.environ[k].split(os.path.pathsep): + _add_directory(include_dirs, d) + +- for k in ("LD_RUN_PATH", "LIBRARY_PATH", "LIB"): ++ for k in ('LD_RUN_PATH', 'LIBRARY_PATH', 'LIB', 'STAGING_LIBDIR'): + if k in os.environ: + for d in os.environ[k].split(os.path.pathsep): + _add_directory(library_dirs, d) + +- prefix = sysconfig.get_config_var("prefix") +- if prefix: +- _add_directory(library_dirs, os.path.join(prefix, "lib")) +- _add_directory(include_dirs, os.path.join(prefix, "include")) +- + # + # add platform directories + +@@ -469,8 +464,6 @@ class pil_build_ext(build_ext): + or sys.platform.startswith("gnu") + or sys.platform.startswith("freebsd") + ): +- for dirname in _find_library_dirs_ldconfig(): +- _add_directory(library_dirs, dirname) + if sys.platform.startswith("linux") and os.environ.get( + "ANDROID_ROOT", None + ): +-- +2.20.1 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb new file mode 100644 index 00000000..a383a3ff --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_6.2.1.bb @@ -0,0 +1,38 @@ +SUMMARY = "Python Imaging Library (Fork). Pillow is the friendly PIL fork by Alex \ +Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \ +Contributors." +HOMEPAGE = "https://pillow.readthedocs.io" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=55c0f320370091249c1755c0d2b48e89" + +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=6.2.x \ + file://0001-support-cross-compiling.patch \ + file://0001-explicitly-set-compile-options.patch \ +" +SRCREV ?= "6e0f07bbe38def22d36ee176b2efd9ea74b453a6" + + +inherit setuptools3 + +DEPENDS += " \ + zlib \ + jpeg \ + tiff \ + freetype \ + lcms \ + openjpeg \ +" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-misc \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-numbers \ +" + +CVE_PRODUCT = "pillow" + +S = "${WORKDIR}/git" + +RPROVIDES_${PN} += "python3-imaging" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pint/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pint/run-ptest new file mode 100644 index 00000000..5cec7116 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pint/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.8.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.11.bb index f793ac4a..f793ac4a 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.8.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.11.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pkgconfig_1.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pkgconfig_1.4.0.bb new file mode 100644 index 00000000..fc7a47a4 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pkgconfig_1.4.0.bb @@ -0,0 +1,19 @@ +SUMMARY = "Python module to interface with the pkg-config command line too" +HOMEPAGE = "http://github.com/matze/pkgconfig" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=faa7f82be8f220bff6156be4790344fc" + +SRC_URI = "git://github.com/matze/pkgconfig.git" +SRCREV ?= "8af0102346847e8873af8e76ab3f34ba9da806e2" + +RDEPENDS_${PN} = "pkgconfig \ + ${PYTHON_PN}-shell \ + " + +inherit setuptools3 + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native" + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pluggy/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pluggy/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pluggy/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pluggy_0.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb index 941e8e3d..941e8e3d 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pluggy_0.6.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb new file mode 100644 index 00000000..2275d1b5 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb @@ -0,0 +1,2 @@ +require python-pocketsphinx.inc +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb new file mode 100644 index 00000000..d81ee544 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_1.4.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "A Python implementation of Google's Encoded Polyline Algorithm Format" +HOMEPAGE = "https://pypi.org/project/polyline/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0fbd13500cabd06dd751ba6b2be304c6" + +SRC_URI[md5sum] = "b97c57378605c4a856c437569f95a0cb" +SRC_URI[sha256sum] = "7c7f89d09a09c7b6161bdbfb4fd304b186fc7a2060fa4f31cb3f61c646a5c074" + +inherit pypi setuptools3 ptest + +RDEPENDS_${PN} += "python3-six" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb new file mode 100644 index 00000000..6155b798 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb @@ -0,0 +1,22 @@ +SUMMARY = "A lightweight, simple-to-use, RNN wake word listener." +HOMEPAGE = "https://github.com/MycroftAI/mycroft-precise" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.md;md5=2ad29e930f3107d52d2a55728bf62116" + +SRC_URI[md5sum] = "a2434be110444192e804f4dada0ccecf" +SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af896b80d" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable_0.7.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable_0.7.2.bb new file mode 100644 index 00000000..5445f101 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prettytable_0.7.2.bb @@ -0,0 +1,3 @@ +inherit setuptools3 +require python-prettytable.inc + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-progress_1.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-progress_1.5.bb index 45e26421..45e26421 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-progress_1.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-progress_1.5.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb index 0e99917c..0e99917c 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb new file mode 100644 index 00000000..30ea34e9 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.11.3.bb @@ -0,0 +1,10 @@ +inherit setuptools3 +require python-protobuf.inc + +DEPENDS += "protobuf" +DISTUTILS_BUILD_ARGS += "--cpp_implementation" +DISTUTILS_INSTALL_ARGS += "--cpp_implementation" + +do_compile_prepend_class-native () { + export KOKORO_BUILD_NUMBER="1" +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.6.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.6.1.bb deleted file mode 100644 index 781d1dc4..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_3.6.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-protobuf.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.4.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb index c1969ea6..c1969ea6 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.4.6.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-psutil_5.7.0.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest new file mode 100644 index 00000000..15c3f628 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ptyprocess/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pulsectl_20.2.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pulsectl_20.2.4.bb new file mode 100644 index 00000000..f0db9682 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pulsectl_20.2.4.bb @@ -0,0 +1,11 @@ +SUMMARY = "Python (3.x and 2.x) high-level interface and ctypes-based bindings for PulseAudio (libpulse), mostly focused on mixer-like controls and introspection-related operations (as opposed to e.g. submitting sound samples to play, player-like client)." +HOMEPAGE = "https://github.com/mk-fg/python-pulse-control" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=f1d10048469ff90123263eb5e214061d" + +SRC_URI[md5sum] = "07d7a5fddc49f5da22634464aa008003" +SRC_URI[sha256sum] = "fca9ed501bef2efd551b35773fd24bba36bbd21bc448f402cf8ee13c12423c19" + +RDEPENDS_${PN} += "pulseaudio" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-py_1.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-py_1.6.0.bb deleted file mode 100644 index 0ee373d2..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-py_1.6.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-py.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-py.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-py_1.8.1.bb index 8144523c..ff66aeaa 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-py.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-py_1.8.1.bb @@ -3,8 +3,13 @@ HOMEPAGE = "http://py.readthedocs.io/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9" -SRC_URI[md5sum] = "5ccd0cd5373c55171cf9fd61b9f19a1b" -SRC_URI[sha256sum] = "06a30435d058473046be836d3fc4f27167fd84c45b99704f2fb5509ef61f9af1" +SRC_URI[md5sum] = "42c67de84b07ac9cc867b8b70843a45b" +SRC_URI[sha256sum] = "5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa" DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +inherit pypi setuptools3 + BBCLASSEXTEND = "native nativesdk" + +RDEPENDS_${PN} += "${PYTHON_PN}-netclient" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.7.bb index 3b1186f0..3b1186f0 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.7.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1_0.4.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1_0.4.8.bb index a5e2a713..a5e2a713 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1_0.4.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1_0.4.8.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyatspi_2.34.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyatspi_2.34.0.bb new file mode 100644 index 00000000..3bdb86b4 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyatspi_2.34.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "Python bindings for DBus AT-SPI2 accessibility" +DESCRIPTION = "AT-SPI2 is a protocol over DBus, toolkit widgets use to provide content to screen readers such as Orca" +SECTION = "devel/python" +HOMEPAGE = "https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=db29218e6ba3794c56df7d4987dc7e4d \ + file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" +DEPENDS = "python3-dbus-native glib-2.0 dbus-glib libxml2 atk gtk+ python3-pygobject" + +SRC_URI = "git://github.com/GNOME/pyatspi2.git;protocol=https;branch=mainline" +SRCREV = "cc99d68db66174f4499b9b325bc788393b972edd" +S = "${WORKDIR}/git" + +# Same restriction as gtk+ +inherit features_check +ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" + +inherit pkgconfig autotools python3native + +FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/pyatspi/*" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.11.bb new file mode 100644 index 00000000..abb01bf6 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.11.bb @@ -0,0 +1,2 @@ +require python-pyaudio.inc +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb index 355e2846..355e2846 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.2.3.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_2.4.3.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.22.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.22.bb index 9712a760..26902e18 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.22.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.22.bb @@ -1,2 +1,20 @@ -require python-pybluez.inc -inherit setuptools3 +DESCRIPTION = "Bluetooth Python extension module" +HOMEPAGE = "http://karulis.github.io/pybluez/" +SECTION = "devel/python" + +DEPENDS = "bluez5" + +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" + +SRC_URI[md5sum] = "49dab9d5a8f0b798c8125c7f649be3cd" +SRC_URI[sha256sum] = "4ce006716a54d9d18e8186a3f1c8b12a8e6befecffe8fd5828a291fb694ce49d" + +PYPI_PACKAGE = "PyBluez" +PYPI_PACKAGE_EXT = "zip" +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + bluez5 \ + ${PYTHON_PN}-fcntl \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_4.2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_4.2.3.bb new file mode 100644 index 00000000..f561753a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_4.2.3.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] = "56632e0d94f2648a29d89affddddaaec" +SRC_URI[sha256sum] = "d7b7b35254203ab4617389061bee25b0fa67c6628c48bd6a75ccfefef74f1edb" + +PYPI_PACKAGE = "PyChromecast" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb deleted file mode 100644 index cedcdb3b..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.4.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-pycodestyle.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.5.0.bb index c0e46b7e..7f00ab62 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycodestyle.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.5.0.bb @@ -4,9 +4,9 @@ LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=01831ddbaf398471da3cc87f5037e822" -SRC_URI[md5sum] = "85bbebd2c90d2f833c1db467d4d0e9a3" -SRC_URI[sha256sum] = "cbfca99bd594a10f674d0cd97a3d802a1fdef635d4361e1a2658de47ed261e3a" +SRC_URI[md5sum] = "40e7a76f364a18f531aaba11a4476e21" +SRC_URI[sha256sum] = "e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c" -inherit pypi +inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycparser_2.18.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycparser_2.18.bb deleted file mode 100644 index 7cc024ea..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycparser_2.18.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit pypi setuptools3 -require python-pycparser.inc - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-netclient \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycparser.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycparser_2.20.bb index d112d9f7..2a5f414b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pycparser.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycparser_2.20.bb @@ -3,12 +3,15 @@ HOMEPAGE = "https://github.com/eliben/pycparser" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=86f1cedb4e6410a88ce8e30b91079169" -SRC_URI[md5sum] = "72370da54358202a60130e223d488136" -SRC_URI[sha256sum] = "99a8ca03e29851d96616ad0404b4aad7d9ee16f25c9f9708a11faf2810f7b226" +SRC_URI[md5sum] = "b8f88de737db8c346ee8d31c07c7a25a" +SRC_URI[sha256sum] = "2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0" + +inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-netclient \ ${PYTHON_PN}-ply \ ${PYTHON_PN}-pprint \ cpp \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycrypto/0001-Replace-time.clock-with-time.process_time.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycrypto/0001-Replace-time.clock-with-time.process_time.patch new file mode 100644 index 00000000..282fdd3e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycrypto/0001-Replace-time.clock-with-time.process_time.patch @@ -0,0 +1,34 @@ +From 1d90727ff2368012d6e2f91b1a3198f626495b7f Mon Sep 17 00:00:00 2001 +From: Ming Liu <liu.ming50@gmail.com> +Date: Sat, 25 Jan 2020 14:36:16 +0100 +Subject: [PATCH] Replace time.clock() with time.process_time() + +The use of time.clock() is deprecated in python 3.8, change to use +time.process_time(). + +Reference: +https://docs.python.org/3.3/library/time.html#time.clock + +Upstream-Status: Pending + +Signed-off-by: Ming Liu <liu.ming50@gmail.com> +--- + lib/Crypto/Random/_UserFriendlyRNG.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Crypto/Random/_UserFriendlyRNG.py b/lib/Crypto/Random/_UserFriendlyRNG.py +index 957e006..d2a0259 100644 +--- a/lib/Crypto/Random/_UserFriendlyRNG.py ++++ b/lib/Crypto/Random/_UserFriendlyRNG.py +@@ -74,7 +74,7 @@ class _EntropyCollector(object): + self._time_es.feed(struct.pack("@I", int(2**30 * (t - floor(t))))) + + # Add the fractional part of time.clock() +- t = time.clock() ++ t = time.process_time() + self._clock_es.feed(struct.pack("@I", int(2**30 * (t - floor(t))))) + + +-- +2.7.4 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb index 02d634cb..a20eafec 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycrypto_2.6.1.bb @@ -1,6 +1,8 @@ inherit distutils3 require python-pycrypto.inc +SRC_URI += "file://0001-Replace-time.clock-with-time.process_time.patch" + # We explicitly call distutils_do_install, since we want it to run, but # *don't* want the autotools install to run, since this package doesn't # provide a "make install" target. diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycryptodome_3.4.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycryptodome_3.4.11.bb deleted file mode 100644 index 0c062ddd..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycryptodome_3.4.11.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pycryptodome.inc -inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.43.0.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.43.0.5.bb new file mode 100644 index 00000000..5a1c1797 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.43.0.5.bb @@ -0,0 +1,23 @@ +SUMMARY = "A Python Interface To The cURL library" +DESCRIPTION = "\ +PycURL is a Python interface to libcurl, the multiprotocol file \ +transfer library. Similarly to the urllib Python module, PycURL can \ +be used to fetch objects identified by a URL from a Python program \ +" +SECTION = "devel/python" +HOMEPAGE = "http://pycurl.io/" + +LICENSE = "LGPLv2 | MIT" +LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ + file://COPYING-MIT;md5=60872a112595004233b769b6cbfd65b6 \ + " + +SRC_URI[md5sum] = "0b387d4609ed20c88baede8579a4d425" +SRC_URI[sha256sum] = "ec7dd291545842295b7b56c12c90ffad2976cc7070c98d7b1517b7b6cd5994b3" + +inherit pypi setuptools3 + +DEPENDS = "\ + curl \ + ${PYTHON_PN}\ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb index adaa86d5..807e7b2d 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb @@ -1,6 +1,19 @@ -require python-pydbus.inc -inherit pypi setuptools3 +DESCRIPTION = "Pythonic DBus library" +HOMEPAGE = "https://pypi.python.org/pypi/pydbus/" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a916467b91076e631dd8edb7424769c7" SRC_URI += "file://0001-Support-asynchronous-calls-58.patch \ file://0002-Support-transformation-between-D-Bus-errors-and-exce.patch \ " + +SRC_URI[md5sum] = "c6abd44862322679bd4e907bebc3e0d0" +SRC_URI[sha256sum] = "4207162eff54223822c185da06c1ba8a34137a9602f3da5a528eedf3f78d0f2c" + +inherit pypi setuptools3 + +S = "${WORKDIR}/pydbus-${PV}" + +RDEPENDS_${PN} = "${PYTHON_PN}-pygobject \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyexpect_1.0.17.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyexpect_1.0.17.bb deleted file mode 100644 index bfd58404..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyexpect_1.0.17.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-pyexpect.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyexpect.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyexpect_1.0.19.bb index d2d41d51..ea3c018a 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyexpect.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyexpect_1.0.19.bb @@ -5,7 +5,7 @@ HOMEPAGE = " https://bitbucket.org/dwt/pyexpect" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://README.md;md5=500b884e9dcd5f677a53cbbee8ace939" -inherit pypi +inherit pypi setuptools3 -SRC_URI[md5sum] = "c71307d6c7096fdbde0813018dfa0092" -SRC_URI[sha256sum] = "d656ef7e07a8aa539ce0a4883a683341037b6fc1c329bf55b63bffbf2cce9582" +SRC_URI[md5sum] = "dc744289858001925c75d21e26f1260f" +SRC_URI[sha256sum] = "bff4654b113dac6c2231e486e11dcb23281ddc0742a5404467303fe7638829ef" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.0.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.0.3.bb deleted file mode 100644 index 25af1b5c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.0.3.bb +++ /dev/null @@ -1,3 +0,0 @@ -inherit setuptools3 -require python-pyfirmata.inc - diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyfirmata.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb index 2365379a..c6e95eb5 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyfirmata.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb @@ -7,7 +7,7 @@ RDEPENDS_${PN} = "\ ${PYTHON_PN}-pyserial \ " -SRC_URI[md5sum] = "ee4c23ca5c35d3091d550a63540811a3" -SRC_URI[sha256sum] = "b54d49d66a9d93c1ef9c72ca01264414cb2de177baac116c12d5cce0c380160c" +SRC_URI[md5sum] = "159673cfb56c72ceafc30fe91eedd847" +SRC_URI[sha256sum] = "cc180d1b30c85a2bbca62c15fef1b871db048cdcfa80959968356d97bd3ff08e" -inherit pypi +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflakes_1.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyflakes_2.1.1.bb index a16a880d..c1388224 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyflakes_1.6.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyflakes_2.1.1.bb @@ -1,12 +1,12 @@ SUMMARY = "passive checker of Python programs" HOMEPAGE = "https://github.com/dreamhost/cliff" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;md5=029ce1beb023f2c4ca9f417e4984a865" +LIC_FILES_CHKSUM = "file://README.rst;md5=5127315117a8561a1504343d59620647" -SRC_URI[md5sum] = "b385b0e4cd40a522553e97cd2d83573e" -SRC_URI[sha256sum] = "8d616a382f243dbf19b54743f280b80198be0bca3a5396f1d2e1fca6223e8805" +SRC_URI[md5sum] = "a0f71a15724e553c46e03ba5ed56703c" +SRC_URI[sha256sum] = "d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2" -inherit pypi setuptools +inherit pypi setuptools3 RDEPENDS_${PN} += " \ ${PYTHON_PN}-prettytable \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyhamcrest_1.9.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb index 02d4f54e..ee96a079 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyhamcrest_1.9.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb @@ -1,5 +1,5 @@ SUMMARY = "Hamcrest framework for matcher objects" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f" PYPI_PACKAGE = "PyHamcrest" @@ -7,4 +7,6 @@ PYPI_PACKAGE = "PyHamcrest" SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f" SRC_URI[sha256sum] = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd" -inherit pypi setuptools +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-six" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyiface_0.0.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyiface_0.0.11.bb index 721e7b1c..3022d083 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyiface_0.0.11.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyiface_0.0.11.bb @@ -1,2 +1,11 @@ -inherit setuptools3 -require python-pyiface.inc +SUMMARY = "Pyiface is a package that exposes the network interfaces of the operating system in a easy to use and transparent way" +SECTION = "devel/python" +HOMEPAGE = "https://pypi.python.org/pypi/pyiface/" +LICENSE = "GPLv3+" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fe869ee987a340198fb0d54c55c47f1" + +SRC_URI[md5sum] = "b066aa984656742738127c9c75436ab4" +SRC_URI[sha256sum] = "e231e5735d329c5b2d4fc8854f069fdaa5436d3ef91ed64ee49e41e3f5e8a3f5" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb index b3bab989..ab339531 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb @@ -1,2 +1,16 @@ -inherit setuptools3 -require python-pyinotify.inc +DESCRIPTION = "Python pyinotify: Linux filesystem events monitoring" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=ab173cade7965b411528464589a08382" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-misc \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-smtpd \ +" + +SRC_URI[md5sum] = "8e580fa1ff3971f94a6f81672b76c406" +SRC_URI[sha256sum] = "9c998a5d7606ca835065cdabc013ae6c66eb9ea76a00a1e3bc6e0cfe2b4f71f4" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjks_17.1.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjks_17.1.1.bb deleted file mode 100644 index 8982fceb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjks_17.1.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyjks.inc -inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjks.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjks_19.0.0.bb index d866c565..ee2f3075 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjks.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjks_19.0.0.bb @@ -6,10 +6,10 @@ HOMEPAGE = "http://github.com/kurtbrose/pyjks" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=9694d6cc724caf7f7386be88a4a81958" -SRC_URI[md5sum] = "d53501e7c80d465969742bc6bee91d49" -SRC_URI[sha256sum] = "709c44a303dd6b2464078ebeb677417e717818d4b3dc3844a462bef9d215dcc8" +SRC_URI[md5sum] = "b6e8f3b91be355d15e3ba99de2cccf9b" +SRC_URI[sha256sum] = "9ce5b40289bcdffcd6a8e7118b333ba8ba2ec4c9ebc5e324885cc8a69767011a" -inherit pypi +inherit pypi setuptools3 RDEPENDS_${PN} = "\ ${PYTHON_PN}-javaobj-py3 \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_1.6.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_1.6.4.bb deleted file mode 100644 index dc16d228..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_1.6.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyjwt.inc -inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_1.7.1.bb index 00c38e31..d2f7be46 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyjwt.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_1.7.1.bb @@ -1,16 +1,15 @@ SUMMARY = "JSON Web Token implementation in Python" -SUMMARY = "JSON Web Token implementation in Python" DESCRIPTION = "A Python implementation of JSON Web Token draft 32.\ Original implementation was written by https://github.com/progrium" HOMEPAGE = "http://github.com/jpadilla/pyjwt" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=68626705a7b513ca8d5f44a3e200ed0c" -SRC_URI[md5sum] = "2731c6b66b67b95d1944f072f5fa35a9" -SRC_URI[sha256sum] = "4ee413b357d53fd3fb44704577afac88e72e878716116270d722723d65b42176" +SRC_URI[md5sum] = "a4712f980c008696e13e09504120b2a0" +SRC_URI[sha256sum] = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96" PYPI_PACKAGE = "PyJWT" -inherit pypi +inherit pypi setuptools3 RDEPENDS_${PN} = "${PYTHON_PN}-cryptography" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pykwalify_1.7.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pykwalify_1.7.0.bb new file mode 100644 index 00000000..5d029bd7 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pykwalify_1.7.0.bb @@ -0,0 +1,19 @@ +SUMMARY = "YAML/JSON validation library" +DESCRIPTION = "pykwalify is a schema validator for YAML and JSON" +HOMEPAGE = "https://pypi.org/project/pykwalify/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a72ea5159364a2cd7f45c6dcbee37872" + +SRC_URI[md5sum] = "58357f1d0f77de976e73dbd3660af75b" +SRC_URI[sha256sum] = "7e8b39c5a3a10bc176682b3bd9a7422c39ca247482df198b402e8015defcceb2" + +PYPI_PACKAGE = "pykwalify" +inherit setuptools3 pypi +unset _PYTHON_SYSCONFIGDATA_NAME + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-dateutil \ + ${PYTHON_PN}-pyyaml \ +" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_1.8.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_1.8.3.bb index 563e8316..7a873a1e 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_1.8.3.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_1.8.3.bb @@ -1,2 +1,38 @@ -inherit setuptools3 python3-dir -require python-pylint.inc +SUMMARY="Pylint is a Python source code analyzer" +HOMEPAGE= "http://www.pylint.org/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" + +SRC_URI[md5sum] = "2eb5f3cb8fe567eaf5420dd415012202" +SRC_URI[sha256sum] = "c77311859e0c2d7932095f30d2b1bfdc4b6fe111f534450ba727a52eae330ef2" + +inherit pypi setuptools3 python3-dir + +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + +do_install_append(){ + rm ${D}${bindir}/pylint + cat >> ${D}${bindir}/pylint <<EOF +#!/usr/bin/env ${PYTHON_PN} +from pylint import run_pylint +run_pylint() +EOF + chmod 755 ${D}${bindir}/pylint + sed -i -e 's:^#!/usr/bin/python:#!/usr/bin/env\ ${PYTHON_PN}:g' ${D}/${PYTHON_SITEPACKAGES_DIR}/pylint/test/data/ascript +} + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests+= " \ + ${PYTHON_SITEPACKAGES_DIR}/pylint/test/ \ + ${PYTHON_SITEPACKAGES_DIR}/pylint/testutils.py \ +" + +RDEPENDS_${PN} += "${PYTHON_PN}-astroid \ + ${PYTHON_PN}-isort \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-pkgutil \ + ${PYTHON_PN}-difflib \ + ${PYTHON_PN}-netserver \ + " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb new file mode 100644 index 00000000..207751c4 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "Pythonic Implementation of lyrics.wikia.com" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://setup.py;beginline=14;endline=14;md5=95d480cd6f8471abaeae21bd0ed277ba" + +SRC_URI[md5sum] = "1f3c997edeba149a8fb2b861cbad89c3" +SRC_URI[sha256sum] = "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b" + +PYPI_PACKAGE = "PyLyrics" +PYPI_PACKAGE_EXT = "zip" + +inherit pypi setuptools3
\ No newline at end of file diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.4.122.bb index 468a8012..bf2da006 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymisp.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.4.122.bb @@ -3,8 +3,10 @@ HOMEPAGE = "https://github.com/MISP/PyMISP" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" -SRC_URI[md5sum] = "6d549b36cbfa8c1a3323c5d6e299789e" -SRC_URI[sha256sum] = "f4ed2000cbe1a314f1f88fd8a8eba4ad05974b351b96f1235c6e532158a39fe0" +SRC_URI[md5sum] = "ef41185d4c2753dc2c1a9ab937e3614a" +SRC_URI[sha256sum] = "ecdc362b4bb5dd500a5f0b9e795b35ed75037de64f8dcf39c24d029e7657ad7f" + +inherit pypi setuptools3 RDEPENDS_${PN} += " \ ${PYTHON_PN}-dateutil \ @@ -13,3 +15,7 @@ RDEPENDS_${PN} += " \ ${PYTHON_PN}-requests \ ${PYTHON_PN}-six \ " + +# Fixes: python3-pymisp requires /bin/bash, but no +# providers found in RDEPENDS_python3-pymisp? [file-rdep +RDEPENDS_${PN} += "bash" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.4.93.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.4.93.bb deleted file mode 100644 index 4523d9e3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.4.93.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-pymisp.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_3.10.1.bb index b5277f1c..f69ca53c 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pymongo.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_3.10.1.bb @@ -8,8 +8,10 @@ HOMEPAGE = "http://github.com/mongodb/mongo-python-driver" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRC_URI[md5sum] = "7449c81a6c32c3c8cb9bebebc848fded" -SRC_URI[sha256sum] = "f14fb6c4058772a0d74d82874d3b89d7264d89b4ed7fa0413ea0ef8112b268b9" +SRC_URI[md5sum] = "e31b9c0190c9eaf1f792d0277b2a8ebe" +SRC_URI[sha256sum] = "993257f6ca3cde55332af1f62af3e04ca89ce63c08b56a387cdd46136c72f2fa" + +inherit pypi setuptools3 PACKAGES =+ "${PYTHON_PN}-bson" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_3.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_3.7.1.bb deleted file mode 100644 index 5164b186..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_3.7.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-pymongo.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.bb new file mode 100644 index 00000000..6a64ccb1 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_0.9.3.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] = "e5d9183cc0a775ac29f9e0365cca6556" +SRC_URI[sha256sum] = "d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7" + +PYPI_PACKAGE = "PyMySQL" +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-cryptography" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb index f6d9e3c0..c80a1661 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pynetlinux_1.1.bb @@ -1,2 +1,11 @@ -inherit setuptools3 -require python-pynetlinux.inc +SUMMARY = "Linux network configuration library for Python" +DESCRIPTION = "This library contains Python bindings to ioctl calls" +SECTION = "devel/python" +HOMEPAGE = "http://github.com/rlisagor/pynetlinux" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=74e1861736ee959824fe7542323c12e9" + +SRC_URI[md5sum] = "3336e5d4a478acca4e35bf3125b4f883" +SRC_URI[sha256sum] = "4ad08298c9f5ba15a11cddc639ba8778cabdfc402b51066d9e0a325e5a5b391c" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyopenssl_18.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyopenssl_18.0.0.bb deleted file mode 100644 index 0f0f83e3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyopenssl_18.0.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-pyopenssl.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyopenssl_19.1.0.bb index 516e7958..da783ea2 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyopenssl.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyopenssl_19.1.0.bb @@ -5,10 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" DEPENDS += "openssl ${PYTHON_PN}-cryptography" -SRC_URI[md5sum] = "c92e9c85b520b7e153fef0f7f3c5dda7" -SRC_URI[sha256sum] = "6488f1423b00f73b7ad5167885312bb0ce410d3312eb212393795b53c8caa580" +SRC_URI[md5sum] = "d9804fedbd1eb0c7d9243397b1fbf972" +SRC_URI[sha256sum] = "9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507" PYPI_PACKAGE = "pyOpenSSL" +inherit pypi setuptools3 PACKAGES =+ "${PN}-tests" FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyparsing_2.2.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyparsing_2.2.0.bb deleted file mode 100644 index 0805fee3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyparsing_2.2.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-pyparsing.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyparsing.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyparsing_2.4.6.bb index e30839f8..a6ec1cb9 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyparsing.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyparsing_2.4.6.bb @@ -1,12 +1,12 @@ SUMMARY = "Python parsing module" HOMEPAGE = "http://pyparsing.wikispaces.com/" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=fb46329938e6bc829b256e37d5c1e31a" +LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1" -SRC_URI[md5sum] = "0214e42d63af850256962b6744c948d9" -SRC_URI[sha256sum] = "0832bcf47acd283788593e7a0f542407bd9550a55a8a8435214a1960e04bcb04" +SRC_URI[md5sum] = "29733ea8cbee0291aad121c69c6e51a1" +SRC_URI[sha256sum] = "4c830582a84fb022400b85429791bc551f1f4871c33f23e44f353119e92f969f" -inherit pypi +inherit pypi setuptools3 RDEPENDS_${PN} += " \ ${PYTHON_PN}-datetime \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.6.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.6.2.bb deleted file mode 100644 index ee6f88bb..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.6.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-pyperclip.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.7.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.7.0.bb new file mode 100644 index 00000000..52d109ab --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.7.0.bb @@ -0,0 +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=a428356ada7737b416ec4b63dc65d581" + +SRC_URI[md5sum] = "6bbb8598579cc3ee50554b4c59d0cfae" +SRC_URI[sha256sum] = "979325468ccf682104d5dcaf753f869868100631301d3e72f47babdea5700d1c" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-ctypes \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperf_1.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperf_1.7.1.bb new file mode 100644 index 00000000..081e904e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperf_1.7.1.bb @@ -0,0 +1,24 @@ +SUMMARY = "A toolkit to write, run and analyze benchmarks" +DESCRIPTION = " \ +The Python pyperf module is a toolkit to write, run and analyze benchmarks. \ +Features: \ + * Simple API to run reliable benchmarks \ + * Automatically calibrate a benchmark for a time budget. \ + * Spawn multiple worker processes. \ + * Compute the mean and standard deviation. \ + * Detect if a benchmark result seems unstable. \ + * JSON format to store benchmark results. \ + * Support multiple units: seconds, bytes and integer. \ +" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" + +SRC_URI[md5sum] = "d9e894dc843bb7f0abff109931a29895" +SRC_URI[sha256sum] = "c37690e810116a83a244dfeec47885e2f0475b4c450313904be3bc2cdaf6d50a" + +DEPENDS += "${PYTHON_PN}-six-native" + +PYPI_PACKAGE = "pyperf" +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-misc" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest new file mode 100644 index 00000000..ea429ba2 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest @@ -0,0 +1,4 @@ +#!/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/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.5.12.bb index ed1981e4..440f8993 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pyroute2.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.5.12.bb @@ -3,12 +3,10 @@ LICENSE = "GPLv2 & Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce" -SRC_URI[md5sum] = "2f6f951e94356ae9d224f417dc6ebed2" -SRC_URI[sha256sum] = "42bf74495d95a0196a74dd171357f660175aba2bfc23f9b5f63e3830ccbef9ac" +SRC_URI[md5sum] = "4370e9a5875486a1223705ea9b001eff" +SRC_URI[sha256sum] = "0157801c5496177856c3296b590065e691b041a3adde6fb8ffad2a8d05013ed3" -FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyroute2:" - -inherit pypi +inherit setuptools3 pypi ptest RDEPENDS_${PN} += " \ ${PYTHON_PN}-ctypes \ @@ -23,3 +21,17 @@ RDEPENDS_${PN} += " \ ${PYTHON_PN}-shell \ ${PYTHON_PN}-unixadmin \ " + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-fcntl \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.5.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.5.2.bb deleted file mode 100644 index a23e72c4..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.5.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-pyroute2.inc -inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrsistent_0.15.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrsistent_0.15.7.bb new file mode 100644 index 00000000..53251aa5 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrsistent_0.15.7.bb @@ -0,0 +1,16 @@ +SUMMARY = "Persistent/Immutable/Functional data structures for Python" +HOMEPAGE = "https://github.com/tobgu/pyrsistent" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE.mit;md5=ca574f2891cf528b3e7a2ee570337e7c" + +SRC_URI[md5sum] = "da9486d00ef5b213f40d5cf3c5bca82d" +SRC_URI[sha256sum] = "cdc7b5e3ed77bed61270a47d35434a30617b9becdf2478af76ad2c6ade307280" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-six \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyscaffold_3.2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyscaffold_3.2.3.bb new file mode 100644 index 00000000..dbd222f5 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyscaffold_3.2.3.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python project template generator with batteries included" +DESCRIPTION = "PyScaffold package helps to setup a new Python project. \ +After installation, it provides a new command [putup], which could be \ +used to create template Projects." + +HOMEPAGE = "https://github.com/pyscaffold/pyscaffold" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "PyScaffold" + +SRC_URI[md5sum] = "6769d2a26a9d1f3038944b8fbfe728ff" +SRC_URI[sha256sum] = "96c3e7f5529df0b5b351e879a141e1e5c9f26211f30d493c23d8c09d9d610a6f" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial/run-ptest new file mode 100644 index 00000000..e301963f --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial/run-ptest @@ -0,0 +1,4 @@ +#!/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb index 17ed3f8b..d65c9a88 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial_3.4.bb @@ -1,7 +1,62 @@ -inherit setuptools3 -require python-pyserial.inc +SUMMARY = "Serial Port Support for Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d476d94926db6e0008a5b3860d1f5c0d" + +SRC_URI[md5sum] = "ed6183b15519a0ae96675e9c3330c69b" +SRC_URI[sha256sum] = "6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627" + +inherit pypi setuptools3 ptest do_install_append() { rm -f ${D}${bindir}/miniterm.py rmdir ${D}${bindir} } + +PACKAGES =+ "${PN}-java ${PN}-osx ${PN}-win32 ${PN}-tools" + +FILES_${PN}-java = " \ + ${PYTHON_SITEPACKAGES_DIR}/serial/*java* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*java* \ +" + +FILES_${PN}-osx = " \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*osx* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*osx* \ +" + +FILES_${PN}-win32 = " \ + ${PYTHON_SITEPACKAGES_DIR}/serial/*serialcli* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*serialcli* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/*win32* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*win32* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/miniterm* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/miniterm* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*windows* \ + ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*windows* \ +" + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-stringold \ + ${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}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pysocks_1.6.8.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pysocks_1.6.8.bb deleted file mode 100644 index bbda05a5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pysocks_1.6.8.bb +++ /dev/null @@ -1,6 +0,0 @@ -inherit pypi setuptools3 -require python-pysocks.inc - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-netclient \ -" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysocks.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pysocks_1.7.1.bb index 53ec1b7d..d0db8a06 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pysocks.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pysocks_1.7.1.bb @@ -1,16 +1,18 @@ DESCRIPTION = "A Python SOCKS client module" HOMEPAGE = "http://python-requests.org" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=1d457bcffb9661b45f799d4efee72f16" -SRC_URI[md5sum] = "441c4e3bf5b042f7e70613cd871df26c" -SRC_URI[sha256sum] = "3fe52c55890a248676fd69dc9e3c4e811718b777834bcaab7a8125cf9deac672" +SRC_URI[md5sum] = "89b1a6865c61bae67a32417517612ee6" +SRC_URI[sha256sum] = "3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0" PYPI_PACKAGE = "PySocks" +inherit pypi setuptools3 RDEPENDS_${PN}_class-target += "\ ${PYTHON_PN}-email \ ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging \ ${PYTHON_PN}-netclient \ ${PYTHON_PN}-shell \ " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pystache.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pystache_0.5.4.bb index 6dbc99f5..feb49861 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pystache.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pystache_0.5.4.bb @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=eb4417802c56384aac71b34505528a60" SRC_URI[md5sum] = "485885e67a0f6411d5252e69b20a35ca" SRC_URI[sha256sum] = "f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a" +inherit pypi setuptools3 + RDEPENDS_${PN} += " \ ${PYTHON_PN}-netserver \ " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pystemd_0.7.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pystemd_0.7.0.bb new file mode 100644 index 00000000..66f026ca --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pystemd_0.7.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Python bindings for interacting with systemd over DBus" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" + +SRC_URI[md5sum] = "f493c3e54457e49fe3c160274b863bac" +SRC_URI[sha256sum] = "f5dc49d02995ab96335d9e94f9fe036673d89b8cc9907e7a0ac83c06665f2430" + +DEPENDS = "systemd" +REQUIRED_DISTRO_FEATURES = "systemd" + +inherit pypi setuptools3 features_check + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.10.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.10.0.bb new file mode 100644 index 00000000..a7e963b0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_0.10.0.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "pytest-asyncio is an Apache2 licensed library, written in Python, for testing asyncio code with pytest" +HOMEPAGE = "https://github.com/pytest-dev/pytest-asyncio" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.rst;md5=ae62268d207c73b615fbefddaf91a881" + +SRC_URI[md5sum] = "247a7ec32f24a185341327c42a0f85bf" +SRC_URI[sha256sum] = "9fac5100fd716cbecf6ef89233e8590a4ad61d729d1732e0a96b84182df1daaf" + +inherit pypi setuptools3 + +DEPENDS += "${PYTHON_PN}-pytest-native" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2016.7.10.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2016.7.10.bb deleted file mode 100644 index f03f5d41..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2016.7.10.bb +++ /dev/null @@ -1,7 +0,0 @@ -require python-pytest-helpers-namespace.inc - -inherit setuptools3 - -RDEPENDS_${PN} += " \ - python3-pytest \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2019.1.8.bb index a69867d9..b3aced4f 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-helpers-namespace.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2019.1.8.bb @@ -2,9 +2,13 @@ DESCRIPTION = "This plugin does not provide any helpers to pytest, it does, howe HOMEPAGE = "https://github.com/saltstack/pytest-helpers-namespace" SECTION = "devel/python" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=71fac4dfeee99c39c51f617e9486237c" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=cc99508c43d9d14fd51c7fac622ffd23" -SRC_URI[md5sum] = "80fe3e515f640b1459709b539f6b857e" -SRC_URI[sha256sum] = "d8bdb017c0f7271699c08850b6b12e1ce9e52913cbd4461b5febd21082a29113" +SRC_URI[md5sum] = "04ec1d8750f9b154e782a47cf8b30736" +SRC_URI[sha256sum] = "4eff23a19f92410c0166f6dffbfa8901d3e14a80e97d70cd08428b6d597771ce" -inherit pypi +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pytest \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_1.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_1.6.bb new file mode 100644 index 00000000..8ace29ed --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_1.6.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "pytest plugin for generating html reports from test results" +HOMEPAGE = "https://github.com/pytest-dev/pytest-html" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://../pytest-html.LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" + +# Per README.rst the license statement is fetched from +# https://raw.githubusercontent.com/davehunt/pytest-html/master/LICENSE +SRC_URI += "https://raw.githubusercontent.com/davehunt/pytest-html/master/LICENSE;name=license;downloadfilename=pytest-html.LICENSE" + +PYPI_PACKAGE = "pytest-html" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "ac956864a9b3392203dacd287ae450f0" +SRC_URI[sha256sum] = "a359de04273239587bd1a15b29b2266daeaf56b7a13f8224bc4fb3ae0ba72c3f" +SRC_URI[license.md5sum] = "5d425c8f3157dbf212db2ec53d9e5132" +SRC_URI[license.sha256sum] = "2bfdca60adf803108d4c7f009000bea76ad00e621e163197881b0eaae91b530e" + +RDEPENDS_${PN} = "${PYTHON_PN}-pytest" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-metadata_1.8.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-metadata_1.8.0.bb new file mode 100644 index 00000000..807b0ced --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-metadata_1.8.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "pytest-metadata is a plugin that allowed for accessing pytest metadata" +HOMEPAGE = "https://github.com/pytest-dev/pytest-metadata" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" + +PYPI_PACKAGE = "pytest-metadata" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "95674c2390b58e0138cabac5101d1908" +SRC_URI[sha256sum] = "2071a59285de40d7541fde1eb9f1ddea1c9db165882df82781367471238b66ba" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +RDEPENDS_${PN} = "${PYTHON_PN}-pytest" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_4.2.bb deleted file mode 100644 index df56ba6d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_4.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-pytest-runner.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_5.2.bb index 3b057b0c..d00cd487 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest-runner.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_5.2.bb @@ -2,10 +2,10 @@ SUMMARY = "Invoke py.test as distutils command with dependency resolution" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e" -SRC_URI[md5sum] = "4b696b0f35767f0694f183d0a1855300" -SRC_URI[sha256sum] = "d23f117be39919f00dd91bffeb4f15e031ec797501b717a245e377aee0f577be" +SRC_URI[md5sum] = "e5f66b8e8e87f62c59631c35c919d321" +SRC_URI[sha256sum] = "96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b" -inherit pypi +inherit pypi setuptools3 DEPENDS += " \ ${PYTHON_PN}-setuptools-scm-native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2016.8.20.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2016.8.20.bb deleted file mode 100644 index 02e82156..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2016.8.20.bb +++ /dev/null @@ -1,7 +0,0 @@ -require python-pytest-tempdir.inc - -inherit setuptools3 - -RDEPENDS_${PN} += " \ - python3-pytest \ - " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb new file mode 100644 index 00000000..7a48fd52 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb @@ -0,0 +1,14 @@ +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=9872c3a37cc9baf79a464cd168282be5" + +SRC_URI[md5sum] = "79b997d418fb85c2529ab50cd4333689" +SRC_URI[sha256sum] = "e7d91813a9aa991db87dacdef8cfd3f1657632d731d56d06238c5ffb63ab36d8" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pytest \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-timeout_1.3.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-timeout_1.3.4.bb new file mode 100644 index 00000000..a359969e --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-timeout_1.3.4.bb @@ -0,0 +1,13 @@ +SUMMARY = "py.test plugin to abort hanging tests" +HOMEPAGE = "https://github.com/pytest-dev/pytest-timeout/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff" + +PYPI_PACKAGE = "pytest-timeout" + +SRC_URI[md5sum] = "1594762ae77ed7c6c2727aa8b4aa8bfb" +SRC_URI[sha256sum] = "80faa19cd245a42b87a51699d640c00d937c02b749052bfca6bae8bdbe12c48e" + +inherit pypi setuptools3 + +RDEPENDS_${PN} = "${PYTHON_PN}-pytest" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch new file mode 100644 index 00000000..c29fb12d --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest/0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch @@ -0,0 +1,36 @@ +From ff784f4803ab33f5e3389e40d038d52d1e211843 Mon Sep 17 00:00:00 2001 +From: Yuan Chao <yuanc.fnst@cn.fujitsu.com> +Date: Wed, 28 Aug 2019 16:12:27 +0900 +Subject: [PATCH] [PATCH] setup.py: remove the setup_requires for + setuptools-scm + +The setup_requires argument forces the download of the egg file for setuptools-scm +during the do_compile phase. This download is incompatible with the typical fetch +and mirror structure. The only usage of scm is the generation of the _version.py +file and in the release tarball it is already correctly created + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Derek Straka <derek@asterius.io> + +Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com> +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index adbafb5..75fdd09 100644 +--- a/setup.py ++++ b/setup.py +@@ -19,7 +19,7 @@ INSTALL_REQUIRES = [ + def main(): + setup( + use_scm_version={"write_to": "src/_pytest/_version.py"}, +- setup_requires=["setuptools-scm", "setuptools>=40.0"], ++ setup_requires=["setuptools>=40.0"], + package_dir={"": "src"}, + extras_require={ + "testing": [ +-- +2.17.1 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest_3.4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest_3.4.2.bb deleted file mode 100644 index eba6632a..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest_3.4.2.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit pypi setuptools3 -require python-pytest.inc - -ALTERNATIVE_PRIORITY = "100" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest_5.3.5.bb index 4c32dfb0..8dad13a9 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-pytest.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest_5.3.5.bb @@ -1,15 +1,14 @@ -SUMMARY = "Simple powerful teting with python" +SUMMARY = "Simple powerful testing with python" HOMEPAGE = "http://pytest.org" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c39b24965f4aef64222cb35de9d47cc4" +LIC_FILES_CHKSUM = "file://LICENSE;md5=81eb9f71d006c6b268cf4388e3c98f7b" -SRC_URI[md5sum] = "1b83a25d45fad893f430fc5031653c56" -SRC_URI[sha256sum] = "117bad36c1a787e1a8a659df35de53ba05f9f3398fb9e4ac17e80ad5903eb8c5" +SRC_URI[md5sum] = "d5ef453f723be46d93e0795f3be86c88" +SRC_URI[sha256sum] = "0d5fe9189a148acc3c3eb2ac8e1ac0742cb7618c084f3d228baaec0c254b318d" -SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch \ - file://pytest_version_fix.patch " +SRC_URI_append = " file://0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch " -inherit update-alternatives +inherit update-alternatives pypi setuptools3 RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-attrs \ @@ -20,10 +19,14 @@ RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-py \ ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-six \ + ${PYTHON_PN}-atomicwrites \ + ${PYTHON_PN}-importlib-metadata \ + ${PYTHON_PN}-pathlib2 \ + ${PYTHON_PN}-wcwidth \ + ${PYTHON_PN}-more-itertools \ + ${PYTHON_PN}-packaging \ " -FILESEXTRAPATHS_prepend := "${THISDIR}/python-pytest:" - ALTERNATIVE_${PN} += "py.test pytest" NATIVE_LINK_NAME[pytest] = "${bindir}/pytest" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-python-vlc_3.0.7110.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-python-vlc_3.0.7110.bb new file mode 100644 index 00000000..be63fed0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-python-vlc_3.0.7110.bb @@ -0,0 +1,9 @@ +SUMMARY = "This module provides ctypes-based bindings for the native libvlc API of the VLC video player." +HOMEPAGE = "wiki.videolan.org/PythonBinding" +LICENSE = "LGPL-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +SRC_URI[md5sum] = "e128abf7115d6513582bd460c0e74485" +SRC_URI[sha256sum] = "821bca0dbe08fbff97a65e56ff2318ad7d499330876579c39f01f3fb38c7b679" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb new file mode 100644 index 00000000..1533a895 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb @@ -0,0 +1,30 @@ +SUMMARY = "A TOML-0.4.0 parser/writer for Python" +HOMEPAGE = "https://pypi.python.org/pypi/pytoml/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" + +SRC_URI[md5sum] = "e59dd36a559dd2a876e4c149c69e947b" +SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" + +inherit pypi setuptools3 ptest + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-stringold \ + " + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2018.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2018.5.bb deleted file mode 100755 index 19a89dc5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2018.5.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-pytz.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb new file mode 100644 index 00000000..c28a0148 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2019.3.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=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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb index a62d944b..49a3628f 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyudev_0.21.0.bb @@ -1,2 +1,22 @@ -require python-pyudev.inc +SUMMARY = "A libudev binding" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" + +SRC_URI[md5sum] = "cf4d9db7d772622144ca1be6b5d9353b" +SRC_URI[sha256sum] = "094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b" + inherit pypi setuptools3 + +do_configure_prepend() { + sed -i "/import pyudev/d" ${S}/setup.py + sed -i "s/str(pyudev.__version__)/'${PV}'/g" ${S}/setup.py +} + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-misc \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-fcntl \ + libudev \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyusb_1.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyusb_1.0.2.bb index 1ecede7c..44c24f42 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyusb_1.0.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyusb_1.0.2.bb @@ -1,2 +1,12 @@ -inherit setuptools3 -require python-pyusb.inc +SUMMARY = "PyUSB provides USB access on the Python language" +HOMEPAGE = "http://pyusb.sourceforge.net/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=51691ed11cc2c7ae93e383f60ed49b0f" +DEPENDS += "libusb1" + +SRC_URI[md5sum] = "862b56452c64948c787ad8ef9498590b" +SRC_URI[sha256sum] = "4e9b72cc4a4205ca64fbf1f3fff39a335512166c151ad103e55c8223ac147362" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_3.13.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_3.13.bb deleted file mode 100644 index 470aca60..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_3.13.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-pyyaml.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb new file mode 100644 index 00000000..8cf90930 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb @@ -0,0 +1,18 @@ +SUMMARY = "Python support for YAML" +DEPENDS += "libyaml ${PYTHON_PN}-cython-native" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7bbd28caa69f81f5cd5f48647236663d" + +PYPI_PACKAGE = "PyYAML" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-netclient \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb index 050f53af..2369f067 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb @@ -1,2 +1,27 @@ -require python-pyzmq.inc -inherit setuptools3 +SUMMARY = "Pyzmq provides Zero message queue access for the Python language" +HOMEPAGE = "http://zeromq.org/bindings:python" +LICENSE = "BSD & LGPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \ + file://COPYING.LESSER;md5=12c592fa0bcfff3fb0977b066e9cb69e" +DEPENDS = "zeromq" + +FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:" + +SRC_URI += "file://club-rpath-out.patch" +SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943" +SRC_URI[sha256sum] = "2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4" + +inherit pypi pkgconfig setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-multiprocessing" + +FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/zmq/backend/cython/.debug" + +do_compile_prepend() { + echo [global] > ${S}/setup.cfg + echo zmq_prefix = ${STAGING_DIR_HOST} >> ${S}/setup.cfg + echo have_sys_un_h = True >> ${S}/setup.cfg + echo skip_check_zmq = True >> ${S}/setup.cfg + echo libzmq_extension = False >> ${S}/setup.cfg + echo no_libzmq_extension = True >> ${S}/setup.cfg +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb new file mode 100644 index 00000000..b0d19c31 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-raven_6.10.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Raven is the legacy Python client for Sentry (getsentry.com)" +DESCRIPTION = "\ +Raven is the official legacy Python client for Sentry, officially \ +supports Python 2.6–2.7 & 3.3–3.7, and runs on PyPy and Google App Engine." +HOMEPAGE = "https://github.com/getsentry/raven-python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b9a4414e08f0571d55184531cefc131b" + +SRC_URI[md5sum] = "3676f31dadfa61526444dd0245c78a38" +SRC_URI[sha256sum] = "3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54" + +PYPI_PACKAGE = "raven" +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rdflib_4.2.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rdflib_4.2.2.bb new file mode 100644 index 00000000..f7e7f631 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rdflib_4.2.2.bb @@ -0,0 +1,15 @@ +SUMMARY = "RDFLib is a pure Python package for working with RDF" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=68c1a3bb687bd63b8e5552f3ea249840" + +SRC_URI[md5sum] = "534fe35b13c5857d53fa1ac5a41eca67" +SRC_URI[sha256sum] = "da1df14552555c5c7715d8ce71c08f404c988c58a1ecd38552d0da4fc261280d" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-isodate \ + ${PYTHON_PN}-pyparsing \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-redis_2.10.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-redis_2.10.6.bb index b192ed87..3acc2fda 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-redis_2.10.6.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-redis_2.10.6.bb @@ -1,2 +1,14 @@ +SUMMARY = "Python client for Redis key-value store" +DESCRIPTION = "The Python interface to the Redis key-value store." +HOMEPAGE = "http://github.com/andymccurdy/redis-py" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=51d9ad56299ab60ba7be65a621004f27" + +SRC_URI[md5sum] = "048348d8cfe0b5d0bba2f4d835005c3b" +SRC_URI[sha256sum] = "a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f" + inherit pypi setuptools3 -require python-redis.inc + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-regex_2020.1.8.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-regex_2020.1.8.bb new file mode 100644 index 00000000..6bdc0399 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-regex_2020.1.8.bb @@ -0,0 +1,12 @@ +SUMMARY = "" +HOMEPAGE = "http://pythonhosted.org/regex" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=3d9edb84b293ab5a9ed5bcaf1b769ab6" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "73abc3d7e902e94b4281fd2652f5a94f" +SRC_URI[sha256sum] = "d0f424328f9822b0323b3b6f2e4b9c90960b24743d220763c7f07071e0778351" + + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-futures_0.9.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-futures_0.9.5.bb new file mode 100644 index 00000000..b94929d8 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-futures_0.9.5.bb @@ -0,0 +1,14 @@ +SUMMARY = "Small add-on for the python requests http library. Makes use of python 3.2’s concurrent.futures or the backport for prior versions of python." +HOMEPAGE = "https://github.com/ross/requests-futures" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e1e50798d0afe0e1f87594c6619a2fa5" + +SRC_URI[md5sum] = "e20dc6f063c70888a7f8225e349b6682" +SRC_URI[sha256sum] = "33aa8a3b7892850701707d7e094b1e1ce7c4f7a36ff2a1dcc2da4e01a1a00f7e" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + python3-requests \ +" + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-oauthlib_1.3.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-oauthlib_1.3.0.bb new file mode 100644 index 00000000..fd48cd33 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-oauthlib_1.3.0.bb @@ -0,0 +1,9 @@ +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://LICENSE;md5=22d117a849df10d047ed9b792838e863" + +SRC_URI[md5sum] = "1ebcd55f1b1b9281940b4bc33010e2ba" +SRC_URI[sha256sum] = "b4261601a71fd721a8bd6d7aa1cc1d6a8a93b4a9f5e96626f8e4d91e8beeaa6a" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-requests" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.19.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.19.1.bb deleted file mode 100644 index 0a2410f8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.19.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-requests.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb index 301c2f82..9f3fb7d2 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-requests.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb @@ -1,18 +1,14 @@ DESCRIPTION = "Python HTTP for Humans." HOMEPAGE = "http://python-requests.org" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=bfbeafb85a2cee261510d65d5ec19156" +LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7" 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] = "abfdc28db1065bbd0bc32592ac9d27a6" +SRC_URI[sha256sum] = "b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6" -SRC_URI[md5sum] = "6c1a31afec9d614e2e71a91ee6ca2878" -SRC_URI[sha256sum] = "ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a" - -inherit pypi +inherit pypi setuptools3 RDEPENDS_${PN} += " \ ${PYTHON_PN}-email \ @@ -27,4 +23,6 @@ RDEPENDS_${PN} += " \ ${PYTHON_PN}-idna \ " +CVE_PRODUCT = "requests" + BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3339-validator_0.1.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3339-validator_0.1.1.bb new file mode 100644 index 00000000..1f5d91d3 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3339-validator_0.1.1.bb @@ -0,0 +1,25 @@ +SUMMARY = "A pure python RFC3339 validator" +HOMEPAGE = "https://github.com/naimetti/rfc3339-validator" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6" + +FILESEXTRAPATHS_prepend := "${THISDIR}/python-rfc3339-validator:" + +SRC_URI[md5sum] = "9d8899041d83f98180bddd8b62ee7e99" +SRC_URI[sha256sum] = "20a600d01fbb1f793cbb6f4ec4ebb2104f4c9e80d74d5f78350b63ecc6cccd08" + +PYPI_PACKAGE = "rfc3339_validator" + +inherit pypi setuptools3 + +SRC_URI_append = " \ + file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \ +" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-six \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb new file mode 100644 index 00000000..ed668fba --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb @@ -0,0 +1,23 @@ +SUMMARY = "Pure python rfc3986 validator" +HOMEPAGE = "https://github.com/naimetti/rfc3986-validator" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6" + +FILESEXTRAPATHS_prepend := "${THISDIR}/python-rfc3986-validator:" + +SRC_URI[md5sum] = "47f7657b790aaf6011a1ab3d86c6be95" +SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055" + +PYPI_PACKAGE = "rfc3986_validator" + +inherit pypi setuptools3 + +SRC_URI_append = " \ + file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \ +" + +RDEPENDS_${PN} += "\ + python3-core \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3987_1.3.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3987_1.3.7.bb deleted file mode 100644 index cd1536b3..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3987_1.3.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-rfc3987.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3987.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3987_1.3.8.bb index 46159041..80e2aa5b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-rfc3987.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3987_1.3.8.bb @@ -2,7 +2,9 @@ SUMMARY = "Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=9;md5=2b723edf67b2f3088bc5e339b1ceda2d" -SRC_URI[md5sum] = "aa108c7590902fe609c036864ecb7f84" -SRC_URI[sha256sum] = "91a7826b0a26c246a5a91bef09c2c0809c713a689be689b9571e78a13f6557a4" +SRC_URI[md5sum] = "b6c4028acdc788a9ba697e1c1d6b896c" +SRC_URI[sha256sum] = "d3c4d257a560d544e9826b38bc81db676890c79ab9d7ac92b39c7a253d5ca733" + +inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/e31d5fdf2ea00ac6349e64580a20816783064dd4.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/e31d5fdf2ea00ac6349e64580a20816783064dd4.patch new file mode 100644 index 00000000..21e97fd9 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary/e31d5fdf2ea00ac6349e64580a20816783064dd4.patch @@ -0,0 +1,45 @@ +From e31d5fdf2ea00ac6349e64580a20816783064dd4 Mon Sep 17 00:00:00 2001 +From: Hideki Takeoka <hideki.takeoka@smartfrog.com> +Date: Sun, 25 Aug 2019 19:25:00 +0200 +Subject: [PATCH] Update setup.py for python3.7+ support + +--- + setup.py | 9 +++++---- + src/SerialLibrary/version.py | 3 +++ + 2 files changed, 8 insertions(+), 4 deletions(-) + +diff --git a/setup.py b/setup.py +index 4c34705..70bb1af 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,6 +1,5 @@ + #!/usr/bin/env python + +-from imp import load_source + from os.path import abspath, dirname, join + from sys import platform + +@@ -18,9 +17,11 @@ + + + CURDIR = dirname(abspath(__file__)) +-VERSION = load_source( +- 'version', 'version', +- open(join(CURDIR, 'src', 'SerialLibrary', 'version.py'))).VERSION ++ ++with open(join(CURDIR, 'src', 'SerialLibrary', 'version.py')) as f: ++ exec(f.read()) ++ VERSION = get_version() ++ + README = open(join(CURDIR, 'README.rst')).read() + CLASSIFIERS = '\n'.join( + map(' :: '.join, [ +diff --git a/src/SerialLibrary/version.py b/src/SerialLibrary/version.py +index 6ce65c4..19831bc 100644 +--- a/src/SerialLibrary/version.py ++++ b/src/SerialLibrary/version.py +@@ -1 +1,4 @@ + VERSION = (0, 3, 1) ++ ++def get_version(): ++ return VERSION; diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb index 440f69cb..b6de42f7 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.3.1.bb @@ -1,2 +1,20 @@ -inherit pypi setuptools -require python-robotframework-seriallibrary.inc +SUMMARY = "Robot Framework test library for serial connection" +HOMEPAGE = "https://github.com/whosaysni/robotframework-seriallibrary" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" + +SRC_URI[md5sum] = "b7c9565d54c30df7cd3f3c0e29adffa3" +SRC_URI[sha256sum] = "256ad60fc0b7df4be44d82c302f5ed8fad4935cda99e4b45942e3c88179d1e19" + +PYPI_PACKAGE = "robotframework-seriallibrary" + +inherit pypi setuptools3 + +SRC_URI += "file://e31d5fdf2ea00ac6349e64580a20816783064dd4.patch" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pyserial \ + ${PYTHON_PN}-robotframework \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_3.0.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_3.0.4.bb index 8f613c38..0628f92d 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_3.0.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_3.0.4.bb @@ -1,2 +1,26 @@ -inherit setuptools3 -require python-robotframework.inc +SUMMARY = "A Python generic test automation framework" +DESCRIPTION = "Generic open source test atomation framework for acceptance\ +testing and acceptance test-driven development (ATDD). It has easy-to-use\ +tabular test data syntax and it utilizes the keyword-driven testing approach.\ +Its testing capabilities can be extended by test libraries implemented either\ +with Python or Java, and users can create new higher-level keywords from\ +existing ones using the same syntax that is used for creating test cases." +HOMEPAGE = "http://robotframework.org" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "ee753415645ff4831ff0d366a0467fe7" +SRC_URI[sha256sum] = "ab94257cbd848dfca7148e092d233a12853cc7e840ce8231af9cbb5e7f51aa47" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-xml \ + ${PYTHON_PN}-difflib \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-html \ + ${PYTHON_PN}-docutils \ + ${PYTHON_PN}-ctypes \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.16.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.16.5.bb new file mode 100644 index 00000000..ba095648 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.16.5.bb @@ -0,0 +1,16 @@ +SUMMARY = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order." +AUTHOR = "Anthon van der Neut" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=caf8bd842440b537c044e131785a4666" + +PYPI_PACKAGE = "ruamel.yaml" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "7d5a5b0a7621a1247b081cc8e4978354" +SRC_URI[sha256sum] = "412a6f5cfdc0525dee6a27c08f5415c7fd832a7afcb7a0ed7319628aed23d408" + +do_install_prepend() { + export RUAMEL_NO_PIP_INSTALL_CHECK=1 +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-scrypt/0001-py-scrypt-remove-the-hard-coded-include-paths.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt/0001-py-scrypt-remove-the-hard-coded-include-paths.patch index d535e432..d535e432 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-scrypt/0001-py-scrypt-remove-the-hard-coded-include-paths.patch +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt/0001-py-scrypt-remove-the-hard-coded-include-paths.patch diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt_0.8.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt_0.8.6.bb index f4966532..7588fc54 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt_0.8.6.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-scrypt_0.8.6.bb @@ -1,3 +1,24 @@ -inherit setuptools3 python3-dir -require python-scrypt.inc +DESCRIPTION = "Bindings for the scrypt key derivation function library" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=168ff75417f75a83e63c8875292d44dc" +HOMEPAGE="https://bitbucket.org/mhallin/py-scrypt/overview" +SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" + +SRC_URI[md5sum] = "ae8e3263aa31b040c1f9c7f1e1843a56" +SRC_URI[sha256sum] = "f8239b2d47fa1d40bc27efd231dc7083695d10c1c2ac51a99380360741e0362d" + +inherit pypi ptest setuptools3 + +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/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sdnotify_0.3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sdnotify_0.3.2.bb index 377af12e..221a8c87 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sdnotify_0.3.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sdnotify_0.3.2.bb @@ -1,2 +1,18 @@ +HOMEPAGE = "https://github.com/bb4242/sdnotify" +SUMMARY = "A pure Python implementation of systemd's service notification protocol (sd_notify)" + +DESCRIPTION = "\ + sdnotify is a pure Python implementation of the systemd sd_notify protocol. \ + This protocol can be used to inform systemd about service start-up completion, \ + watchdog events, and other service status changes. \ + Thus, this package can be used to write system services in Python that play nicely with systemd. \ + " + +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cc572ccc4b18a4b7d13be5d01bc8213e" + +SRC_URI[md5sum] = "749ddca1c70be1697fecc443fb1fdb16" +SRC_URI[sha256sum] = "73977fc746b36cc41184dd43c3fe81323e7b8b06c2bb0826c4f59a20c56bb9f1" + inherit setuptools3 pypi -require python-sdnotify.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb index 77925ae2..a469b23b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb @@ -1,2 +1,12 @@ -inherit setuptools3 -require python-semver.inc +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 setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sentry-sdk_0.14.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sentry-sdk_0.14.0.bb new file mode 100644 index 00000000..894e1f90 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sentry-sdk_0.14.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "The new Python SDK for Sentry.io" +DESCRIPTION = "This is the next line of the Python SDK \ +for Sentry, intended to replace the raven package on PyPI." +HOMEPAGE = "https://github.com/getsentry/sentry-python" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0c79f8d3c91fc847350efd28bfe0a341" + +SRC_URI[md5sum] = "2d5cc43c8a178134b739c77439d1f26b" +SRC_URI[sha256sum] = "8e2d38dc58dc992280487e553ec3d97a424e4d179f4fad802ef3b08f64ccf4d8" + +PYPI_PACKAGE = "sentry-sdk" +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent/run-ptest new file mode 100644 index 00000000..b63c4de0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.25.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.25.bb deleted file mode 100644 index 1e04def7..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.25.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-serpent.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.28.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.28.bb new file mode 100644 index 00000000..af2d4aa4 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-serpent_1.28.bb @@ -0,0 +1,27 @@ +SUMMARY = "Serialization based on ast.literal_eval" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5cd70632b6cdb96df9ddaf6a4ce619e6" + +SRC_URI[md5sum] = "15ef8b67c76a6d19bac9c16731a1e62a" +SRC_URI[sha256sum] = "f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab" + +inherit pypi ptest setuptools3 + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pytz \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_2.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_2.1.0.bb deleted file mode 100644 index 5bf59838..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_2.1.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-setuptools-scm.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb new file mode 100644 index 00000000..a1fc3831 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb @@ -0,0 +1,21 @@ +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] = "50b2199082fe808d032ec1710c9d7415" +SRC_URI[sha256sum] = "bd25e1fb5e4d603dcf490f1fde40fb4c595b357795674c3e5cb7f6217ab39ea5" + +PYPI_PACKAGE = "setuptools_scm" +inherit pypi setuptools3 + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-debugger \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-py \ + ${PYTHON_PN}-setuptools \ +" +RDEPENDS_${PN}_class-native = "\ + ${PYTHON_PN}-setuptools-native \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_1.12.14.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_1.12.14.bb index 812bd4b1..b7858734 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_1.12.14.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sh_1.12.14.bb @@ -1,5 +1,24 @@ -require python-sh.inc -inherit setuptools3 +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 setuptools3 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 \ " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb index 24e68337..9a28fc55 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb @@ -1,4 +1,10 @@ -inherit setuptools3 -require python-sijax.inc +DESCRIPTION = "An easy to use AJAX library for Python based on jQuery.ajax" +HOMEPAGE = "https://github.com/spantaleev/sijax-python" +LICENSE = "BSD-3-Clause" -SRC_URI[sha256sum] = "11b062f4a8b2aad95c87e7c09e5daf5a6b0d0f08abf9efe5f91a0075c6be7c0d"
\ No newline at end of file +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=16e213d75641a392478df50cf0841903" + +SRC_URI[sha256sum] = "11b062f4a8b2aad95c87e7c09e5daf5a6b0d0f08abf9efe5f91a0075c6be7c0d" + +PYPI_PACKAGE = "Sijax" +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest new file mode 100644 index 00000000..3385d689 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval/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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb new file mode 100644 index 00000000..1cacf9af --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb @@ -0,0 +1,23 @@ +SUMMARY = "A simple, safe single expression evaluator library" +HOMEPAGE = "https://pypi.org/project/simpleeval/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" + +SRC_URI[md5sum] = "f175fc12d408487ca26fa3905e0a6691" +SRC_URI[sha256sum] = "692055488c2864637f6c2edb5fa48175978a2a07318009e7cf03c9790ca17bea" + +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_simpleeval.py ${D}${PTEST_PATH}/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.16.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.16.0.bb deleted file mode 100644 index 38f406c5..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.16.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-simplejson.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.0.bb index 3d36f960..b76ae529 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-simplejson.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_3.17.0.bb @@ -4,10 +4,10 @@ HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e" -SRC_URI[md5sum] = "744fa99aed207478f8fbf9dd9f04fad3" -SRC_URI[sha256sum] = "b1f329139ba647a9548aa05fb95d046b4a677643070dc2afc05fa2e975d09ca5" +SRC_URI[md5sum] = "8a5ed75c367b90fedc3d685742e2a1c7" +SRC_URI[sha256sum] = "2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81" -inherit pypi +inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-io \ @@ -21,3 +21,5 @@ FILES_${PN}-tests+= " \ ${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \ ${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-slip-dbus_0.6.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb index dc587e76..23099f32 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-slip-dbus_0.6.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb @@ -1,5 +1,5 @@ SUMMARY = "Convenience functions for dbus services in Python 2.x" -HOMEPAGE = "http://nphilipp.fedorapeople.org/python-slip/" +HOMEPAGE = "https://github.com/nphilipp/python-slip" DESCRIPTION = "\ The Simple Library for Python 2.x packages contain miscellaneous code for \ convenience, extension and workaround purposes. \ @@ -17,15 +17,18 @@ SRCNAME = "python-slip" SRC_URI = "https://github.com/nphilipp/${SRCNAME}/releases/download/${SRCNAME}-${PV}/${SRCNAME}-${PV}.tar.bz2" S = "${WORKDIR}/${SRCNAME}-${PV}" -inherit setuptools - -SRC_URI[md5sum] = "a6d8ee96245fc21785d4c1c062c85f2f" -SRC_URI[sha256sum] = "bc897f1ab6f5b4989f85548799aaeb84fde67bbba18e40341bfe1d7885c2fd9a" +SRC_URI[md5sum] = "28ae5f93853466c44ec96706ba2a1eb4" +SRC_URI[sha256sum] = "c726c086f0dd93a0ac7a0176f383a12af91b6657b78a301e3f5b25d9f8d4d10b" do_compile_prepend() { - sed -e 's/@VERSION@/${PV}/g' setup.py.in > setup.py + sed -e 's/@VERSION@/${PV}/g' ${S}/setup.py.in > ${S}/setup.py } +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-six \ +" # 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" + +inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb new file mode 100644 index 00000000..7a619272 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb @@ -0,0 +1,19 @@ +SUMMARY = "Drop-in replacement for smbus-cffi/smbus-python in pure Python" +DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python" +HOMEPAGE = "https://github.com/kplindegaard/smbus2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "d5ed5acc889b4770a84cc932853ed20a" +SRC_URI[sha256sum] = "210e66eebe4d0b1fe836b3ec2751841942e1c4918c0b429b20a0e20a222228b4" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "smbus2" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-fcntl \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.0.bb deleted file mode 100644 index b357bcd8..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit distutils3 -require python-smbus.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.1.bb new file mode 100644 index 00000000..1be77393 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.1.bb @@ -0,0 +1,13 @@ +SUMMARY = "Set of i2c tools for linux - Python module" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://smbusmodule.c;beginline=1;endline=18;md5=46e424fb045901ab25e0f92c28c80055" +PR = "r1" + +SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz " +SRC_URI[md5sum] = "3536237a6b51fb10caacdc3b8a496237" +SRC_URI[sha256sum] = "ef8f77afc70e7dbfd1171bfeae87a8a7f10074829370ce8d9ccd585a014e0073" + +DEPENDS += "i2c-tools" + +S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/" +inherit distutils3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-socketio_4.5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-socketio_4.5.1.bb new file mode 100644 index 00000000..54ecbbaa --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-socketio_4.5.1.bb @@ -0,0 +1,28 @@ +SUMMARY = "Socket.IO server" +HOMEPAGE = "https://github.com/miguelgrinberg/python-socketio/" +SECTION = "devel/python" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "python-socketio" + +SRC_URI[md5sum] = "3dbd0a2ebcf34632f67327b665cbb951" +SRC_URI[sha256sum] = "149b98c33f8c3d09273fb4ebeb83781e4dc9411b56b27d9f058bec1bd1ed74b7" + +PACKAGECONFIG ?= "asyncio_client client" +PACKAGECONFIG[asyncio_client] = ",,,${PYTHON_PN}-aiohttp ${PYTHON_PN}-websockets" +PACKAGECONFIG[client] = ",,,${PYTHON_PN}-requests ${PYTHON_PN}-websocket-client" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-engineio \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-attrs \ + " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_1.9.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_1.9.4.bb new file mode 100644 index 00000000..df69e007 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_1.9.4.bb @@ -0,0 +1,12 @@ +SUMMARY = "CSS selector library for python-beautifulsoup4" +HOMEPAGE = "https://github.com/facelessuser/soupsieve" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5a6fd3b0c24fc5a041a3d1bbb22c81b5" + +SRC_URI[md5sum] = "43d8ea20c58494446aa65ba5cc6320fe" +SRC_URI[sha256sum] = "605f89ad5fdbfefe30cdc293303665eff2d188865d4dbe4eb510bba1edfbfce3" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb index aa4f699b..5948dc85 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-speaklater_1.3.bb @@ -1,2 +1,9 @@ +DESCRIPTION = "Media asset management for Python, with glue code for various frameworks" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b810770075a29bf44b96607440e7c801" + +SRC_URI[md5sum] = "e8d5dbe36e53d5a35cff227e795e8bbf" +SRC_URI[sha256sum] = "59fea336d0eed38c1f0bf3181ee1222d0ef45f3a9dd34ebe65e6bfffdd6a65a9" + +PYPI_PACKAGE = "speaklater" inherit pypi setuptools3 -require python-speaklater.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-speedtest-cli_2.1.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-speedtest-cli_2.1.2.bb new file mode 100644 index 00000000..a901bbac --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-speedtest-cli_2.1.2.bb @@ -0,0 +1,11 @@ +SUMMARY = "Command line interface for testing internet bandwidth using speedtest.net" +HOMEPAGE = "https://github.com/sivel/speedtest-cli" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI[md5sum] = "543d38f8939e1716641cc7c00169ca03" +SRC_URI[sha256sum] = "cf1d386222f94c324e3125ba9a0d187e46d4a13dca08c023bdb9a23096be2e54" + +inherit pypi setuptools3 + +RDEPENDS_${PN} = "${PYTHON_PN}-misc" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-spidev_3.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-spidev_3.2.bb index 610611e4..65679594 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-spidev_3.2.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-spidev_3.2.bb @@ -1,2 +1,16 @@ -inherit setuptools3 -require python-spidev.inc +SUMMARY = "Python bindings for Linux SPI access through spidev" +DESCRIPTION = "This project contains a python module for interfacing with SPI\ +devices from user space via the spidev linux kernel driver.\ +This is a modified version of the code originally found\ +[here](http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/py-spi)\ +All code is GPLv2 licensed unless explicitly stated otherwise." +HOMEPAGE = "http://github.com/doceme/py-spidev" +SECTION = "devel/python" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=54bdb9022ebb75ab68399cdaab97da60" +SRCNAME = "spidev" + +SRC_URI[md5sum] = "f601676f1bb48b9aa3b3897f95216365" +SRC_URI[sha256sum] = "09d2b5122f0dd79910713a11f9a0020f71537224bf829916def4fffc0ea59456" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-spidev.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-spidev_3.4.bb index 1b93763d..334d658d 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-spidev.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-spidev_3.4.bb @@ -6,12 +6,11 @@ This is a modified version of the code originally found\ All code is GPLv2 licensed unless explicitly stated otherwise." HOMEPAGE = "http://github.com/doceme/py-spidev" SECTION = "devel/python" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=54bdb9022ebb75ab68399cdaab97da60" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRCNAME = "spidev" -SRC_URI[md5sum] = "f601676f1bb48b9aa3b3897f95216365" -SRC_URI[sha256sum] = "09d2b5122f0dd79910713a11f9a0020f71537224bf829916def4fffc0ea59456" +SRC_URI[md5sum] = "bbab6352449f1d572cc9eefeafc58bd1" +SRC_URI[sha256sum] = "4314e52f573d95233c907f307558893313a8a606e197e77bb711526b0e179e80" - -inherit pypi +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.17.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.17.bb deleted file mode 100644 index 86cf9edd..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_1.1.17.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-sqlalchemy.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sqlalchemy.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_1.3.17.bb index 0c191ae7..b9c58e5b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-sqlalchemy.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_1.3.17.bb @@ -2,13 +2,13 @@ DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \ application developers the full power and flexibility of SQL" HOMEPAGE = "http://www.sqlalchemy.org/" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b1c412c9d8d1ce018f7a9374407c22bb" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c19467890539ff718c00a019c9c7a7b2" -PYPI_PACKAGE = "SQLAlchemy" -inherit pypi +SRC_URI[md5sum] = "478214152b9293bf5652815d7312c890" +SRC_URI[sha256sum] = "156a27548ba4e1fed944ff9fcdc150633e61d350d673ae7baaf6c25c04ac1f71" -SRC_URI[md5sum] = "03db1c8f8ae911977c0bf3950a4c9c21" -SRC_URI[sha256sum] = "6b55ec379c11ad696f9371ce8e0de93c7f21134323f56a56a1b0d8fbef17013c" +PYPI_PACKAGE = "SQLAlchemy" +inherit pypi setuptools3 RDEPENDS_${PN} += " \ ${PYTHON_PN}-json \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch new file mode 100644 index 00000000..ad6c50ff --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch @@ -0,0 +1,51 @@ +From 10c9d3341d64d697f678a64ae707f6bda21565bb Mon Sep 17 00:00:00 2001 +From: Changqing Li <changqing.li@windriver.com> +Date: Mon, 9 Mar 2020 13:10:37 +0800 +Subject: [PATCH] sqlparse: change shebang to python3 + +Upstream-Status: Pending + +Don't send upstream since upstream still support python2, +we can only make this change after python2 is offcially +dropped. + +Signed-off-by: Changqing Li <changqing.li@windriver.com> +--- + setup.py | 2 +- + sqlparse/__main__.py | 2 +- + sqlparse/cli.py | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/setup.py b/setup.py +index 345d0ce..ce3abc3 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # -*- coding: utf-8 -*- + # + # Copyright (C) 2009-2018 the sqlparse authors and contributors +diff --git a/sqlparse/__main__.py b/sqlparse/__main__.py +index 867d75d..dd0c074 100644 +--- a/sqlparse/__main__.py ++++ b/sqlparse/__main__.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # -*- coding: utf-8 -*- + # + # Copyright (C) 2009-2018 the sqlparse authors and contributors +diff --git a/sqlparse/cli.py b/sqlparse/cli.py +index 25555a5..8bf050a 100755 +--- a/sqlparse/cli.py ++++ b/sqlparse/cli.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # -*- coding: utf-8 -*- + # + # Copyright (C) 2009-2018 the sqlparse authors and contributors +-- +2.7.4 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest new file mode 100644 index 00000000..3385d689 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.3.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.3.1.bb new file mode 100644 index 00000000..1aef28be --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.3.1.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Non-validating SQL parser module" +HOMEPAGE = "http://pypi.python.org/pypi/sqlparse" +SECTION = "devel/python" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" + +SRC_URI += "file://0001-sqlparse-change-shebang-to-python3.patch \ + file://run-ptest \ + " + +SRC_URI[md5sum] = "423047887a3590b04dd18f8caf843a2f" +SRC_URI[sha256sum] = "e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548" + +export BUILD_SYS +export HOST_SYS + +inherit pypi ptest setuptools3 + +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/ +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_1.29.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_1.29.0.bb deleted file mode 100644 index 3f557f2c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_1.29.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-stevedore.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_1.31.0.bb index 14ebc0ef..b985ca5b 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-stevedore.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-stevedore_1.31.0.bb @@ -3,13 +3,13 @@ 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 +SRC_URI[md5sum] = "42fa2bf0251c96b543765c5ce13f37c9" +SRC_URI[sha256sum] = "e0739f9739a681c7a1fda76a102b65295e96a144ccdb552f2ae03c5f0abe8a14" DEPENDS += "${PYTHON_PN}-pbr-native" +inherit pypi setuptools3 + RDEPENDS_${PN} += "${PYTHON_PN}-pbr ${PYTHON_PN}-six" BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-strict-rfc3339_0.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-strict-rfc3339_0.7.bb index 9e37052a..52ae9ebe 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-strict-rfc3339_0.7.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-strict-rfc3339_0.7.bb @@ -1,2 +1,10 @@ +SUMMARY = "Strict, simple, lightweight RFC3339 function.s" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8f0e2cd40e05189ec81232da84bd6e1a" + +SRC_URI[md5sum] = "4d9b635b4df885bc37bc1189d66c9abc" +SRC_URI[sha256sum] = "5cad17bedfc3af57b399db0fed32771f18fc54bbd917e85546088607ac5e1277" + inherit pypi setuptools3 -require python-strict-rfc3339.inc + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service new file mode 100644 index 00000000..e9d3f706 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisor.service @@ -0,0 +1,15 @@ +[Unit] +Description=Supervisor process control system for UNIX +Documentation=http://supervisord.org +After=network.target + +[Service] +ExecStart=/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf +ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown +ExecReload=/usr/bin/supervisorctl -c /etc/supervisor/supervisord.conf $OPTIONS reload +KillMode=process +Restart=on-failure +RestartSec=50s + +[Install] +WantedBy=multi-user.target diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisord.conf b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisord.conf new file mode 100644 index 00000000..3fb9b492 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor/supervisord.conf @@ -0,0 +1,31 @@ +; supervisor config file + +[unix_http_server] +file=/var/run/supervisor.sock ; (the path to the socket file) +chmod=0700 ; sockef file mode (default 0700) + +[supervisord] +logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log) +pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid) +childlogdir=/var/log/ ; ('AUTO' child log dir, default $TEMP) + +; the below section must remain in the config file for RPC +; (supervisorctl/web interface) to work, additional interfaces may be +; added by defining them in separate rpcinterface: sections +[rpcinterface:supervisor] +supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface + +[supervisorctl] +serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket + +; The [include] section can just contain the "files" setting. This +; setting can list multiple files (separated by whitespace or +; newlines). It can also contain wildcards. The filenames are +; interpreted as relative to this file. Included files *cannot* +; include files themselves. + +[include] +files = /etc/supervisor/conf.d/*.conf + +;[inet_http_server] +;port=127.0.0.1:9001 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.1.0.bb new file mode 100644 index 00000000..56ab27e0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-supervisor_4.1.0.bb @@ -0,0 +1,30 @@ +SUMMARY = "Supervisor: A Process Control System" +DESCRIPTION = "\ +Supervisor is a client/server system that allows its users \ +to monitorand control a number of processes on UNIX-like \ +operating systems." +HOMEPAGE = "https://github.com/Supervisor/supervisor" +LICENSE = "BSD-4-Clause" +LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=5b4e3a2172bba4c47cded5885e7e507e" + +SRC_URI[md5sum] = "ecea94eedc70ba5127fdeb0665bcca0d" +SRC_URI[sha256sum] = "2dc86fe0476e945e61483d614ceb2cf4f93b95282eb243bdf792621994360383" + +PYPI_PACKAGE = "supervisor" +inherit pypi systemd setuptools3 +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-meld3 \ +" + +SRC_URI += "file://supervisord.conf \ + file://supervisor.service \ + " +SYSTEMD_SERVICE_${PN} = "supervisor.service" + +do_install_append() { + install -d ${D}${sysconfdir}/supervisor + install -d ${D}${systemd_system_unitdir} + + install -m 0644 ${WORKDIR}/supervisord.conf ${D}${sysconfdir}/supervisor + install -m 0644 ${WORKDIR}/supervisor.service ${D}${systemd_system_unitdir} +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb new file mode 100644 index 00000000..c0c382a5 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-sympy_1.5.1.bb @@ -0,0 +1,16 @@ +# This recipe is adapted from one in meta-jupyter: +# https://github.com/Xilinx/meta-jupyter/blob/master/recipes-python/python3-sympy_1.1.bb + +SUMMARY = "Computer algebra system (CAS) in Python" +HOMEPAGE = "https://pypi.org/project/sympy/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=611b41534dbf5aa01d7c827bf667ef66" + +SRC_URI[md5sum] = "b11b310c3e1642bf66e51038cb3c0021" +SRC_URI[sha256sum] = "d77901d748287d15281f5ffe5b0fef62dd38f357c2b827c44ff07f35695f4e7e" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "python3-mpmath" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_234.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_234.bb index 580d9935..78ec4315 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_234.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_234.bb @@ -1,2 +1,3 @@ require python-systemd.inc +RDEPENDS_${PN} += "python3-syslog" inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-term_2.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-term_2.3.bb new file mode 100644 index 00000000..723f1db5 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-term_2.3.bb @@ -0,0 +1,11 @@ +SUMMARY = "An enhanced version of the tty module" +SECTION = "devel/python" +LICENSE = "Python-2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d90e2d280a4836c607520383d1639be1" + +SRC_URI[md5sum] = "ab0c1bce381b1109fe4390c56aa06237" +SRC_URI[sha256sum] = "3dcc8c212e04700784e5c1c5b601916ba0549ae6025b35b64fd62144899e7180" + +PYPI_PACKAGE_EXT = "zip" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb new file mode 100644 index 00000000..17df7f98 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-termcolor_1.1.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "ANSII Color formatting for output in terminal" +HOMEPAGE = "https://pypi.python.org/pypi/termcolor" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=809e8749b63567978acfbd81d9f6a27d" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "043e89644f8909d462fbbfa511c768df" +SRC_URI[sha256sum] = "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b" + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-test-generator_0.1.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-test-generator_0.1.2.bb new file mode 100644 index 00000000..14943a4b --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-test-generator_0.1.2.bb @@ -0,0 +1,15 @@ +SUMMARY = "Generator is a helper for generating test methods for nose while still using unittest." +DESCRIPTION = "Python package with modified subclasses of all stdlib XML \ +parsers that prevent any potentially malicious operation." + +LICENSE = "ISC" +LIC_FILES_CHKSUM = "file://LICENSE;md5=041a2bff595d40ccb4b36356f89dab00" + +SRC_URI[md5sum] = "6c69e73ba5b4b3ed62f7bcda071c64f1" +SRC_URI[sha256sum] = "ad5925c814bfe79497b43df096e3bb52c166d1577f7aff160137301676232f4a" + +inherit pypi setuptools3 + +DEPENDS += "python3-nose-native" + +RDEPENDS_${PN} += "python3-six" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tinyrecord_0.1.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tinyrecord_0.1.5.bb new file mode 100644 index 00000000..65df2e1c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tinyrecord_0.1.5.bb @@ -0,0 +1,15 @@ +SUMMARY = "transaction support for TinyDB" +DESCRIPTION = "\ +Tinyrecord is a library which implements atomic transaction \ +support for the TinyDB NoSQL database. It uses a record-first \ +then execute architecture which allows us to minimize the time \ +that we are within a thread lock." +HOMEPAGE = "https://github.com/eugene-eeo/tinyrecord" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README;md5=31c1dc11b4ae83546538de4c16bceabc" + +SRC_URI[md5sum] = "e47dcfe299686cd3fa7ffaa7cb2ee8b1" +SRC_URI[sha256sum] = "bc7e6a8e78600df234d7a85c2f5d584130f2c6ffd7cd310f9d3a1d976d3373c8" + +PYPI_PACKAGE = "tinyrecord" +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-toml_0.10.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-toml_0.10.0.bb new file mode 100644 index 00000000..5a7b04c9 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-toml_0.10.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "Python Library for Tom's Obvious, Minimal Language" +HOMEPAGE = "https://github.com/uiri/toml" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6d6012eea477117abf51c31262a152f8" + +SRC_URI[md5sum] = "63fffbe2d632865ec29cd69bfdf36682" +SRC_URI[sha256sum] = "229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-misc \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_6.0.3.bb index 77c9fb51..77c9fb51 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_5.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_6.0.3.bb diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tqdm_4.43.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tqdm_4.43.0.bb new file mode 100644 index 00000000..642246c0 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tqdm_4.43.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Fast, Extensible Progress Meter" +HOMEPAGE = "http://tqdm.github.io/" +SECTION = "devel/python" + +LICENSE = "MIT & MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENCE;md5=7ea57584e3f8bbde2ae3e1537551de25" + +SRC_URI[md5sum] = "81454c26572e4e47911596ea065eb1b7" +SRC_URI[sha256sum] = "f35fb121bafa030bd94e74fcfd44f3c2830039a2ddef7fc87ef1c2d205237b24" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twine_1.13.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twine_1.13.0.bb new file mode 100644 index 00000000..f5cc70f9 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twine_1.13.0.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Six is a Python 2 and 3 compatibility library" +HOMEPAGE = "https://github.com/benjaminp/six" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README.rst;md5=3963bdcee7562bedae1effa09e7542b2" + +SRC_URI[md5sum] = "6fb4da0c7d81ddfd48f619b8caa1493c" +SRC_URI[sha256sum] = "d6c29c933ecfc74e9b1d9fa13aa1f87c5d5770e119f5a4ce032092f0ff5b14dc" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_19.10.0.bb index 6bd8c52e..c12d1cc0 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_19.10.0.bb @@ -1,9 +1,7 @@ inherit pypi setuptools3 require python-twisted.inc -PACKAGES_remove = "${PN}-src" - -FILES_${PN}-core_append += " \ +FILES_${PN}-core_append = " \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/__pycache__ \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__pycache__/*pyc \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__pycache__/__init__*.pyc \ @@ -31,7 +29,7 @@ FILES_${PN}-news_append = " \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/plugins/__pycache__/twisted_news*.pyc \ " -FILES_${PN}-protocols_append += " \ +FILES_${PN}-protocols_append = " \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/protocols/__pycache__/*pyc \ " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_3.8.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_3.8.0.bb new file mode 100644 index 00000000..78f66a44 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_3.8.0.bb @@ -0,0 +1,19 @@ +SUMMARY = "Twitter for Python" +DESCRIPTION = "Python module to support twitter API" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=8f702b489acb6863cec8b261a55931d8" + +SRC_URI[md5sum] = "8aeff278b7cefcd384c65929bc921e2c" +SRC_URI[sha256sum] = "8abd828ba51a85a2b5bb7373715d6d3bb32d18ac624e3a4db02e4ef8ab48316b" + +PYPI_PACKAGE = "tweepy" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-pip \ + ${PYTHON_PN}-pysocks \ + ${PYTHON_PN}-requests \ + ${PYTHON_PN}-six \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twofish/0001-Fix-missing-return-statements-in-module-stubs.patch b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twofish/0001-Fix-missing-return-statements-in-module-stubs.patch new file mode 100644 index 00000000..c25b2457 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twofish/0001-Fix-missing-return-statements-in-module-stubs.patch @@ -0,0 +1,38 @@ +From 5704610f4b3aed5210e9c5b7c05ff8b5b2364c9c Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Mon, 12 Aug 2019 08:18:21 +0000 +Subject: [PATCH] Fix missing return statements in module stubs + +* fixes build with -Werror=return-type + twofish.c: In function 'init_twofish': + twofish.c:45:1: error: control reaches end of non-void function [-Werror=return-type] + 45 | PyMODINIT_FUNC init_twofish(void) { } + | ^~~~~~~~~~~~~~ + twofish.c: In function 'PyInit__twofish': + twofish.c:46:1: error: control reaches end of non-void function [-Werror=return-type] + 46 | PyMODINIT_FUNC PyInit__twofish(void) { } + | ^~~~~~~~~~~~~~ + cc1: some warnings being treated as errors + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> + +Upstream-Status: Submitted [https://github.com/keybase/python-twofish/pull/6] +--- + twofish.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/twofish.c b/twofish.c +index e324c34..d4487d8 100644 +--- a/twofish.c ++++ b/twofish.c +@@ -42,5 +42,5 @@ DL_EXPORT(void) exp_Twofish_decrypt(Twofish_key * xkey, uint8_t c[16], uint8_t p + We need a stub init_twofish function so the module will link as a proper module. + Do not import _twofish from python; it will not work since _twofish is not a *real* module + */ +-PyMODINIT_FUNC init_twofish(void) { } +-PyMODINIT_FUNC PyInit__twofish(void) { } ++PyMODINIT_FUNC init_twofish(void) { return NULL; } ++PyMODINIT_FUNC PyInit__twofish(void) { return NULL; } +-- +2.17.1 + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb index e593f6f2..94fb7109 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-twofish_0.3.0.bb @@ -1,2 +1,15 @@ -require python-twofish.inc -inherit setuptools3 +SUMMARY = "Bindings for the Twofish implementation by Niels Ferguson" +DESCRIPTION = "Bindings for the Twofish implementation by Niels Ferguson\ + libtwofish-dev." +HOMEPAGE = "http://github.com/keybase/python-twofish" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=33a63abf6d7567b1689d8ce69f00e43b" + +SRC_URI += "file://0001-Fix-missing-return-statements-in-module-stubs.patch" + +SRC_URI[md5sum] = "d7d22f16dc4ffa0e3ae2200654033abe" +SRC_URI[sha256sum] = "b09d8bb50d33b23ff34cafb1f9209f858f752935c6a5c901efb92a41acb830fa" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_2.7.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_2.7.1.bb new file mode 100644 index 00000000..b62b6056 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-typeguard_2.7.1.bb @@ -0,0 +1,18 @@ +SUMMARY = "Run-time type checker for Python" +HOMEPAGE = "https://pypi.org/project/typeguard/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53" + +SRC_URI[md5sum] = "ef743359de59f8fe17e7c5e3af70e2c5" +SRC_URI[sha256sum] = "2d545c71e9439c21bcd7c28f5f55b3606e6106f7031ab58375656a1aed483ef2" + +inherit pypi setuptools3 + +DEPENDS += "\ + python3-distutils-extra-native \ + python3-setuptools-scm-native \ +" + +RDEPENDS_${PN} += "python3-typing" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-typing-extensions_3.7.4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-typing-extensions_3.7.4.2.bb new file mode 100644 index 00000000..51e9eda2 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-typing-extensions_3.7.4.2.bb @@ -0,0 +1,13 @@ +HOMEPAGE = "https://github.com/python/typing" +LICENSE = "PSF" +LIC_FILES_CHKSUM = "file://LICENSE;md5=64fc2b30b67d0a8423c250e0386ed72f" + +# The name on PyPi is slightly different. +PYPI_PACKAGE = "typing_extensions" + +SRC_URI[md5sum] = "f2674282966dc088d10170c2347431cc" +SRC_URI[sha256sum] = "79ee589a3caca649a9bfd2a8de4709837400dfa00b6cc81962a1e6a1815969ae" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tzlocal_2.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tzlocal_2.0.0.bb new file mode 100644 index 00000000..3573b29f --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-tzlocal_2.0.0.bb @@ -0,0 +1,9 @@ +SUMMARY = "Library to return tzinfo with the local timezone information" +HOMEPAGE = "https://pypi.org/project/tzlocal/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10" + +SRC_URI[md5sum] = "b14262cecca16ec9220ca8dff2ca7c5d" +SRC_URI[sha256sum] = "949b9dd5ba4be17190a80c0268167d7e6c92c62b30026cf9764caf3e308e5590" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson/run-ptest new file mode 100644 index 00000000..1b391464 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +python3 tests/tests.py diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_1.35.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_1.35.bb index ae4cc0a8..36abb7ea 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_1.35.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_1.35.bb @@ -1,2 +1,30 @@ -inherit setuptools3 -require python-ujson.inc +SUMMARY = "Ultra fast JSON encoder and decoder for Python" +DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 2.5+ and 3." + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e" + +SRC_URI[md5sum] = "42f77b0cce686dfa4da2e68480b1dd24" +SRC_URI[sha256sum] = "f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86" + +inherit pypi ptest setuptools3 + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-numbers \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytz \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_0.5.5.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_0.5.5.bb index 0ddc7e2f..ded66f06 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_0.5.5.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_0.5.5.bb @@ -1,2 +1,14 @@ -require python-unidiff.inc -inherit setuptools3 +SUMMARY = "Unified diff parsing/metadata extraction library" +HOMEPAGE = "http://github.com/matiasb/python-unidiff" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" + +SRC_URI[md5sum] = "47f669d7273541fec45e4cc0fba8d8e9" +SRC_URI[sha256sum] = "9c9ab5fb96b6988b4cd5def6b275492442c04a570900d33aa6373105780025bc" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-codecs \ + ${PYTHON_PN}-io \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate_3.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate_3.0.1.bb new file mode 100644 index 00000000..952e954c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-uritemplate_3.0.1.bb @@ -0,0 +1,14 @@ +# This recipe is originally from meta-openstack: +# https://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/tree/meta-openstack/recipes-devtools/python/python3-uritemplate_3.0.0.bb?h=master + +SUMMARY = "Simple python library to deal with URI Templates." +AUTHOR = "Ian Cordasco" +LICENSE = "Apache-2.0 | BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0f6d769bdcfacac3c1a1ffa568937fe0" + +SRC_URI[md5sum] = "869fb44fbd56713490db7272eb36c8ae" +SRC_URI[sha256sum] = "5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-urllib3_1.23.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-urllib3_1.23.bb deleted file mode 100644 index 19eb7025..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-urllib3_1.23.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-urllib3.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-urllib3_1.25.7.bb index 288ed8b9..34c15b6c 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-urllib3.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-urllib3_1.25.7.bb @@ -1,10 +1,12 @@ SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more" HOMEPAGE = "https://github.com/shazow/urllib3" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=65715c2eb961313d71b297dd5a04f85e" -SRC_URI[md5sum] = "1ad43e4b5ab7a0794c89dc057e1d7179" -SRC_URI[sha256sum] = "a68ac5e15e76e7e5dd2b8f94007233e01effe3e50e8daddf69acfd81cb686baf" +SRC_URI[md5sum] = "85e1e3925f8c1095172bff343f3312ed" +SRC_URI[sha256sum] = "f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745" + +inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-certifi \ @@ -16,4 +18,6 @@ RDEPENDS_${PN} += "\ ${PYTHON_PN}-threading \ " +CVE_PRODUCT = "urllib3" + BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb index f6372c8d..149078c5 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-vcversioner_2.16.0.0.bb @@ -9,12 +9,4 @@ SRC_URI[sha256sum] = "dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa inherit pypi setuptools3 -do_compile_append() { - ${PYTHON} setup.py -q bdist_egg --dist-dir ./ -} - -do_install_append() { - install -m 0644 ${S}/vcversioner*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/ -} - BBCLASSEXTEND = "native" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb new file mode 100644 index 00000000..cf0fa30a --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-versiontools_1.9.1.bb @@ -0,0 +1,10 @@ +SUMMARY = "Smart replacement for plain tuple used in __version__" +SECTION = "devel/python" +HOMEPAGE = "https://launchpad.net/versiontools" +LICENSE = "LGPLv3" +LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=20;md5=02193721a38fd8a05a4ddeb7df8e294d" + +SRC_URI[md5sum] = "602b7db8eea30dd29a1d451997adf251" +SRC_URI[sha256sum] = "a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb index b9bc51d4..ac3a90ef 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-visitor_0.1.3.bb @@ -1,2 +1,8 @@ +SUMMARY = "A tiny pythonic visitor implementation." +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" + +SRC_URI[md5sum] = "94a024ed0ec1b02b4497c15267d319ca" +SRC_URI[sha256sum] = "2c737903b2b6864ebc6167eef7cf3b997126f1aa94bdf590f90f1436d23e480a" + inherit pypi setuptools3 -require python-visitor.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-waitress_1.4.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-waitress_1.4.3.bb new file mode 100644 index 00000000..8ac3e928 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-waitress_1.4.3.bb @@ -0,0 +1,12 @@ +SUMMARY = "A WSGI server for Python" +DESCRIPTION = "Waitress is meant to be a production-quality pure-Python WSGI \ + server with very acceptable performance." +HOMEPAGE = "https://github.com/Pylons/waitress" +SECTION = "devel/python" +LICENSE = "ZPL-2.1" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78ccb3640dc841e1baecb3e27a6966b2" + +SRC_URI[md5sum] = "4bffad7009d3824ae61ea6c0696e45f6" +SRC_URI[sha256sum] = "045b3efc3d97c93362173ab1dfc159b52cfa22b46c3334ffc805dbdbf0e4309e" + +inherit setuptools3 pypi diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb deleted file mode 100644 index 5f6259b0..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth_0.1.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-wcwidth.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wcwidth.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth_0.1.8.bb index 1429450b..f9f6474a 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-wcwidth.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wcwidth_0.1.8.bb @@ -2,7 +2,9 @@ SUMMARY = "Library for building powerful interactive command lines in Python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=11fba47286258744a6bc6e43530c32a1" -SRC_URI[md5sum] = "b3b6a0a08f0c8a34d1de8cf44150a4ad" -SRC_URI[sha256sum] = "3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e" +SRC_URI[md5sum] = "dc6677d099e6f49c0f6fbc310de261e9" +SRC_URI[sha256sum] = "f28b3e8a6483e5d49e7f8949ac1a78314e740333ae305b4ba5defd3e74fb37a8" + +inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webcolors/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webcolors/run-ptest new file mode 100644 index 00000000..3385d689 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webcolors/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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb index fcd9f707..65eed9e7 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webcolors_1.8.1.bb @@ -1,2 +1,27 @@ -inherit pypi setuptools3 -require python-webcolors.inc +SUMMARY = "Simple Python module for working with HTML/CSS color definitions." +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=197add016087e6884a012b0f185d44ad" + +SRC_URI[md5sum] = "40890db38b2a856e526a568864025fe6" +SRC_URI[sha256sum] = "030562f624467a9901f0b455fef05486a88cfb5daa1e356bd4aacea043850b59" + +inherit pypi setuptools3 ptest + +RDEPENDS_${PN}_class-target = "\ + ${PYTHON_PN}-stringold \ +" + +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/ +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb index 71fe741e..aa5b8c78 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb @@ -1,2 +1,15 @@ -inherit setuptools3 -require python-webencodings.inc +SUMMARY = "Character encoding aliases for legacy web content" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" + +SRC_URI[md5sum] = "32f6e261d52e57bf7e1c4d41546d15b8" +SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-codecs \ + ${PYTHON_PN}-json \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-websocket-client_0.56.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-websocket-client_0.56.0.bb new file mode 100644 index 00000000..a3e1bcf3 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-websocket-client_0.56.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "websocket client for python" +DESCRIPTION = "\ +websocket-client module is WebSocket client for python. \ +This provide the low level APIs for WebSocket. All APIs \ +are the synchronous functions." +HOMEPAGE = "https://github.com/websocket-client/websocket-client" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c4c4a98fbc4836b81c8c64d6ecb01fc1" + +SRC_URI[md5sum] = "89484bd5dac71123ae6a09b2f90fe62c" +SRC_URI[sha256sum] = "1fd5520878b68b84b5748bb30e592b10d0a91529d5383f74f4964e72b297fd3a" + +PYPI_PACKAGE = "websocket_client" +inherit pypi setuptools3 + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-six \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-websockets_8.1.bb index 414129c5..b09e978a 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-websockets_8.1.bb @@ -2,12 +2,12 @@ SUMMARY = "An implementation of the WebSocket Protocol (RFC 6455)" HOMEPAGE = "https://github.com/aaugustin/websockets" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5070256738c06d2e59adbec1f4057dac" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ad5c6d36b3d0098b2f33a5ab69a9e750" inherit pypi setuptools3 -SRC_URI[md5sum] = "9e8c6b3c70def4146d75fbb0f52bdfc7" -SRC_URI[sha256sum] = "da4d4fbe059b0453e726d6d993760065d69b823a27efc3040402a6fcfe6a1ed9" +SRC_URI[md5sum] = "f12d7f31fe8d0b3e65c12f845bcd0ad8" +SRC_URI[sha256sum] = "5c65d2da8c6bce0fca2528f69f44b2f977e06954c8512a952222cea50dad430f" BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_0.14.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_0.14.1.bb deleted file mode 100644 index 145a1de0..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_0.14.1.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit pypi setuptools3 -require python-werkzeug.inc - -RDEPENDS_${PN} += "${PYTHON_PN}-misc" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-werkzeug.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb index c04a4e0c..3e4374ed 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-werkzeug.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb @@ -7,14 +7,16 @@ HTTP utilities to handle entity tags, cache control headers, HTTP dates, \ cookie handling, file uploads, a powerful URL routing system and a bunch \ of community contributed addon modules." HOMEPAGE = "http://werkzeug.pocoo.org/" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=ed9a0b7c0254616d72dadb98b293ef1b" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" -SRC_URI[md5sum] = "6d20b5be2d245be4ac7706cc390d130c" -SRC_URI[sha256sum] = "c3fd7a7d41976d9f44db327260e263132466836cef6f91512889ed60ad26557c" +SRC_URI[md5sum] = "305f75c4a88c96dcdc5654bf2d01bc05" +SRC_URI[sha256sum] = "169ba8a33788476292d04186ab33b01d6add475033dfc07215e6d219cc077096" PYPI_PACKAGE = "Werkzeug" +inherit pypi setuptools3 + CLEANBROKEN = "1" PACKAGES =+ "${PN}-tests" @@ -32,6 +34,7 @@ RDEPENDS_${PN} += " \ ${PYTHON_PN}-html \ ${PYTHON_PN}-io \ ${PYTHON_PN}-json \ + ${PYTHON_PN}-misc \ ${PYTHON_PN}-netclient \ ${PYTHON_PN}-netserver \ ${PYTHON_PN}-numbers \ diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb new file mode 100644 index 00000000..58735c1c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_1.0.1.bb @@ -0,0 +1,39 @@ +SUMMARY = "The Swiss Army knife of Python web development" +DESCRIPTION = "\ +Werkzeug started as simple collection of various utilities for WSGI \ +applications and has become one of the most advanced WSGI utility modules. \ +It includes a powerful debugger, full featured request and response objects, \ +HTTP utilities to handle entity tags, cache control headers, HTTP dates, \ +cookie handling, file uploads, a powerful URL routing system and a bunch \ +of community contributed addon modules." +HOMEPAGE = "http://werkzeug.pocoo.org/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" + +PYPI_PACKAGE = "Werkzeug" + +SRC_URI[md5sum] = "5d499cfdd30de5d9c946994783772efd" +SRC_URI[sha256sum] = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-difflib \ + ${PYTHON_PN}-email \ + ${PYTHON_PN}-html \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-netserver \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-pkgutil \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-simplejson \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-unixadmin \ + ${PYTHON_PN}-misc \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wheel_0.33.6.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wheel_0.33.6.bb new file mode 100644 index 00000000..025b2eea --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wheel_0.33.6.bb @@ -0,0 +1,16 @@ +SUMMARY = "The official binary distribution format for Python " +HOMEPAGE = "https://github.com/pypa/wheel" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9d66b41bc2a080e7174acc5dffecd752" + +SRC_URI = "git://github.com/pypa/wheel.git" +SRCREV ?= "b227ddd5beaba49294017d061d501f6d433393b0" + + +inherit setuptools3 + +S = "${WORKDIR}/git" + +BBCLASSEXTEND = "native" + diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-whoosh/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-whoosh/run-ptest new file mode 100644 index 00000000..3385d689 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-whoosh/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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb index 5d8af303..3ae4f91e 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb @@ -1,2 +1,40 @@ -inherit pypi setuptools3 -require python-whoosh.inc +SUMMARY = "Fast, pure-Python full text indexing, search, and spell checking library." +DESCRIPTION = "\ +Whoosh is a fast, featureful full-text indexing and searching library \ +implemented in pure Python. Programmers can use it to easily add search \ +functionality to their applications and websites. Every part of how \ +Whoosh works can be extended or replaced to meet your needs exactly." +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05303186defc6141143629961c7c8a60" + +SRC_URI[md5sum] = "893433e9c0525ac043df33e6e04caab2" +SRC_URI[sha256sum] = "e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69" + +PYPI_PACKAGE = "Whoosh" +PYPI_PACKAGE_EXT = "zip" + +inherit ptest pypi setuptools3 + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-email \ + ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-stringold \ +" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-fcntl \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.10.11.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.10.11.bb deleted file mode 100644 index 85f446ef..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.10.11.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-wrapt.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb new file mode 100644 index 00000000..49fde100 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_1.12.1.bb @@ -0,0 +1,15 @@ +SUMMARY = "A Python module for decorators, wrappers and monkey patching." +HOMEPAGE = "http://wrapt.readthedocs.org/" +LICENSE = "BSD-2-Clause" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fdfc019b57affbe1d7a32e3d34e83db4" + +SRC_URI[md5sum] = "6d56ed0de4336462a73350341462f45e" +SRC_URI[sha256sum] = "b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7" + +inherit pypi setuptools3 + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-threading \ +" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_2.2.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_2.2.1.bb index add59cf7..2b7af626 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_2.2.1.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_2.2.1.bb @@ -1,2 +1,17 @@ +DESCRIPTION = "A flexible forms validation and rendering library for python web development." +HOMEPAGE = "https://pypi.python.org/pypi/WTForms" +SECTION = "devel/python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=c4660c132770d5d0a5757541f6b79493" + +SRC_URI[md5sum] = "41c0008dbe7bd98892c58f7457a46a4a" +SRC_URI[sha256sum] = "0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61" + +PYPI_PACKAGE = "WTForms" + inherit pypi setuptools3 -require python-wtforms.inc + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-netserver \ + ${PYTHON_PN}-numbers \ + " diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd/run-ptest new file mode 100644 index 00000000..3385d689 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd/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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_1.1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_1.1.0.bb deleted file mode 100644 index b7bd969c..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_1.1.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-xlrd.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb new file mode 100644 index 00000000..571dba6f --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb @@ -0,0 +1,31 @@ +SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files" +DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\ + versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \ +Strong support for Excel dates. Unicode-aware." +HOMEPAGE = "http://www.python-excel.org/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5f4244d51fcc1e7cc2d43e96891b2f80" + +SRC_URI[md5sum] = "e5d5b96924d791b22898b622eb3e918e" +SRC_URI[sha256sum] = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2" + +SRC_URI += " \ + file://run-ptest \ +" + +inherit ptest pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + install -d ${D}${PTEST_PATH}/examples + cp -rf ${S}/examples/* ${D}${PTEST_PATH}/examples/ +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb new file mode 100644 index 00000000..7e7b5235 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xmlrunner_1.7.7.bb @@ -0,0 +1,9 @@ +SUMMARY = "unittest-based test runner with Ant/JUnit like XML reporting" +HOMEPAGE = "https://github.com/pycontribs/xmlrunner" +LICENSE = "LGPL-3.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=fa964f202b6ae067ed5828fe43c77c1a" + +SRC_URI[md5sum] = "7b0b152ed2d278516aedbc0cac22dfb3" +SRC_URI[sha256sum] = "5a6113d049eca7646111ee657266966e5bbfb0b5ceb2e83ee0772e16d7110f39" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xmltodict/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xmltodict/run-ptest new file mode 100644 index 00000000..3385d689 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xmltodict/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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xmltodict_0.12.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xmltodict_0.12.0.bb new file mode 100644 index 00000000..d0788832 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xmltodict_0.12.0.bb @@ -0,0 +1,25 @@ +SUMMARY = "Makes working with XML feel like you are working with JSON" +AUTHOR = "Martin Blech" +HOMEPAGE = "https://github.com/martinblech/xmltodict" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=01441d50dc74476db58a41ac10cb9fa2" + +SRC_URI[md5sum] = "ddb2bd078cef4f7e3021a578034ad941" +SRC_URI[sha256sum] = "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21" + +PYPI_PACKAGE = "xmltodict" + +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/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_4.7.0.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_4.7.0.0.bb index 639f80de..b45e96d3 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_4.7.0.0.bb +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_4.7.0.0.bb @@ -1,2 +1,17 @@ +DESCRIPTION = "Font Awesome icons packaged for setuptools (easy_install) / pip." +HOMEPAGE = "https://pypi.python.org/pypi/XStatic-Font-Awesome" +SECTION = "devel/python" +LICENSE = "Apache-2" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=313d021898694cd2b0ea6508bdfe51a2" + +PYPI_PACKAGE = "XStatic-Font-Awesome" + +SRC_URI[md5sum] = "141a0e9a7e21e82f922573a00ae0c166" +SRC_URI[sha256sum] = "e01fb480caaa7c7963dcb3328a4700e631bef6070db0e8b685816d220e685f6c" + +DEPENDS += " \ + ${PYTHON_PN}-xstatic \ + ${PYTHON_PN}-pip \ +" + inherit pypi setuptools3 -require python-xstatic-font-awesome.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.1.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.1.bb deleted file mode 100644 index 76cb7027..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.1.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-xstatic.inc diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.2.bb new file mode 100644 index 00000000..8de39594 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.2.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "XStatic base package with minimal support code" +HOMEPAGE = "https://pypi.python.org/pypi/XStatic" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README.txt;md5=1418684272f85f400cebf1b1a255c5cd" + +PYPI_PACKAGE = "XStatic" + +SRC_URI[md5sum] = "dea172b7b14b0dbcd5ed63075221af4b" +SRC_URI[sha256sum] = "80b78dfe37bce6dee4343d64c65375a80bcf399b46dd47c0c7d56161568a23a8" + +DEPENDS += " \ + ${PYTHON_PN}-pip \ +" + +inherit pypi setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash/run-ptest new file mode 100644 index 00000000..e398fa8c --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest tests/test.py -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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_1.4.3.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_1.4.3.bb new file mode 100644 index 00000000..c114a6c8 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_1.4.3.bb @@ -0,0 +1,22 @@ +SUMMARY = "xxhash is a Python binding for the xxHash library by Yann Collet." +SECTION = "devel/python" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5a8d76283514a1b7e6a414aba38629b5" + +SRC_URI[md5sum] = "ce9cbbcc89620fd47a2468badd08dcf0" +SRC_URI[sha256sum] = "8b6b1afe7731d7d9cbb0398b4a811ebb5e6be5c174f72c68abf81f919a435de9" + +SRC_URI += " \ + file://run-ptest \ +" + +inherit pypi setuptools3 ptest + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi/run-ptest new file mode 100644 index 00000000..3385d689 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi/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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_0.98.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_0.98.bb deleted file mode 100644 index 07da5b6e..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_0.98.bb +++ /dev/null @@ -1,2 +0,0 @@ -require python-yappi.inc -inherit setuptools3 diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.0.bb new file mode 100644 index 00000000..75de4dfb --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi_1.0.bb @@ -0,0 +1,32 @@ +SUMMARY = "Yet Another Python Profiler" +HOMEPAGE = "http://yappi.googlecode.com/" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9a193c13f346884e597acdcac7fe9ac8" + +SRC_URI[md5sum] = "a545101aa8a435b0780f06f4723f58c8" +SRC_URI[sha256sum] = "7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf" + +SRC_URI += " \ + file://run-ptest \ +" + +inherit pypi setuptools3 ptest + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-threading \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-profile \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + cp -f ${S}/yappi.py ${D}/${PTEST_PATH}/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl/run-ptest b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl/run-ptest new file mode 100644 index 00000000..3385d689 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl/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/SKIPED/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/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.4.2.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.4.2.bb new file mode 100644 index 00000000..15d92065 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.4.2.bb @@ -0,0 +1,29 @@ +SUMMARY = "The module provides handy URL class for url parsing and changing" +HOMEPAGE = "https://github.com/aio-libs/yarl/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b334fc90d45983db318f54fd5bf6c90b" + +SRC_URI[md5sum] = "08ba0d6e18f460b44d9e5459f3d217ba" +SRC_URI[sha256sum] = "58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b" + +SRC_URI += " \ + file://run-ptest \ +" + +PYPI_PACKAGE = "yarl" + +inherit pypi ptest setuptools3 + +RDEPENDS_${PN} = "\ + ${PYTHON_PN}-multidict \ + ${PYTHON_PN}-idna \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-zipp_0.6.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-zipp_0.6.0.bb new file mode 100644 index 00000000..40db3c07 --- /dev/null +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-zipp_0.6.0.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE = "https://github.com/jaraco/zipp" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a33f38bbf47d48c70fe0d40e5f77498e" + +SRC_URI[md5sum] = "d4451a749d8a7c3c392a9edd1864a937" +SRC_URI[sha256sum] = "3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "${PYTHON_PN}-compression \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-more-itertools" + +BBCLASSEXTEND = "native nativesdk" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.5.0.bb b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.5.0.bb deleted file mode 100644 index be11858d..00000000 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.5.0.bb +++ /dev/null @@ -1,4 +0,0 @@ -inherit pypi setuptools3 -require python-zopeinterface.inc - -RDEPENDS_${PN}-test += "python3-unittest python3-doctest" diff --git a/external/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface.inc b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb index 12623c9b..6b65924c 100644 --- a/external/meta-openembedded/meta-python/recipes-devtools/python/python-zopeinterface.inc +++ b/external/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_4.7.1.bb @@ -2,16 +2,19 @@ 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] = "7b669cd692d817772c61d2e3ad0f1e71" -SRC_URI[sha256sum] = "57c38470d9f57e37afb460c399eb254e7193ac7fb8042bd09bdc001981a9c74c" +SRC_URI[md5sum] = "1bc66758275c5eb66d169acba3c8e50e" +SRC_URI[sha256sum] = "4bb937e998be9d5e345f486693e477ba79e4344674484001a0b646be1d530487" PYPI_PACKAGE = "zope.interface" +inherit pypi setuptools3 + PACKAGES =. "${PN}-test " RPROVIDES_${PN} += "zope-interfaces" RDEPENDS_${PN}_class-target += "${PYTHON_PN}-datetime" +RDEPENDS_${PN}-test += "python3-unittest python3-doctest" FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/*.egg/*/*/.debug" FILES_${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/zope/interface/*.c" |