pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python Remove PYTHON_VERSIONS_INCLUDE_3X.
details: https://anonhg.NetBSD.org/pkgsrc/rev/47b636198ea4
branches: trunk
changeset: 629658:47b636198ea4
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Jan 25 10:31:01 2014 +0000
description:
Remove PYTHON_VERSIONS_INCLUDE_3X.
Allow python-3.x by default.
diffstat:
lang/python/pyversion.mk | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diffs (42 lines):
diff -r dc570d4f4b48 -r 47b636198ea4 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk Sat Jan 25 10:29:56 2014 +0000
+++ b/lang/python/pyversion.mk Sat Jan 25 10:31:01 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.112 2014/01/18 19:51:28 wiz Exp $
+# $NetBSD: pyversion.mk,v 1.113 2014/01/25 10:31:01 wiz Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -30,19 +30,11 @@
# Possible values: 33 27 26
# Default: (33) 27 26
#
-# PYTHON_VERSIONS_INCLUDE_3X
-# Wether the default PYTHON_VERSIONS_ACCEPTED should include
-# 3.x versions for for this package or not.
-# This variable must be set before including bsd.prefs.mk.
-#
-# Possible values: yes no
-# Default: no
-#
# PYTHON_VERSIONS_INCOMPATIBLE
# The Python versions that are NOT acceptable for the package.
#
# Possible values: 26 27 33
-# Default: (depends on the platform)
+# Default: (empty)
#
# PYTHON_FOR_BUILD_ONLY
# Whether Python is needed only at build time or at run time.
@@ -93,11 +85,7 @@
BUILD_DEFS_EFFECTS+= PYPACKAGE
PYTHON_VERSION_DEFAULT?= 27
-.if ${PYTHON_VERSIONS_INCLUDE_3X:U:tl} == "yes"
PYTHON_VERSIONS_ACCEPTED?= 33 27 26
-.else
-PYTHON_VERSIONS_ACCEPTED?= 27 26
-.endif
PYTHON_VERSIONS_INCOMPATIBLE?= # empty by default
BUILDLINK_API_DEPENDS.python26?= python26>=2.6
Home |
Main Index |
Thread Index |
Old Index