Changeset 3402
- Timestamp:
- Jun 11, 2007, 12:50:36 AM (18 years ago)
- Location:
- trunk/essentials/dev-lang/python
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/dev-lang/python/Lib/distutils/ccompiler.py
r3225 r3402 1026 1026 def debug_print (self, msg): 1027 1027 from distutils.debug import DEBUG 1028 if DEBUG:1029 1028 # if DEBUG: 1029 print msg 1030 1030 1031 1031 def warn (self, msg): … … 1059 1059 # compiler 1060 1060 ('cygwin.*', 'unix'), 1061 ('os2emx', 'emx'), 1061 ('os2knix', 'unix'), 1062 #('os2emx', 'emx'), - revert later. 1062 1063 1063 1064 # OS name mappings -
trunk/essentials/dev-lang/python/Lib/distutils/unixccompiler.py
r3225 r3402 120 120 dylib_lib_extension = ".dylib" 121 121 static_lib_format = shared_lib_format = dylib_lib_format = "lib%s%s" 122 if sys.platform == "cygwin" :122 if sys.platform == "cygwin" or sys.platform == "os2emx": 123 123 exe_extension = ".exe" 124 124 -
trunk/essentials/dev-lang/python/Lib/os.py
r3225 r3402 75 75 except ImportError: 76 76 pass 77 if sys.version.find('EMX GCC') == -1 :77 if sys.version.find('EMX GCC') == -1 and sys.platform != 'os2knix': 78 78 import ntpath as path 79 79 else: -
trunk/essentials/dev-lang/python/Lib/popen2.py
r3225 r3402 136 136 137 137 138 if sys.platform[:3] == "win" or sys.platform == "os2emx" :138 if sys.platform[:3] == "win" or sys.platform == "os2emx" or sys.platform == "os2knix": 139 139 # Some things don't make sense on non-Unix platforms. 140 140 del Popen3, Popen4 -
trunk/essentials/dev-lang/python/Lib/tempfile.py
r3390 r3402 437 437 return _TemporaryFileWrapper(file, name) 438 438 439 if _os.name != 'posix' or _os.sys.platform == 'cygwin' or _os.sys.platform == 'os2emx' :439 if _os.name != 'posix' or _os.sys.platform == 'cygwin' or _os.sys.platform == 'os2emx' or _os.sys.platform == 'os2knix': 440 440 # On non-POSIX and Cygwin systems, assume that we cannot unlink a file 441 441 # while it is open. -
trunk/essentials/dev-lang/python/Lib/test/regrtest.py
r3225 r3402 1181 1181 test_sunaudiodev 1182 1182 """, 1183 'os2knix': 1184 """ 1185 test_al 1186 test_applesingle 1187 test_audioop 1188 test_bsddb185 1189 test_bsddb3 1190 test_cd 1191 test_cl 1192 test_commands 1193 test_dl 1194 test_gl 1195 test_imgfile 1196 test_linuxaudiodev 1197 test_mhlib 1198 test_mmap 1199 test_nis 1200 test_openpty 1201 test_ossaudiodev 1202 test_pty 1203 test_resource 1204 test_sqlite 1205 test_startfile 1206 test_sunaudiodev 1207 """, 1183 1208 'freebsd4': 1184 1209 """ -
trunk/essentials/dev-lang/python/Lib/test/test_tempfile.py
r3225 r3402 265 265 mode = stat.S_IMODE(os.stat(file.name).st_mode) 266 266 expected = 0600 267 if sys.platform in ('win32', 'os2emx', ' mac'):267 if sys.platform in ('win32', 'os2emx', 'os2knix', 'mac'): 268 268 # There's no distinction among 'user', 'group' and 'world'; 269 269 # replicate the 'user' bits. … … 484 484 mode &= 0777 # Mask off sticky bits inherited from /tmp 485 485 expected = 0700 486 if sys.platform in ('win32', 'os2emx', ' mac'):486 if sys.platform in ('win32', 'os2emx', 'os2knix', 'mac'): 487 487 # There's no distinction among 'user', 'group' and 'world'; 488 488 # replicate the 'user' bits. -
trunk/essentials/dev-lang/python/Makefile.pre.in
r3399 r3402 409 409 $(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources 410 410 411 if eq ($(MACHDEP),os2emx) # bird hack!411 ifneq ($(filter os2emx os2knix,$(MACHDEP)),) # bird hack! 412 412 $(DLLLIBRARY) $(LDLIBRARY): $(LIBRARY_OBJS) 413 413 $(LDSHARED) -o $(DLLLIBRARY) $^ $(LIBS) $(MODLIBS) $(SYSLIBS) -
trunk/essentials/dev-lang/python/configure.in
r3400 r3402 184 184 atheos*) MACHDEP="atheos";; 185 185 irix646) MACHDEP="irix6";; 186 os2*|OS/2*|emx*) MACHDEP="os2 emx";;186 os2*|OS/2*|emx*) MACHDEP="os2knix";; 187 187 188 188 '') MACHDEP="unknown";; … … 3419 3419 if test ! -f Modules/Setup 3420 3420 then 3421 if test "$MACHDEP" = "os2emx" ; then3421 if test "$MACHDEP" = "os2emx" -o "$MACHDEP" = "os2knix"; then 3422 3422 cp $srcdir/PC/os2emx/Setup.os2emx Modules/Setup 3423 3423 else
Note:
See TracChangeset
for help on using the changeset viewer.