From 59cffbb0107af8c8aa0625040eb02a119fb405b6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 14 May 2021 07:07:42 -0700 Subject: [PATCH 1/8] python3-m2crypto: Fix build on riscv and mips wordlen is not so easy to calculate on RISCV, therefore pass the right ingredients so compiler does the right thing in the end Do same for mips as well Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb | 3 +++ 1 file changed, 3 insertions(+) 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 ef123075c7f..e1f92928c6d 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 @@ -36,6 +36,9 @@ SWIG_FEATURES_x32 = "-D__ILP32__" SWIG_FEATURES ?= "-D__${HOST_ARCH}__ ${@['-D__ILP32__','-D__LP64__'][d.getVar('SITEINFO_BITS') != '32']}" +SWIG_FEATURES_append_riscv64 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" +SWIG_FEATURES_append_riscv32 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" +SWIG_FEATURES_append_mipsarch = " -D_MIPS_SZPTR=${SITEINFO_BITS}" export SWIG_FEATURES BBCLASSEXTEND = "native" From 59dba930a4efc676b0d4cfb9de18e89f6b879b8e Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 14 May 2021 17:23:35 +0300 Subject: [PATCH 2/8] python3-alembic: Upgrade 1.5.8 -> 1.6.2 Upgrade to release 1.6.2: - Fixed a bug where paths defined in post-write hook options would be wrongly escaped in non posix environment (Windows) Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{python3-alembic_1.5.8.bb => python3-alembic_1.6.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-alembic_1.5.8.bb => python3-alembic_1.6.2.bb} (78%) diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.5.8.bb b/meta-python/recipes-devtools/python/python3-alembic_1.6.2.bb similarity index 78% rename from meta-python/recipes-devtools/python/python3-alembic_1.5.8.bb rename to meta-python/recipes-devtools/python/python3-alembic_1.6.2.bb index fdf0d36b50a..1daf2092015 100644 --- a/meta-python/recipes-devtools/python/python3-alembic_1.5.8.bb +++ b/meta-python/recipes-devtools/python/python3-alembic_1.6.2.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c4ece55266dcdd02ce165b1ee0e490bb" inherit pypi setuptools3 -SRC_URI[sha256sum] = "e27fd67732c97a1c370c33169ef4578cf96436fa0e7dcfaeeef4a917d0737d56" +SRC_URI[sha256sum] = "fb9a39a7c68e55490be962fb5f70463d384d340e6563d6e3911447778e3b4576" PYPI_PACKAGE = "alembic" From fc58100ddd868b96691dc6f69473721f138f677d Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 14 May 2021 17:23:36 +0300 Subject: [PATCH 3/8] python3-deprecated: Add recipe Python @deprecated decorator to deprecate old python classes, functions or methods. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-deprecated_1.2.12.bb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-deprecated_1.2.12.bb diff --git a/meta-python/recipes-devtools/python/python3-deprecated_1.2.12.bb b/meta-python/recipes-devtools/python/python3-deprecated_1.2.12.bb new file mode 100644 index 00000000000..4651a8ae35e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-deprecated_1.2.12.bb @@ -0,0 +1,9 @@ +SUMMARY = "Python @deprecated decorator to deprecate old python classes, functions or methods." +HOMEPAGE = "https://deprecated.readthedocs.io/en/latest/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=44288e26f4896bdab14072d4fa35ff01" + +PYPI_PACKAGE = "Deprecated" +SRC_URI[sha256sum] = "6d2de2de7931a968874481ef30208fd4e08da39177d61d3d4ebdf4366e7dbca1" + +inherit pypi setuptools3 From 17fb51b5bf474d5a9f803c1817854e24cf52c5de Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 14 May 2021 17:23:37 +0300 Subject: [PATCH 4/8] python3-pymisp: Upgrade 2.4.142 -> 2.4.143 Upgrade to release 2.4.143: - Method to get the raw object template. - Bump version, deps. - First-seen and last-seen on attributes and objects were not checked for sanity. - Remove search_all example, use search instead. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{python3-pymisp_2.4.142.bb => python3-pymisp_2.4.143.bb} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-pymisp_2.4.142.bb => python3-pymisp_2.4.143.bb} (84%) diff --git a/meta-python/recipes-devtools/python/python3-pymisp_2.4.142.bb b/meta-python/recipes-devtools/python/python3-pymisp_2.4.143.bb similarity index 84% rename from meta-python/recipes-devtools/python/python3-pymisp_2.4.142.bb rename to meta-python/recipes-devtools/python/python3-pymisp_2.4.143.bb index a644978e40d..1e3ef27a795 100644 --- a/meta-python/recipes-devtools/python/python3-pymisp_2.4.142.bb +++ b/meta-python/recipes-devtools/python/python3-pymisp_2.4.143.bb @@ -4,7 +4,7 @@ LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" SRC_URI = "git://github.com/MISP/PyMISP.git;protocol=https;branch=main" -SRCREV = "357096f24c4f8d7dac87dfe0b9edad4f924f27a3" +SRCREV = "c2e9663765e83f1a4aa70099546bec653ed770e7" S = "${WORKDIR}/git" inherit setuptools3 @@ -15,6 +15,8 @@ RDEPENDS_${PN} += " \ ${PYTHON_PN}-jsonschema \ ${PYTHON_PN}-requests \ ${PYTHON_PN}-six \ + ${PYTHON_PN}-deprecated \ + ${PYTHON_PN}-wrapt \ " # Fixes: python3-pymisp requires /bin/bash, but no From 8b9373cf3fa23e0f80f31da431cab8d0016bd8c3 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 14 May 2021 17:23:38 +0300 Subject: [PATCH 5/8] python3-aiohue: Upgrade 2.3.1 -> 2.4.0 Upgrade to release 2.4.0: - Allow listening for Hue events Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/{python3-aiohue_2.3.1.bb => python3-aiohue_2.4.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-aiohue_2.3.1.bb => python3-aiohue_2.4.0.bb} (77%) diff --git a/meta-python/recipes-devtools/python/python3-aiohue_2.3.1.bb b/meta-python/recipes-devtools/python/python3-aiohue_2.4.0.bb similarity index 77% rename from meta-python/recipes-devtools/python/python3-aiohue_2.3.1.bb rename to meta-python/recipes-devtools/python/python3-aiohue_2.4.0.bb index bb6b951b875..600a3f4b494 100644 --- a/meta-python/recipes-devtools/python/python3-aiohue_2.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-aiohue_2.4.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f" -SRC_URI[sha256sum] = "d592a9055b56462312fcfccf46601ed4092698db1be5f3fc30c232ea34c6bbe3" +SRC_URI[sha256sum] = "59ac159301064d222192f7b58891d39a2f25aab620061ed12e7cfaf1b5d1a6cc" inherit pypi setuptools3 From b215c8b5a03e220e101e98db9c9f9992ad5119f9 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 14 May 2021 17:23:39 +0300 Subject: [PATCH 6/8] python3-pyroute2: Upgrade 0.5.18 -> 0.5.19 Upgrade to release 0.5.19: - ndb: fix default routes keys - mptcp: basic support - netlink: ext_ack support fix - tc: netem rate setting - NSPopen: fix fd leak Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{python3-pyroute2_0.5.18.bb => python3-pyroute2_0.5.19.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-pyroute2_0.5.18.bb => python3-pyroute2_0.5.19.bb} (90%) diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.5.18.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb similarity index 90% rename from meta-python/recipes-devtools/python/python3-pyroute2_0.5.18.bb rename to meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb index 439d383f867..903bd6459c6 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2_0.5.18.bb +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.5.19.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2 & Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.GPL.v2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://LICENSE.Apache.v2;md5=34281e312165f843a2b7d1f114fe65ce" -SRC_URI[sha256sum] = "08ac40cad52c0bb2e0f20087520599aa91fcce0b221dd26e9042330428810bc5" +SRC_URI[sha256sum] = "45460d12ed2a5caf272a357a3360b36d1e346f17afe1425b66fc21d70f462b29" inherit setuptools3 pypi ptest From a3608dab7791968f72ea92d58226cd80cf515190 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 14 May 2021 17:23:40 +0300 Subject: [PATCH 7/8] python3-matplotlib-inline: Add recipe Inline Matplotlib backend for Jupyter. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-matplotlib-inline_0.1.2.bb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.2.bb diff --git a/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.2.bb b/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.2.bb new file mode 100644 index 00000000000..f060f933376 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.1.2.bb @@ -0,0 +1,8 @@ +SUMMARY = "Inline Matplotlib backend for Jupyter" +HOMEPAGE = "https://pypi.org/project/matplotlib-inline/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c2728819a4288030f51c594327977be0" + +SRC_URI[sha256sum] = "f41d5ff73c9f5385775d5c0bc13b424535c8402fe70ea8210f93e11f3683993e" + +inherit pypi From e3fe6d2bd47caf6cfe7983a4ac90ad05af045d08 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 14 May 2021 17:23:41 +0300 Subject: [PATCH 8/8] python3-ipython: Upgrade 7.22.0 -> 7.23.1 Upgrade to release 7.23.1: - Moved to GitHub actions away from Travis-CI, the transition may not be 100% complete (not testing on nightly anymore), but as we ran out of Travis-Ci hours on the IPython organisation that was a necessary step. - We have a new dependency: matplotlib-inline, which try to extract matplotlib inline backend specific behavior. It is available on PyPI and conda-forge thus should not be a problem to upgrade to this version. If you are a package maintainer that might be an extra dependency to package first. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../{python3-ipython_7.22.0.bb => python3-ipython_7.23.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-ipython_7.22.0.bb => python3-ipython_7.23.1.bb} (89%) diff --git a/meta-python/recipes-devtools/python/python3-ipython_7.22.0.bb b/meta-python/recipes-devtools/python/python3-ipython_7.23.1.bb similarity index 89% rename from meta-python/recipes-devtools/python/python3-ipython_7.22.0.bb rename to meta-python/recipes-devtools/python/python3-ipython_7.23.1.bb index 7bc0d1d00c9..492d922b909 100644 --- a/meta-python/recipes-devtools/python/python3-ipython_7.22.0.bb +++ b/meta-python/recipes-devtools/python/python3-ipython_7.23.1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f" PYPI_PACKAGE = "ipython" -SRC_URI[sha256sum] = "9c900332d4c5a6de534b4befeeb7de44ad0cc42e8327fa41b7685abde58cec74" +SRC_URI[sha256sum] = "714810a5c74f512b69d5f3b944c86e592cee0a5fb9c728e582f074610f6cf038" RDEPENDS_${PN} = "\ ${PYTHON_PN}-setuptools \