pkgsrc/www/py-nbclient/Makefile
adam cacc133dc6 py-nbclient: updated to 0.9.0
0.9.0

Maintenance and upkeep improvements

Use jupyter releaser
Clean up lint and move tests out of source
Adopt ruff format
Update typings for mypy 1.6
Adopt sp-repo-review
Fix lint error
2023-11-09 16:59:10 +00:00

37 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2023/11/09 16:59:10 adam Exp $
DISTNAME= nbclient-0.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nbclient/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/jupyter/nbclient
COMMENT= Client library for executing notebooks
LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=1.10.0:../../devel/py-hatchling
DEPENDS+= ${PYPKGPREFIX}-jupyter_client>=6.1.12:../../devel/py-jupyter_client
DEPENDS+= ${PYPKGPREFIX}-jupyter_core>=4.12:../../devel/py-jupyter_core
DEPENDS+= ${PYPKGPREFIX}-nbformat>=5.1:../../www/py-nbformat
DEPENDS+= ${PYPKGPREFIX}-traitlets>=5.4:../../devel/py-traitlets
TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
TEST_DEPENDS+= ${PYPKGPREFIX}-ipykernel>=6.19.3:../../devel/py-ipykernel
TEST_DEPENDS+= ${PYPKGPREFIX}-ipython-[0-9]*:../../devel/py-ipython
TEST_DEPENDS+= ${PYPKGPREFIX}-nbconvert>=7.0.0:../../www/py-nbconvert
TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
TEST_DEPENDS+= ${PYPKGPREFIX}-xmltodict-[0-9]*:../../textproc/py-xmltodict
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} jupyter-execute jupyter-execute-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"