# $NetBSD: Makefile,v 1.25 2022/01/31 17:59:00 adam Exp $ DISTNAME= jupyter_client-7.1.2 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}-entrypoints-[0-9]*:../../devel/py-entrypoints DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.1:../../time/py-dateutil DEPENDS+= ${PYPKGPREFIX}-jupyter_core>=4.6.0:../../devel/py-jupyter_core DEPENDS+= ${PYPKGPREFIX}-nest-asyncio>=1.5:../../devel/py-nest-asyncio 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}-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 USE_PKG_RESOURCES= yes 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} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"