mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 21:02:28 +00:00
Allow installation of python 2.4 series
Make possible to install python 2.4.2 and 2.4.6.
This commit is contained in:
parent
0c38147fcb
commit
ae86a253e2
3 changed files with 18 additions and 3 deletions
|
@ -774,14 +774,19 @@ has_broken_mac_llvm_gcc() {
|
|||
[[ "$(gcc --version 2>/dev/null || true)" == *"llvm-gcc-4.2"* ]]
|
||||
}
|
||||
|
||||
# Post-install check for Python 2.5.x
|
||||
build_package_verify_py25() {
|
||||
# Post-install check for Python 2.4.x
|
||||
build_package_verify_py24() {
|
||||
build_package_verify_readline "$@"
|
||||
build_package_verify_sqlite3 "$@"
|
||||
build_package_verify_zlib "$@"
|
||||
build_package_verify_bz2 "$@"
|
||||
}
|
||||
|
||||
# Post-install check for Python 2.5.x
|
||||
build_package_verify_py25() {
|
||||
build_package_verify_py24 "$@"
|
||||
build_package_verify_sqlite3 "$@"
|
||||
}
|
||||
|
||||
# Post-install check for Python 2.6.x
|
||||
build_package_verify_py26() {
|
||||
build_package_verify_py25 "$@"
|
||||
|
|
5
plugins/python-build/share/python-build/2.4.2
Normal file
5
plugins/python-build/share/python-build/2.4.2
Normal file
|
@ -0,0 +1,5 @@
|
|||
require_gcc
|
||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
||||
install_package "Python-2.4.2" "http://www.python.org/ftp/python/2.4.2/Python-2.4.2.tgz#07cfc759546f6723bb367be5b1ce9875" standard verify_py24
|
||||
install_package "setuptools-0.9.5" "https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.5.tar.gz#2461dc5378277cfae68809baf8e0ef81" python
|
||||
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
5
plugins/python-build/share/python-build/2.4.6
Normal file
5
plugins/python-build/share/python-build/2.4.6
Normal file
|
@ -0,0 +1,5 @@
|
|||
require_gcc
|
||||
install_package "readline-6.2" "http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz#67948acb2ca081f23359d0256e9a271c" standard --if has_broken_mac_readline
|
||||
install_package "Python-2.4.6" "http://www.python.org/ftp/python/2.4.6/Python-2.4.6.tgz#7564b2b142b1b8345cd5358b7aaaa482" standard verify_py24
|
||||
install_package "setuptools-0.9.5" "https://pypi.python.org/packages/source/s/setuptools/setuptools-0.9.5.tar.gz#2461dc5378277cfae68809baf8e0ef81" python
|
||||
install_package "pip-1.1" "https://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#62a9f08dd5dc69d76734568a6c040508" python
|
Loading…
Reference in a new issue