Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test-runner py-test-runner: pytest from versi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d98a71f49ecc
branches:  trunk
changeset: 431718:d98a71f49ecc
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat May 16 08:37:21 2020 +0000

description:
py-test-runner: pytest from versioned deps.

diffstat:

 devel/py-test-runner/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 5a07cd6420c2 -r d98a71f49ecc devel/py-test-runner/Makefile
--- a/devel/py-test-runner/Makefile     Sat May 16 08:33:22 2020 +0000
+++ b/devel/py-test-runner/Makefile     Sat May 16 08:37:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2019/10/26 23:05:44 adam Exp $
+# $NetBSD: Makefile,v 1.19 2020/05/16 08:37:21 adam Exp $
 
 DISTNAME=      pytest-runner-5.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -11,14 +11,16 @@
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-DEPENDS+=      ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
 # introduces dependency cycle
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONED_DEPENDENCIES= pytest
+
 do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index