pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python only set 25 in PYTHON_VERSIONS_ACCEPTED if...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f63fa0f5cdf0
branches:  trunk
changeset: 540941:f63fa0f5cdf0
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Apr 11 15:37:30 2008 +0000

description:
only set 25 in PYTHON_VERSIONS_ACCEPTED if ../../wip/python25/Makefile found

diffstat:

 lang/python/pyversion.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 23f9963ac657 -r f63fa0f5cdf0 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk  Fri Apr 11 15:27:22 2008 +0000
+++ b/lang/python/pyversion.mk  Fri Apr 11 15:37:30 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.54 2008/04/11 13:10:15 abs Exp $
+# $NetBSD: pyversion.mk,v 1.55 2008/04/11 15:37:30 abs Exp $
 
 # This file determines which Python version is used as a dependency for
 # a package.
@@ -65,7 +65,11 @@
 .if ${OPSYS} == "Darwin"
 PYTHON_VERSIONS_INCOMPATIBLE+=         22 21 20 15
 .endif
+.if exists(../../wip/python25/Makefile)
 PYTHON_VERSIONS_ACCEPTED?=             25 24 23 22 21 20
+.else
+PYTHON_VERSIONS_ACCEPTED?=             24 23 22 21 20
+.endif
 PYTHON_VERSIONS_INCOMPATIBLE?=         # empty by default
 
 BUILDLINK_API_DEPENDS.python15?=               python15>=1.5



Home | Main Index | Thread Index | Old Index