summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/py-jupyter_client/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/py-jupyter_client/Makefile b/devel/py-jupyter_client/Makefile
index 900570d48cd..949b82c9a98 100644
--- a/devel/py-jupyter_client/Makefile
+++ b/devel/py-jupyter_client/Makefile
@@ -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 @@ post-install:
${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"