pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python Add untested entries for python26.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acb4c480fc70
branches:  trunk
changeset: 391796:acb4c480fc70
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Apr 19 14:48:17 2009 +0000

description:
Add untested entries for python26.

diffstat:

 lang/python/egg.mk       |   4 ++--
 lang/python/pyversion.mk |  22 ++++++++++++++--------
 2 files changed, 16 insertions(+), 10 deletions(-)

diffs (84 lines):

diff -r 69ea05942efe -r acb4c480fc70 lang/python/egg.mk
--- a/lang/python/egg.mk        Sun Apr 19 14:46:21 2009 +0000
+++ b/lang/python/egg.mk        Sun Apr 19 14:48:17 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: egg.mk,v 1.8 2009/02/17 17:32:38 joerg Exp $
+# $NetBSD: egg.mk,v 1.9 2009/04/19 14:48:17 wiz Exp $
 #
 # Common logic to handle Python Eggs
 #
@@ -9,7 +9,7 @@
 PYDISTUTILSPKG=        yes
 PY_PATCHPLIST= yes
 # Only Python 2.4+ supported by devel/py-setuptools right now
-PYTHON_VERSIONS_ACCEPTED?=     25 24
+PYTHON_VERSIONS_ACCEPTED?=     26 25 24
 
 PLIST_SUBST+=  EGG_NAME=${EGG_NAME}-py${PYVERSSUFFIX}
 PLIST_SUBST+=  EGG_INFODIR=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
diff -r 69ea05942efe -r acb4c480fc70 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk  Sun Apr 19 14:46:21 2009 +0000
+++ b/lang/python/pyversion.mk  Sun Apr 19 14:48:17 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.67 2009/03/21 06:24:48 snj Exp $
+# $NetBSD: pyversion.mk,v 1.68 2009/04/19 14:48:17 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: 23 24 25
+#      Possible values: 23 24 25 26
 #      Default: 25
 #
 # === Package-settable variables ===
@@ -18,13 +18,13 @@
 #      order of the entries matters, since earlier entries are
 #      preferred over later ones.
 #
-#      Possible values: 25 24 23
-#      Default: 25 24 23
+#      Possible values: 26 25 24 23
+#      Default: 26 25 24 23
 #
 # PYTHON_VERSIONS_INCOMPATIBLE
 #      The Python versions that are NOT acceptable for the package.
 #
-#      Possible values: 23 24 25
+#      Possible values: 23 24 25 26
 #      Default: (depends on the platform)
 #
 # PYTHON_FOR_BUILD_ONLY
@@ -39,13 +39,13 @@
 #      The prefix to use in PKGNAME for extensions which are meant
 #      to be installed for multiple Python versions.
 #
-#      Example: py24
+#      Example: py25
 #
 # PYVERSSUFFIX
 #      The suffix to executables and in the library path, equal to
 #      sys.version[0:3].
 #
-#      Example: 2.4
+#      Example: 2.5
 #
 # Keywords: python
 #
@@ -116,7 +116,13 @@
 _PYTHON_VERSION=       none
 .endif
 
-.if ${_PYTHON_VERSION} == "25"
+.if ${_PYTHON_VERSION} == "26"
+PYPKGSRCDIR=   ../../lang/python26
+PYDEPENDENCY=  ${BUILDLINK_API_DEPENDS.python26}:${PYPKGSRCDIR}
+PYPACKAGE=     python26
+PYVERSSUFFIX=  2.6
+PYPKGPREFIX=   py26
+.elif ${_PYTHON_VERSION} == "25"
 PYPKGSRCDIR=   ../../lang/python25
 PYDEPENDENCY=  ${BUILDLINK_API_DEPENDS.python25}:${PYPKGSRCDIR}
 PYPACKAGE=     python25



Home | Main Index | Thread Index | Old Index