[meta-python] python3-icu: upgrade 2.8 -> 2.8.1

Message ID 1646653602-55882-1-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series [meta-python] python3-icu: upgrade 2.8 -> 2.8.1 | expand

Commit Message

Mingyu Wang (Fujitsu) March 7, 2022, 11:46 a.m. UTC
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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...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%)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch b/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch
index c45217a88..36485d56c 100644
--- a/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch
+++ b/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch
@@ -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 <raj.khem@gmail.com>
 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 <akuster808@gmail.com>
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
 ---
  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
-
diff --git a/meta-python/recipes-devtools/python/python3-icu_2.8.bb b/meta-python/recipes-devtools/python/python3-icu_2.8.1.bb
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
--- a/meta-python/recipes-devtools/python/python3-icu_2.8.bb
+++ b/meta-python/recipes-devtools/python/python3-icu_2.8.1.bb
@@ -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"