diff options
author | adam <adam@pkgsrc.org> | 2022-11-23 22:18:47 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-11-23 22:18:47 +0000 |
commit | 41c0daad702e97e0f6fc18ffb92b5d8504a021e4 (patch) | |
tree | f3c51943366e0a7cc81f33b7f346acb2c3fac21b /textproc/py-ICU | |
parent | 7e205e771a5e445c5dc1f81ed952621aebddcedd (diff) | |
download | pkgsrc-41c0daad702e97e0f6fc18ffb92b5d8504a021e4.tar.gz |
py-ICU: updated to 2.10.2
Version 2.10.1 -> 2.10.2
------------------------
- fixed bug in logic computing max_char for PyUnicode_New()
Version 2.10 -> 2.10.1
----------------------
- fixed build issues with ICU < 72
Version 2.9 -> 2.10
-------------------
- fixed bug with building on MacOS when pkg-config is present
- added link to note about building everything from sources
- added wrapper for u_cleanup/u_init sequence as ResourceBundle.resetICU()
- added wrapper for TimeZone.getRegion()
- added support for ICU 72.1
- added wrapper for UnicodeSetIterator::skipToStrings()
- added wrapper for DisplayOptions, DisplayOptions::Builder and related enums
- added wrapper for FormattedNumber::getNounClass()
- added wrapper for NumberFormatter.displayOptions()
Diffstat (limited to 'textproc/py-ICU')
-rw-r--r-- | textproc/py-ICU/Makefile | 5 | ||||
-rw-r--r-- | textproc/py-ICU/distinfo | 10 | ||||
-rw-r--r-- | textproc/py-ICU/patches/patch-setup.py | 40 |
3 files changed, 27 insertions, 28 deletions
diff --git a/textproc/py-ICU/Makefile b/textproc/py-ICU/Makefile index fa8db9087b4..d11403e7a39 100644 --- a/textproc/py-ICU/Makefile +++ b/textproc/py-ICU/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.23 2022/11/23 16:21:12 adam Exp $ +# $NetBSD: Makefile,v 1.24 2022/11/23 22:18:47 adam Exp $ -DISTNAME= PyICU-2.9 +DISTNAME= PyICU-2.10.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/PyICU/ICU/} -PKGREVISION= 1 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyICU/} diff --git a/textproc/py-ICU/distinfo b/textproc/py-ICU/distinfo index c3ec371c304..31bd052e779 100644 --- a/textproc/py-ICU/distinfo +++ b/textproc/py-ICU/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.14 2022/04/18 11:32:38 adam Exp $ +$NetBSD: distinfo,v 1.15 2022/11/23 22:18:47 adam Exp $ -BLAKE2s (PyICU-2.9.tar.gz) = 9702f884711d3caddc0f9c2d635a016a63d309ecccceb66e58b5051cfe1d7ca0 -SHA512 (PyICU-2.9.tar.gz) = 49b0961ed855517f039ac8a863b1af1a58c6716751eb1f5cebb987a16faabc5585ed6ed3ed3d80d4cf45e9091d855cafe4b6683f4d274e5c4d41c9dab9164799 -Size (PyICU-2.9.tar.gz) = 305193 bytes +BLAKE2s (PyICU-2.10.2.tar.gz) = b2ba165784fda4562e4c09715917d861dffe62efa7fd3f62ca3eb4f64e85917e +SHA512 (PyICU-2.10.2.tar.gz) = 1ccb43496e1719314c2f1f81f6535cb57688917b19fdbc56b2773f9372f70160d69660a67f63fde3cee0384d7df649aad8539375be5c9be3ede8e1335a126bd7 +Size (PyICU-2.10.2.tar.gz) = 255558 bytes SHA1 (patch-locale.cpp) = 4e259f3130e94bd8114d7781e36e21236c13d5b6 -SHA1 (patch-setup.py) = 3893b157dcd2ed8d8a6eddffd9545a6001517271 +SHA1 (patch-setup.py) = 112bcc2b34c3f087799b592f2ae020cad4f76c0b diff --git a/textproc/py-ICU/patches/patch-setup.py b/textproc/py-ICU/patches/patch-setup.py index a5449123a08..8824590a789 100644 --- a/textproc/py-ICU/patches/patch-setup.py +++ b/textproc/py-ICU/patches/patch-setup.py @@ -1,10 +1,19 @@ -$NetBSD: patch-setup.py,v 1.3 2020/11/05 18:11:55 adam Exp $ +$NetBSD: patch-setup.py,v 1.4 2022/11/23 22:18:47 adam Exp $ Add NetBSD support. ---- setup.py.orig 2020-11-02 21:26:44.000000000 +0000 +--- setup.py.orig 2022-10-25 04:31:36.000000000 +0000 +++ setup.py -@@ -86,6 +86,7 @@ CONFIGURE_WITH_ICU_CONFIG = { +@@ -64,6 +64,8 @@ if platform.startswith(('linux', 'gnu')) + platform = 'linux' + elif platform.startswith('freebsd'): + platform = 'freebsd' ++elif platform.startswith('netbsd'): ++ platform = 'netbsd' + + + CONFIGURE_WITH_ICU_CONFIG = { +@@ -73,6 +75,7 @@ CONFIGURE_WITH_ICU_CONFIG = { 'win32': False, # no icu-config 'sunos5': False, # not tested 'cygwin': False, # not tested @@ -12,15 +21,15 @@ Add NetBSD support. } CONFIGURE_WITH_PKG_CONFIG = { -@@ -95,6 +96,7 @@ CONFIGURE_WITH_PKG_CONFIG = { +@@ -82,6 +85,7 @@ CONFIGURE_WITH_PKG_CONFIG = { 'win32': False, # no pkg-config ? 'sunos5': False, # not tested 'cygwin': False, # not tested + 'netbsd': True, } - INCLUDES = { -@@ -104,6 +106,7 @@ INCLUDES = { + +@@ -114,6 +118,7 @@ INCLUDES = { 'win32': ['c:/icu/include'], 'sunos5': [], 'cygwin': [], @@ -28,7 +37,7 @@ Add NetBSD support. } if sys.platform == 'win32' and sys.version_info < (3,9): -@@ -121,6 +124,7 @@ PEDANTIC_FLAGS = { +@@ -132,6 +137,7 @@ PEDANTIC_FLAGS = { 'win32': [], 'sunos5': [], 'cygwin': ['-pedantic'], @@ -36,7 +45,7 @@ Add NetBSD support. } CFLAGS = { -@@ -130,6 +134,7 @@ CFLAGS = { +@@ -141,6 +147,7 @@ CFLAGS = { 'win32': ['/Zc:wchar_t', '/EHsc'], 'sunos5': ['-std=c++11'], 'cygwin': ['-D_GNU_SOURCE=1', '-std=c++11'], @@ -44,7 +53,7 @@ Add NetBSD support. } # added to CFLAGS when setup is invoked with --debug -@@ -140,6 +145,7 @@ DEBUG_CFLAGS = { +@@ -151,6 +158,7 @@ DEBUG_CFLAGS = { 'win32': ['/Od', '/DDEBUG'], 'sunos5': ['-DDEBUG'], 'cygwin': ['-Og', '-g', '-DDEBUG'], @@ -52,7 +61,7 @@ Add NetBSD support. } LFLAGS = { -@@ -149,6 +155,7 @@ LFLAGS = { +@@ -160,6 +168,7 @@ LFLAGS = { 'win32': ['/LIBPATH:c:/icu/lib'], 'sunos5': [], 'cygwin': [], @@ -60,20 +69,11 @@ Add NetBSD support. } LIBRARIES = { -@@ -158,6 +165,7 @@ LIBRARIES = { +@@ -169,6 +178,7 @@ LIBRARIES = { 'win32': ['icuin', 'icuuc', 'icudt'], 'sunos5': ['icui18n', 'icuuc', 'icudata'], 'cygwin': ['icui18n', 'icuuc', 'icudata'], + 'netbsd': [], } - platform = sys.platform -@@ -165,6 +173,8 @@ if platform.startswith(('linux', 'gnu')) - platform = 'linux' - elif platform.startswith('freebsd'): - platform = 'freebsd' -+elif platform.startswith('netbsd'): -+ platform = 'netbsd' - if 'PYICU_INCLUDES' in os.environ: - _includes = os.environ['PYICU_INCLUDES'].split(os.pathsep) |