Skip to contentSkip to conversation

python3-rapidjson: update to version 1.14

PATCH Applied Derek Straka 2 participants 6 messages Dec 21, 2023 – Dec 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 python3-rapidjson: update to version 1.14

---
 ...thon3-rapidjson_1.13.bb => python3-rapidjson_1.14.bb} | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-rapidjson_1.13.bb => python3-rapidjson_1.14.bb} (82%)
meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb renamed from meta-python/recipes-devtools/python/python3-rapidjson_1.13.bb +4 -5
similarity index 82%
rename from meta-python/recipes-devtools/python/python3-rapidjson_1.13.bb
rename to meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb
index 1623f721f..8b76397bf 100644
@@ -4,13 +4,12 @@ HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd"
 
-SRC_URI = "git://github.com/python-rapidjson/python-rapidjson.git;protocol=https;branch=master"
-SRCREV = "a87053d9b97750afddb504da05bd1cd9f4b94654"
-
-S = "${WORKDIR}/git"
+SRC_URI[sha256sum] = "26806f0a658c34b48d2951d8d3f846ca9deb93a34e664ef436db632a188b6779"
 
 # Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe
-inherit setuptools3 ptest
+inherit setuptools3 pypi ptest
+
+PYPI_PACKAGE = "python-rapidjson"
 
 SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}"
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/5 python3-bitarray: update to version 2.9.0

---
 .../{python3-bitarray_2.8.5.bb => python3-bitarray_2.9.0.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-bitarray_2.8.5.bb => python3-bitarray_2.9.0.bb} (80%)
meta-python/recipes-devtools/python/python3-bitarray_2.9.0.bb renamed from meta-python/recipes-devtools/python/python3-bitarray_2.8.5.bb +1 -1
similarity index 80%
rename from meta-python/recipes-devtools/python/python3-bitarray_2.8.5.bb
rename to meta-python/recipes-devtools/python/python3-bitarray_2.9.0.bb
index 5047784ab..e899c800b 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/ilanschnell/bitarray"
 LICENSE = "PSF-2.0"
 LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=2ad702cdcd49e8d2ac01d7e7d0810d2d"
 
-SRC_URI[sha256sum] = "b7564fd218cc4479f7f0106d341e096f78907b47865aeeff702c807df1927c01"
+SRC_URI[sha256sum] = "41f6b46f01bc59abfc38653d203565113b6e7dd04d0ec688774ed28e6d9755db"
 
 inherit setuptools3 pypi
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/5 python3-pyfanotify: update to version 0.2.2

In reply to Derek Straka
---
 ...ine-FNM_EXTMATCH-if-not-already-defined.patch | 16 +++++++---------
 ...tify_0.2.1.bb => python3-pyfanotify_0.2.2.bb} |  2 +-
 2 files changed, 8 insertions(+), 10 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pyfanotify_0.2.1.bb => python3-pyfanotify_0.2.2.bb} (83%)
meta-python/recipes-devtools/python/python3-pyfanotify/0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch +7 -9
index 2fa3cb05d..4c279bbcd 100644
@@ -1,19 +1,20 @@
-From 9e7894b97ae7afe43a9901b774de5aef401549ac Mon Sep 17 00:00:00 2001
+From 87f1bf7d1e0ca2a841706d1c41d14382f11264db Mon Sep 17 00:00:00 2001
 From: Bartosz Golaszewski <[email protected]>
 Date: Thu, 28 Apr 2022 16:32:06 +0200
 Subject: [PATCH] ext: define FNM_EXTMATCH if not already defined
 
 On musl this constant is not defined. Define it locally if not present.
 
-Signed-off-by: Bartosz Golaszewski <[email protected]>
----
 Upstream-Status: Inappropriate
 
+Signed-off-by: Bartosz Golaszewski <[email protected]>
+
+---
  src/ext.c | 3 +++
  1 file changed, 3 insertions(+)
 
 diff --git a/src/ext.c b/src/ext.c
-index e0bbe21..7d979d3 100644
+index fb33de1..fa01a81 100644
 --- a/src/ext.c
 +++ b/src/ext.c
 @@ -19,6 +19,9 @@
@@ -24,8 +25,5 @@ index e0bbe21..7d979d3 100644
 +#define FNM_EXTMATCH 0
 +#endif
  
