Commit 9ecb0941 authored by Domen Kožar's avatar Domen Kožar

travis: skip sqlite and fix 2.5 compatibility

parent cd361560
...@@ -34,9 +34,12 @@ ifeq ($(PYTHON_VER),2.6) ...@@ -34,9 +34,12 @@ ifeq ($(PYTHON_VER),2.6)
curl --progress-bar https://raw.github.com/collective/buildout.python/master/src/issue12012-sslv2-py26.txt > ssl.txt curl --progress-bar https://raw.github.com/collective/buildout.python/master/src/issue12012-sslv2-py26.txt > ssl.txt
cd $(PYTHON_PATH)/$(PYTHON_ARCHIVE) && \ cd $(PYTHON_PATH)/$(PYTHON_ARCHIVE) && \
patch -p0 < ../ssl.txt patch -p0 < ../ssl.txt
endif
ifeq ($(PYTHON_VER),2.5)
sed -i 'from __future__ import with_statement' $(PYTHON_PATH)/$(PYTHON_ARCHIVE)/setup.py
endif endif
cd $(PYTHON_PATH)/$(PYTHON_ARCHIVE) && \ cd $(PYTHON_PATH)/$(PYTHON_ARCHIVE) && \
./configure --prefix $(PYTHON_PATH) --with-zlib=/usr/include >/dev/null 2>&1 && \ ./configure --prefix $(PYTHON_PATH) --without-sqlite --with-zlib=/usr/include >/dev/null 2>&1 && \
make && \ make && \
make install >/dev/null 2>&1 make install >/dev/null 2>&1
@echo "Finished installing Python" @echo "Finished installing Python"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment