pkgsrc/devel/py-jupyter_client/Makefile
adam 0d940cfde9 py-jupyter_client: updated to 5.2.3
5.2.3:
- Fix hang on close in :class:.ThreadedKernelClient (used in QtConsole)
  when using tornado with asyncio
- Fix errors when using deprecated :attr:.KernelManager.kernel_cmd
2018-04-05 12:38:57 +00:00

36 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2018/04/05 12:38:57 adam Exp $
DISTNAME= jupyter_client-5.2.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jupyter_client/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jupyter.org/
COMMENT= Jupyter protocol implementation and client libraries
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../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}-ipykernel-[0-9]*:../../devel/py-ipykernel
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
PYTHON_VERSIONED_DEPENDENCIES= ipython:test
USE_LANGUAGES= # none
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} && py.test-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"