Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: pyversion.mk,v 1.109 2013/05/12 00:19:55 riastradh 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.
@@ -8,7 +8,7 @@
# PYTHON_VERSION_DEFAULT
# The preferred Python version to use.
#
# Possible values: 26 27 32 33
# Possible values: 26 27 33
# Default: 27
#
# === Infrastructure variables ===
@@ -27,22 +27,14 @@
# order of the entries matters, since earlier entries are
# preferred over later ones.
#
# Possible values: 33 32 27 26
# Default: (33 32) 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
# Possible values: 33 27 26
# Default: (33) 27 26
#
# PYTHON_VERSIONS_INCOMPATIBLE
# The Python versions that are NOT acceptable for the package.
#
# Possible values: 26 27 32 33
# Default: (depends on the platform)
# Possible values: 26 27 33
# Default: (empty)
#
# PYTHON_FOR_BUILD_ONLY
# Whether Python is needed only at build time or at run time.
@@ -93,16 +85,11 @@ BUILD_DEFS+= PYTHON_VERSION_DEFAULT
BUILD_DEFS_EFFECTS+= PYPACKAGE
PYTHON_VERSION_DEFAULT?= 27
.if ${PYTHON_VERSIONS_INCLUDE_3X:U:tl} == "yes"
PYTHON_VERSIONS_ACCEPTED?= 33 32 27 26
.else
PYTHON_VERSIONS_ACCEPTED?= 27 26
.endif
PYTHON_VERSIONS_ACCEPTED?= 33 27 26
PYTHON_VERSIONS_INCOMPATIBLE?= # empty by default
BUILDLINK_API_DEPENDS.python26?= python26>=2.6
BUILDLINK_API_DEPENDS.python27?= python27>=2.7
BUILDLINK_API_DEPENDS.python32?= python32>=3.2
BUILDLINK_API_DEPENDS.python33?= python33>=3.3
# transform the list into individual variables
@@ -166,13 +153,6 @@ PYPACKAGE= python33
PYVERSSUFFIX= 3.3
PYPKGPREFIX= py33
PLIST.py3x= yes
.elif ${_PYTHON_VERSION} == "32"
PYPKGSRCDIR= ../../lang/python32
PYDEPENDENCY= ${BUILDLINK_API_DEPENDS.python32}:${PYPKGSRCDIR}
PYPACKAGE= python32
PYVERSSUFFIX= 3.2
PYPKGPREFIX= py32
PLIST.py3x= yes
.elif ${_PYTHON_VERSION} == "27"
PYPKGSRCDIR= ../../lang/python27
PYDEPENDENCY= ${BUILDLINK_API_DEPENDS.python27}:${PYPKGSRCDIR}