python3-pyzmq: Upgrade 17.1.0 -> 19.0.2
PATCH 1/7 python3-pyzmq: Upgrade 17.1.0 -> 19.0.2
- Cython backend: Build Cython extensions with language level "3str" (requires Cython 0.29)
- Cython backend: You can now cimport zmq
- Asyncio: Fix memory leak in Poller
- Log: Much improved logging in zmq.log (see Asynchronous Logging via PyZMQ)
- Log: add python -m zmq.log entrypoint
- Sources generated with Cython 0.29.15
---
.../{python3-pyzmq_17.1.0.bb => python3-pyzmq_19.0.2.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-pyzmq_17.1.0.bb => python3-pyzmq_19.0.2.bb} (86%)meta-python/recipes-devtools/python/python3-pyzmq_19.0.2.bb renamed from meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb +2 -2
@@ -8,8 +8,8 @@ DEPENDS = "zeromq" FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:" SRC_URI += "file://club-rpath-out.patch" -SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943" -SRC_URI[sha256sum] = "2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4" +SRC_URI[md5sum] = "200abc1a75bdcfff7adf61304f46f55e" +SRC_URI[sha256sum] = "296540a065c8c21b26d63e3cea2d1d57902373b16e4256afe46422691903a438" inherit pypi pkgconfig setuptools3
Signature · 1 line
2.17.1
PATCH 2/7 python3-mccabe: Upgrade 0.2.1 -> 0.6.1
Upgrade to release 0.6.1:
- Add support for Python 3.6
- Fix handling for missing statement types
- Fix signature for PathGraphingAstVisitor.default to match the signature for ASTVisitor
---
.../{python3-mccabe_0.2.1.bb => python3-mccabe_0.6.1.bb} | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
rename meta-python/recipes-devtools/python/{python3-mccabe_0.2.1.bb => python3-mccabe_0.6.1.bb} (53%)meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb renamed from meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb +5 -3
@@ -2,13 +2,15 @@ DESCRIPTION = "McCabe checker, plugin for flake8" HOMEPAGE = "https://github.com/dreamhost/cliff" SECTION = "devel/python" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;md5=aa0383f6aee4f5c20084a97cd13164c4" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a489dc62bacbdad3335c0f160a974f0f" -SRC_URI[md5sum] = "5a3f3fa6a4bad126c88aaaa7dab682f5" -SRC_URI[sha256sum] = "5a2a170e47de5593a6abfae1e9542bd2c3924ac62bbe4e6ed96c953c0352243a" +SRC_URI[md5sum] = "723df2f7b1737b8887475bac4c763e1e" +SRC_URI[sha256sum] = "dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f" inherit pypi setuptools3 +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \ ${PYTHON_PN}-cmd2 \ ${PYTHON_PN}-pyparsing \
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 2/7] python3-mccabe: Upgrade 0.2.1 -> 0.6.1
Quoted 8 lines · Leon Anavi
Upgrade to release 0.6.1:
- Add support for Python 3.6
- Fix handling for missing statement types
- Fix signature for PathGraphingAstVisitor.default to match the signature for ASTVisitorSigned-off-by Leon Anavi <[email protected]>
Quoted 33 lines
--- .../{python3-mccabe_0.2.1.bb => python3-mccabe_0.6.1.bb} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)rename meta-python/recipes-devtools/python/{python3-mccabe_0.2.1.bb => python3-mccabe_0.6.1.bb} (53%)
meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb renamed from meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb +5
-3@@ -2,13 +2,15 @@ DESCRIPTION = "McCabe checker, plugin for flake8" HOMEPAGE = "https://github.com/dreamhost/cliff" SECTION = "devel/python" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://README.rst;md5=aa0383f6aee4f5c20084a97cd13164c4" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a489dc62bacbdad3335c0f160a974f0f" -SRC_URI[md5sum] = "5a3f3fa6a4bad126c88aaaa7dab682f5" -SRC_URI[sha256sum] = "5a2a170e47de5593a6abfae1e9542bd2c3924ac62bbe4e6ed96c953c0352243a" +SRC_URI[md5sum] = "723df2f7b1737b8887475bac4c763e1e" +SRC_URI[sha256sum] = "dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f" inherit pypi setuptools3 +DEPENDS += "${PYTHON_PN}-pytest-runner-native" + RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \ ${PYTHON_PN}-cmd2 \ ${PYTHON_PN}-pyparsing \
PATCH 3/7 python3-nmap: Upgrade 1.4.7 -> 1.4.8
In reply to Leon AnaviUpgrade to release 1.4.8:
- Using of -Pn -sZ options for basic stealth scan
- Refactoring nmap3.py to avoid repetitive code
- Support for nmap stealth scans
- Fix handling of xml.etree.ElementTree.Element with no sub elements
- Support for gettings nmap raw outout
---
.../python/{python3-nmap_1.4.7.bb => python3-nmap_1.4.8.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-nmap_1.4.7.bb => python3-nmap_1.4.8.bb} (74%)meta-python/recipes-devtools/python/python3-nmap_1.4.8.bb renamed from meta-python/recipes-devtools/python/python3-nmap_1.4.7.bb +2 -2
@@ -8,8 +8,8 @@ DEPENDS += "${PYTHON_PN}-wheel-native" PYPI_PACKAGE = "python3-nmap" -SRC_URI[md5sum] = "4dce15e7889b1e9bfa8e1e2e0904795c" -SRC_URI[sha256sum] = "127b7ad604a3fd34578a6ad848a603ccf1608c607577eb3bba097a1e2fc8f48a" +SRC_URI[md5sum] = "e7904b39b64a8a44f275388862659a0d" +SRC_URI[sha256sum] = "8d7da78142bee665289a243f71c5f48407d8ab7e5a02ee672ded05f339044759" inherit pypi setuptools3
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 3/7] python3-nmap: Upgrade 1.4.7 -> 1.4.8
Quoted 10 lines · Leon Anavi
Upgrade to release 1.4.8:
- Using of -Pn -sZ options for basic stealth scan
- Refactoringnmap3.pyto avoid repetitive code
- Support for nmap stealth scans
- Fix handling of xml.etree.ElementTree.Element with no sub elements
- Support for gettings nmap raw outoutSigned-off-by Leon Anavi <[email protected]>
Quoted 25 lines
--- .../python/{python3-nmap_1.4.7.bb => python3-nmap_1.4.8.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rename meta-python/recipes-devtools/python/{python3-nmap_1.4.7.bb => python3-nmap_1.4.8.bb} (74%)
meta-python/recipes-devtools/python/python3-nmap_1.4.8.bb renamed from meta-python/recipes-devtools/python/python3-nmap_1.4.7.bb +2
-2@@ -8,8 +8,8 @@ DEPENDS += "${PYTHON_PN}-wheel-native" PYPI_PACKAGE = "python3-nmap" -SRC_URI[md5sum] = "4dce15e7889b1e9bfa8e1e2e0904795c" -SRC_URI[sha256sum] = "127b7ad604a3fd34578a6ad848a603ccf1608c607577eb3bba097a1e2fc8f48a" +SRC_URI[md5sum] = "e7904b39b64a8a44f275388862659a0d" +SRC_URI[sha256sum] = "8d7da78142bee665289a243f71c5f48407d8ab7e5a02ee672ded05f339044759" inherit pypi setuptools3
PATCH 4/7 python3-absl: Upgrade 0.9.0 -> 0.10.0
In reply to Leon AnaviUse PyPI and upgrade to release 0.10.0:
Added:
- (testing) _TempDir and _TempFile now implement __fspath__ to satisfy os.PathLike
- (logging) --logger_levels: allows specifying the log levels of loggers.
- (flags) FLAGS.validate_all_flags: a new method that validates all flags and raises an exception if one fails.
- (flags) FLAGS.get_flags_for_module: Allows fetching the flags a module defines.
- (testing) parameterized.TestCase: Supports async test definitions.
- (testing,app) Added --pdb flag: When true, uncaught exceptions will be handled by pdb.post_mortem. This is an alias for --pdb_post_mortem.
Changed:
- (testing) Failed tests output a copy/pastable test id to make it easier to copy the failing test to the command line.
- (testing) @parameterized.parameters now treats a single abc.Mapping as a single test case, consistent with named_parameters. Previously the abc.Mapping is treated as if only its keys are passed as a list of test cases. If you were relying on the old inconsistent behavior, explicitly convert the abc.Mapping to a list.
- (flags) DEFINE_enum_class and DEFINE_mutlti_enum_class accept a case_sensitive argument. When False (the default), strings are mapped to enum member names without case sensitivity, and member names are serialized in lowercase form. Flag definitions for enums whose members include duplicates when case is ignored must now explicitly pass case_sensitive=True.
Fixed:
- (flags) Defining an alias no longer marks the aliased flag as always present on the command line.
- (flags) Aliasing a multi flag no longer causes the default value to be appended to.
- (flags) Alias default values now matched the aliased default value.
- (flags) Alias present counter now correctly reflects command line usage.
---
.../{python3-absl_0.9.0.bb => python3-absl_0.10.0.bb} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
rename meta-python/recipes-devtools/python/{python3-absl_0.9.0.bb => python3-absl_0.10.0.bb} (55%)meta-python/recipes-devtools/python/python3-absl_0.10.0.bb renamed from meta-python/recipes-devtools/python/python3-absl_0.9.0.bb +4 -4
@@ -4,11 +4,11 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI = "git://github.com/abseil/abseil-py.git" -SRCREV ?= "06edd9c20592cec39178b94240b5e86f32e19768" +SRC_URI[md5sum] = "9cb38ddf7a2f000e2c92e5d9dfa36ffa" +SRC_URI[sha256sum] = "b20f504a7871a580be5268a18fbad48af4203df5d33dbc9272426cb806245a45" -inherit setuptools3 +PYPI_PACKAGE = "absl-py" -S = "${WORKDIR}/git" +inherit pypi setuptools3 BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 4/7] python3-absl: Upgrade 0.9.0 -> 0.10.0
Quoted 43 lines · Leon Anavi
Use PyPI and upgrade to release 0.10.0:
Added:
- (testing)_TempDirand_TempFilenow implement__fspath__to satisfy os.PathLike
- (logging) --logger_levels: allows specifying the log levels of loggers.
- (flags) FLAGS.validate_all_flags: a new method that validates all flags and raises an exception if one fails.
- (flags) FLAGS.get_flags_for_module: Allows fetching the flags a module defines.
- (testing) parameterized.TestCase: Supports async test definitions.
- (testing,app) Added --pdb flag: When true, uncaught exceptions will be handled by pdb.post_mortem. This is an alias for --pdb_post_mortem.Changed:
- (testing) Failed tests output a copy/pastable test id to make it easier to copy the failing test to the command line.
- (testing) @parameterized.parameters now treats a single abc.Mapping as a single test case, consistent withnamed_parameters. Previously the abc.Mapping is treated as if only its keys are passed as a list of test cases. If you were relying on the old inconsistent behavior, explicitly convert the abc.Mapping to a list.
- (flags)DEFINE_enum_classandDEFINE_mutlti_enum_classaccept acase_sensitiveargument. When False (the default), strings are mapped to enum member names without case sensitivity, and member names are serialized in lowercase form. Flag definitions for enums whose members include duplicates when case is ignored must now explicitly pass case_sensitive=True.Fixed:
- (flags) Defining an alias no longer marks the aliased flag as always present on the command line.
- (flags) Aliasing a multi flag no longer causes the default value to be appended to.
- (flags) Alias default values now matched the aliased default value.
- (flags) Alias present counter now correctly reflects command line usage.
Quoted 1 line
Signed-off-by Leon Anavi <[email protected]>
Quoted 30 lines
--- .../{python3-absl_0.9.0.bb => python3-absl_0.10.0.bb} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)rename meta-python/recipes-devtools/python/{python3-absl_0.9.0.bb => python3-absl_0.10.0.bb} (55%)
meta-python/recipes-devtools/python/python3-absl_0.10.0.bb renamed from meta-python/recipes-devtools/python/python3-absl_0.9.0.bb +4
-4@@ -4,11 +4,11 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI = "git://github.com/abseil/abseil-py.git" -SRCREV ?= "06edd9c20592cec39178b94240b5e86f32e19768" +SRC_URI[md5sum] = "9cb38ddf7a2f000e2c92e5d9dfa36ffa" +SRC_URI[sha256sum] = "b20f504a7871a580be5268a18fbad48af4203df5d33dbc9272426cb806245a45" -inherit setuptools3 +PYPI_PACKAGE = "absl-py" -S = "${WORKDIR}/git" +inherit pypi setuptools3 BBCLASSEXTEND = "native"
PATCH 5/7 python3-systemd: Consolidate in a single file
In reply to Leon AnaviConsolidate inc and bb files into a single bb file.
--- .../python/python-systemd.inc | 20 ---------------- .../python/python3-systemd_234.bb | 23 ++++++++++++++++--- 2 files changed, 20 insertions(+), 23 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-systemd.inc
meta-python/recipes-devtools/python/python-systemd.inc deleted +0 -20
@@ -1,20 +0,0 @@ -SUMMARY = "Python interface for libsystemd" -HOMEPAGE = "https://github.com/systemd/python-systemd" -LICENSE = "LGPLv2.1+" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" - -PYPI_PACKAGE = "systemd-python" -DEPENDS += "systemd (<=234)" -RDEPENDS_${PN} += "systemd ${PYTHON_PN}-syslog ${PYTHON_PN}-logging" -REQUIRED_DISTRO_FEATURES = "systemd" -inherit pypi features_check - -SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d" -SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7" - -# 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"
meta-python/recipes-devtools/python/python3-systemd_234.bb +20 -3
@@ -1,3 +1,20 @@ -require python-systemd.inc -RDEPENDS_${PN} += "python3-syslog" -inherit setuptools3 +SUMMARY = "Python interface for libsystemd" +HOMEPAGE = "https://github.com/systemd/python-systemd" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" + +PYPI_PACKAGE = "systemd-python" +DEPENDS += "systemd (<=234)" +RDEPENDS_${PN} += "systemd ${PYTHON_PN}-syslog ${PYTHON_PN}-logging python3-syslog" +REQUIRED_DISTRO_FEATURES = "systemd" +inherit pypi features_check setuptools3 + +SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d" +SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7" + +# 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"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 5/7] python3-systemd: Consolidate in a single file
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 62 lines
--- .../python/python-systemd.inc | 20 ---------------- .../python/python3-systemd_234.bb | 23 ++++++++++++++++--- 2 files changed, 20 insertions(+), 23 deletions(-)delete mode 100644 meta-python/recipes-devtools/python/python-systemd.inc
meta-python/recipes-devtools/python/python-systemd.inc deleted +0
-20@@ -1,20 +0,0 @@ -SUMMARY = "Python interface for libsystemd" -HOMEPAGE = "https://github.com/systemd/python-systemd" -LICENSE = "LGPLv2.1+" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" - -PYPI_PACKAGE = "systemd-python" -DEPENDS += "systemd (<=234)" -RDEPENDS_${PN} += "systemd ${PYTHON_PN}-syslog ${PYTHON_PN}-logging" -REQUIRED_DISTRO_FEATURES = "systemd" -inherit pypi features_check - -SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d" -SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7" - -# 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"meta-python/recipes-devtools/python/python3-systemd_234.bb +20
-3@@ -1,3 +1,20 @@ -require python-systemd.inc -RDEPENDS_${PN} += "python3-syslog" -inherit setuptools3 +SUMMARY = "Python interface for libsystemd" +HOMEPAGE = "https://github.com/systemd/python-systemd" +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" + +PYPI_PACKAGE = "systemd-python" +DEPENDS += "systemd (<=234)" +RDEPENDS_${PN} += "systemd ${PYTHON_PN}-syslog ${PYTHON_PN}-logging python3-syslog" +REQUIRED_DISTRO_FEATURES = "systemd" +inherit pypi features_check setuptools3 + +SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d" +SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7" + +# 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"
PATCH 6/7 python3-gevent: Consolidate in a single file
In reply to Leon AnaviConsolidate inc and bb files into a single bb file.
--- .../recipes-devtools/python/python-gevent.inc | 35 ------------------ .../python/python3-gevent_1.4.0.bb | 37 ++++++++++++++++++- 2 files changed, 35 insertions(+), 37 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-gevent.inc
meta-python/recipes-devtools/python/python-gevent.inc deleted +0 -35
@@ -1,35 +0,0 @@ -SUMMARY = "A coroutine-based Python networking library" -DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \ -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=18108df3583462cafd457f024b9b09b5 \ - file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347 \ - " -DEPENDS += "libevent" -DEPENDS += "${PYTHON_PN}-greenlet" -RDEPENDS_${PN} = "${PYTHON_PN}-greenlet \ - ${PYTHON_PN}-mime \ - ${PYTHON_PN}-pprint \ - " - -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] = "6b9dd98917061803d9158e5258b8f412" -SRC_URI[sha256sum] = "1eb7fa3b9bd9174dfe9c3b59b7a09b768ecd496debfc4976a9530a3e15c990d1" - -# The python-gevent has no autoreconf ability -# and the logic for detecting a cross compile is flawed -# so always force a cross compile -do_configure_append() { - sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/libev/configure - sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/c-ares/configure -} - -inherit pypi
meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb +35 -2
@@ -1,2 +1,35 @@ -require python-gevent.inc -inherit setuptools3 +SUMMARY = "A coroutine-based Python networking library" +DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \ +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=18108df3583462cafd457f024b9b09b5 \ + file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347 \ + " +DEPENDS += "libevent" +DEPENDS += "${PYTHON_PN}-greenlet" +RDEPENDS_${PN} = "${PYTHON_PN}-greenlet \ + ${PYTHON_PN}-mime \ + ${PYTHON_PN}-pprint \ + " + +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] = "6b9dd98917061803d9158e5258b8f412" +SRC_URI[sha256sum] = "1eb7fa3b9bd9174dfe9c3b59b7a09b768ecd496debfc4976a9530a3e15c990d1" + +# The python-gevent has no autoreconf ability +# and the logic for detecting a cross compile is flawed +# so always force a cross compile +do_configure_append() { + sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/libev/configure + sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/c-ares/configure +} + +inherit pypi setuptools3
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 6/7] python3-gevent: Consolidate in a single file
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 91 lines
--- .../recipes-devtools/python/python-gevent.inc | 35 ------------------ .../python/python3-gevent_1.4.0.bb | 37 ++++++++++++++++++- 2 files changed, 35 insertions(+), 37 deletions(-)delete mode 100644 meta-python/recipes-devtools/python/python-gevent.inc
meta-python/recipes-devtools/python/python-gevent.inc deleted +0
-35@@ -1,35 +0,0 @@ -SUMMARY = "A coroutine-based Python networking library" -DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \ -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=18108df3583462cafd457f024b9b09b5 \ - file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347 \ - " -DEPENDS += "libevent" -DEPENDS += "${PYTHON_PN}-greenlet" -RDEPENDS_${PN} = "${PYTHON_PN}-greenlet \ - ${PYTHON_PN}-mime \ - ${PYTHON_PN}-pprint \ - " - -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] = "6b9dd98917061803d9158e5258b8f412" -SRC_URI[sha256sum] = "1eb7fa3b9bd9174dfe9c3b59b7a09b768ecd496debfc4976a9530a3e15c990d1" - -# The python-gevent has no autoreconf ability -# and the logic for detecting a cross compile is flawed -# so always force a cross compile -do_configure_append() { - sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/libev/configure - sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/c-ares/configure -} - -inherit pypimeta-python/recipes-devtools/python/python3-gevent_1.4.0.bb +35
-2@@ -1,2 +1,35 @@ -require python-gevent.inc -inherit setuptools3 +SUMMARY = "A coroutine-based Python networking library" +DESCRIPTION = "gevent is a coroutine-based Python networking library that uses greenlet to provide \ +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=18108df3583462cafd457f024b9b09b5 \ + file://deps/libev/LICENSE;md5=d6ad416afd040c90698edcdf1cbee347 \ + " +DEPENDS += "libevent" +DEPENDS += "${PYTHON_PN}-greenlet" +RDEPENDS_${PN} = "${PYTHON_PN}-greenlet \ + ${PYTHON_PN}-mime \ + ${PYTHON_PN}-pprint \ + " + +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] = "6b9dd98917061803d9158e5258b8f412" +SRC_URI[sha256sum] = "1eb7fa3b9bd9174dfe9c3b59b7a09b768ecd496debfc4976a9530a3e15c990d1" + +# The python-gevent has no autoreconf ability +# and the logic for detecting a cross compile is flawed +# so always force a cross compile +do_configure_append() { + sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/libev/configure + sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/deps/c-ares/configure +} + +inherit pypi setuptools3
PATCH 7/7 python3-gevent: Upgrade 1.4.0 -> 20.6.2
In reply to Leon AnaviUpgrade to release 20.6.2:
- It is now possible to build and use the embedded libuv on a Cygwin platform.
- Bug fix: relax the version constraint for psutil on PyPy.
- The include directories used to compile the C extensions have been tweaked with the intent of making it easier to use older debug versions of Python.
---
...etup.py-do-not-query-for-include-dir.patch | 26 -------------------
...vent_1.4.0.bb => python3-gevent_20.6.2.bb} | 5 ++--
2 files changed, 2 insertions(+), 29 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch
rename meta-python/recipes-devtools/python/{python3-gevent_1.4.0.bb => python3-gevent_20.6.2.bb} (85%)meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From a53ed6b2f967a5f95e69d51cad3f8c120d7df65b Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin <[email protected]> -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 <[email protected]> ---- - 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)
meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb renamed from meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb +2 -3
@@ -18,11 +18,10 @@ 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] = "6b9dd98917061803d9158e5258b8f412" -SRC_URI[sha256sum] = "1eb7fa3b9bd9174dfe9c3b59b7a09b768ecd496debfc4976a9530a3e15c990d1" +SRC_URI[md5sum] = "27b07fe9fdfff2d75e3d140e890489b1" +SRC_URI[sha256sum] = "a23c2abf08e851c988723f6a2996d495f513a2c0dc70f9956af03af8debdb5d1" # The python-gevent has no autoreconf ability # and the logic for detecting a cross compile is flawed
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 7/7] python3-gevent: Upgrade 1.4.0 -> 20.6.2
Quoted 10 lines · Leon Anavi
Upgrade to release 20.6.2:
- It is now possible to build and use the embedded libuv on a Cygwin platform.
- Bug fix: relax the version constraint for psutil on PyPy.
- The include directories used to compile the C extensions have been tweaked with the intent of making it easier to use older debug versions of Python.Signed-off-by Leon Anavi <[email protected]>
Quoted 62 lines
--- ...etup.py-do-not-query-for-include-dir.patch | 26 ------------------- ...vent_1.4.0.bb => python3-gevent_20.6.2.bb} | 5 ++-- 2 files changed, 2 insertions(+), 29 deletions(-)delete mode 100644
meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patchrename meta-python/recipes-devtools/python/{python3-gevent_1.4.0.bb => python3-gevent_20.6.2.bb} (85%)meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch deleted +0
-26@@ -1,26 +0,0 @@ -From a53ed6b2f967a5f95e69d51cad3f8c120d7df65b Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin <[email protected]> -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 <[email protected]> ---- - 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)meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb renamed from meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb +2
-3@@ -18,11 +18,10 @@ 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] = "6b9dd98917061803d9158e5258b8f412" -SRC_URI[sha256sum] = "1eb7fa3b9bd9174dfe9c3b59b7a09b768ecd496debfc4976a9530a3e15c990d1" +SRC_URI[md5sum] = "27b07fe9fdfff2d75e3d140e890489b1" +SRC_URI[sha256sum] = "a23c2abf08e851c988723f6a2996d495f513a2c0dc70f9956af03af8debdb5d1" # The python-gevent has no autoreconf ability # and the logic for detecting a cross compile is flawed
Quoted 10 lines · Leon Anavi
- Cython backend: Build Cython extensions with language level "3str" (requires Cython 0.29)
- Cython backend: You can now cimport zmq
- Asyncio: Fix memory leak in Poller
- Log: Much improved logging in zmq.log (see Asynchronous Logging via PyZMQ)
- Log: add python -m zmq.log entrypoint
- Sources generated with Cython 0.29.15Signed-off-by Leon Anavi <[email protected]>
Quoted 25 lines
--- .../{python3-pyzmq_17.1.0.bb => python3-pyzmq_19.0.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rename meta-python/recipes-devtools/python/{python3-pyzmq_17.1.0.bb => python3-pyzmq_19.0.2.bb} (86%)
meta-python/recipes-devtools/python/python3-pyzmq_19.0.2.bb renamed from meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb +2
-2@@ -8,8 +8,8 @@ DEPENDS = "zeromq" FILESEXTRAPATHS_prepend := "${THISDIR}/python-pyzmq:" SRC_URI += "file://club-rpath-out.patch" -SRC_URI[md5sum] = "aecdfc328193fbd81f6dc23228319943" -SRC_URI[sha256sum] = "2199f753a230e26aec5238b0518b036780708a4c887d4944519681a920b9dee4" +SRC_URI[md5sum] = "200abc1a75bdcfff7adf61304f46f55e" +SRC_URI[sha256sum] = "296540a065c8c21b26d63e3cea2d1d57902373b16e4256afe46422691903a438" inherit pypi pkgconfig setuptools3