contrib: offer Python 2.7.10
authorMads Kiilerich <madski@unity3d.com>
Thu, 15 Oct 2015 21:36:47 +0200
changeset 26735 ec74ea542201
parent 26734 b000d34f863f
child 26736 143b52fce68e
contrib: offer Python 2.7.10
contrib/Makefile.python
contrib/buildrpm
--- a/contrib/Makefile.python	Thu Oct 15 21:35:49 2015 +0200
+++ b/contrib/Makefile.python	Thu Oct 15 21:36:47 2015 +0200
@@ -1,4 +1,4 @@
-PYTHONVER=2.7.9
+PYTHONVER=2.7.10
 PYTHONNAME=python-
 PREFIX=$(HOME)/bin/prefix-$(PYTHONNAME)$(PYTHONVER)
 SYMLINKDIR=$(HOME)/bin
@@ -17,9 +17,9 @@
 	@echo '  symlink   - create a $$SYMLINKDIR/$(PYTHONNAME)$$PYTHONVER symlink'
 	@echo
 	@echo 'Example: create a temporary Python installation:'
-	@echo '  $$ make -f Makefile.python python PYTHONVER=2.6 PREFIX=/tmp/p26'
-	@echo '  $$ /tmp/p26/bin/python -V'
-	@echo '  Python 2.6'
+	@echo '  $$ make -f Makefile.python python PYTHONVER=${PYTHONVER} PREFIX=/tmp/p27'
+	@echo '  $$ /tmp/p27/bin/python -V'
+	@echo '  Python 2.7'
 	@echo
 	@echo 'Some external libraries are required for building Python: zlib bzip2 openssl.'
 	@echo 'Make sure their development packages are installed systemwide.'
@@ -27,7 +27,7 @@
 # debian: apt-get install zlib1g-dev libbz2-dev libssl-dev
 	@echo
 	@echo 'To build a nice collection of interesting Python versions:'
-	@echo '  $$ for v in 2.{6{,.1,.2,.9},7{,.8,.9}}; do'
+	@echo '  $$ for v in 2.{6{,.1,.2,.9},7{,.8,.10}}; do'
 	@echo '    make -f Makefile.python symlink PYTHONVER=$$v || break; done'
 	@echo 'To run a Mercurial test on all these Python versions:'
 	@echo '  $$ for py in `cd ~/bin && ls $(PYTHONNAME)2.*`; do'
--- a/contrib/buildrpm	Thu Oct 15 21:35:49 2015 +0200
+++ b/contrib/buildrpm	Thu Oct 15 21:36:47 2015 +0200
@@ -19,8 +19,8 @@
         ;;
     --withpython | --with-python)
         shift
-        PYTHONVER=2.7.9
-        PYTHONMD5=5eebcaa0030dc4061156d3429657fb83
+        PYTHONVER=2.7.10
+        PYTHONMD5=d7547558fd673bd9d38e2108c6b42521
         ;;
     --rpmbuilddir )
         shift