From 731036dd47a3d6decc7f09d16eadbf3dd9463b67 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Mon, 13 Apr 2015 11:36:36 +0800 Subject: [PATCH] fix: [python-venv] python source url in ``tar.bz2`` could not be found anymore. Since 2.7.6, tar.bz2 are not anymore provided for python on the ftp web site. To fix this, we now use ``.tgz`` which seems to have been used across all versions. --- precise/python-venv/hooks/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/precise/python-venv/hooks/install b/precise/python-venv/hooks/install index 4badf28..81a25f9 100755 --- a/precise/python-venv/hooks/install +++ b/precise/python-venv/hooks/install @@ -11,8 +11,8 @@ VERSION="2.7.5" apt-get install wget bzip2 build-essential -y --force-yes apt-get install libreadline-dev libbz2-dev libz-dev libssl-dev libsqlite3-dev libgdbm-dev libldap2-dev -y --force-yes cd /tmp -wget http://www.python.org/ftp/python/$VERSION/Python-$VERSION.tar.bz2 -tar xjf Python-$VERSION.tar.bz2 +wget http://www.python.org/ftp/python/$VERSION/Python-$VERSION.tgz +tar xzf Python-$VERSION.tgz cd Python-$VERSION ./configure --prefix=/opt/apps/python-$VERSION make