2018-04-05 14:38:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2018/04/05 12:38:57 adam Exp $
|
2017-04-23 06:27:47 +02:00
|
|
|
|
2018-04-05 14:38:57 +02:00
|
|
|
DISTNAME= jupyter_client-5.2.3
|
2017-04-23 06:27:47 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2017-06-24 10:17:00 +02:00
|
|
|
CATEGORIES= devel python
|
2017-04-23 06:27:47 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=j/jupyter_client/}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-05-04 21:47:48 +02:00
|
|
|
HOMEPAGE= http://jupyter.org/
|
2017-04-23 06:27:47 +02:00
|
|
|
COMMENT= Jupyter protocol implementation and client libraries
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
2017-12-30 12:30:13 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil
|
2017-05-04 21:47:48 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
|
2018-01-25 10:47:35 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-tornado>=4.1:../../www/py-tornado
|
2017-12-30 12:30:13 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-traitlets>=4.1.0:../../devel/py-traitlets
|
2017-04-23 06:27:47 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-zmq>=13.0.0:../../net/py-zmq
|
2018-04-05 14:38:57 +02:00
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-ipykernel-[0-9]*:../../devel/py-ipykernel
|
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= ipython:test
|
2017-04-23 06:27:47 +02:00
|
|
|
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
2017-12-30 12:30:13 +01:00
|
|
|
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}
|
|
|
|
|
2017-06-24 10:17:00 +02:00
|
|
|
do-test:
|
|
|
|
cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
|
2017-04-23 06:27:47 +02:00
|
|
|
|
2017-12-30 12:30:13 +01:00
|
|
|
.include "../../lang/python/egg.mk"
|
2018-04-05 14:38:57 +02:00
|
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
2017-04-23 06:27:47 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|