pkgsrc/www/py-nbformat/Makefile
adam fcfa5d3c39 py-nbformat: updated to 5.0.8
5.0.8
- Add optional support for using `fastjsonschema` as the JSON validation library.
  To enable fast validation, install `fastjsonschema` and set the environment
  variable `NBFORMAT_VALIDATOR` to the value `fastjsonschema`.
2020-10-15 13:49:22 +00:00

29 lines
987 B
Makefile

# $NetBSD: Makefile,v 1.6 2020/10/15 13:49:22 adam Exp $
DISTNAME= nbformat-5.0.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/nbformat/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://jupyter.org/
COMMENT= Jupyter Notebook format
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
DEPENDS+= ${PYPKGPREFIX}-jupyter_core-[0-9]*:../../devel/py-jupyter_core
DEPENDS+= ${PYPKGPREFIX}-jsonschema>=2.5.1:../../textproc/py-jsonschema
DEPENDS+= ${PYPKGPREFIX}-traitlets>=4.1:../../devel/py-traitlets
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"