Skip to content

Commit 10221d5

Browse files
author
Yamashita Yuu
committed
Add 2.4, 2.4.1, 2.4.3, 2.4.4 and 2.4.5
1 parent aff87c3 commit 10221d5

10 files changed

Lines changed: 250 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require_gcc
2+
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
3+
install_package "Python-2.4" "http://www.python.org/ftp/python/2.4/Python-2.4.tgz#149ad508f936eccf669d52682cf8e606" standard verify_py24
4+
install_package "setuptools-0.9.7" "https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.7.tar.gz#ce3bb480e4f6d71fc2fb3388f6fe8123" python
5+
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require_gcc
2+
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
3+
install_package "Python-2.4.1" "http://www.python.org/ftp/python/2.4.1/Python-2.4.1.tgz#7bb2416a4f421c3452d306694d3efbba" standard verify_py24
4+
install_package "setuptools-0.9.7" "https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.7.tar.gz#ce3bb480e4f6d71fc2fb3388f6fe8123" python
5+
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require_gcc
2+
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
3+
install_package "Python-2.4.3" "http://www.python.org/ftp/python/2.4.3/Python-2.4.3.tgz#edf994473a8c1a963aaa71e442b285b7" standard verify_py24
4+
install_package "setuptools-0.9.7" "https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.7.tar.gz#ce3bb480e4f6d71fc2fb3388f6fe8123" python
5+
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require_gcc
2+
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
3+
install_package "Python-2.4.4" "http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz#82d000617baaef269ad5795c595fdc58" standard verify_py24
4+
install_package "setuptools-0.9.7" "https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.7.tar.gz#ce3bb480e4f6d71fc2fb3388f6fe8123" python
5+
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require_gcc
2+
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
3+
install_package "Python-2.4.5" "http://www.python.org/ftp/python/2.4.5/Python-2.4.5.tgz#750b652bfdd12675e102bbe25e5e9893" standard verify_py24
4+
install_package "setuptools-0.9.7" "https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.7.tar.gz#ce3bb480e4f6d71fc2fb3388f6fe8123" python
5+
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
--- setup.py.orig 2011-07-07 19:19:43.800122463 +0900
2+
+++ setup.py 2011-07-07 19:25:04.548416377 +0900
3+
@@ -13,6 +13,7 @@
4+
from distutils.command.build_ext import build_ext
5+
from distutils.command.install import install
6+
from distutils.command.install_lib import install_lib
7+
+from distutils.spawn import find_executable
8+
9+
# This global variable is used to hold the list of modules to be disabled.
10+
disabled_module_list = []
11+
@@ -242,10 +243,34 @@
12+
return platform
13+
return sys.platform
14+
15+
+ def add_multiarch_paths(self):
16+
+ # Debian/Ubuntu multiarch support.
17+
+ # https://wiki.ubuntu.com/MultiarchSpec
18+
+ if not find_executable('dpkg-architecture'):
19+
+ return
20+
+ tmpfile = os.path.join(self.build_temp, 'multiarch')
21+
+ if not os.path.exists(self.build_temp):
22+
+ os.makedirs(self.build_temp)
23+
+ ret = os.system(
24+
+ 'dpkg-architecture -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
25+
+ tmpfile)
26+
+ try:
27+
+ if ret >> 8 == 0:
28+
+ fp = open(tmpfile)
29+
+ multiarch_path_component = fp.readline().strip()
30+
+ fp.close()
31+
+ add_dir_to_list(self.compiler.library_dirs,
32+
+ '/usr/lib/' + multiarch_path_component)
33+
+ add_dir_to_list(self.compiler.include_dirs,
34+
+ '/usr/include/' + multiarch_path_component)
35+
+ finally:
36+
+ os.unlink(tmpfile)
37+
+
38+
def detect_modules(self):
39+
# Ensure that /usr/local is always used
40+
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
41+
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
42+
+ self.add_multiarch_paths()
43+
44+
# Add paths specified in the environment variables LDFLAGS and
45+
# CPPFLAGS for header and library files.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
--- setup.py.orig 2011-07-07 19:19:43.800122463 +0900
2+
+++ setup.py 2011-07-07 19:25:04.548416377 +0900
3+
@@ -13,6 +13,7 @@
4+
from distutils.command.build_ext import build_ext
5+
from distutils.command.install import install
6+
from distutils.command.install_lib import install_lib
7+
+from distutils.spawn import find_executable
8+
9+
# This global variable is used to hold the list of modules to be disabled.
10+
disabled_module_list = []
11+
@@ -242,10 +243,34 @@
12+
return platform
13+
return sys.platform
14+
15+
+ def add_multiarch_paths(self):
16+
+ # Debian/Ubuntu multiarch support.
17+
+ # https://wiki.ubuntu.com/MultiarchSpec
18+
+ if not find_executable('dpkg-architecture'):
19+
+ return
20+
+ tmpfile = os.path.join(self.build_temp, 'multiarch')
21+
+ if not os.path.exists(self.build_temp):
22+
+ os.makedirs(self.build_temp)
23+
+ ret = os.system(
24+
+ 'dpkg-architecture -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
25+
+ tmpfile)
26+
+ try:
27+
+ if ret >> 8 == 0:
28+
+ fp = open(tmpfile)
29+
+ multiarch_path_component = fp.readline().strip()
30+
+ fp.close()
31+
+ add_dir_to_list(self.compiler.library_dirs,
32+
+ '/usr/lib/' + multiarch_path_component)
33+
+ add_dir_to_list(self.compiler.include_dirs,
34+
+ '/usr/include/' + multiarch_path_component)
35+
+ finally:
36+
+ os.unlink(tmpfile)
37+
+
38+
def detect_modules(self):
39+
# Ensure that /usr/local is always used
40+
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
41+
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
42+
+ self.add_multiarch_paths()
43+
44+
# Add paths specified in the environment variables LDFLAGS and
45+
# CPPFLAGS for header and library files.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
--- setup.py.orig 2011-07-07 19:19:43.800122463 +0900
2+
+++ setup.py 2011-07-07 19:25:04.548416377 +0900
3+
@@ -13,6 +13,7 @@
4+
from distutils.command.build_ext import build_ext
5+
from distutils.command.install import install
6+
from distutils.command.install_lib import install_lib
7+
+from distutils.spawn import find_executable
8+
9+
# This global variable is used to hold the list of modules to be disabled.
10+
disabled_module_list = []
11+
@@ -242,10 +243,34 @@
12+
return platform
13+
return sys.platform
14+
15+
+ def add_multiarch_paths(self):
16+
+ # Debian/Ubuntu multiarch support.
17+
+ # https://wiki.ubuntu.com/MultiarchSpec
18+
+ if not find_executable('dpkg-architecture'):
19+
+ return
20+
+ tmpfile = os.path.join(self.build_temp, 'multiarch')
21+
+ if not os.path.exists(self.build_temp):
22+
+ os.makedirs(self.build_temp)
23+
+ ret = os.system(
24+
+ 'dpkg-architecture -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
25+
+ tmpfile)
26+
+ try:
27+
+ if ret >> 8 == 0:
28+
+ fp = open(tmpfile)
29+
+ multiarch_path_component = fp.readline().strip()
30+
+ fp.close()
31+
+ add_dir_to_list(self.compiler.library_dirs,
32+
+ '/usr/lib/' + multiarch_path_component)
33+
+ add_dir_to_list(self.compiler.include_dirs,
34+
+ '/usr/include/' + multiarch_path_component)
35+
+ finally:
36+
+ os.unlink(tmpfile)
37+
+
38+
def detect_modules(self):
39+
# Ensure that /usr/local is always used
40+
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
41+
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
42+
+ self.add_multiarch_paths()
43+
44+
# Add paths specified in the environment variables LDFLAGS and
45+
# CPPFLAGS for header and library files.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
--- setup.py.orig 2011-07-07 19:19:43.800122463 +0900
2+
+++ setup.py 2011-07-07 19:25:04.548416377 +0900
3+
@@ -13,6 +13,7 @@
4+
from distutils.command.build_ext import build_ext
5+
from distutils.command.install import install
6+
from distutils.command.install_lib import install_lib
7+
+from distutils.spawn import find_executable
8+
9+
# This global variable is used to hold the list of modules to be disabled.
10+
disabled_module_list = []
11+
@@ -242,10 +243,34 @@
12+
return platform
13+
return sys.platform
14+
15+
+ def add_multiarch_paths(self):
16+
+ # Debian/Ubuntu multiarch support.
17+
+ # https://wiki.ubuntu.com/MultiarchSpec
18+
+ if not find_executable('dpkg-architecture'):
19+
+ return
20+
+ tmpfile = os.path.join(self.build_temp, 'multiarch')
21+
+ if not os.path.exists(self.build_temp):
22+
+ os.makedirs(self.build_temp)
23+
+ ret = os.system(
24+
+ 'dpkg-architecture -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
25+
+ tmpfile)
26+
+ try:
27+
+ if ret >> 8 == 0:
28+
+ fp = open(tmpfile)
29+
+ multiarch_path_component = fp.readline().strip()
30+
+ fp.close()
31+
+ add_dir_to_list(self.compiler.library_dirs,
32+
+ '/usr/lib/' + multiarch_path_component)
33+
+ add_dir_to_list(self.compiler.include_dirs,
34+
+ '/usr/include/' + multiarch_path_component)
35+
+ finally:
36+
+ os.unlink(tmpfile)
37+
+
38+
def detect_modules(self):
39+
# Ensure that /usr/local is always used
40+
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
41+
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
42+
+ self.add_multiarch_paths()
43+
44+
# Add paths specified in the environment variables LDFLAGS and
45+
# CPPFLAGS for header and library files.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
--- setup.py.orig 2011-07-07 19:19:43.800122463 +0900
2+
+++ setup.py 2011-07-07 19:25:04.548416377 +0900
3+
@@ -13,6 +13,7 @@
4+
from distutils.command.build_ext import build_ext
5+
from distutils.command.install import install
6+
from distutils.command.install_lib import install_lib
7+
+from distutils.spawn import find_executable
8+
9+
# This global variable is used to hold the list of modules to be disabled.
10+
disabled_module_list = []
11+
@@ -242,10 +243,34 @@
12+
return platform
13+
return sys.platform
14+
15+
+ def add_multiarch_paths(self):
16+
+ # Debian/Ubuntu multiarch support.
17+
+ # https://wiki.ubuntu.com/MultiarchSpec
18+
+ if not find_executable('dpkg-architecture'):
19+
+ return
20+
+ tmpfile = os.path.join(self.build_temp, 'multiarch')
21+
+ if not os.path.exists(self.build_temp):
22+
+ os.makedirs(self.build_temp)
23+
+ ret = os.system(
24+
+ 'dpkg-architecture -qDEB_HOST_MULTIARCH > %s 2> /dev/null' %
25+
+ tmpfile)
26+
+ try:
27+
+ if ret >> 8 == 0:
28+
+ fp = open(tmpfile)
29+
+ multiarch_path_component = fp.readline().strip()
30+
+ fp.close()
31+
+ add_dir_to_list(self.compiler.library_dirs,
32+
+ '/usr/lib/' + multiarch_path_component)
33+
+ add_dir_to_list(self.compiler.include_dirs,
34+
+ '/usr/include/' + multiarch_path_component)
35+
+ finally:
36+
+ os.unlink(tmpfile)
37+
+
38+
def detect_modules(self):
39+
# Ensure that /usr/local is always used
40+
add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
41+
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
42+
+ self.add_multiarch_paths()
43+
44+
# Add paths specified in the environment variables LDFLAGS and
45+
# CPPFLAGS for header and library files.

0 commit comments

Comments
 (0)