pkgsrc/devel/py-jupyter_client/Makefile
adam f5bb1cdaa1 py-jupyter_client: updated to 6.1.7
6.1.7
- Fixed launching non python kernels from a windows store installed jupyter
- Silenced kill_kernel when kernel is already terminated
- Removed a number of python 2 code paths
- Documentation improvements around debug request/reply patterns
2020-08-26 11:37:24 +00:00

40 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2020/08/26 11:37:24 adam Exp $
DISTNAME= jupyter_client-6.1.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jupyter_client/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://jupyter-client.readthedocs.io/
COMMENT= Jupyter protocol implementation and client libraries
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-jupyter_core>=4.6.0:../../devel/py-jupyter_core
DEPENDS+= ${PYPKGPREFIX}-tornado>=4.1:../../www/py-tornado
DEPENDS+= ${PYPKGPREFIX}-traitlets>=4.1.0:../../devel/py-traitlets
DEPENDS+= ${PYPKGPREFIX}-zmq>=13.0.0:../../net/py-zmq
TEST_DEPENDS+= ${PYPKGPREFIX}-async_generator-[0-9]*:../../devel/py-async_generator
TEST_DEPENDS+= ${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel
TEST_DEPENDS+= ${PYPKGPREFIX}-ipython-[0-9]*:../../devel/py-ipython
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} jupyter-kernel jupyter-kernel-${PYVERSSUFFIX} && \
${MV} jupyter-kernelspec jupyter-kernelspec-${PYVERSSUFFIX} && \
${MV} jupyter-run jupyter-run-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"