From 99d151a85b4b82eba9a70d821b40e4e138044bcc Mon Sep 17 00:00:00 2001 From: lwhsu Date: Sun, 15 Aug 2010 19:12:51 +0000 Subject: - Introduce Python 2.7.0 Original work by: wen --- Mk/bsd.python.mk | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Mk/bsd.python.mk') diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index bd9fbddb8f40..83a357328472 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -214,7 +214,7 @@ Python_Include_MAINTAINER= python@FreeBSD.org # _PYTHON_PORTBRANCH= 2.6 -_PYTHON_ALLBRANCHES= 2.6 2.5 2.4 3.1 # preferred first +_PYTHON_ALLBRANCHES= 2.6 2.5 2.4 2.7 3.1 # preferred first _ZOPE_PORTBRANCH= 2.7 _ZOPE_ALLBRANCHES= 2.7 2.8 2.9 2.10 3.2 @@ -377,6 +377,14 @@ PYTHON_REL= 312 PYTHON_SUFFIX= 31 PYTHON_VER= 3.1 +# Python-2.7 +.elif ${PYTHON_VERSION} == "python2.7" +PYTHON_PORTVERSION?=2.7 +PYTHON_PORTSDIR= ${PORTSDIR}/lang/python27 +PYTHON_REL= 270 +PYTHON_SUFFIX= 27 +PYTHON_VER= 2.7 + # Python-2.6 .elif ${PYTHON_VERSION} == "python2.6" PYTHON_PORTVERSION?=2.6.5 @@ -418,6 +426,7 @@ check-makevars:: @${ECHO} " python2.4" @${ECHO} " python2.5" @${ECHO} " python2.6 (default)" + @${ECHO} " python2.7" @${ECHO} " python3.1" @${FALSE} .endif -- cgit