Skip to contentSkip to conversation

python3-icu: upgrade 2.8 -> 2.8.1

PATCH New Wang Mingyu 1 participant 4 messages Mar 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-icu: upgrade 2.8 -> 2.8.1

refresh 0001-Fix-host-contamination-of-include-files.patch for new version.

License-Update: year updated to 2022.

Changelog:
=========
- renamed _icu extension module to _icu_ and moved it into icu module
- moved icu python module sources into py directory
- deleted long deprecated PyICU.py file

---
 ...001-Fix-host-contamination-of-include-files.patch | 12 +++++-------
 .../{python3-icu_2.8.bb => python3-icu_2.8.1.bb}     |  4 ++--
 2 files changed, 7 insertions(+), 9 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-icu_2.8.bb => python3-icu_2.8.1.bb} (68%)
meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch +5 -7
index c45217a88..36485d56c 100644
@@ -1,4 +1,4 @@
-From 8abf79f77d9151d6786da3c8e868117822bce6d4 Mon Sep 17 00:00:00 2001
+From a82fea9663f0c70cf57cd06650f400e878afc5e4 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Fri, 16 Apr 2021 10:48:36 -0700
 Subject: [PATCH] Fix host contamination of include files
@@ -10,12 +10,13 @@ Also, don't use icu-config
 Upstream-Status: Inappropriate [OE specific]
 Signed-off-by: Armin Kuster <[email protected]>
 Signed-off-by: Khem Raj <[email protected]>
+
 ---
  setup.py | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
 
 diff --git a/setup.py b/setup.py
-index e647db4..abed399 100644
+index d308b80..56e9c74 100644
 --- a/setup.py
 +++ b/setup.py
 @@ -81,7 +81,7 @@ Building PyICU %s for ICU %s (max ICU major version supported: %s)
@@ -27,14 +28,11 @@ index e647db4..abed399 100644
      'freebsd': False, # not tested
      'win32': False,   # no icu-config
      'sunos5': False,  # not tested
