Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python python: add pytest to versioned_dependenci...
details: https://anonhg.NetBSD.org/pkgsrc/rev/71f449528b95
branches: trunk
changeset: 431713:71f449528b95
user: adam <adam%pkgsrc.org@localhost>
date: Sat May 16 08:03:35 2020 +0000
description:
python: add pytest to versioned_dependencies.mk
diffstat:
lang/python/versioned_dependencies.mk | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (42 lines):
diff -r 54d7616a8deb -r 71f449528b95 lang/python/versioned_dependencies.mk
--- a/lang/python/versioned_dependencies.mk Sat May 16 08:01:22 2020 +0000
+++ b/lang/python/versioned_dependencies.mk Sat May 16 08:03:35 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: versioned_dependencies.mk,v 1.38 2020/03/13 19:21:16 wiz Exp $
+# $NetBSD: versioned_dependencies.mk,v 1.39 2020/05/16 08:03:35 adam Exp $
#
# This file determines which separate distribution of a Python
# package is used as dependency, depending on the Python version
@@ -9,13 +9,13 @@
# PYTHON_VERSIONED_DEPENDENCIES
# The Python package which should be added as a dependency.
#
-# Possible values: Pmw X cherrypy dialog html2text ipython jsonlib more-itertools python-digest sphinx zipp
+# Possible values: Pmw X cherrypy dialog html2text ipython jsonlib more-itertools pytest python-digest sphinx zipp
# Default: (nothing)
#
.include "../../lang/python/pyversion.mk"
-# format: short name for PYTHON_VERSIONED_DEPENDENCIES<space>python-2.x path<space>python-3.x path
+# format: short name for PYTHON_VERSIONED_DEPENDENCIES<space>Python-2.x path<space>Python-3.x path
_SUPPORTED_PACKAGES= # empty
_SUPPORTED_PACKAGES+= Pmw x11/py-Pmw x11/py-Pmw2
_SUPPORTED_PACKAGES+= X textproc/py-X2 textproc/py-X
@@ -25,6 +25,7 @@
_SUPPORTED_PACKAGES+= ipython devel/py-ipython5 devel/py-ipython
_SUPPORTED_PACKAGES+= jsonlib textproc/py-jsonlib textproc/py-jsonlib3
_SUPPORTED_PACKAGES+= more-itertools devel/py-more-itertools2 devel/py-more-itertools
+_SUPPORTED_PACKAGES+= pytest devel/py-test4 devel/py-test
_SUPPORTED_PACKAGES+= python-digest www/py-python-digest www/py-python3-digest
_SUPPORTED_PACKAGES+= sphinx textproc/py-sphinx1 textproc/py-sphinx
_SUPPORTED_PACKAGES+= zipp archivers/py-zipp1 archivers/py-zipp
@@ -36,7 +37,7 @@
. for name py2dir py3dir in ${_SUPPORTED_PACKAGES}
. if "${pkg}" == "${name}"
_PKG_MATCHED= yes
-. if ${PYPKGPREFIX} == "py27"
+. if ${_PYTHON_VERSION} == 27
dir:= ${py2dir}
. else
dir:= ${py3dir}
Home |
Main Index |
Thread Index |
Old Index