textproc/py-nbsphinx: Add py-nbsphinx 0.8.6

nbsphinx is a Sphinx extension that provides a source parser for *.ipynb files.
Custom Sphinx directives are used to show Jupyter Notebook code cells (and of
course their results) in both HTML and LaTeX output. Unevaluated notebooks --
i.e. notebooks without stored output cells -- will be automatically executed
during the Sphinx build process.

WWW: https://github.com/spatialaudio/nbsphinx
This commit is contained in:
Po-Chuan Hsieh 2021-08-08 22:32:18 +08:00
parent 0f44ea4143
commit 40991a18a2
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 38 additions and 0 deletions

View file

@ -1340,6 +1340,7 @@
SUBDIR += py-mkdocs-nature
SUBDIR += py-mwparserfromhell
SUBDIR += py-myst-parser
SUBDIR += py-nbsphinx
SUBDIR += py-nltk
SUBDIR += py-normality
SUBDIR += py-numpydoc

View file

@ -0,0 +1,27 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= nbsphinx
PORTVERSION= 0.8.6
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Jupyter Notebook Tools for Sphinx
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nbconvert>=0:devel/py-nbconvert@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nbformat>=0:devel/py-nbformat@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinx>=1.8,1:textproc/py-sphinx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}traitlets>=0:devel/py-traitlets@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1628103016
SHA256 (nbsphinx-0.8.6.tar.gz) = 097dee333558f400e9abbb53ce7d4fa64a257cfa89dd20f7554dca7f0cd5e143
SIZE (nbsphinx-0.8.6.tar.gz) = 146019

View file

@ -0,0 +1,7 @@
nbsphinx is a Sphinx extension that provides a source parser for *.ipynb files.
Custom Sphinx directives are used to show Jupyter Notebook code cells (and of
course their results) in both HTML and LaTeX output. Unevaluated notebooks --
i.e. notebooks without stored output cells -- will be automatically executed
during the Sphinx build process.
WWW: https://github.com/spatialaudio/nbsphinx