Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-mysqlclient py-mysqlclient: pytest from v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a065cf8e7185
branches:  trunk
changeset: 431724:a065cf8e7185
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat May 16 08:46:42 2020 +0000

description:
py-mysqlclient: pytest from versioned depends

diffstat:

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

diffs (24 lines):

diff -r 7542a2e22ffb -r a065cf8e7185 databases/py-mysqlclient/Makefile
--- a/databases/py-mysqlclient/Makefile Sat May 16 08:45:23 2020 +0000
+++ b/databases/py-mysqlclient/Makefile Sat May 16 08:46:42 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/11/21 20:34:21 adam Exp $
+# $NetBSD: Makefile,v 1.5 2020/05/16 08:46:42 adam Exp $
 
 DISTNAME=      mysqlclient-1.4.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,12 +10,13 @@
 COMMENT=       MySQL database connector for Python
 LICENSE=       gnu-gpl-v2
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+PYTHON_VERSIONED_DEPENDENCIES= pytest:test
 
 # testing requires a running MySQL server
 do-test:
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/mysql.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index