Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-redis py-redis: pytest from versioned dep...
details: https://anonhg.NetBSD.org/pkgsrc/rev/518b230fbd05
branches: trunk
changeset: 431726:518b230fbd05
user: adam <adam%pkgsrc.org@localhost>
date: Sat May 16 08:47:54 2020 +0000
description:
py-redis: pytest from versioned depends
diffstat:
databases/py-redis/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r fadc8fe69d87 -r 518b230fbd05 databases/py-redis/Makefile
--- a/databases/py-redis/Makefile Sat May 16 08:47:10 2020 +0000
+++ b/databases/py-redis/Makefile Sat May 16 08:47:54 2020 +0000
@@ -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 @@
# 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