contrib/Makefile.python
changeset 23824 e278fc8bb0c3
parent 23140 fbd79c2552a6
child 23880 c0c4713c3010
equal deleted inserted replaced
23823:bd72e75f09e7 23824:e278fc8bb0c3
    42 
    42 
    43 PYTHON_SRCDIR=Python-$(PYTHONVER)
    43 PYTHON_SRCDIR=Python-$(PYTHONVER)
    44 PYTHON_SRCFILE=$(PYTHON_SRCDIR).tgz
    44 PYTHON_SRCFILE=$(PYTHON_SRCDIR).tgz
    45 
    45 
    46 $(PREFIX)/bin/python:
    46 $(PREFIX)/bin/python:
    47 	[ -f $(PYTHON_SRCFILE) ] || wget http://www.python.org/ftp/python/$(PYTHONVER)/$(PYTHON_SRCFILE) || [ -f $(PYTHON_SRCFILE) ]
    47 	[ -f $(PYTHON_SRCFILE) ] || wget http://www.python.org/ftp/python/$(PYTHONVER)/$(PYTHON_SRCFILE) || curl -OL http://www.python.org/ftp/python/$(PYTHONVER)/$(PYTHON_SRCFILE) || [ -f $(PYTHON_SRCFILE) ]
    48 	rm -rf $(PYTHON_SRCDIR)
    48 	rm -rf $(PYTHON_SRCDIR)
    49 	tar xf $(PYTHON_SRCFILE)
    49 	tar xf $(PYTHON_SRCFILE)
    50 	# Ubuntu disables SSLv2 the hard way, disable it on old Pythons too
    50 	# Ubuntu disables SSLv2 the hard way, disable it on old Pythons too
    51 	-sed -i 's,self.*SSLv2_method(),0;//\0,g' $(PYTHON_SRCDIR)/Modules/_ssl.c
    51 	-sed -i 's,self.*SSLv2_method(),0;//\0,g' $(PYTHON_SRCDIR)/Modules/_ssl.c
    52 	# Find multiarch system libraries on Ubuntu with Python 2.4.x
    52 	# Find multiarch system libraries on Ubuntu with Python 2.4.x