mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-29 06:32:54 -05:00
755c00e67c
replaced deprecated method calls of `fetch_url` by `http get`.
13 lines
697 B
Groff
13 lines
697 B
Groff
before_install_package() {
|
|
local package_name="$1"
|
|
case "$package_name" in
|
|
Python*)
|
|
http get "https://raw.github.com/saghul/pythonz/346450868902fed0fe654c472b7b58e2e31fde70/pythonz/patches/all/common/patch-setup.py.diff" > setup.patch
|
|
patch -p0 < setup.patch
|
|
;;
|
|
esac
|
|
}
|
|
|
|
install_package "Python-2.6.8" "http://www.python.org/ftp/python/2.6.8/Python-2.6.8.tgz#f6c1781f5d73ab7dfa5181f43ea065f6"
|
|
install_package "distribute-0.6.34" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.34.tar.gz#4576ab843a6db5100fb22a72deadf56d" python
|
|
install_package "pip-1.2.1" "http://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz#db8a6d8a4564d3dc7f337ebed67b1a85" python
|