Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pluggy pytest from versioned depends



details:   https://anonhg.NetBSD.org/pkgsrc/rev/271a93ea5b58
branches:  trunk
changeset: 431734:271a93ea5b58
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat May 16 08:59:40 2020 +0000

description:
pytest from versioned depends

diffstat:

 devel/py-pluggy/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 9d3cb40660bf -r 271a93ea5b58 devel/py-pluggy/Makefile
--- a/devel/py-pluggy/Makefile  Sat May 16 08:57:58 2020 +0000
+++ b/devel/py-pluggy/Makefile  Sat May 16 08:59:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2020/03/12 07:30:48 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2020/05/16 08:59:40 adam Exp $
 
 DISTNAME=      pluggy-0.13.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,12 +14,11 @@
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 
 .include "../../lang/python/pyversion.mk"
-
 .if ${_PYTHON_VERSION} < 38
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=0.12:../../devel/py-importlib-metadata
 .endif
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+PYTHON_VERSIONED_DEPENDENCIES= test:test
 
 USE_LANGUAGES= # none
 
@@ -27,4 +26,5 @@
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} testing
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index