Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fd6a0e602f4
branches:  trunk
changeset: 431729:7fd6a0e602f4
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat May 16 08:51:29 2020 +0000

description:
py-attrs: pytest from versioned depends

diffstat:

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

diffs (26 lines):

diff -r bde46fa0307a -r 7fd6a0e602f4 devel/py-attrs/Makefile
--- a/devel/py-attrs/Makefile   Sat May 16 08:50:22 2020 +0000
+++ b/devel/py-attrs/Makefile   Sat May 16 08:51:29 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2019/10/15 07:53:35 adam Exp $
+# $NetBSD: Makefile,v 1.15 2020/05/16 08:51:29 adam Exp $
 
 DISTNAME=      attrs-19.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,13 +14,15 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-ZopeInterface-[0-9]*:../../devel/py-ZopeInterface
 TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
+PYTHON_VERSIONED_DEPENDENCIES= pytest:test
+
 USE_LANGUAGES= # none
 
 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