75 lines
2.1 KiB
Diff
75 lines
2.1 KiB
Diff
--- PyICU-2.3.orig/setup.py 2019-04-12 21:52:55.795377100 -0400
|
|
+++ PyICU-2.3/setup.py 2019-04-14 22:08:46.314364100 -0400
|
|
@@ -82,7 +82,7 @@
|
|
'darwin': True,
|
|
'linux': True,
|
|
'freebsd': False, # not tested
|
|
- 'win32': False, # no icu-config
|
|
+ 'win32': True,
|
|
'sunos5': False, # not tested
|
|
'cygwin': False, # not tested
|
|
}
|
|
@@ -91,7 +91,7 @@
|
|
'darwin': False, # no pkg-config ?
|
|
'linux': True,
|
|
'freebsd': False, # not tested
|
|
- 'win32': False, # no pkg-config ?
|
|
+ 'win32': True,
|
|
'sunos5': False, # not tested
|
|
'cygwin': False, # not tested
|
|
}
|
|
@@ -100,7 +100,7 @@
|
|
'darwin': [],
|
|
'linux': [],
|
|
'freebsd': ['/usr/local/include'],
|
|
- 'win32': ['c:/icu/include'],
|
|
+ 'win32': [],
|
|
'sunos5': [],
|
|
'cygwin': [],
|
|
}
|
|
@@ -109,7 +109,7 @@
|
|
'darwin': ['-DPYICU_VER="%s"' %(VERSION)],
|
|
'linux': ['-DPYICU_VER="%s"' %(VERSION)],
|
|
'freebsd': ['-DPYICU_VER="%s"' %(VERSION)],
|
|
- 'win32': ['/DPYICU_VER=\\"%s\\"' %(VERSION)],
|
|
+ 'win32': ['-DPYICU_VER="%s"' %(VERSION)],
|
|
'sunos5': ['-DPYICU_VER="%s"' %(VERSION)],
|
|
'cygwin': ['-DPYICU_VER="%s"' %(VERSION)],
|
|
}
|
|
@@ -118,7 +118,7 @@
|
|
'darwin': [],
|
|
'linux': [],
|
|
'freebsd': ['-std=c++11'],
|
|
- 'win32': ['/Zc:wchar_t', '/EHsc'],
|
|
+ 'win32': [],
|
|
'sunos5': ['-std=c++11'],
|
|
'cygwin': ['-D_GNU_SOURCE=1', '-std=c++11'],
|
|
}
|
|
@@ -128,7 +128,7 @@
|
|
'darwin': ['-O0', '-g', '-DDEBUG'],
|
|
'linux': ['-O0', '-g', '-DDEBUG'],
|
|
'freebsd': ['-O0', '-g', '-DDEBUG'],
|
|
- 'win32': ['/Od', '/DDEBUG'],
|
|
+ 'win32': ['-O0', '-g', '-DDEBUG'],
|
|
'sunos5': ['-DDEBUG'],
|
|
'cygwin': ['-Og', '-g', '-DDEBUG'],
|
|
}
|
|
@@ -137,7 +137,7 @@
|
|
'darwin': [],
|
|
'linux': [],
|
|
'freebsd': ['-L/usr/local/lib'],
|
|
- 'win32': ['/LIBPATH:c:/icu/lib'],
|
|
+ 'win32': [],
|
|
'sunos5': [],
|
|
'cygwin': [],
|
|
}
|
|
@@ -146,7 +146,7 @@
|
|
'darwin': [],
|
|
'linux': [],
|
|
'freebsd': ['icui18n', 'icuuc', 'icudata'],
|
|
- 'win32': ['icuin', 'icuuc', 'icudt'],
|
|
+ 'win32': [],
|
|
'sunos5': ['icui18n', 'icuuc', 'icudata'],
|
|
'cygwin': ['icui18n', 'icuuc', 'icudata'],
|
|
}
|