pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-django-taggit



Module Name:    pkgsrc
Committed By:   joerg
Date:           Tue Aug  4 00:29:03 UTC 2020

Modified Files:
        pkgsrc/www/py-django-taggit: Makefile

Log Message:
Hook up proper testing


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-django-taggit/Makefile

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

Modified files:

Index: pkgsrc/www/py-django-taggit/Makefile
diff -u pkgsrc/www/py-django-taggit/Makefile:1.1 pkgsrc/www/py-django-taggit/Makefile:1.2
--- pkgsrc/www/py-django-taggit/Makefile:1.1    Tue Aug  4 00:10:11 2020
+++ pkgsrc/www/py-django-taggit/Makefile        Tue Aug  4 00:29:03 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/08/04 00:10:11 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2020/08/04 00:29:03 joerg Exp $
 
 DISTNAME=      django-taggit-1.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,8 +14,12 @@ GITHUB_PROJECT=      django-taggit
 GITHUB_TAG=    ${PKGVERSION_NOREV}
 
 DEPENDS+=      ${PYPKGPREFIX}-django>=1.11:../../www/py-django
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
 
 USE_LANGUAGES=         # none
 
+do-test:
+       cd ${WRKSRC} && ${PREFIX}/bin/coverage-${PYVERSSUFFIX} run -m django test --settings=tests.settings
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index