# $FreeBSD$ PORTNAME= nbformat PORTVERSION= 4.3.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Jupyter Notebook format LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipython_genutils>=0:devel/py-ipython_genutils \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.4:devel/py-jsonschema \ ${PYTHON_PKGNAMEPREFIX}jupyter_core>=0:devel/py-jupyter_core \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}traitlets>=4.1:devel/py-traitlets TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest \ ${PYTHON_PKGNAMEPREFIX}testpath>=0:devel/py-testpath NO_ARCH= yes USES= python USE_PYTHON= autoplist distutils do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER}) .include