All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2
@ 2020-09-02 11:28 Leon Anavi
  2020-09-02 11:28 ` [meta-python][PATCH 2/7] python3-mccabe: Upgrade 0.2.1 -> 0.6.1 Leon Anavi
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Leon Anavi @ 2020-09-02 11:28 UTC (permalink / raw)
  To: openembedded-devel; +Cc: 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.15

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{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%)

diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_19.0.2.bb
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb
rename to meta-python/recipes-devtools/python/python3-pyzmq_19.0.2.bb
index 2369f067e..3c4e32b5e 100644
--- a/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyzmq_19.0.2.bb
@@ -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
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH 2/7] python3-mccabe: Upgrade 0.2.1 -> 0.6.1
  2020-09-02 11:28 [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Leon Anavi
@ 2020-09-02 11:28 ` Leon Anavi
  2020-09-05 19:02   ` [oe] " Trevor Gamblin
  2020-09-02 11:28 ` [meta-python][PATCH 3/7] python3-nmap: Upgrade 1.4.7 -> 1.4.8 Leon Anavi
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-09-02 11:28 UTC (permalink / raw)
  To: openembedded-devel; +Cc: 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 ASTVisitor

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{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%)

diff --git a/meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb b/meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb
similarity index 53%
rename from meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb
rename to meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb
index d3a9971e4..63a9e35ac 100644
--- a/meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb
@@ -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 \
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH 3/7] python3-nmap: Upgrade 1.4.7 -> 1.4.8
  2020-09-02 11:28 [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Leon Anavi
  2020-09-02 11:28 ` [meta-python][PATCH 2/7] python3-mccabe: Upgrade 0.2.1 -> 0.6.1 Leon Anavi
@ 2020-09-02 11:28 ` Leon Anavi
  2020-09-05 19:02   ` [oe] " Trevor Gamblin
  2020-09-02 11:28 ` [meta-python][PATCH 4/7] python3-absl: Upgrade 0.9.0 -> 0.10.0 Leon Anavi
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-09-02 11:28 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade 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

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../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%)

