pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-jupyter_client devel/py-jupyter_client: disab...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb5d10a417b7
branches:  trunk
changeset: 428244:bb5d10a417b7
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Apr 26 10:01:38 2020 +0000

description:
devel/py-jupyter_client: disable tests for py27

diffstat:

 devel/py-jupyter_client/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r d5e08d2c936d -r bb5d10a417b7 devel/py-jupyter_client/Makefile
--- a/devel/py-jupyter_client/Makefile  Sun Apr 26 10:00:41 2020 +0000
+++ b/devel/py-jupyter_client/Makefile  Sun Apr 26 10:01:38 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2019/10/09 10:41:02 adam Exp $
+# $NetBSD: Makefile,v 1.14 2020/04/26 10:01:38 rillig Exp $
 
 DISTNAME=      jupyter_client-5.3.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -28,8 +28,14 @@
        ${MV} jupyter-kernelspec jupyter-kernelspec-${PYVERSSUFFIX} && \
        ${MV} jupyter-run jupyter-run-${PYVERSSUFFIX} || ${TRUE}
 
+.include "../../lang/python/pyversion.mk"
+.if ${PYPKGPREFIX} == py27
+TEST_DEPENDS=  # none; py-ipykernel is incompatible with py27
+do-test:
+.else
 do-test:
        cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+.endif
 
 .include "../../lang/python/egg.mk"
 .include "../../lang/python/versioned_dependencies.mk"



Home | Main Index | Thread Index | Old Index