Skip to content

Commit

Permalink
lang/lfortran: upgrade to v0.21.5
Browse files Browse the repository at this point in the history
Releases notes at <https://github.com/lfortran/lfortran/releases>.

WIP: add the documentation.
  • Loading branch information
thierry-FreeBSD committed Oct 11, 2023
1 parent d26cd48 commit 150491f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
17 changes: 15 additions & 2 deletions lang/lfortran/Makefile
@@ -1,6 +1,6 @@
PORTNAME= lfortran
DISTVERSIONPREFIX= v
DISTVERSION= 0.21.2
DISTVERSION= 0.21.5
CATEGORIES= lang

MAINTAINER= fortran@FreeBSD.org
Expand Down Expand Up @@ -34,7 +34,17 @@ USE_LDCONFIG= yes

LLVM_VERSION= 15 # 16 is supported too

OPTIONS_DEFINE= EXAMPLES
OPTIONS_DEFINE= EXAMPLES # NB
# NB is broken ATM
NB_DESC= Documentation as a Jupyter notebook
NB_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR} \
sphinx-intl:textproc/py-sphinx@${PY_FLAVOR} \
myst-inv:textproc/py-myst-parser@${PY_FLAVOR} \
jupyter:devel/py-jupyter-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}nbsphinx>0:textproc/py-nbsphinx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinx_material>0:textproc/py-sphinx-material@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinx-copybutton>0:textproc/py-sphinx-copybutton@${PY_FLAVOR} \

PORTEXAMPLES= *

# Xeus: version 3.0.5 is required and xeus-zmq 1.0.2
Expand All @@ -58,6 +68,9 @@ PLIST_SUB= VER=${PORTVERSION}
pre-configure:
${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/version

do-build-NB-on:
(cd ${WRKSRC}/doc && ${PYTHON_CMD} build.py)

post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
Expand Down
6 changes: 3 additions & 3 deletions lang/lfortran/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1696771504
SHA256 (lfortran-lfortran-v0.21.2_GH0.tar.gz) = 3aa390cb552e1a2467b7e8811d3b8a4daeb28d375613d3f245e8111e784fe72c
SIZE (lfortran-lfortran-v0.21.2_GH0.tar.gz) = 2391176
TIMESTAMP = 1697045083
SHA256 (lfortran-lfortran-v0.21.5_GH0.tar.gz) = 58cd43ba9b351d394cc6db8699038932d73018fdca948f13d28714de23e6d110
SIZE (lfortran-lfortran-v0.21.5_GH0.tar.gz) = 2395607

0 comments on commit 150491f

Please sign in to comment.