diff --git a/meta-python/recipes-devtools/python/python3-nmap_1.4.7.bb b/meta-python/recipes-devtools/python/python3-nmap_1.4.8.bb
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-nmap_1.4.7.bb
rename to meta-python/recipes-devtools/python/python3-nmap_1.4.8.bb
index 5ebd75711..2037d496a 100644
--- a/meta-python/recipes-devtools/python/python3-nmap_1.4.7.bb
+++ b/meta-python/recipes-devtools/python/python3-nmap_1.4.8.bb
@@ -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
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH 4/7] python3-absl: Upgrade 0.9.0 -> 0.10.0
  2020-09-02 11:28 [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Leon Anavi
  2020-09-02 11:28 ` [meta-python][PATCH 2/7] python3-mccabe: Upgrade 0.2.1 -> 0.6.1 Leon Anavi
  2020-09-02 11:28 ` [meta-python][PATCH 3/7] python3-nmap: Upgrade 1.4.7 -> 1.4.8 Leon Anavi
@ 2020-09-02 11:28 ` Leon Anavi
  2020-09-05 19:02   ` [oe] " Trevor Gamblin
  2020-09-02 11:28 ` [meta-python][PATCH 5/7] python3-systemd: Consolidate in a single file Leon Anavi
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-09-02 11:28 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Use 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.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{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%)

diff --git a/meta-python/recipes-devtools/python/python3-absl_0.9.0.bb b/meta-python/recipes-devtools/python/python3-absl_0.10.0.bb
similarity index 55%
rename from meta-python/recipes-devtools/python/python3-absl_0.9.0.bb
rename to meta-python/recipes-devtools/python/python3-absl_0.10.0.bb
index a8f47ba4c..5be00ccb4 100644
--- a/meta-python/recipes-devtools/python/python3-absl_0.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-absl_0.10.0.bb
@@ -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"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH 5/7] python3-systemd: Consolidate in a single file
  2020-09-02 11:28 [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Leon Anavi
                   ` (2 preceding siblings ...)
  2020-09-02 11:28 ` [meta-python][PATCH 4/7] python3-absl: Upgrade 0.9.0 -> 0.10.0 Leon Anavi
@ 2020-09-02 11:28 ` Leon Anavi
  2020-09-05 19:03   ` [oe] " Trevor Gamblin
  2020-09-02 11:28 ` [meta-python][PATCH 6/7] python3-gevent: " Leon Anavi
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-09-02 11:28 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../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

diff --git a/meta-python/recipes-devtools/python/python-systemd.inc b/meta-python/recipes-devtools/python/python-systemd.inc
deleted file mode 100644
index b14f82501..000000000
--- a/meta-python/recipes-devtools/python/python-systemd.inc
+++ /dev/null
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python3-systemd_234.bb b/meta-python/recipes-devtools/python/python3-systemd_234.bb
index 78ec43156..6914cf920 100644
--- a/meta-python/recipes-devtools/python/python3-systemd_234.bb
+++ b/meta-python/recipes-devtools/python/python3-systemd_234.bb
@@ -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"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH 6/7] python3-gevent: Consolidate in a single file
  2020-09-02 11:28 [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Leon Anavi
                   ` (3 preceding siblings ...)
  2020-09-02 11:28 ` [meta-python][PATCH 5/7] python3-systemd: Consolidate in a single file Leon Anavi
@ 2020-09-02 11:28 ` Leon Anavi
  2020-09-05 19:03   ` [oe] " Trevor Gamblin
  2020-09-02 11:28 ` [meta-python][PATCH 7/7] python3-gevent: Upgrade 1.4.0 -> 20.6.2 Leon Anavi
  2020-09-05 19:01 ` [oe] [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Trevor Gamblin
  6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-09-02 11:28 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../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

diff --git a/meta-python/recipes-devtools/python/python-gevent.inc b/meta-python/recipes-devtools/python/python-gevent.inc
deleted file mode 100644
index bc89d104a..000000000
--- a/meta-python/recipes-devtools/python/python-gevent.inc
+++ /dev/null
@@ -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
diff --git a/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb b/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
index df688e424..e42980d38 100644
--- a/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-python][PATCH 7/7] python3-gevent: Upgrade 1.4.0 -> 20.6.2
  2020-09-02 11:28 [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Leon Anavi
                   ` (4 preceding siblings ...)
  2020-09-02 11:28 ` [meta-python][PATCH 6/7] python3-gevent: " Leon Anavi
@ 2020-09-02 11:28 ` Leon Anavi
  2020-09-05 19:03   ` [oe] " Trevor Gamblin
  2020-09-05 19:01 ` [oe] [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Trevor Gamblin
  6 siblings, 1 reply; 14+ messages in thread
From: Leon Anavi @ 2020-09-02 11:28 UTC (permalink / raw)
  To: openembedded-devel; +Cc: 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 <leon.anavi@konsulko.com>
---
 ...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%)

diff --git a/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch b/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch
deleted file mode 100644
index 7536b71a6..000000000
--- a/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb b/meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
rename to meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
index e42980d38..dbeb3a60c 100644
--- a/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [oe] [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2
  2020-09-02 11:28 [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Leon Anavi
                   ` (5 preceding siblings ...)
  2020-09-02 11:28 ` [meta-python][PATCH 7/7] python3-gevent: Upgrade 1.4.0 -> 20.6.2 Leon Anavi
@ 2020-09-05 19:01 ` Trevor Gamblin
  6 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-09-05 19:01 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1750 bytes --]


On 9/2/20 7:28 AM, Leon Anavi wrote:
> - 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
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../{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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_19.0.2.bb
> similarity index 86%
> rename from meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb
> rename to meta-python/recipes-devtools/python/python3-pyzmq_19.0.2.bb
> index 2369f067e..3c4e32b5e 100644
> --- a/meta-python/recipes-devtools/python/python3-pyzmq_17.1.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-pyzmq_19.0.2.bb
> @@ -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
>   
>
> 

[-- Attachment #2: Type: text/html, Size: 2624 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [oe] [meta-python][PATCH 2/7] python3-mccabe: Upgrade 0.2.1 -> 0.6.1
  2020-09-02 11:28 ` [meta-python][PATCH 2/7] python3-mccabe: Upgrade 0.2.1 -> 0.6.1 Leon Anavi
@ 2020-09-05 19:02   ` Trevor Gamblin
  0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-09-05 19:02 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1972 bytes --]


On 9/2/20 7:28 AM, Leon Anavi wrote:
> 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
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../{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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb b/meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb
> similarity index 53%
> rename from meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb
> rename to meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb
> index d3a9971e4..63a9e35ac 100644
> --- a/meta-python/recipes-devtools/python/python3-mccabe_0.2.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-mccabe_0.6.1.bb
> @@ -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 \
>
> 

[-- Attachment #2: Type: text/html, Size: 3069 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [oe] [meta-python][PATCH 3/7] python3-nmap: Upgrade 1.4.7 -> 1.4.8
  2020-09-02 11:28 ` [meta-python][PATCH 3/7] python3-nmap: Upgrade 1.4.7 -> 1.4.8 Leon Anavi
@ 2020-09-05 19:02   ` Trevor Gamblin
  0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-09-05 19:02 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]


On 9/2/20 7:28 AM, Leon Anavi wrote:
> Upgrade 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
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-nmap_1.4.7.bb b/meta-python/recipes-devtools/python/python3-nmap_1.4.8.bb
> similarity index 74%
> rename from meta-python/recipes-devtools/python/python3-nmap_1.4.7.bb
> rename to meta-python/recipes-devtools/python/python3-nmap_1.4.8.bb
> index 5ebd75711..2037d496a 100644
> --- a/meta-python/recipes-devtools/python/python3-nmap_1.4.7.bb
> +++ b/meta-python/recipes-devtools/python/python3-nmap_1.4.8.bb
> @@ -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
>   
>
> 

[-- Attachment #2: Type: text/html, Size: 2398 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [oe] [meta-python][PATCH 4/7] python3-absl: Upgrade 0.9.0 -> 0.10.0
  2020-09-02 11:28 ` [meta-python][PATCH 4/7] python3-absl: Upgrade 0.9.0 -> 0.10.0 Leon Anavi
@ 2020-09-05 19:02   ` Trevor Gamblin
  0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-09-05 19:02 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3403 bytes --]


On 9/2/20 7:28 AM, Leon Anavi wrote:
> Use 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.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../{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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-absl_0.9.0.bb b/meta-python/recipes-devtools/python/python3-absl_0.10.0.bb
> similarity index 55%
> rename from meta-python/recipes-devtools/python/python3-absl_0.9.0.bb
> rename to meta-python/recipes-devtools/python/python3-absl_0.10.0.bb
> index a8f47ba4c..5be00ccb4 100644
> --- a/meta-python/recipes-devtools/python/python3-absl_0.9.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-absl_0.10.0.bb
> @@ -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"
>
> 

[-- Attachment #2: Type: text/html, Size: 4225 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [oe] [meta-python][PATCH 5/7] python3-systemd: Consolidate in a single file
  2020-09-02 11:28 ` [meta-python][PATCH 5/7] python3-systemd: Consolidate in a single file Leon Anavi
@ 2020-09-05 19:03   ` Trevor Gamblin
  0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-09-05 19:03 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2966 bytes --]


On 9/2/20 7:28 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../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
>
> diff --git a/meta-python/recipes-devtools/python/python-systemd.inc b/meta-python/recipes-devtools/python/python-systemd.inc
> deleted file mode 100644
> index b14f82501..000000000
> --- a/meta-python/recipes-devtools/python/python-systemd.inc
> +++ /dev/null
> @@ -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"
> diff --git a/meta-python/recipes-devtools/python/python3-systemd_234.bb b/meta-python/recipes-devtools/python/python3-systemd_234.bb
> index 78ec43156..6914cf920 100644
> --- a/meta-python/recipes-devtools/python/python3-systemd_234.bb
> +++ b/meta-python/recipes-devtools/python/python3-systemd_234.bb
> @@ -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"
>
> 

[-- Attachment #2: Type: text/html, Size: 4617 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [oe] [meta-python][PATCH 6/7] python3-gevent: Consolidate in a single file
  2020-09-02 11:28 ` [meta-python][PATCH 6/7] python3-gevent: " Leon Anavi
@ 2020-09-05 19:03   ` Trevor Gamblin
  0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-09-05 19:03 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4217 bytes --]


On 9/2/20 7:28 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../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
>
> diff --git a/meta-python/recipes-devtools/python/python-gevent.inc b/meta-python/recipes-devtools/python/python-gevent.inc
> deleted file mode 100644
> index bc89d104a..000000000
> --- a/meta-python/recipes-devtools/python/python-gevent.inc
> +++ /dev/null
> @@ -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
> diff --git a/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb b/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
> index df688e424..e42980d38 100644
> --- a/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
> @@ -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
>
> 

[-- Attachment #2: Type: text/html, Size: 6004 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [oe] [meta-python][PATCH 7/7] python3-gevent: Upgrade 1.4.0 -> 20.6.2
  2020-09-02 11:28 ` [meta-python][PATCH 7/7] python3-gevent: Upgrade 1.4.0 -> 20.6.2 Leon Anavi
@ 2020-09-05 19:03   ` Trevor Gamblin
  0 siblings, 0 replies; 14+ messages in thread
From: Trevor Gamblin @ 2020-09-05 19:03 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 3615 bytes --]


On 9/2/20 7:28 AM, Leon Anavi wrote:
> 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 <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   ...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%)
>
> diff --git a/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch b/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch
> deleted file mode 100644
> index 7536b71a6..000000000
> --- a/meta-python/recipes-devtools/python/python-gevent/0002-setup.py-do-not-query-for-include-dir.patch
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -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/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb b/meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
> similarity index 85%
> rename from meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
> rename to meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
> index e42980d38..dbeb3a60c 100644
> --- a/meta-python/recipes-devtools/python/python3-gevent_1.4.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-gevent_20.6.2.bb
> @@ -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
>
> 

[-- Attachment #2: Type: text/html, Size: 4756 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-09-05 19:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-02 11:28 [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Leon Anavi
2020-09-02 11:28 ` [meta-python][PATCH 2/7] python3-mccabe: Upgrade 0.2.1 -> 0.6.1 Leon Anavi
2020-09-05 19:02   ` [oe] " Trevor Gamblin
2020-09-02 11:28 ` [meta-python][PATCH 3/7] python3-nmap: Upgrade 1.4.7 -> 1.4.8 Leon Anavi
2020-09-05 19:02   ` [oe] " Trevor Gamblin
2020-09-02 11:28 ` [meta-python][PATCH 4/7] python3-absl: Upgrade 0.9.0 -> 0.10.0 Leon Anavi
2020-09-05 19:02   ` [oe] " Trevor Gamblin
2020-09-02 11:28 ` [meta-python][PATCH 5/7] python3-systemd: Consolidate in a single file Leon Anavi
2020-09-05 19:03   ` [oe] " Trevor Gamblin
2020-09-02 11:28 ` [meta-python][PATCH 6/7] python3-gevent: " Leon Anavi
2020-09-05 19:03   ` [oe] " Trevor Gamblin
2020-09-02 11:28 ` [meta-python][PATCH 7/7] python3-gevent: Upgrade 1.4.0 -> 20.6.2 Leon Anavi
2020-09-05 19:03   ` [oe] " Trevor Gamblin
2020-09-05 19:01 ` [oe] [meta-python][PATCH 1/7] python3-pyzmq: Upgrade 17.1.0 -> 19.0.2 Trevor Gamblin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.