Update to py-ICU-1.9.5.

This commit is contained in:
ajacoutot 2016-12-05 16:16:55 +00:00
parent 37b43c1883
commit 4f38c0076d
3 changed files with 20 additions and 20 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.7 2016/08/27 17:31:30 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.8 2016/12/05 16:16:55 ajacoutot Exp $
COMMENT= Python extension wrapping the ICU C++ API
MODPY_EGG_VERSION= 1.9.3
MODPY_EGG_VERSION= 1.9.5
DISTNAME= PyICU-${MODPY_EGG_VERSION}
PKGNAME= py-ICU-${MODPY_EGG_VERSION}
@ -11,7 +11,7 @@ CATEGORIES= textproc
# MIT
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += icudata icui18n icule icuuc m pthread stdc++
WANTLIB += icudata icui18n icuuc m pthread stdc++
WANTLIB += ${MODPY_WANTLIB}
MODPY_PI = Yes

View File

@ -1,2 +1,2 @@
SHA256 (PyICU-1.9.3.tar.gz) = GnqWISyz5C6N+FuQYvHx1uIHR01E8Ichj60dTsIQ+kI=
SIZE (PyICU-1.9.3.tar.gz) = 179514
SHA256 (PyICU-1.9.5.tar.gz) = c7BSuACGH64ygduvnJLRKoHKvz0xkS2UxRhi4JPvNZs=
SIZE (PyICU-1.9.5.tar.gz) = 181878

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-setup_py,v 1.2 2015/06/02 16:57:48 ajacoutot Exp $
--- setup.py.orig Sun May 10 04:36:35 2015
+++ setup.py Tue Jun 2 18:55:46 2015
@@ -13,6 +13,7 @@ INCLUDES = {
$OpenBSD: patch-setup_py,v 1.3 2016/12/05 16:16:55 ajacoutot Exp $
--- setup.py.orig Fri Nov 11 19:59:29 2016
+++ setup.py Mon Dec 5 09:46:49 2016
@@ -14,6 +14,7 @@ INCLUDES = {
'darwin': ['/usr/local/include'],
'linux': [],
'freebsd': ['/usr/local/include'],
@ -9,7 +9,7 @@ $OpenBSD: patch-setup_py,v 1.2 2015/06/02 16:57:48 ajacoutot Exp $
'win32': ['c:/icu/include'],
'sunos5': [],
}
@@ -21,6 +22,7 @@ CFLAGS = {
@@ -22,6 +23,7 @@ CFLAGS = {
'darwin': ['-DPYICU_VER="%s"' %(VERSION)],
'linux': ['-DPYICU_VER="%s"' %(VERSION)],
'freebsd': ['-DPYICU_VER="%s"' %(VERSION)],
@ -17,7 +17,7 @@ $OpenBSD: patch-setup_py,v 1.2 2015/06/02 16:57:48 ajacoutot Exp $
'win32': ['/Zc:wchar_t', '/EHsc', '/DPYICU_VER=\\"%s\\"' %(VERSION)],
'sunos5': ['-DPYICU_VER="%s"' %(VERSION)],
}
@@ -30,6 +32,7 @@ DEBUG_CFLAGS = {
@@ -31,6 +33,7 @@ DEBUG_CFLAGS = {
'darwin': ['-O0', '-g', '-DDEBUG'],
'linux': ['-O0', '-g', '-DDEBUG'],
'freebsd': ['-O0', '-g', '-DDEBUG'],
@ -25,7 +25,7 @@ $OpenBSD: patch-setup_py,v 1.2 2015/06/02 16:57:48 ajacoutot Exp $
'win32': ['/Od', '/DDEBUG'],
'sunos5': ['-DDEBUG'],
}
@@ -38,6 +41,7 @@ LFLAGS = {
@@ -39,6 +42,7 @@ LFLAGS = {
'darwin': ['-L/usr/local/lib'],
'linux': [],
'freebsd': ['-L/usr/local/lib'],
@ -33,15 +33,15 @@ $OpenBSD: patch-setup_py,v 1.2 2015/06/02 16:57:48 ajacoutot Exp $
'win32': ['/LIBPATH:c:/icu/lib'],
'sunos5': [],
}
@@ -46,6 +50,7 @@ LIBRARIES = {
'darwin': ['icui18n', 'icuuc', 'icudata', 'icule'],
'linux': ['icui18n', 'icuuc', 'icudata', 'icule'],
'freebsd': ['icui18n', 'icuuc', 'icudata', 'icule'],
+ 'openbsd': ['icui18n', 'icuuc', 'icudata', 'icule'],
'win32': ['icuin', 'icuuc', 'icudt', 'icule'],
'sunos5': ['icui18n', 'icuuc', 'icudata', 'icule'],
@@ -47,6 +51,7 @@ LIBRARIES = {
'darwin': ['icui18n', 'icuuc', 'icudata'],
'linux': ['icui18n', 'icuuc', 'icudata'],
'freebsd': ['icui18n', 'icuuc', 'icudata'],
+ 'openbsd': ['icui18n', 'icuuc', 'icudata'],
'win32': ['icuin', 'icuuc', 'icudt'],
'sunos5': ['icui18n', 'icuuc', 'icudata'],
}
@@ -55,6 +60,8 @@ if platform.startswith('linux'):
@@ -56,6 +61,8 @@ if platform.startswith(('linux', 'gnu')):
platform = 'linux'
elif platform.startswith('freebsd'):
platform = 'freebsd'