pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-redis



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat May 16 08:47:54 UTC 2020

Modified Files:
        pkgsrc/databases/py-redis: Makefile

Log Message:
py-redis: pytest from versioned depends


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/databases/py-redis/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-redis/Makefile
diff -u pkgsrc/databases/py-redis/Makefile:1.15 pkgsrc/databases/py-redis/Makefile:1.16
--- pkgsrc/databases/py-redis/Makefile:1.15     Sat May 16 07:09:57 2020
+++ pkgsrc/databases/py-redis/Makefile  Sat May 16 08:47:54 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2020/05/16 07:09:57 adam Exp $
+# $NetBSD: Makefile,v 1.16 2020/05/16 08:47:54 adam Exp $
 
 DISTNAME=      redis-3.5.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,12 +12,14 @@ LICENSE=    mit
 
 # testing requires a running redis-server
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.5.0:../../devel/py-test
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONED_DEPENDENCIES= pytest:test
+
 do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index