Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-atomicwrites py-atomicwrites: pytest from ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24cb13d75688
branches:  trunk
changeset: 431727:24cb13d75688
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat May 16 08:48:47 2020 +0000

description:
py-atomicwrites: pytest from versioned depends

diffstat:

 devel/py-atomicwrites/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 518b230fbd05 -r 24cb13d75688 devel/py-atomicwrites/Makefile
--- a/devel/py-atomicwrites/Makefile    Sat May 16 08:47:54 2020 +0000
+++ b/devel/py-atomicwrites/Makefile    Sat May 16 08:48:47 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/04/29 07:42:07 adam Exp $
+# $NetBSD: Makefile,v 1.14 2020/05/16 08:48:47 adam Exp $
 
 DISTNAME=      atomicwrites-1.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,14 +10,15 @@
 COMMENT=       Python module for atomic file writes on POSIX
 LICENSE=       mit
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-
 EXTRACT_USING= bsdtar  # gtar cannot handle pre-1970 timestamps
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONED_DEPENDENCIES= pytest:test
+
 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