pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test4



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Jul  8 13:30:52 UTC 2022

Modified Files:
        pkgsrc/devel/py-test4: DESCR Makefile

Log Message:
py-test4: limit to python 2.7 and mention python 2.7 in DESCR


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-test4/DESCR
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-test4/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-test4/DESCR
diff -u pkgsrc/devel/py-test4/DESCR:1.1 pkgsrc/devel/py-test4/DESCR:1.2
--- pkgsrc/devel/py-test4/DESCR:1.1     Sat May 16 07:51:58 2020
+++ pkgsrc/devel/py-test4/DESCR Fri Jul  8 13:30:52 2022
@@ -10,3 +10,5 @@ Features
 * 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.

Index: pkgsrc/devel/py-test4/Makefile
diff -u pkgsrc/devel/py-test4/Makefile:1.7 pkgsrc/devel/py-test4/Makefile:1.8
--- pkgsrc/devel/py-test4/Makefile:1.7  Tue Jan 25 09:05:11 2022
+++ pkgsrc/devel/py-test4/Makefile      Fri Jul  8 13:30:52 2022
@@ -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 @@ HOMEPAGE=   http://pytest.org/
 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 @@ post-install:
 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