pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-ICU py-ICU: updated to 2.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1487f297dafd
branches:  trunk
changeset: 441547:1487f297dafd
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Nov 05 18:11:55 2020 +0000

description:
py-ICU: updated to 2.6

Version 2.5 -> 2.6
------------------
- added missing BreakIterator.getRuleStatus() wrapper
- added wrappers for UBiDi API
- added wrappers for UBiDiTransform API
- added support for ICU 68.1
- added wrappers for DateIntervalFormat.get/setContext()
- added wrapper for LocaleMatcher.isMatch()
- added wrapper for LocaleMatcherBuilder.setDirection()
- added wrappers LocaleMatcherBuilder.setMaxDistance(), setNoDefaultLocale()
- added wrappers for MeasureUnit.getComplexity() and UMeasureUnitComplexity
- added wrapper for MeasureUnit.getIdentifier()
- switched MeasureUnit.__str__() to use MeasureUnit::getIdentifier()
- added wrappers for new MeasureUnit static factory methods
- added wrapper for FormattedNumber.getOutputUnit()
- added wrapper for FormattedNumberRange.getDecimalNumbers()
- added wrappers for PluralRules.select(FormattedNumber|Range)

diffstat:

 textproc/py-ICU/Makefile               |   5 ++---
 textproc/py-ICU/distinfo               |  12 ++++++------
 textproc/py-ICU/patches/patch-setup.py |  29 ++++++++++++++---------------
 3 files changed, 22 insertions(+), 24 deletions(-)

diffs (108 lines):

diff -r fd12e692480d -r 1487f297dafd textproc/py-ICU/Makefile
--- a/textproc/py-ICU/Makefile  Thu Nov 05 17:58:56 2020 +0000
+++ b/textproc/py-ICU/Makefile  Thu Nov 05 18:11:55 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2020/11/05 09:09:14 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2020/11/05 18:11:55 adam Exp $
 
-DISTNAME=      PyICU-2.5
+DISTNAME=      PyICU-2.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/PyICU/ICU/}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyICU/}
 
diff -r fd12e692480d -r 1487f297dafd textproc/py-ICU/distinfo
--- a/textproc/py-ICU/distinfo  Thu Nov 05 17:58:56 2020 +0000
+++ b/textproc/py-ICU/distinfo  Thu Nov 05 18:11:55 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2020/07/15 15:04:18 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/11/05 18:11:55 adam Exp $
 
-SHA1 (PyICU-2.5.tar.gz) = 73de6ee88f679678789eceb382b7c1452e91c53b
-RMD160 (PyICU-2.5.tar.gz) = c4f56298ee1dc78164fb7a8ee9cefd36fb27f005
-SHA512 (PyICU-2.5.tar.gz) = b2641c6f9956cd8026150923f0f10031712c426f45ed2b9fe468ce85917b028a6e1988ac73cd74e9eec2569601ece77018aa06863525e24df1944d4a5b762548
-Size (PyICU-2.5.tar.gz) = 225591 bytes
+SHA1 (PyICU-2.6.tar.gz) = 6bc1f4c1b869d6718f97bdb48869d951cc8c13a8
+RMD160 (PyICU-2.6.tar.gz) = eb7526087021f6fcedaca42c3e951860112a914b
+SHA512 (PyICU-2.6.tar.gz) = ab4c167cbeb80a23904476e51a3c16aa4721e26840b1d4c2f44b5a610e5467a6880c45f27636efb9e44e8e4302a095d437f4868409103270d79ecd56a3d90c9c
+Size (PyICU-2.6.tar.gz) = 233826 bytes
 SHA1 (patch-locale.cpp) = 4e259f3130e94bd8114d7781e36e21236c13d5b6
