Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-backcall py-backcall: pytest from versioned d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff4137919a77
branches:  trunk
changeset: 431730:ff4137919a77
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat May 16 08:52:03 2020 +0000

description:
py-backcall: pytest from versioned depends

diffstat:

 devel/py-backcall/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 7fd6a0e602f4 -r ff4137919a77 devel/py-backcall/Makefile
--- a/devel/py-backcall/Makefile        Sat May 16 08:51:29 2020 +0000
+++ b/devel/py-backcall/Makefile        Sat May 16 08:52:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2018/04/03 11:13:29 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/16 08:52:03 adam Exp $
 
 DISTNAME=      backcall-0.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,7 +10,7 @@
 COMMENT=       Specifications for callback functions passed in to an API
 LICENSE=       modified-bsd
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+PYTHON_VERSIONED_DEPENDENCIES= pytest:test
 
 USE_LANGUAGES= # none
 
@@ -18,4 +18,5 @@
        cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/distutils.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index