diff --git a/devel/py-nbconvert/Makefile b/devel/py-nbconvert/Makefile index 0a2174e59afb..73cf4f214742 100644 --- a/devel/py-nbconvert/Makefile +++ b/devel/py-nbconvert/Makefile @@ -1,48 +1,48 @@ PORTNAME= nbconvert -PORTVERSION= 7.2.5 +PORTVERSION= 7.2.8 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Converting Jupyter Notebooks WWW= https://jupyter.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bleach>=0:www/py-bleach@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyter-core>=4.7:devel/py-jupyter-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jupyterlab-pygments>=0:textproc/py-jupyterlab-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.0:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mistune>=2.0.3<3:textproc/py-mistune@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbclient>=0.5.0:devel/py-nbclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.1:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandocfilters>=1.4.1:textproc/py-pandocfilters@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.4.1:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}traitlets>=5.0:devel/py-traitlets@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include .if ${PYTHON_REL} < 31000 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 post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/jupyter/nbconvert cd ${WRKSRC}/share && ${COPYTREE_SHARE} templates ${STAGEDIR}${PREFIX}/share/jupyter/nbconvert .include diff --git a/devel/py-nbconvert/distinfo b/devel/py-nbconvert/distinfo index f48e53a6e29d..4fd2e66a5958 100644 --- a/devel/py-nbconvert/distinfo +++ b/devel/py-nbconvert/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669058329 -SHA256 (nbconvert-7.2.5.tar.gz) = 8fdc44fd7d9424db7fdc6e1e834a02f6b8620ffb653767388be2f9eb16f84184 -SIZE (nbconvert-7.2.5.tar.gz) = 823038 +TIMESTAMP = 1674590810 +SHA256 (nbconvert-7.2.8.tar.gz) = ccedacde57a972836bfb46466485be29ed1364ed7c2f379f62bad47d340ece99 +SIZE (nbconvert-7.2.8.tar.gz) = 870182 diff --git a/devel/py-nbconvert/files/setup.py b/devel/py-nbconvert/files/setup.py index b116020192d2..e3dac6ab74c9 100644 --- a/devel/py-nbconvert/files/setup.py +++ b/devel/py-nbconvert/files/setup.py @@ -1,121 +1,108 @@ # -*- coding: utf-8 -*- from setuptools import setup setup( name='nbconvert', version='%%PORTVERSION%%', description='Converting Jupyter Notebooks', - long_description='# nbconvert\n\n### Jupyter Notebook Conversion\n\n[![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)\n[![Build Status](https://travis-ci.org/jupyter/nbconvert.svg?branch=main)](https://travis-ci.org/jupyter/nbconvert)\n[![Documentation Status](https://readthedocs.org/projects/nbconvert/badge/?version=latest)](https://nbconvert.readthedocs.io/en/latest/?badge=latest)\n[![Documentation Status](https://readthedocs.org/projects/nbconvert/badge/?version=stable)](https://nbconvert.readthedocs.io/en/stable/?badge=stable)\n[![codecov.io](https://codecov.io/github/jupyter/nbconvert/coverage.svg?branch=main)](https://codecov.io/github/jupyter/nbconvert?branch=main)\n\nThe **nbconvert** tool, `jupyter nbconvert`, converts notebooks to various other\nformats via [Jinja] templates. The nbconvert tool allows you to convert an\n`.ipynb` notebook file into various static formats including:\n\n- HTML\n- LaTeX\n- PDF\n- Reveal JS\n- Markdown (md)\n- ReStructured Text (rst)\n- executable script\n\n## Usage\n\nFrom the command line, use nbconvert to convert a Jupyter notebook (_input_) to a\na different format (_output_). The basic command structure is:\n\n```\n$ jupyter nbconvert --to \n```\n\nwhere `` is the desired output format and `` is the\nfilename of the Jupyter notebook.\n\n### Example: Convert a notebook to HTML\n\nConvert Jupyter notebook file, `mynotebook.ipynb`, to HTML using:\n\n```\n$ jupyter nbconvert --to html mynotebook.ipynb\n```\n\nThis command creates an HTML output file named `mynotebook.html`.\n\n## Dev Install\n\nCheck if pandoc is installed (`pandoc --version`); if needed, install:\n\n```\nsudo apt-get install pandoc\n```\n\nOr\n\n```\nbrew install pandoc\n```\n\nInstall nbconvert for development using:\n\n```\ngit clone https://github.com/jupyter/nbconvert.git\ncd nbconvert\npip install -e .\n```\n\nRunning the tests after a dev install above:\n\n```\npip install nbconvert[test]\npy.test --pyargs nbconvert\n```\n\n## Documentation\n\n- [Documentation for Jupyter nbconvert](https://nbconvert.readthedocs.io/en/latest/)\n \\[[PDF](https://media.readthedocs.org/pdf/nbconvert/latest/nbconvert.pdf)\\]\n- [nbconvert examples on GitHub](https://github.com/jupyter/nbconvert-examples)\n- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html)\n \\[[PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)\\]\n\n## Technical Support\n\n- [Issues and Bug Reports](https://github.com/jupyter/nbconvert/issues): A place to report\n bugs or regressions found for nbconvert\n- [Community Technical Support and Discussion - Discourse](https://discourse.jupyter.org/): A place for\n installation, configuration, and troubleshooting assistannce by the Jupyter community.\n As a non-profit project and maintainers who are primarily volunteers, we encourage you\n to ask questions and share your knowledge on Discourse.\n\n## Jupyter Resources\n\n- [Jupyter mailing list](https://groups.google.com/forum/#!forum/jupyter)\n- [Project Jupyter website](https://jupyter.org)\n\n[jinja]: http://jinja.pocoo.org/\n', + long_description='# nbconvert\n\n### Jupyter Notebook Conversion\n\n[![Build Status](https://travis-ci.org/jupyter/nbconvert.svg?branch=main)](https://travis-ci.org/jupyter/nbconvert)\n[![Documentation Status](https://readthedocs.org/projects/nbconvert/badge/?version=latest)](https://nbconvert.readthedocs.io/en/latest/?badge=latest)\n[![codecov.io](https://codecov.io/gh/jupyter/nbconvert/coverage.svg?branch=main)](https://codecov.io/gh/gh/nbconvert?branch=main)\n\nThe **nbconvert** tool, `jupyter nbconvert`, converts notebooks to various other\nformats via [Jinja] templates. The nbconvert tool allows you to convert an\n`.ipynb` notebook file into various static formats including:\n\n- HTML\n- LaTeX\n- PDF\n- Reveal JS\n- Markdown (md)\n- ReStructured Text (rst)\n- executable script\n\n## Usage\n\nFrom the command line, use nbconvert to convert a Jupyter notebook (_input_) to a\na different format (_output_). The basic command structure is:\n\n```\n$ jupyter nbconvert --to \n```\n\nwhere `` is the desired output format and `` is the\nfilename of the Jupyter notebook.\n\n### Example: Convert a notebook to HTML\n\nConvert Jupyter notebook file, `mynotebook.ipynb`, to HTML using:\n\n```\n$ jupyter nbconvert --to html mynotebook.ipynb\n```\n\nThis command creates an HTML output file named `mynotebook.html`.\n\n## Dev Install\n\nCheck if pandoc is installed (`pandoc --version`); if needed, install:\n\n```\nsudo apt-get install pandoc\n```\n\nOr\n\n```\nbrew install pandoc\n```\n\nInstall nbconvert for development using:\n\n```\ngit clone https://github.com/jupyter/nbconvert.git\ncd nbconvert\npip install -e .\n```\n\nRunning the tests after a dev install above:\n\n```\npip install nbconvert[test]\npy.test --pyargs nbconvert\n```\n\n## Documentation\n\n- [Documentation for Jupyter nbconvert](https://nbconvert.readthedocs.io/en/latest/)\n \\[[PDF](https://media.readthedocs.org/pdf/nbconvert/latest/nbconvert.pdf)\\]\n- [nbconvert examples on GitHub](https://github.com/jupyter/nbconvert-examples)\n- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html)\n \\[[PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)\\]\n\n## Technical Support\n\n- [Issues and Bug Reports](https://github.com/jupyter/nbconvert/issues): A place to report\n bugs or regressions found for nbconvert\n- [Community Technical Support and Discussion - Discourse](https://discourse.jupyter.org/): A place for\n installation, configuration, and troubleshooting assistannce by the Jupyter community.\n As a non-profit project and maintainers who are primarily volunteers, we encourage you\n to ask questions and share your knowledge on Discourse.\n\n## Jupyter Resources\n\n- [Jupyter mailing list](https://groups.google.com/forum/#!forum/jupyter)\n- [Project Jupyter website](https://jupyter.org)\n\n[jinja]: http://jinja.pocoo.org/\n', 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', ], install_requires=[ 'beautifulsoup4', 'bleach', 'defusedxml', 'importlib-metadata>=3.6; python_version < "3.10"', 'jinja2>=3.0', 'jupyter-core>=4.7', 'jupyterlab-pygments', 'markupsafe>=2.0', 'mistune<3,>=2.0.3', 'nbclient>=0.5.0', 'nbformat>=5.1', 'packaging', 'pandocfilters>=1.4.1', 'pygments>=2.4.1', 'tinycss2', 'traitlets>=5.0', ], extras_require={ 'all': [ - 'ipykernel', - 'ipython', - 'ipywidgets>=7', - 'myst-parser', - 'nbsphinx>=0.2.12', - 'pre-commit', - 'pyppeteer<1.1,>=1', - 'pyqtwebengine>=5.15', - 'pytest', - 'pytest-cov', - 'pytest-dependency', - 'sphinx-rtd-theme', - 'sphinx==5.0.2', - 'tornado>=6.1', + 'nbconvert[docs,qtpdf,serve,test,webpdf]', ], 'docs': [ + 'ipykernel', 'ipython', 'myst-parser', 'nbsphinx>=0.2.12', - 'sphinx-rtd-theme', + 'pydata-sphinx-theme', 'sphinx==5.0.2', + 'sphinxcontrib-spelling', ], 'qtpdf': [ - 'pyqtwebengine>=5.15', + 'nbconvert[qtpng]', ], 'qtpng': [ 'pyqtwebengine>=5.15', ], 'serve': [ 'tornado>=6.1', ], 'test': [ 'ipykernel', 'ipywidgets>=7', 'pre-commit', - 'pyppeteer<1.1,>=1', 'pytest', - 'pytest-cov', 'pytest-dependency', ], 'webpdf': [ 'pyppeteer<1.1,>=1', ], }, entry_points={ 'console_scripts': [ 'jupyter-dejavu = nbconvert.nbconvertapp:dejavu_main', 'jupyter-nbconvert = nbconvert.nbconvertapp:main', ], 'nbconvert.exporters': [ 'asciidoc = nbconvert.exporters:ASCIIDocExporter', 'custom = nbconvert.exporters:TemplateExporter', 'html = nbconvert.exporters:HTMLExporter', 'latex = nbconvert.exporters:LatexExporter', 'markdown = nbconvert.exporters:MarkdownExporter', 'notebook = nbconvert.exporters:NotebookExporter', 'pdf = nbconvert.exporters:PDFExporter', 'python = nbconvert.exporters:PythonExporter', 'qtpdf = nbconvert.exporters:QtPDFExporter', 'qtpng = nbconvert.exporters:QtPNGExporter', 'rst = nbconvert.exporters:RSTExporter', 'script = nbconvert.exporters:ScriptExporter', 'slides = nbconvert.exporters:SlidesExporter', 'webpdf = nbconvert.exporters:WebPDFExporter', ], }, packages=[ 'nbconvert', 'nbconvert.exporters', 'nbconvert.exporters.tests', 'nbconvert.filters', 'nbconvert.filters.tests', 'nbconvert.postprocessors', 'nbconvert.postprocessors.tests', 'nbconvert.preprocessors', 'nbconvert.preprocessors.tests', 'nbconvert.resources', 'nbconvert.tests', 'nbconvert.utils', 'nbconvert.utils.tests', 'nbconvert.writers', 'nbconvert.writers.tests', ], ) diff --git a/devel/py-nbconvert/pkg-plist b/devel/py-nbconvert/pkg-plist index 58242357e36d..4fa14600657b 100644 --- a/devel/py-nbconvert/pkg-plist +++ b/devel/py-nbconvert/pkg-plist @@ -1,47 +1,48 @@ share/jupyter/nbconvert/templates/asciidoc/conf.json share/jupyter/nbconvert/templates/asciidoc/index.asciidoc.j2 share/jupyter/nbconvert/templates/base/celltags.j2 share/jupyter/nbconvert/templates/base/display_priority.j2 share/jupyter/nbconvert/templates/base/jupyter_widgets.html.j2 share/jupyter/nbconvert/templates/base/mathjax.html.j2 share/jupyter/nbconvert/templates/base/null.j2 share/jupyter/nbconvert/templates/basic/conf.json share/jupyter/nbconvert/templates/basic/index.html.j2 share/jupyter/nbconvert/templates/classic/base.html.j2 share/jupyter/nbconvert/templates/classic/conf.json share/jupyter/nbconvert/templates/classic/index.html.j2 +share/jupyter/nbconvert/templates/classic/static/style.css share/jupyter/nbconvert/templates/compatibility/display_priority.tpl share/jupyter/nbconvert/templates/compatibility/full.tpl share/jupyter/nbconvert/templates/lab/base.html.j2 share/jupyter/nbconvert/templates/lab/conf.json share/jupyter/nbconvert/templates/lab/index.html.j2 share/jupyter/nbconvert/templates/lab/static/index.css share/jupyter/nbconvert/templates/lab/static/theme-dark.css share/jupyter/nbconvert/templates/lab/static/theme-light.css share/jupyter/nbconvert/templates/latex/base.tex.j2 share/jupyter/nbconvert/templates/latex/conf.json share/jupyter/nbconvert/templates/latex/display_priority.j2 share/jupyter/nbconvert/templates/latex/document_contents.tex.j2 share/jupyter/nbconvert/templates/latex/index.tex.j2 share/jupyter/nbconvert/templates/latex/null.j2 share/jupyter/nbconvert/templates/latex/report.tex.j2 share/jupyter/nbconvert/templates/latex/style_bw_ipython.tex.j2 share/jupyter/nbconvert/templates/latex/style_bw_python.tex.j2 share/jupyter/nbconvert/templates/latex/style_ipython.tex.j2 share/jupyter/nbconvert/templates/latex/style_jupyter.tex.j2 share/jupyter/nbconvert/templates/latex/style_python.tex.j2 share/jupyter/nbconvert/templates/markdown/conf.json share/jupyter/nbconvert/templates/markdown/index.md.j2 share/jupyter/nbconvert/templates/python/conf.json share/jupyter/nbconvert/templates/python/index.py.j2 share/jupyter/nbconvert/templates/reveal/base.html.j2 share/jupyter/nbconvert/templates/reveal/cellslidedata.j2 share/jupyter/nbconvert/templates/reveal/conf.json share/jupyter/nbconvert/templates/reveal/index.html.j2 share/jupyter/nbconvert/templates/reveal/static/custom_reveal.css share/jupyter/nbconvert/templates/rst/conf.json share/jupyter/nbconvert/templates/rst/index.rst.j2 share/jupyter/nbconvert/templates/script/conf.json share/jupyter/nbconvert/templates/script/script.j2 share/jupyter/nbconvert/templates/webpdf/conf.json share/jupyter/nbconvert/templates/webpdf/index.pdf.j2