pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/py-six



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug 10 07:01:19 UTC 2024

Modified Files:
        pkgsrc/lang/py-six: Makefile

Log Message:
py-six: fix test dependencies and test target


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/py-six/Makefile

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

Modified files:

Index: pkgsrc/lang/py-six/Makefile
diff -u pkgsrc/lang/py-six/Makefile:1.22 pkgsrc/lang/py-six/Makefile:1.23
--- pkgsrc/lang/py-six/Makefile:1.22    Wed Jun  5 22:44:57 2024
+++ pkgsrc/lang/py-six/Makefile Sat Aug 10 07:01:19 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2024/06/05 22:44:57 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2024/08/10 07:01:19 wiz Exp $
 
 DISTNAME=      six-1.16.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,10 +16,14 @@ USE_LANGUAGES=      # none
 PYSETUPTESTTARGET=     pytest
 
 PYTHON_27_ACCEPTED=    yes
+
 .include "../../lang/python/pyversion.mk"
 
 .if ${PYTHON_VERSION} > 300
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+do-test:
+       ${RUN} cd ${WRKSRC}/${PYSETUPSUBDIR} && \
+       ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 .endif
 
 .include "../../lang/python/egg.mk"



Home | Main Index | Thread Index | Old Index