aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-nbsphinx/Makefile
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-08-08 14:32:18 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-08-08 14:53:54 +0000
commit40991a18a2dd010c381e2056fda2617297425f2a (patch)
treedc8a1c44feb833437faac660fafa8d78187df359 /textproc/py-nbsphinx/Makefile
parent0f44ea4143781cff831954dbe9f2d9bca0640af5 (diff)
downloadports-40991a18a2dd010c381e2056fda2617297425f2a.tar.gz
ports-40991a18a2dd010c381e2056fda2617297425f2a.zip
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
Diffstat (limited to 'textproc/py-nbsphinx/Makefile')
-rw-r--r--textproc/py-nbsphinx/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/textproc/py-nbsphinx/Makefile b/textproc/py-nbsphinx/Makefile
new file mode 100644
index 000000000000..085951fa94a0
--- /dev/null
+++ b/textproc/py-nbsphinx/Makefile
@@ -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>