Add python3 package

This commit is contained in:
Alexpux
2013-11-05 11:00:07 +04:00
parent aeb48e10a5
commit 364da82498
23 changed files with 2539 additions and 0 deletions

27
python3/3.3-tkinter.patch Normal file
View File

@@ -0,0 +1,27 @@
--- Python-3.3.2-orig/setup.py 2013-08-01 23:45:32.806640600 +0400
+++ Python-3.3.2/setup.py 2013-08-01 23:54:03.430664000 +0400
@@ -1696,12 +1696,6 @@
include_dirs.append('/usr/X11/include')
added_lib_dirs.append('/usr/X11/lib')
- # If Cygwin, then verify that X is installed before proceeding
- if host_platform == 'cygwin':
- x11_inc = find_file('X11/Xlib.h', [], include_dirs)
- if x11_inc is None:
- return
-
# Check for BLT extension
if self.compiler.find_library_file(lib_dirs + added_lib_dirs,
'BLT8.0'):
@@ -1719,9 +1713,8 @@
if host_platform in ['aix3', 'aix4']:
libs.append('ld')
- # Finally, link with the X11 libraries (not appropriate on cygwin)
- if host_platform != "cygwin":
- libs.append('X11')
+ # Finally, link with the X11 libraries
+ libs.append('X11')
ext = Extension('_tkinter', ['_tkinter.c', 'tkappinit.c'],
define_macros=[('WITH_APPINIT', 1)] + defs,