pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Apr 30 19:40:21 UTC 2023

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

Log Message:
*: only run tests for python 3


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-wheel/Makefile
cvs rdiff -u -r1.20 -r1.21 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/devel/py-wheel/Makefile
diff -u pkgsrc/devel/py-wheel/Makefile:1.28 pkgsrc/devel/py-wheel/Makefile:1.29
--- pkgsrc/devel/py-wheel/Makefile:1.28 Wed Aug 24 08:41:08 2022
+++ pkgsrc/devel/py-wheel/Makefile      Sun Apr 30 19:40:20 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2022/08/24 08:41:08 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2023/04/30 19:40:20 wiz Exp $
 
 DISTNAME=      wheel-0.37.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,12 +11,8 @@ HOMEPAGE=    https://github.com/pypa/wheel
 COMMENT=       Built-package format for Python
 LICENSE=       mit
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONED_DEPENDENCIES+=        test-cov:test
-
 PYSETUPTESTTARGET=     pytest
 
 USE_PKG_RESOURCES=     yes
@@ -25,6 +21,12 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} wheel wheel-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} > 300
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+.endif
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/lang/py-six/Makefile
diff -u pkgsrc/lang/py-six/Makefile:1.20 pkgsrc/lang/py-six/Makefile:1.21
--- pkgsrc/lang/py-six/Makefile:1.20    Tue Jan  4 20:54:10 2022
+++ pkgsrc/lang/py-six/Makefile Sun Apr 30 19:40:20 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2022/01/04 20:54:10 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2023/04/30 19:40:20 wiz Exp $
 
 DISTNAME=      six-1.16.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,11 +11,15 @@ HOMEPAGE=   https://github.com/benjaminp/s
 COMMENT=       Python 2 and 3 compatibility utilities
 LICENSE=       mit
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-
 USE_LANGUAGES= # none
 
 PYSETUPTESTTARGET=     pytest
 
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} > 300
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+.endif
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index