-@@ -267,7 +267,6 @@ setup(name="PyICU",
-       ext_modules=[Extension('_icu',
+@@ -273,7 +273,6 @@ setup(name="PyICU",
+       ext_modules=[Extension('icu._icu_',
                               [filename for filename in sorted(os.listdir(os.curdir))
                                if filename.endswith('.cpp')],
 -                             include_dirs=_includes,
                               extra_compile_args=_cflags,
                               extra_link_args=_lflags,
                               libraries=_libraries)],
--- 
-2.31.1
-
meta-python/recipes-devtools/python/python3-icu_2.8.1.bb renamed from meta-python/recipes-devtools/python/python3-icu_2.8.bb +2 -2
similarity index 68%
rename from meta-python/recipes-devtools/python/python3-icu_2.8.bb
rename to meta-python/recipes-devtools/python/python3-icu_2.8.1.bb
index f3dd7a4f5..09543d753 100644
@@ -3,12 +3,12 @@ HOMEPAGE = "https://gitlab.pyicu.org/main/pyicu"
 BUGTRACKER = "https://gitlab.pyicu.org/main/pyicu/-/issues"
 SECTION = "devel/python"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c7c4bfd81a21e3b6368bdcced992bf59"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f"
 
 DEPENDS += "icu"
 
 PYPI_PACKAGE = "PyICU"
-SRC_URI[sha256sum] = "3d80de47045a8163db5aebc947c42b4d429eeea4f0c32af4f40b33981fa872b9"
+SRC_URI[sha256sum] = "f0b9549a87f87ba7c413f13679d137271e0b37f1f39b0109ace38257d4d148d6"
 
 SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch"
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 python3-lxml: upgrade 4.7.1 -> 4.8.0

0001-setupinfo.py-check-the-return-value.patch
removed since it's included in 4.8.0.

Changelog:
=========
Features added
--------------

* GH#337: Path-like objects are now supported throughout the API instead of just strings. Patch by Henning Janssen.

* The ''ElementMaker'' now supports ''QName'' values as tags, which always override the default namespace of the factory.

Bugs fixed
----------

* GH#338: In lxml.objectify, the XSI float annotation "nan" and "inf" were spelled in lower case, whereas XML Schema datatypes define them as "NaN" and "INF" respectively. Patch by Tobias Deiminger.

Other changes
-------------

* Built with Cython 0.29.28.

---
 ...-setupinfo.py-check-the-return-value.patch | 46 -------------------
 ...n3-lxml_4.7.1.bb => python3-lxml_4.8.0.bb} |  6 +--
 2 files changed, 2 insertions(+), 50 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-lxml/0001-setupinfo.py-check-the-return-value.patch
 rename meta-python/recipes-devtools/python/{python3-lxml_4.7.1.bb => python3-lxml_4.8.0.bb} (91%)
meta-python/recipes-devtools/python/python3-lxml/0001-setupinfo.py-check-the-return-value.patch deleted +0 -46
deleted file mode 100644
index 7d9121846..000000000
@@ -1,46 +0,0 @@
-From 057872fa40e061100d61117cee5c3413ef2e40fc Mon Sep 17 00:00:00 2001
-From: Mingli Yu <[email protected]>
-Date: Thu, 20 Jan 2022 15:18:20 +0800
-Subject: [PATCH] setupinfo.py: check the return value
-
-Use the return value altogether to check the subprocess execute
-successfully or not as in some case it will print some noise
-message though run successfully as below.
-
- # python
- Python 3.8.10 (default, Nov 26 2021, 20:14:08)
- [GCC 9.3.0] on linux
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import subprocess
- >>> cmd = "pkg-config --modversion libxml-2.0"
- >>> p = subprocess.Popen(cmd, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- >>> stdout_data, errors = p.communicate()
- >>> print(stdout_data)
- b'2.9.12\n'
- >>> print(errors)
- b'do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable\n'
- >>>
-
-Upstream-Status: Submitted [https://github.com/lxml/lxml/pull/336]
-
-Signed-off-by: Mingli Yu <[email protected]>
----
- setupinfo.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setupinfo.py b/setupinfo.py
-index 8c2a36fb..c1247c6d 100644
---- a/setupinfo.py
-+++ b/setupinfo.py
-@@ -365,7 +365,7 @@ def run_command(cmd, *args):
-                          stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-     stdout_data, errors = p.communicate()
- 
--    if errors:
-+    if p.returncode != 0 and errors:
-         return ''
-     return decode_input(stdout_data).strip()
- 
--- 
-2.17.1
-
meta-python/recipes-devtools/python/python3-lxml_4.8.0.bb renamed from meta-python/recipes-devtools/python/python3-lxml_4.7.1.bb +2 -4
similarity index 91%
rename from meta-python/recipes-devtools/python/python3-lxml_4.7.1.bb
rename to meta-python/recipes-devtools/python/python3-lxml_4.8.0.bb
index f3b7e0c6c..c4d4df383 100644
@@ -18,11 +18,9 @@ LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \
 
 DEPENDS += "libxml2 libxslt"
 
-SRC_URI[sha256sum] = "a1613838aa6b89af4ba10a0f3a972836128801ed008078f8c1244e65958f1b24"
+SRC_URI[sha256sum] = "f63f62fc60e6228a4ca9abae28228f35e1bd3ce675013d1dfb828688d50c6e23"
 
-SRC_URI += " \
-           file://0001-setupinfo.py-check-the-return-value.patch \
-"
+SRC_URI += "${PYPI_SRC_URI}"
 inherit pkgconfig pypi setuptools3
 
 # {standard input}: Assembler messages:
Signature · 1 line
2.25.1
#2 lore raw

PATCH 1/1 python3-jsonrpcserver: upgrade 5.0.3 -> 5.0.6

In reply to Wang Mingyu

Changelog:
==========
Fix reversed Result Either type ([#227]
(https://github.com/explodinglabs/jsonrpcserver/pull/227)).

---
 ...n3-jsonrpcserver_5.0.3.bb => python3-jsonrpcserver_5.0.6.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-jsonrpcserver_5.0.3.bb => python3-jsonrpcserver_5.0.6.bb} (83%)
meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.6.bb renamed from meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.3.bb +1 -1
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.3.bb
rename to meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.6.bb
index c2500300f..cdd93516c 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/bcb/jsonrpcserver"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=61b63ea9d36f6fb63ddaaaac8265304f"
 
-SRC_URI[sha256sum] = "0cc514559596fa380bf188e31b0cdf3d9e6d9cc162fdca8a49ed511b291a9ae1"
+SRC_URI[sha256sum] = "0fdd69c15e67004fb064d2254469cf82d02b7bc8a7bf7760055caa9d62d92f7c"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.25.1
#3 lore raw

PATCH 1/1 python3-pyscaffold: upgrade 4.1.4 -> 4.1.5

In reply to Wang Mingyu

Changelog:
=========
Main Changes
------------
Add pyenv's .python-version into .gitignore, #576
Added more --very-verbose logging to make clearer what's going on, #578 Updated versions of containers in CI config, #583
Fixed coverage config template for namespaced packages, #610 Replaced internal appdirs dependency with platformdirs, #584

Documentation Changes
---------------------
Mention python -m setuptools_scm as a form of debugging, #574 Mention setting the default branch in git in docs, #577 Fix documented path to pyscaffold/default.cfg, #580

---
 ...{python3-pyscaffold_4.1.4.bb => python3-pyscaffold_4.1.5.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pyscaffold_4.1.4.bb => python3-pyscaffold_4.1.5.bb} (87%)
meta-python/recipes-devtools/python/python3-pyscaffold_4.1.5.bb renamed from meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb +1 -1
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-pyscaffold_4.1.4.bb
rename to meta-python/recipes-devtools/python/python3-pyscaffold_4.1.5.bb
index fbba75c43..cd160a69e 100644
@@ -9,7 +9,7 @@ LICENSE = "0BSD & MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=14a49c74a1d91829908ac756c07e6b91"
 DEPENDS += "python3-setuptools-scm-native"
 
-SRC_URI[sha256sum] = "46a2bbdf255ba2efc6c56ae1428249b61d56c4a3e54ef3db0d05fa97792011a5"
+SRC_URI[sha256sum] = "55f6532fd6d62b3b698d604257f7a7eda6a87557bbec22760f8c0d9549454802"
 
 inherit pypi setuptools3
 PYPI_PACKAGE = "PyScaffold"
Signature · 1 line
2.25.1