- PyDoc_STRVAR(ext__doc__,
- "Wrapper for fanotify.\n"
--- 
-2.34.1
-
+ #define FUNUSED __attribute__((unused))
+ 
meta-python/recipes-devtools/python/python3-pyfanotify_0.2.2.bb renamed from meta-python/recipes-devtools/python/python3-pyfanotify_0.2.1.bb +1 -1
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-pyfanotify_0.2.1.bb
rename to meta-python/recipes-devtools/python/python3-pyfanotify_0.2.2.bb
index c9fd07144..292ceab2e 100644
@@ -5,7 +5,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=636a36c9df04efcfacf839b8866d9a37"
 
 SRC_URI += "file://0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch"
-SRC_URI[sha256sum] = "fd62dccdf3c17ca117e3279f0cbc65c639e53c9dec8a459d44ed6a35c1a18e60"
+SRC_URI[sha256sum] = "90219aa9f8b78fa732f24aa7b21c7bb6ac97a6eb47f1763c899b8194e23af1df"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.34.1
#3 lore raw

PATCH 4/5 python3-eventlet: update to version 0.34.1

In reply to Derek Straka

Remove patch incorporated in the upstream release

---
 ...o-host-0-is-not-supported-on-OpenInd.patch | 78 -------------------
 ...t_0.33.3.bb => python3-eventlet_0.34.1.bb} |  3 +-
 2 files changed, 1 insertion(+), 80 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch
 rename meta-python/recipes-devtools/python/{python3-eventlet_0.33.3.bb => python3-eventlet_0.34.1.bb} (66%)
meta-python/recipes-devtools/python/python3-eventlet/0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch deleted +0 -78
deleted file mode 100644
index 61a37d94e..000000000
@@ -1,78 +0,0 @@
-From ac2f960a50710bb257e87bed4e3c95a746f2a0fe Mon Sep 17 00:00:00 2001
-From: Sergey Shepelev <[email protected]>
-Date: Mon, 27 Mar 2023 22:07:15 +0300
-Subject: [PATCH] tests: getaddrinfo(host, 0) is not supported on OpenIndiana
- platform
-
-https://github.com/eventlet/eventlet/issues/791
-
-Upstream-Status: Backport
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- tests/greendns_test.py | 14 +++++++-------
- 1 file changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/tests/greendns_test.py b/tests/greendns_test.py
-index feab2b6..3802f44 100644
---- a/tests/greendns_test.py
-+++ b/tests/greendns_test.py
-@@ -613,14 +613,14 @@ class TestGetaddrinfo(tests.LimitedTestCase):
-     def test_getaddrinfo_only_a_ans(self):
-         greendns.resolve = _make_mock_resolve()
-         greendns.resolve.add('example.com', '1.2.3.4')
--        res = greendns.getaddrinfo('example.com', 0)
-+        res = greendns.getaddrinfo('example.com', None)
-         addr = [('1.2.3.4', 0)] * len(res)
-         assert addr == [ai[-1] for ai in res]
- 
-     def test_getaddrinfo_only_aaaa_ans(self):
-         greendns.resolve = _make_mock_resolve()
-         greendns.resolve.add('example.com', 'dead:beef::1')
--        res = greendns.getaddrinfo('example.com', 0)
-+        res = greendns.getaddrinfo('example.com', None)
-         addr = [('dead:beef::1', 0, 0, 0)] * len(res)
-         assert addr == [ai[-1] for ai in res]
- 
-@@ -637,7 +637,7 @@ class TestGetaddrinfo(tests.LimitedTestCase):
-         res.raises = greendns.dns.exception.Timeout
-         greendns.resolver._resolver = res()
- 
--        result = greendns.getaddrinfo('example.com', 0, 0)
-+        result = greendns.getaddrinfo('example.com', None, 0)
-         addr = [('1.2.3.4', 0)] * len(result)
-         assert addr == [ai[-1] for ai in result]
- 
-@@ -654,7 +654,7 @@ class TestGetaddrinfo(tests.LimitedTestCase):
-         res.raises = greendns.dns.exception.DNSException
-         greendns.resolver._resolver = res()
- 
--        result = greendns.getaddrinfo('example.com', 0, 0)
-+        result = greendns.getaddrinfo('example.com', None, 0)
-         addr = [('1.2.3.4', 0)] * len(result)
-         assert addr == [ai[-1] for ai in result]
- 
-@@ -667,7 +667,7 @@ class TestGetaddrinfo(tests.LimitedTestCase):
-         greendns.resolver._resolver = res()
- 
-         with tests.assert_raises(socket.gaierror):
--            greendns.getaddrinfo('example.com', 0, 0)
-+            greendns.getaddrinfo('example.com', None, 0)
- 
-     def test_getaddrinfo_hosts_only_dns_error(self):
-         hostsres = _make_mock_base_resolver()
-@@ -678,13 +678,13 @@ class TestGetaddrinfo(tests.LimitedTestCase):
-         greendns.resolver._resolver = res()
- 
-         with tests.assert_raises(socket.gaierror):
--            greendns.getaddrinfo('example.com', 0, 0)
-+            greendns.getaddrinfo('example.com', None, 0)
- 
-     def test_canonname(self):
-         greendns.resolve = _make_mock_resolve()
-         greendns.resolve.add('host.example.com', '1.2.3.4')
-         greendns.resolve_cname = self._make_mock_resolve_cname()
--        res = greendns.getaddrinfo('host.example.com', 0,
-+        res = greendns.getaddrinfo('host.example.com', None,
-                                    0, 0, 0, socket.AI_CANONNAME)
-         assert res[0][3] == 'cname.example.com'
- 
meta-python/recipes-devtools/python/python3-eventlet_0.34.1.bb renamed from meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb +1 -2
similarity index 66%
rename from meta-python/recipes-devtools/python/python3-eventlet_0.33.3.bb
rename to meta-python/recipes-devtools/python/python3-eventlet_0.34.1.bb
index fe4d4f020..cd6d2b25e 100644
@@ -4,8 +4,7 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778"
 
-SRC_URI += "file://0001-tests-getaddrinfo-host-0-is-not-supported-on-OpenInd.patch"
-SRC_URI[sha256sum] = "722803e7eadff295347539da363d68ae155b8b26ae6a634474d0a920be73cfda"
+SRC_URI[sha256sum] = "0087763f3ae18a571a5cc60fdd06ceb02fdb9f006693e9ee1e8e8044ae3b470b"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.34.1
#4 lore raw

PATCH 5/5 python3-flask-wtf: update to version 1.2.1

In reply to Derek Straka
---
 ...ython3-flask-wtf_1.1.1.bb => python3-flask-wtf_1.2.1.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-flask-wtf_1.1.1.bb => python3-flask-wtf_1.2.1.bb} (66%)
