GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

30 versions of Python.

ProgramAgeSizeByWWWSummary
Python 3.6.0-r5 941  1719 Ivan...
A high-level scripting language.
Python 3.5.2-r2 1141  1672 Luca...
A high-level scripting language.
Python 3.2-r2 1386  20432 Mich...
A high-level scripting language.
Python 3.1.2-r1 3465  20407 Mich...
A high-level scripting language.
Python 3.1.1-r1 3682  20466 Mich...
A high-level scripting language.
view entry at GitHub | download recipe.bz2 file
01-search-SLL.patch.in
Recipe
Resources/BuildDependencies
Resources/BuildInformation
Resources/Dependencies
Resources/Description
arm/01-cross.patch
arm/02-have_wchar.patch
arm/03-cross_dirs.patch
arm/03-ffitarget_build_fix.patch__
arm/03-ldflags.patch
arm/20061116152556-bf48b-cab1e7d1e54d14a8aab52f0c3b3073c93f75d4fc.gz.diff
arm/20061116152731-bf48b-b52dbbbbc3adece61496b161d8c22599caae2311.gz.diff
arm/20061116153039-bf48b-3470bc7e23e1dc39b2c85a8031b973e2254dd936.gz.diff
arm/20061116153137-bf48b-059af829d362b10bb5921367c93a56dbb51ef31b.gz.diff
arm/20061116153339-bf48b-6a742fb15b28564f9a1bc916c76a28dc672a9b2c.gz.diff
arm/20061116153503-bf48b-f8ea2a1da7a7a2fb664d54957a86624dff60338b.gz.diff
arm/20061116153622-bf48b-3f12d018bcb930b8d7a34fc3095efcc44fe3fa61.gz.diff
arm/20061116153658-bf48b-a838b4780998ef98ae4880c3916274d45b661c82.gz.diff
arm/20061116153814-bf48b-ce899248b77cd45e5bc97001488210aa391514f0.gz.diff
arm/20061116153938-bf48b-9b0d7f49495a3dcf7f6ee80289277abbe803febb.gz.diff
arm/20061116154042-bf48b-f452fe4b95085d8c1ba838bf302a6a48df3c1d31.gz.diff
arm/20061116154232-bf48b-d4e644f1969f3f04e221d5e3b5e489f78acd11f8.gz.diff
arm/20061116154309-bf48b-acfaf7ad5799a80fc6190252e2352b3dcb988644.gz.diff
arm/20061116154411-bf48b-cc7713382a7ac03ef935bd8aa80c6fcdf777d094.gz.diff
arm/20061116154434-bf48b-9c022e407c366c9f175e9168542ccc76eae9e3f0.gz.diff
arm/20061116154506-bf48b-4fcc91998e3f1666b39cb6245840e6cf754c0374.gz.diff
arm/20061116154926-bf48b-746aeff7f5a2db2f62538210b652f0830b162e21.gz.diff
arm/20061116155037-bf48b-3c2dbc5456021ca76405f35a34828b85d57b3159.gz.diff
arm/20061116155145-bf48b-d82ede1b43d20a0e046c394764a421076c08f821.gz.diff
arm/20061116155410-bf48b-540684d696df6057ee2c9c4e13e33fe450605ffa.gz.diff
arm/20061116155434-bf48b-23957f7f97456b4efac9a87a64ca6ec8fcfd812a.gz.diff
arm/20061116155615-bf48b-64f5018e975419b2d37c39f457c8732def3288df.gz.diff
arm/20061116155626-bf48b-7a4e50fb1cf5ff3481aaf7515a784621cbbdac6c.gz.diff
arm/20061116155820-bf48b-7861f48ea60593b90599e9fe6279f877273a1899.gz.diff
arm/20061116155925-bf48b-7d3a45788a0d83608d10e5c0a34f08b426d62e92.gz.diff
arm/20061116155958-bf48b-07f399e9f45750565635ca1bb155b0252949ef03.gz.diff
arm/20061116160247-bf48b-7db78fe2f80b3137ce349cf4314364768555ff50.gz.diff
arm/20061116160446-bf48b-13147a0728aaccf738b4374d683f9df02da85ceb.gz.diff
arm/20061116162044-bf48b-971237b3aabc31fc60fbd9c2be162ffa1c2d0d4e.gz.diff
arm/20061116162055-bf48b-23a2dd14933a2aee69f7cdc9f838e4b9c26c1eea.gz.diff
arm/20061116162106-bf48b-6689ca9dea07afbe8a77b7787a5c4e1642f803a1.gz.diff
arm/Recipe
Thu Nov 16 17:20:44 CET 2006  hanwen@lilypond.org
  * don't look into native dirs if CROSS_COMPILING is set.
diff -rN -u old-Python-2.5.cross/setup.py new-Python-2.5.cross/setup.py
--- old-Python-2.5.cross/setup.py	2006-11-16 17:47:44.000000000 +0100
+++ new-Python-2.5.cross/setup.py	2006-11-16 17:47:44.000000000 +0100
@@ -110,6 +110,8 @@
         # Fix up the autodetected modules, prefixing all the source files
         # with Modules/ and adding Python's include directory to the path.
         (srcdir,) = sysconfig.get_config_vars('srcdir')
+        if os.environ.get('CROSS_COMPILING') == 'yes':
+            srcdir = os.environ.get('SRCDIR')
         if not srcdir:
             # Maybe running on Windows but not using CYGWIN?
             raise ValueError("No source directory; cannot proceed.")
