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: Wed May 29 17:51:10 UTC 2024
Modified Files:
pkgsrc/textproc/py-ICU: Makefile distinfo
pkgsrc/textproc/py-ICU/patches: patch-locale.cpp patch-setup.py
Log Message:
py-ICU: updated to 2.13.1
Version 2.13 -> 2.13.1
----------------------
- change c++11 to c++17 in setup.py as current versions of ICU require it
Version 2.12 -> 2.13
--------------------
- fixed build issues on Windows
- added wrappers for MeasureUnit(locale, width) and getUnitDisplayName()
- added wrappers for DateFormatSymbols.getEra|ZodiacNames()
- added wrappers for DateFormatSymbols.getZoneStrings()
- added wrappers for LocaleDisplayNames
- fixed bug dealloc calling wrong destructor on most types (Fredrik Roubert)
- added support for ICU 75.1
- added wrappers for LocalizedNumber|Range|Formatter.withoutLocale()
- added wrappers for UIdentifierType, Char.hasIDType(), Char.getIDTypes()
- added wrappers for UIdentifierStatus
- added wrappers for UProperty.IDENTIFIER_TYPE, UProperty.IDENTIFIER_STATUS
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/textproc/py-ICU/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/py-ICU/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-ICU/patches/patch-locale.cpp
cvs rdiff -u -r1.4 -r1.5 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.29 pkgsrc/textproc/py-ICU/Makefile:1.30
--- pkgsrc/textproc/py-ICU/Makefile:1.29 Wed May 29 16:34:39 2024
+++ pkgsrc/textproc/py-ICU/Makefile Wed May 29 17:51:10 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.29 2024/05/29 16:34:39 adam Exp $
+# $NetBSD: Makefile,v 1.30 2024/05/29 17:51:10 adam Exp $
-DISTNAME= PyICU-2.12
+DISTNAME= PyICU-2.13.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/PyICU/ICU/}
-PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyICU/}
@@ -11,11 +10,13 @@ HOMEPAGE= https://gitlab.pyicu.org/main/
COMMENT= Python extension wrapping the ICU C++ libraries
LICENSE= modified-bsd
+WRKSRC= ${WRKDIR}/${DISTNAME:tl}
+
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-USE_CXX_FEATURES+= c++11
+USE_CXX_FEATURES+= c++17
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
Index: pkgsrc/textproc/py-ICU/distinfo
diff -u pkgsrc/textproc/py-ICU/distinfo:1.17 pkgsrc/textproc/py-ICU/distinfo:1.18
--- pkgsrc/textproc/py-ICU/distinfo:1.17 Thu Nov 2 08:31:40 2023
+++ pkgsrc/textproc/py-ICU/distinfo Wed May 29 17:51:10 2024
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.17 2023/11/02 08:31:40 adam Exp $
+$NetBSD: distinfo,v 1.18 2024/05/29 17:51:10 adam Exp $
-BLAKE2s (PyICU-2.12.tar.gz) = 07f1dfe209b267e377c1140ce8a84f4e093b24bc59f9169d48e741661f7cfeb0
-SHA512 (PyICU-2.12.tar.gz) = 75b799df40c43e0f607e3d90b07e0277dd2f37541b671bd24fdc81044facd2ad89ede991becc256d0761a7627afa3a70dd9e9681cef9eaa8e660f021450eb522
-Size (PyICU-2.12.tar.gz) = 260041 bytes
-SHA1 (patch-locale.cpp) = 4e259f3130e94bd8114d7781e36e21236c13d5b6
-SHA1 (patch-setup.py) = 112bcc2b34c3f087799b592f2ae020cad4f76c0b
+BLAKE2s (PyICU-2.13.1.tar.gz) = 2e9eb63158e696baf92c3761cc740649de40ff2dadb22281d59531fdbae2f781
+SHA512 (PyICU-2.13.1.tar.gz) = 77e941c26b409dbb39714514add5a61d45751791ced337cdaa489e5a44043565e6fa0a79fbe8174e92af4566f086840f86c24510bde71d075a13193af28aa3a4
+Size (PyICU-2.13.1.tar.gz) = 262424 bytes
+SHA1 (patch-locale.cpp) = 67313937b4ab23050d6544c5413bfcc76dcdc673
+SHA1 (patch-setup.py) = 8457066991cb165eb865b030bc7588104d2d6836
Index: pkgsrc/textproc/py-ICU/patches/patch-locale.cpp
diff -u pkgsrc/textproc/py-ICU/patches/patch-locale.cpp:1.1 pkgsrc/textproc/py-ICU/patches/patch-locale.cpp:1.2
--- pkgsrc/textproc/py-ICU/patches/patch-locale.cpp:1.1 Tue Mar 24 04:08:55 2020
+++ pkgsrc/textproc/py-ICU/patches/patch-locale.cpp Wed May 29 17:51:10 2024
@@ -1,13 +1,13 @@
-$NetBSD: patch-locale.cpp,v 1.1 2020/03/24 04:08:55 gutteridge Exp $
+$NetBSD: patch-locale.cpp,v 1.2 2024/05/29 17:51:10 adam Exp $
Fix SunOS build.
---- locale.cpp.orig 1970-01-01 00:00:00.000000000 +0000
+--- locale.cpp.orig 2023-12-22 12:49:23.000000000 +0000
+++ locale.cpp
-@@ -27,7 +27,11 @@
- #if defined(_MSC_VER) || defined(__WIN32)
+@@ -28,7 +28,11 @@
#include <windows.h>
#else
+ #include <unistd.h>
-#include <sys/fcntl.h>
+# ifdef __sun
+# include <fcntl.h>
Index: pkgsrc/textproc/py-ICU/patches/patch-setup.py
diff -u pkgsrc/textproc/py-ICU/patches/patch-setup.py:1.4 pkgsrc/textproc/py-ICU/patches/patch-setup.py:1.5
--- pkgsrc/textproc/py-ICU/patches/patch-setup.py:1.4 Wed Nov 23 22:18:47 2022
+++ pkgsrc/textproc/py-ICU/patches/patch-setup.py Wed May 29 17:51:10 2024
@@ -1,8 +1,8 @@
-$NetBSD: patch-setup.py,v 1.4 2022/11/23 22:18:47 adam Exp $
+$NetBSD: patch-setup.py,v 1.5 2024/05/29 17:51:10 adam Exp $
Add NetBSD support.
---- setup.py.orig 2022-10-25 04:31:36.000000000 +0000
+--- setup.py.orig 2024-04-29 20:14:33.000000000 +0000
+++ setup.py
@@ -64,6 +64,8 @@ if platform.startswith(('linux', 'gnu'))
platform = 'linux'
@@ -47,8 +47,8 @@ Add NetBSD support.
CFLAGS = {
@@ -141,6 +147,7 @@ CFLAGS = {
'win32': ['/Zc:wchar_t', '/EHsc'],
- 'sunos5': ['-std=c++11'],
- 'cygwin': ['-D_GNU_SOURCE=1', '-std=c++11'],
+ 'sunos5': ['-std=c++17'],
+ 'cygwin': ['-D_GNU_SOURCE=1', '-std=c++17'],
+ 'netbsd': [],
}
Home |
Main Index |
Thread Index |
Old Index