pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-ICU



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov  5 18:11:55 UTC 2020

Modified Files:
        pkgsrc/textproc/py-ICU: Makefile distinfo
        pkgsrc/textproc/py-ICU/patches: patch-setup.py

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/py-ICU/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-ICU/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-ICU/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-ICU/Makefile
diff -u pkgsrc/textproc/py-ICU/Makefile:1.11 pkgsrc/textproc/py-ICU/Makefile:1.12
--- pkgsrc/textproc/py-ICU/Makefile:1.11        Thu Nov  5 09:09:14 2020
+++ pkgsrc/textproc/py-ICU/Makefile     Thu Nov  5 18:11:55 2020
@@ -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/}
 

Index: pkgsrc/textproc/py-ICU/distinfo
diff -u pkgsrc/textproc/py-ICU/distinfo:1.5 pkgsrc/textproc/py-ICU/distinfo:1.6
--- pkgsrc/textproc/py-ICU/distinfo:1.5 Wed Jul 15 15:04:18 2020
+++ pkgsrc/textproc/py-ICU/distinfo     Thu Nov  5 18:11:55 2020
@@ -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

Index: pkgsrc/textproc/py-ICU/patches/patch-setup.py
diff -u pkgsrc/textproc/py-ICU/patches/patch-setup.py:1.2 pkgsrc/textproc/py-ICU/patches/patch-setup.py:1.3
--- pkgsrc/textproc/py-ICU/patches/patch-setup.py:1.2   Wed Jul 15 15:04:18 2020
+++ pkgsrc/textproc/py-ICU/patches/patch-setup.py       Thu Nov  5 18:11:55 2020
@@ -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 @@ Add NetBSD support.
 +    '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 @@ Add NetBSD support.
  }
  
  # 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 @@ Add NetBSD support.
  }
  
  LFLAGS = {
-@@ -156,6 +163,7 @@ LFLAGS = {
+@@ -149,6 +155,7 @@ LFLAGS = {
      'win32': ['/LIBPATH:c:/icu/lib'],
      'sunos5': [],
      'cygwin': [],
@@ -61,7 +60,7 @@ Add NetBSD support.
  }
  
  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 @@ Add NetBSD support.
  }
  
  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