meta-python/recipes-devtools/python/python3-flask-wtf_1.2.1.bb renamed from meta-python/recipes-devtools/python/python3-flask-wtf_1.1.1.bb +3 -3
similarity index 66%
rename from meta-python/recipes-devtools/python/python3-flask-wtf_1.1.1.bb
rename to meta-python/recipes-devtools/python/python3-flask-wtf_1.2.1.bb
index ec47fcac2..54d7bd637 100644
@@ -2,11 +2,11 @@ DESCRIPTION = "Simple integration of Flask and WTForms."
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d98d089889e14b227732d45dac3aacc4"
 
-SRC_URI[sha256sum] = "41c4244e9ae626d63bed42ae4785b90667b885b1535d5a4095e1f63060d12aa9"
+SRC_URI[sha256sum] = "8bb269eb9bb46b87e7c8233d7e7debdf1f8b74bf90cc1789988c29b37a97b695"
 
-PYPI_PACKAGE = "Flask-WTF"
+PYPI_PACKAGE = "flask_wtf"
 
-inherit pypi setuptools3
+inherit pypi python_hatchling
 
 RDEPENDS:${PN} = "\
     ${PYTHON_PN}-flask \
Signature · 1 line
2.34.1
Applied
#5 lore raw
In reply to Derek Straka
Quoted 1 line · Derek Straka

Applied, thanks!

[1/5] python3-rapidjson: update to version 1.14

      commit: b39c548100d8ffeec23a0dd45affcab6a2677874
[2/5] python3-bitarray: update to version 2.9.0
      commit: 9723cc8de511f591727508c3435ca3d5e5b13369
[3/5] python3-pyfanotify: update to version 0.2.2
      commit: b572db47ccaa54d26788125557982f5419e4042c
[4/5] python3-eventlet: update to version 0.34.1
      commit: 83f5f3d95b8396721af4525fe92c2e0a6ccbaab0
[5/5] python3-flask-wtf: update to version 1.2.1
      commit: 6fd6bd049c3ed2071d8eb52dd9056f6d2062195b

Best regards,

Signature · 1 line
Khem Raj <[email protected]>