-SHA1 (patch-setup.py) = 07837aecbb2adbfa8e9222c4eb3790ee0f0199df
+SHA1 (patch-setup.py) = 3893b157dcd2ed8d8a6eddffd9545a6001517271
diff -r fd12e692480d -r 1487f297dafd textproc/py-ICU/patches/patch-setup.py
--- a/textproc/py-ICU/patches/patch-setup.py    Thu Nov 05 17:58:56 2020 +0000
+++ b/textproc/py-ICU/patches/patch-setup.py    Thu Nov 05 18:11:55 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-setup.py,v 1.2 2020/07/15 15:04:18 adam Exp $
+$NetBSD: patch-setup.py,v 1.3 2020/11/05 18:11:55 adam Exp $
 
 Add NetBSD support.
 
---- setup.py.orig      2020-05-26 22:08:37.000000000 +0000
+--- setup.py.orig      2020-11-02 21:26:44.000000000 +0000
 +++ setup.py
 @@ -86,6 +86,7 @@ CONFIGURE_WITH_ICU_CONFIG = {
      'win32': False,   # no icu-config
@@ -27,17 +27,16 @@
 +    'netbsd': [],
  }
  
- VER_FLAGS = {
-@@ -119,6 +122,8 @@ VER_FLAGS = {
-                '-DPYICU_ICU_MAX_VER="%s"' %(ICU_MAX_MAJOR_VERSION)],
-     'cygwin': ['-DPYICU_VER="%s"' %(VERSION),
-                '-DPYICU_ICU_MAX_VER="%s"' %(ICU_MAX_MAJOR_VERSION)],
-+    'netbsd': ['-DPYICU_VER="%s"' %(VERSION),
-+               '-DPYICU_ICU_MAX_VER="%s"' %(ICU_MAX_MAJOR_VERSION)],
+ if sys.platform == 'win32' and sys.version_info < (3,9):
+@@ -121,6 +124,7 @@ PEDANTIC_FLAGS = {
+     'win32': [],
+     'sunos5': [],
+     'cygwin': ['-pedantic'],
++    'netbsd': [],
  }
  
- PEDANTIC_FLAGS = {
-@@ -137,6 +142,7 @@ CFLAGS = {
+ CFLAGS = {
+@@ -130,6 +134,7 @@ CFLAGS = {
      'win32': ['/Zc:wchar_t', '/EHsc'],
      'sunos5': ['-std=c++11'],
      'cygwin': ['-D_GNU_SOURCE=1', '-std=c++11'],
@@ -45,7 +44,7 @@
  }
  
  # added to CFLAGS when setup is invoked with --debug
-@@ -147,6 +153,7 @@ DEBUG_CFLAGS = {
+@@ -140,6 +145,7 @@ DEBUG_CFLAGS = {
      'win32': ['/Od', '/DDEBUG'],
      'sunos5': ['-DDEBUG'],
      'cygwin': ['-Og', '-g', '-DDEBUG'],
@@ -53,7 +52,7 @@
  }
  
  LFLAGS = {
-@@ -156,6 +163,7 @@ LFLAGS = {
+@@ -149,6 +155,7 @@ LFLAGS = {
      'win32': ['/LIBPATH:c:/icu/lib'],
      'sunos5': [],
      'cygwin': [],
@@ -61,7 +60,7 @@
  }
  
  LIBRARIES = {
-@@ -165,6 +173,7 @@ LIBRARIES = {
+@@ -158,6 +165,7 @@ LIBRARIES = {
      'win32': ['icuin', 'icuuc', 'icudt'],
      'sunos5': ['icui18n', 'icuuc', 'icudata'],
      'cygwin': ['icui18n', 'icuuc', 'icudata'],
@@ -69,7 +68,7 @@
  }
  
  platform = sys.platform
-@@ -172,6 +181,8 @@ if platform.startswith(('linux', 'gnu'))
+@@ -165,6 +173,8 @@ if platform.startswith(('linux', 'gnu'))
      platform = 'linux'
  elif platform.startswith('freebsd'):
      platform = 'freebsd'



Home | Main Index | Thread Index | Old Index