pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-test4 py-test4: limit to python 2.7 and menti...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aa22465fb8cf
branches: trunk
changeset: 381488:aa22465fb8cf
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Jul 08 13:30:52 2022 +0000
description:
py-test4: limit to python 2.7 and mention python 2.7 in DESCR
diffstat:
devel/py-test4/DESCR | 2 ++
devel/py-test4/Makefile | 26 ++++++++++----------------
2 files changed, 12 insertions(+), 16 deletions(-)
diffs (66 lines):
diff -r 857f80f14e0f -r aa22465fb8cf devel/py-test4/DESCR
--- a/devel/py-test4/DESCR Fri Jul 08 13:30:19 2022 +0000
+++ b/devel/py-test4/DESCR Fri Jul 08 13:30:52 2022 +0000
@@ -10,3 +10,5 @@
* Can run unittest (including trial) and nose test suites out of the box;
* Rich plugin architecture, with over 315+ external plugins and thriving
community;
+
+This package contains the last version supporting python 2.7.
diff -r 857f80f14e0f -r aa22465fb8cf devel/py-test4/Makefile
--- a/devel/py-test4/Makefile Fri Jul 08 13:30:19 2022 +0000
+++ b/devel/py-test4/Makefile Fri Jul 08 13:30:52 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2022/01/25 09:05:11 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/07/08 13:30:52 wiz Exp $
DISTNAME= pytest-4.6.10
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -11,31 +11,26 @@
COMMENT= Python testing tool
LICENSE= mit
+TEST_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm5
DEPENDS+= ${PYPKGPREFIX}-atomicwrites>=1.0:../../devel/py-atomicwrites
DEPENDS+= ${PYPKGPREFIX}-attrs>=17.4.0:../../devel/py-attrs
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+DEPENDS+= ${PYPKGPREFIX}-funcsigs>=1.0:../../devel/py-funcsigs
+DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata2
+DEPENDS+= ${PYPKGPREFIX}-more-itertools-[0-9]*:../../devel/py-more-itertools2
+DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging2
+DEPENDS+= ${PYPKGPREFIX}-pathlib2>=2.2.0:../../devel/py-pathlib2
DEPENDS+= ${PYPKGPREFIX}-pluggy>=0.12:../../devel/py-pluggy
DEPENDS+= ${PYPKGPREFIX}-py>=1.5.0:../../devel/py-py
DEPENDS+= ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
TEST_DEPENDS+= ${PYPKGPREFIX}-argcomplete-[0-9]*:../../devel/py-argcomplete
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis4
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-funcsigs>=1.0:../../devel/py-funcsigs
-DEPENDS+= ${PYPKGPREFIX}-pathlib2>=2.2.0:../../devel/py-pathlib2
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-.endif
-.if ${_PYTHON_VERSION} < 38
-PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata
-.endif
-
-PYTHON_VERSIONED_DEPENDENCIES+= more-itertools
-PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
-PYTHON_VERSIONED_DEPENDENCIES+= packaging
-PYTHON_VERSIONED_DEPENDENCIES+= setuptools_scm:build
+PYTHON_VERSIONS_ACCEPTED= 27
USE_PKG_RESOURCES= yes
@@ -50,6 +45,5 @@
do-test:
cd ${WRKSRC}/testing && pytest-${PYVERSSUFFIX}
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index