@@ -258,8 +260,10 @@
 
     def detect_modules(self):
         # Ensure that /usr/local is always used
-        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
-        add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+
+        if os.environ.get('CROSS_COMPILING') != 'yes':
+            add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
+            add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
 
         # Add paths specified in the environment variables LDFLAGS and
         # CPPFLAGS for header and library files.
@@ -307,11 +311,14 @@
         # lib_dirs and inc_dirs are used to search for files;
         # if a file is found in one of those directories, it can
         # be assumed that no additional -I,-L directives are needed.
-        lib_dirs = self.compiler.library_dirs + [
-            '/lib64', '/usr/lib64',
-            '/lib', '/usr/lib',
-            ]
-        inc_dirs = self.compiler.include_dirs + ['/usr/include']
+        
+        if os.environ.get('CROSS_COMPILING') != 'yes':
+            lib_dirs = self.compiler.library_dirs + [
+                '/lib64', '/usr/lib64',
+                '/lib', '/usr/lib',
+                ]
+            inc_dirs = self.compiler.include_dirs + ['/usr/include']
+            
         exts = []
 
         config_h = sysconfig.get_config_h_filename()
@@ -545,6 +552,7 @@
                                ['/usr/kerberos/include'])
             if krb5_h:
                 ssl_incs += krb5_h
+
         ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
                                      ['/usr/local/ssl/lib',
                                       '/usr/contrib/ssl/lib/'
@@ -626,6 +634,7 @@
 
         # construct a list of paths to look for the header file in on
         # top of the normal inc_dirs.
+        
         db_inc_paths = [
             '/usr/include/db4',
             '/usr/local/include/db4',
@@ -636,6 +645,7 @@
             '/opt/sfw/include/db3',
             '/sw/include/db3',
         ]
+        
         # 4.x minor number specific paths
         for x in (0,1,2,3,4):
             db_inc_paths.append('/usr/include/db4%d' % x)
@@ -652,6 +662,11 @@
             db_inc_paths.append('/pkg/db-3.%d/include' % x)
             db_inc_paths.append('/opt/db-3.%d/include' % x)
 
+
+        
+        if os.environ.get('CROSS_COMPILING') == 'yes':
+            db_inc_paths = []
+
         # Add some common subdirectories for Sleepycat DB to the list,
         # based on the standard include directories. This way DB3/4 gets
         # picked up when it is installed in a non-standard prefix and
@@ -771,6 +786,10 @@
         MIN_SQLITE_VERSION = ".".join([str(x)
                                     for x in MIN_SQLITE_VERSION_NUMBER])
 
+        if os.environ.get('CROSS_COMPILING') == 'yes':
+            sqlite_inc_paths = []
+
+
         # Scan the default include directories before the SQLite specific
         # ones. This allows one to override the copy of sqlite on OSX,
         # where /usr/include contains an old version of sqlite.
@@ -851,7 +870,12 @@
         # accidentally building this module with a later version of the
         # underlying db library.  May BSD-ish Unixes incorporate db 1.85
         # symbols into libc and place the include file in /usr/include.
+
+
         f = "/usr/include/db.h"
+        if os.environ.get('CROSS_COMPILING') == 'yes':
+            f = ''
+
         if os.path.exists(f):
             data = open(f).read()
             m = re.search(r"#s*define\s+HASHVERSION\s+2\s*", data)

Python 3.1-r1 3732  20431 Mich...
A high-level scripting language.
Python 3.0.1-r1 3851  20530 Mich...
A high-level scripting language.
Python 3.0-r1 3851  20138 Mich...
A high-level scripting language.
Python 2.7.12-r1 1013  1659 Xavi...
A high-level scripting language.
Python 2.7.9-r2 1386  2947 Hish...
A high-level scripting language.
Python 2.7-r1 3352  20194 Mich...
A high-level scripting language.
Python 2.6.6-r1 3310  20221 Mich...
A high-level scripting language.
Python 2.6.5-r1 3465  20203 Mich...
A high-level scripting language.
Python 2.6.4-r1 3612  20233 Mich...
A high-level scripting language.
Python 2.6.3-r1 3636  20209 Mich...
A high-level scripting language.
Python 2.6.2-r2 3735  20211 Mich...
A high-level scripting language.
Python 2.6.1-r1 3851  20433 Mich...
A high-level scripting language.
Python 2.6-r1 3851  20434 Mich...
A high-level scripting language.
Python 2.5.4-r1 3851  20411 Mich...
A high-level scripting language.
Python 2.5.3-r1 3851  20400 Mich...
A high-level scripting language.
Python 2.5.2-r3 3851  20433 Giam...
A high-level scripting language.
Python 2.5.1-r1 3851  20145 Isaa...
A high-level scripting language.
Python 2.5-r3 3851  20094 Andr...
A high-level scripting language.
Python 2.4.3-r1 3851  1128 Andr...
A high-level scripting language.
Python 2.4.2-r1 3851  1516 Andr...
A high-level scripting language.
Python 2.4.1-r1 3851  1491 Andr...
A high-level scripting language.
Python 2.4-r1 3851  1485 Andr...
A high-level scripting language.
Python 2.3.4-r1 3851  1101 Andr...
A high-level scripting language.
Python 2.3.3-r1 3851  1002
A high-level scripting language.
Python 2.3.2-r1 3851  832
A high-level scripting language.