diff --git a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.13.0.bb b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.13.0.bb index 80f1a501785..c17a602be8a 100644 --- a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.13.0.bb +++ b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.13.0.bb @@ -16,3 +16,5 @@ RDEPENDS_${PN} += "\ ${PYTHON_PN}-stringold \ ${PYTHON_PN}-threading \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-astroid_2.5.8.bb b/meta-python/recipes-devtools/python/python3-astroid_2.6.0.bb similarity index 89% rename from meta-python/recipes-devtools/python/python3-astroid_2.5.8.bb rename to meta-python/recipes-devtools/python/python3-astroid_2.6.0.bb index 68165abd1c2..e6c485bccf1 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_2.5.8.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_2.6.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" -SRC_URI[sha256sum] = "2476b7f0d6cec13f4c1f53b54bea2ce072310ac9fc7acb669d5270190c748042" +SRC_URI[sha256sum] = "09bdb456e02564731f8b5957cdd0c98a7f01d2db5e90eb1d794c353c28bfd705" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-configargparse_1.4.1.bb b/meta-python/recipes-devtools/python/python3-configargparse_1.5.bb similarity index 81% rename from meta-python/recipes-devtools/python/python3-configargparse_1.4.1.bb rename to meta-python/recipes-devtools/python/python3-configargparse_1.5.bb index 0c851fef30d..4da5288815f 100644 --- a/meta-python/recipes-devtools/python/python3-configargparse_1.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-configargparse_1.5.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/bw2/ConfigArgParse" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=da746463714cc35999ed9a42339f2943" -SRC_URI[sha256sum] = "6df537158f28c5ef2e8a8146781833abbc6cb7fca81b1b55d18808ce3439235e" +SRC_URI[sha256sum] = "dded3590373b7dae6ce6d0afeb4ae3def74761fdd78730952863914d4cb4bdb5" PYPI_PACKAGE = "ConfigArgParse" @@ -15,6 +15,7 @@ PACKAGECONFIG[yaml] = ",,,${PYTHON_PN}-pyyaml" RDEPENDS_${PN} += "\ ${PYTHON_PN}-core \ ${PYTHON_PN}-shell \ + ${PYTHON_PN}-json \ " BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-google-api-core_1.30.0.bb b/meta-python/recipes-devtools/python/python3-google-api-core_1.30.0.bb new file mode 100644 index 00000000000..08cc35d0644 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-google-api-core_1.30.0.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Google API client core library" +HOMEPAGE = "https://github.com/googleapis/python-api-core" +AUTHOR = "Google LLC" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "0724d354d394b3d763bc10dfee05807813c5210f0bd9b8e2ddf6b6925603411c" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-asyncio \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-math \ +" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-googleapis-common-protos \ + ${PYTHON_PN}-google-auth \ + ${PYTHON_PN}-grpcio \ + ${PYTHON_PN}-protobuf \ + ${PYTHON_PN}-pytz \ + ${PYTHON_PN}-requests \ + ${PYTHON_PN}-six \ +" diff --git a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.10.0.bb b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.10.0.bb new file mode 100644 index 00000000000..b406f677d88 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.10.0.bb @@ -0,0 +1,20 @@ +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[sha256sum] = "58424d263344625dcf4dc08e7639a6714737102ab4ae83e5f043e3db08d9965f" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-httplib2 \ + ${PYTHON_PN}-uritemplate \ + ${PYTHON_PN}-google-api-core \ +" diff --git a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.6.0.bb b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.6.0.bb deleted file mode 100644 index c6ae6e8475a..00000000000 --- a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.6.0.bb +++ /dev/null @@ -1,9 +0,0 @@ -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[sha256sum] = "6a87f324334247bf7ba24406da586424b09e715d04336fb7cf45a402b80d38e8" - -inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-google-auth_1.32.0.bb b/meta-python/recipes-devtools/python/python3-google-auth_1.32.0.bb new file mode 100644 index 00000000000..d492bbbcb7d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-google-auth_1.32.0.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Google Authentication Library" +HOMEPAGE = "https://github.com/googleapis/google-auth-library-python" +AUTHOR = "Google Cloud Platform" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "e34e5f5de5610b202f9b40ebd9f8b27571d5c5537db9afed3a72b2db5a345039" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-asyncio \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ +" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-aiohttp \ + ${PYTHON_PN}-cachetools \ + ${PYTHON_PN}-pyasn1-modules \ + ${PYTHON_PN}-rsa \ + ${PYTHON_PN}-six \ +" diff --git a/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.53.0.bb b/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.53.0.bb new file mode 100644 index 00000000000..2c59ae86d22 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.53.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Common protobufs used in Google APIs" +HOMEPAGE = "https://github.com/googleapis/python-api-common-protos" +AUTHOR = "Google LLC" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-grpcio \ + ${PYTHON_PN}-protobuf \ +" diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.37.0.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.38.1.bb similarity index 85% rename from meta-python/recipes-devtools/python/python3-grpcio-tools_1.37.0.bb rename to meta-python/recipes-devtools/python/python3-grpcio-tools_1.38.1.bb index d1b934bd0a7..e6680e84b90 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.37.0.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.38.1.bb @@ -11,7 +11,7 @@ DEPENDS += "${PYTHON_PN}-grpcio" SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch" -SRC_URI[sha256sum] = "3ec510c1b6bfc32effc639acf9a055e72dab7a7b6757bf72f2132790d6a7cf1c" +SRC_URI[sha256sum] = "cd85f58038b92e1961f8127d79691e84e151390d35cae73c4c0cbe2042f76b77" RDEPENDS_${PN} = "${PYTHON_PN}-grpcio" diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb b/meta-python/recipes-devtools/python/python3-h5py_3.3.0.bb similarity index 90% rename from meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb rename to meta-python/recipes-devtools/python/python3-h5py_3.3.0.bb index 5faa0b8080f..58498f89a07 100644 --- a/meta-python/recipes-devtools/python/python3-h5py_3.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-h5py_3.3.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" -SRC_URI[sha256sum] = "89474be911bfcdb34cbf0d98b8ec48b578c27a89fdb1ae4ee7513f1ef8d9249e" +SRC_URI[sha256sum] = "e0dac887d779929778b3cfd13309a939359cc9e74756fc09af7c527a82797186" SRC_URI_append = " \ file://0001-setup_build.py-avoid-absolute-path.patch \ diff --git a/meta-python/recipes-devtools/python/python3-httplib2_0.19.1.bb b/meta-python/recipes-devtools/python/python3-httplib2_0.19.1.bb index a16f8d9d202..122b4bd8b70 100644 --- a/meta-python/recipes-devtools/python/python3-httplib2_0.19.1.bb +++ b/meta-python/recipes-devtools/python/python3-httplib2_0.19.1.bb @@ -7,3 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=56e5e931172b6164b62dc7c4aba6c8cf" SRC_URI[sha256sum] = "0b12617eeca7433d4c396a100eaecfa4b08ee99aa881e6df6e257a7aad5d533d" inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-compression \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-pyparsing \ +" diff --git a/meta-python/recipes-devtools/python/python3-isort_5.8.0.bb b/meta-python/recipes-devtools/python/python3-isort_5.9.1.bb similarity index 66% rename from meta-python/recipes-devtools/python/python3-isort_5.8.0.bb rename to meta-python/recipes-devtools/python/python3-isort_5.9.1.bb index 36de825d2ab..273067c159d 100644 --- a/meta-python/recipes-devtools/python/python3-isort_5.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-isort_5.9.1.bb @@ -4,13 +4,17 @@ LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489" -SRC_URI[sha256sum] = "0a943902919f65c5684ac4e0154b1ad4fac6dcaa5d9f3426b732f1c8b5419be6" +SRC_URI[sha256sum] = "83510593e07e433b77bd5bff0f6f607dbafa06d1a89022616f02d8b699cfcd56" inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-shell \ + ${PYTHON_PN}-profile \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-difflib \ " BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch b/meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch new file mode 100644 index 00000000000..9d9b8449ba9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-m2crypto/avoid-host-contamination.patch @@ -0,0 +1,23 @@ +Filter out '/usr/include' for swig to avoid host contamination issue. + +Upstream-Status: Upstream-Status: Inappropriate [cross compile specific] + +Signed-off-by: Kai Kang +--- + setup.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 5a12981..389d49f 100644 +--- a/setup.py ++++ b/setup.py +@@ -153,7 +153,8 @@ class _M2CryptoBuildExt(build_ext.build_ext): + self.swig_opts.append('-py3') + + # swig seems to need the default header file directories +- self.swig_opts.extend(['-I%s' % i for i in _get_additional_includes()]) ++ self.swig_opts.extend(['-I%s' % i for i in _get_additional_includes() ++ if i != '/usr/include']) + + log.debug('self.include_dirs = %s', self.include_dirs) + log.debug('self.library_dirs = %s', self.library_dirs) diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb index 2284a43a3b1..b3da87fb7e1 100644 --- a/meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb +++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb @@ -10,6 +10,7 @@ SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch \ file://cross-compile-platform.patch \ file://0001-Allow-verify_cb_-to-be-called-with-ok-True.patch \ file://0001-Use-of-RSA_SSLV23_PADDING-has-been-deprecated.patch \ + file://avoid-host-contamination.patch \ " SRC_URI[sha256sum] = "e4e42f068b78ccbf113e5d0a72ae5f480f6c3ace4940b91e4fff5598cfff6fb3" @@ -42,4 +43,6 @@ SWIG_FEATURES_append_mipsarch = " -D_MIPS_SZPTR=${SITEINFO_BITS}" SWIG_FEATURES_append_powerpc64le = " -D__powerpc64__" export SWIG_FEATURES +export STAGING_DIR + BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.9.bb b/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.10.bb similarity index 74% rename from meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.9.bb rename to meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.10.bb index 30306410da7..3414ed097b4 100644 --- a/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.9.bb +++ b/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.17.10.bb @@ -8,9 +8,11 @@ PYPI_PACKAGE = "ruamel.yaml" inherit pypi setuptools3 -BBCLASSEXTEND = "native nativesdk" +SRC_URI[sha256sum] = "106bc8d6dc6a0ff7c9196a47570432036f41d556b779c6b4e618085f57e39e67" -SRC_URI[sha256sum] = "374373b4743aee9f6d9f40bea600fe020a7ac7ae36b838b4a6a93f72b584a14c" +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-shell \ +" do_install_prepend() { export RUAMEL_NO_PIP_INSTALL_CHECK=1 diff --git a/meta-python/recipes-devtools/python/python3-tqdm_4.61.0.bb b/meta-python/recipes-devtools/python/python3-tqdm_4.61.1.bb similarity index 78% rename from meta-python/recipes-devtools/python/python3-tqdm_4.61.0.bb rename to meta-python/recipes-devtools/python/python3-tqdm_4.61.1.bb index 0c04b676a65..7fa30e7f9cb 100644 --- a/meta-python/recipes-devtools/python/python3-tqdm_4.61.0.bb +++ b/meta-python/recipes-devtools/python/python3-tqdm_4.61.1.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "MIT & MPL-2.0" LIC_FILES_CHKSUM = "file://LICENCE;md5=59e4271a933d33edfe60237db377a14b" -SRC_URI[sha256sum] = "cd5791b5d7c3f2f1819efc81d36eb719a38e0906a7380365c556779f585ea042" +SRC_URI[sha256sum] = "24be966933e942be5f074c29755a95b315c69a91f839a29139bf26ffffe2d3fd" inherit pypi setuptools3