##// END OF EJS Templates
contrib: update build defaults to latest Python and docutils versions...
Mads Kiilerich -
r23140:fbd79c25 default
parent child Browse files
Show More
@@ -1,4 +1,4 b''
1 PYTHONVER=2.7.6
1 PYTHONVER=2.7.8
2 PYTHONNAME=python-
2 PYTHONNAME=python-
3 PREFIX=$(HOME)/bin/prefix-$(PYTHONNAME)$(PYTHONVER)
3 PREFIX=$(HOME)/bin/prefix-$(PYTHONNAME)$(PYTHONVER)
4 SYMLINKDIR=$(HOME)/bin
4 SYMLINKDIR=$(HOME)/bin
@@ -27,7 +27,7 b' help:'
27 # debian: apt-get install zlib1g-dev libbz2-dev libssl-dev
27 # debian: apt-get install zlib1g-dev libbz2-dev libssl-dev
28 @echo
28 @echo
29 @echo 'To build a nice collection of interesting Python versions:'
29 @echo 'To build a nice collection of interesting Python versions:'
30 @echo ' $$ for v in 2.{4{,.2,.3},5{,.6},6{,.1,.2,.9},7{,.6}}; do'
30 @echo ' $$ for v in 2.{4{,.2,.3},5{,.6},6{,.1,.2,.9},7{,.8}}; do'
31 @echo ' make -f Makefile.python symlink PYTHONVER=$$v || break; done'
31 @echo ' make -f Makefile.python symlink PYTHONVER=$$v || break; done'
32 @echo 'To run a Mercurial test on all these Python versions:'
32 @echo 'To run a Mercurial test on all these Python versions:'
33 @echo ' $$ for py in `cd ~/bin && ls $(PYTHONNAME)2.*`; do'
33 @echo ' $$ for py in `cd ~/bin && ls $(PYTHONNAME)2.*`; do'
@@ -60,7 +60,7 b' PYTHON_SRCFILE=$(PYTHON_SRCDIR).tgz'
60 printf 'import sys, zlib, bz2\nif sys.version_info >= (2,6):\n import ssl' | $(PREFIX)/bin/python
60 printf 'import sys, zlib, bz2\nif sys.version_info >= (2,6):\n import ssl' | $(PREFIX)/bin/python
61 rm -rf $(PYTHON_SRCDIR)
61 rm -rf $(PYTHON_SRCDIR)
62
62
63 DOCUTILSVER=0.11
63 DOCUTILSVER=0.12
64 DOCUTILS_SRCDIR=docutils-$(DOCUTILSVER)
64 DOCUTILS_SRCDIR=docutils-$(DOCUTILSVER)
65 DOCUTILS_SRCFILE=$(DOCUTILS_SRCDIR).tar.gz
65 DOCUTILS_SRCFILE=$(DOCUTILS_SRCDIR).tar.gz
66
66
@@ -6,7 +6,7 b''
6
6
7 %global pythonver %{withpython}
7 %global pythonver %{withpython}
8 %global pythonname Python-%{withpython}
8 %global pythonname Python-%{withpython}
9 %global docutilsname docutils-0.11
9 %global docutilsname docutils-0.12
10 %global pythonhg python-hg
10 %global pythonhg python-hg
11 %global hgpyprefix /usr/%{pythonhg}
11 %global hgpyprefix /usr/%{pythonhg}
12 # byte compilation will fail on some some Python /test/ files
12 # byte compilation will fail on some some Python /test/ files
General Comments 0
You need to be logged in to leave comments. Login now