Sun Apr 26 10:01:38 2020 UTC ()
devel/py-jupyter_client: disable tests for py27


(rillig)
diff -r1.13 -r1.14 pkgsrc/devel/py-jupyter_client/Makefile

cvs diff -r1.13 -r1.14 pkgsrc/devel/py-jupyter_client/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-jupyter_client/Makefile 2019/10/09 10:41:02 1.13
+++ pkgsrc/devel/py-jupyter_client/Makefile 2020/04/26 10:01:38 1.14
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.13 2019/10/09 10:41:02 adam Exp $ 1# $NetBSD: Makefile,v 1.14 2020/04/26 10:01:38 rillig Exp $
2 2
3DISTNAME= jupyter_client-5.3.4 3DISTNAME= jupyter_client-5.3.4
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=j/jupyter_client/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=j/jupyter_client/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://jupyter.org/ 9HOMEPAGE= https://jupyter.org/
10COMMENT= Jupyter protocol implementation and client libraries 10COMMENT= Jupyter protocol implementation and client libraries
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil 13DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
14DEPENDS+= ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core 14DEPENDS+= ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
@@ -18,19 +18,25 @@ DEPENDS+= ${PYPKGPREFIX}-zmq>=13.0.0:../ @@ -18,19 +18,25 @@ DEPENDS+= ${PYPKGPREFIX}-zmq>=13.0.0:../
18TEST_DEPENDS+= ${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel 18TEST_DEPENDS+= ${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel
19TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 19TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
20 20
21PYTHON_VERSIONED_DEPENDENCIES= ipython:test 21PYTHON_VERSIONED_DEPENDENCIES= ipython:test
22 22
23USE_LANGUAGES= # none 23USE_LANGUAGES= # none
24 24
25post-install: 25post-install:
26 cd ${DESTDIR}${PREFIX}/bin && \ 26 cd ${DESTDIR}${PREFIX}/bin && \
27 ${MV} jupyter-kernel jupyter-kernel-${PYVERSSUFFIX} && \ 27 ${MV} jupyter-kernel jupyter-kernel-${PYVERSSUFFIX} && \
28 ${MV} jupyter-kernelspec jupyter-kernelspec-${PYVERSSUFFIX} && \ 28 ${MV} jupyter-kernelspec jupyter-kernelspec-${PYVERSSUFFIX} && \
29 ${MV} jupyter-run jupyter-run-${PYVERSSUFFIX} || ${TRUE} 29 ${MV} jupyter-run jupyter-run-${PYVERSSUFFIX} || ${TRUE}
30 30
 31.include "../../lang/python/pyversion.mk"
 32.if ${PYPKGPREFIX} == py27
 33TEST_DEPENDS= # none; py-ipykernel is incompatible with py27
 34do-test:
 35.else
31do-test: 36do-test:
32 cd ${WRKSRC} && py.test-${PYVERSSUFFIX} 37 cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
 38.endif
33 39
34.include "../../lang/python/egg.mk" 40.include "../../lang/python/egg.mk"
35.include "../../lang/python/versioned_dependencies.mk" 41.include "../../lang/python/versioned_dependencies.mk"
36.include "../../mk/bsd.pkg.mk" 42.include "../../mk/bsd.pkg.mk"