File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 11PORTNAME = lfortran
22DISTVERSIONPREFIX = v
3- DISTVERSION = 0.21.2
3+ DISTVERSION = 0.21.5
44CATEGORIES = lang
55
66MAINTAINER = fortran@FreeBSD.org
@@ -34,7 +34,17 @@ USE_LDCONFIG= yes
3434
3535LLVM_VERSION = 15 # 16 is supported too
3636
37- OPTIONS_DEFINE = EXAMPLES
37+ OPTIONS_DEFINE = EXAMPLES # NB
38+ # NB is broken ATM
39+ NB_DESC= Documentation as a Jupyter notebook
40+ NB_BUILD_DEPENDS = sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \
41+ sphinx-intl:textproc/py-sphinx@${PY_FLAVOR} \
42+ myst-inv:textproc/py-myst-parser@${PY_FLAVOR} \
43+ jupyter:devel/py-jupyter-core@${PY_FLAVOR} \
44+ ${PYTHON_PKGNAMEPREFIX}nbsphinx>0:textproc/py-nbsphinx@${PY_FLAVOR} \
45+ ${PYTHON_PKGNAMEPREFIX}sphinx_material>0:textproc/py-sphinx-material@${PY_FLAVOR} \
46+ ${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \
47+
3848PORTEXAMPLES = *
3949
4050# Xeus: version 3.0.5 is required and xeus-zmq 1.0.2
@@ -58,6 +68,9 @@ PLIST_SUB= VER=${PORTVERSION}
5868pre-configure :
5969 ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC} /version
6070
71+ do-build-NB-on :
72+ (cd ${WRKSRC} /doc && ${PYTHON_CMD} build.py)
73+
6174post-install-EXAMPLES-on :
6275 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
6376 (cd ${WRKSRC} /examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} )
Original file line number Diff line number Diff line change 1- TIMESTAMP = 1696771504
2- SHA256 (lfortran-lfortran-v0.21.2_GH0 .tar.gz) = 3aa390cb552e1a2467b7e8811d3b8a4daeb28d375613d3f245e8111e784fe72c
3- SIZE (lfortran-lfortran-v0.21.2_GH0 .tar.gz) = 2391176
1+ TIMESTAMP = 1697045083
2+ SHA256 (lfortran-lfortran-v0.21.5_GH0 .tar.gz) = 58cd43ba9b351d394cc6db8699038932d73018fdca948f13d28714de23e6d110
3+ SIZE (lfortran-lfortran-v0.21.5_GH0 .tar.gz) = 2395607
You can’t perform that action at this time.
0 commit comments