1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-10 20:43:48 -05:00

find appropriate patch for package automatically

This commit is contained in:
Yamashita Yuu
2013-05-08 18:35:30 +09:00
parent fe50ed29ea
commit cc20ab3392
17 changed files with 377 additions and 73 deletions

View File

@@ -1,12 +1,3 @@
before_install_package() {
local package_name="$1"
case "$package_name" in
Python*)
patch -p0 < "${PYTHON_BUILD_ROOT}/patches/all/common/patch-setup.py.diff"
;;
esac
}
install_package "Python-2.6.7" "http://www.python.org/ftp/python/2.6.7/Python-2.6.7.tgz#af474f85a3af69ea50438a2a48039d7d"
install_package "distribute-0.6.36" "http://pypi.python.org/packages/source/d/distribute/distribute-0.6.36.tar.gz#a923385de72dcdca68cd4ac2b9dc1148" python
install_package "pip-1.3.1" "http://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz#cbb27a191cebc58997c4da8513863153" python