diff --git a/devel/py-nbformat/Makefile b/devel/py-nbformat/Makefile index 00e2125f50fa..53c6b0fa0acb 100644 --- a/devel/py-nbformat/Makefile +++ b/devel/py-nbformat/Makefile @@ -1,36 +1,37 @@ PORTNAME= nbformat PORTVERSION= 5.6.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Jupyter Notebook format WWW= https://jupyter.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastjsonschema>=0:devel/py-fastjsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.6:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyter-core>=0:devel/py-jupyter-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traitlets>=5.1:devel/py-traitlets@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}testpath>=0:devel/py-testpath@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes .include .if ${PYTHON_REL} < 30800 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR} .endif post-patch: @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py .include diff --git a/devel/py-nbformat/files/setup.py b/devel/py-nbformat/files/setup.py index cd3b8fa09126..d50fbf6e8916 100644 --- a/devel/py-nbformat/files/setup.py +++ b/devel/py-nbformat/files/setup.py @@ -1,57 +1,62 @@ # -*- coding: utf-8 -*- from setuptools import setup setup( name='nbformat', version='%%PORTVERSION%%', description='The Jupyter Notebook format', long_description='This package contains the base implementation of the Jupyter Notebook format,\nand Python APIs for working with notebooks.', author_email='Jupyter Development Team ', classifiers=[ 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', ], install_requires=[ 'fastjsonschema', 'importlib-metadata>=3.6; python_version < "3.8"', 'jsonschema>=2.6', 'jupyter-core', 'traitlets>=5.1', ], extras_require={ 'test': [ 'check-manifest', 'pep440', 'pre-commit', 'pytest', 'testpath', ], }, entry_points={ 'console_scripts': [ 'jupyter-trust = nbformat.sign:TrustNotebookApp.launch_instance', ], }, packages=[ 'nbformat', 'nbformat.corpus', 'nbformat.corpus.tests', 'nbformat.v1', 'nbformat.v2', 'nbformat.v3', 'nbformat.v4', 'tests', 'tests.v1', 'tests.v2', 'tests.v3', 'tests.v4', ], + package_data = { + 'nbformat' : [ + '**/nbformat.**.schema.json', + ] + }, )