pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-mysqlclient



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat May 16 08:46:42 UTC 2020

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

Log Message:
py-mysqlclient: pytest from versioned depends


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/databases/py-mysqlclient/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-mysqlclient/Makefile
diff -u pkgsrc/databases/py-mysqlclient/Makefile:1.4 pkgsrc/databases/py-mysqlclient/Makefile:1.5
--- pkgsrc/databases/py-mysqlclient/Makefile:1.4        Thu Nov 21 20:34:21 2019
+++ pkgsrc/databases/py-mysqlclient/Makefile    Sat May 16 08:46:42 2020
@@ -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 @@ HOMEPAGE=   https://github.com/PyMySQL/mys
 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