diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2022-03-07 19:46:39 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-09 07:37:03 -0800 |
commit | b38d31c1c206eb99662c935ff0712d519dbb9dce (patch) | |
tree | 421e6484a70d9730466d814db8255ed83aa5a548 | |
parent | 8ecdd900b968ceacf1bac7f833e11d74431bc29e (diff) | |
download | meta-openembedded-b38d31c1c206eb99662c935ff0712d519dbb9dce.tar.gz |
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
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch | 12 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-icu_2.8.1.bb (renamed from meta-python/recipes-devtools/python/python3-icu_2.8.bb) | 4 |
2 files changed, 7 insertions, 9 deletions
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 c45217a88a..36485d56ce 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 @@ | |||
1 | From 8abf79f77d9151d6786da3c8e868117822bce6d4 Mon Sep 17 00:00:00 2001 | 1 | From a82fea9663f0c70cf57cd06650f400e878afc5e4 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Fri, 16 Apr 2021 10:48:36 -0700 | 3 | Date: Fri, 16 Apr 2021 10:48:36 -0700 |
4 | Subject: [PATCH] Fix host contamination of include files | 4 | Subject: [PATCH] Fix host contamination of include files |
@@ -10,12 +10,13 @@ Also, don't use icu-config | |||
10 | Upstream-Status: Inappropriate [OE specific] | 10 | Upstream-Status: Inappropriate [OE specific] |
11 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | 11 | Signed-off-by: Armin Kuster <akuster808@gmail.com> |
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
13 | |||
13 | --- | 14 | --- |
14 | setup.py | 3 +-- | 15 | setup.py | 3 +-- |
15 | 1 file changed, 1 insertion(+), 2 deletions(-) | 16 | 1 file changed, 1 insertion(+), 2 deletions(-) |
16 | 17 | ||
17 | diff --git a/setup.py b/setup.py | 18 | diff --git a/setup.py b/setup.py |
18 | index e647db4..abed399 100644 | 19 | index d308b80..56e9c74 100644 |
19 | --- a/setup.py | 20 | --- a/setup.py |
20 | +++ b/setup.py | 21 | +++ b/setup.py |
21 | @@ -81,7 +81,7 @@ Building PyICU %s for ICU %s (max ICU major version supported: %s) | 22 | @@ -81,7 +81,7 @@ Building PyICU %s for ICU %s (max ICU major version supported: %s) |
@@ -27,14 +28,11 @@ index e647db4..abed399 100644 | |||
27 | 'freebsd': False, # not tested | 28 | 'freebsd': False, # not tested |
28 | 'win32': False, # no icu-config | 29 | 'win32': False, # no icu-config |
29 | 'sunos5': False, # not tested | 30 | 'sunos5': False, # not tested |
30 | @@ -267,7 +267,6 @@ setup(name="PyICU", | 31 | @@ -273,7 +273,6 @@ setup(name="PyICU", |
31 | ext_modules=[Extension('_icu', | 32 | ext_modules=[Extension('icu._icu_', |
32 | [filename for filename in sorted(os.listdir(os.curdir)) | 33 | [filename for filename in sorted(os.listdir(os.curdir)) |
33 | if filename.endswith('.cpp')], | 34 | if filename.endswith('.cpp')], |
34 | - include_dirs=_includes, | 35 | - include_dirs=_includes, |
35 | extra_compile_args=_cflags, | 36 | extra_compile_args=_cflags, |
36 | extra_link_args=_lflags, | 37 | extra_link_args=_lflags, |
37 | libraries=_libraries)], | 38 | libraries=_libraries)], |
38 | -- | ||
39 | 2.31.1 | ||
40 | |||
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 index f3dd7a4f52..09543d753d 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" | |||
3 | BUGTRACKER = "https://gitlab.pyicu.org/main/pyicu/-/issues" | 3 | BUGTRACKER = "https://gitlab.pyicu.org/main/pyicu/-/issues" |
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c7c4bfd81a21e3b6368bdcced992bf59" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" |
7 | 7 | ||
8 | DEPENDS += "icu" | 8 | DEPENDS += "icu" |
9 | 9 | ||
10 | PYPI_PACKAGE = "PyICU" | 10 | PYPI_PACKAGE = "PyICU" |
11 | SRC_URI[sha256sum] = "3d80de47045a8163db5aebc947c42b4d429eeea4f0c32af4f40b33981fa872b9" | 11 | SRC_URI[sha256sum] = "f0b9549a87f87ba7c413f13679d137271e0b37f1f39b0109ace38257d4d148d6" |
12 | 12 | ||
13 | SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" | 13 | SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" |
14 | 14 | ||