git: a3510f7a13c3 - main - textproc/quarto: update 1.6.42 → 1.7.21

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 06 Apr 2025 23:48:12 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a3510f7a13c358a703f2723db7b6c14bb8c1f240

commit a3510f7a13c358a703f2723db7b6c14bb8c1f240
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-04-06 23:46:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-04-06 23:48:06 +0000

    textproc/quarto: update 1.6.42 → 1.7.21
---
 textproc/quarto/Makefile                           | 13 +++++-
 textproc/quarto/distinfo                           | 10 ++---
 .../quarto/files/example-julia-fig-parametric.qmd  | 13 ++++++
 .../files/example-py-line-plot-on-a-polar-axis.qmd | 17 ++++++++
 textproc/quarto/files/example-r-airquality.qmd     | 11 +++++
 textproc/quarto/pkg-plist                          | 47 +++++++++++++++++++++-
 6 files changed, 103 insertions(+), 8 deletions(-)

diff --git a/textproc/quarto/Makefile b/textproc/quarto/Makefile
index d0d2e567f11e..5a15ad2834b8 100644
--- a/textproc/quarto/Makefile
+++ b/textproc/quarto/Makefile
@@ -1,5 +1,5 @@
-PORTNAME=	quarto
-DISTVERSION=	1.6.42
+PORTNAME=	quarto # quarto also requires some Linux base to be installed, for example linux_base-rl9
+DISTVERSION=	1.7.21
 CATEGORIES=	textproc
 MASTER_SITES=	https://github.com/quarto-dev/quarto-cli/releases/download/v${DISTVERSION}/
 DISTFILES=	quarto-${DISTVERSION}-linux-amd64.tar.gz # same for all architectures
@@ -105,4 +105,13 @@ do-test: # tests fail to run with: RuntimeError: Failed to lock Pipfile.lock!
 		${SETENV} QUARTO_TESTS_FORCE_NO_PIPENV=yes \
 		./run-tests.sh smoke/extensions/extension-render-doc.test.ts
 
+test-quick: install
+.for test in py-line-plot-on-a-polar-axis r-airquality julia-fig-parametric
+	@cd ${TEST_WRKSRC} && \
+		${CP} ${FILESDIR}/example-${test}.qmd . && \
+		${PORTNAME} render example-${test}.qmd --to pdf && \
+		okular example-${test}.pdf
+	# the Julia example above fails, see https://github.com/quarto-dev/quarto-cli/issues/12468
+.endfor
+
 .include <bsd.port.mk>
diff --git a/textproc/quarto/distinfo b/textproc/quarto/distinfo
index 8278073064d0..a9886dd501ae 100644
--- a/textproc/quarto/distinfo
+++ b/textproc/quarto/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1740453575
-SHA256 (quarto-1.6.42-linux-amd64.tar.gz) = f667f561f71f09631969816563224df562a544793c536b2ad8449be26ab3dec6
-SIZE (quarto-1.6.42-linux-amd64.tar.gz) = 128143211
-SHA256 (quarto-dev-quarto-cli-v1.6.42_GH0.tar.gz) = a0f57b740df982d57c6e871883d6816a02cafbe56ba23a9fb26505a8ac69fe45
-SIZE (quarto-dev-quarto-cli-v1.6.42_GH0.tar.gz) = 106242818
+TIMESTAMP = 1743978309
+SHA256 (quarto-1.7.21-linux-amd64.tar.gz) = f698821520869e04640d1e265495dbd5efb48b5e1f9b011856e69ce2d11e969e
+SIZE (quarto-1.7.21-linux-amd64.tar.gz) = 132108216
+SHA256 (quarto-dev-quarto-cli-v1.7.21_GH0.tar.gz) = 21db2320b95821a28f81a9b7d4a98e9c3ab95d7fe94a9e962ab882d692db9ace
+SIZE (quarto-dev-quarto-cli-v1.7.21_GH0.tar.gz) = 106528263
diff --git a/textproc/quarto/files/example-julia-fig-parametric.qmd b/textproc/quarto/files/example-julia-fig-parametric.qmd
new file mode 100644
index 000000000000..6f4a49fde3cf
--- /dev/null
+++ b/textproc/quarto/files/example-julia-fig-parametric.qmd
@@ -0,0 +1,13 @@
+```{julia}
+#| label: fig-parametric
+#| fig-cap: "Parametric Plots"
+
+using Plots
+
+plot(sin, 
+     x->sin(2x), 
+     0, 
+     2π, 
+     leg=false, 
+     fill=(0,:lavender))
+```
diff --git a/textproc/quarto/files/example-py-line-plot-on-a-polar-axis.qmd b/textproc/quarto/files/example-py-line-plot-on-a-polar-axis.qmd
new file mode 100644
index 000000000000..89f801bda03c
--- /dev/null
+++ b/textproc/quarto/files/example-py-line-plot-on-a-polar-axis.qmd
@@ -0,0 +1,17 @@
+```{python}
+#| label: fig-polar
+#| fig-cap: "A line plot on a polar axis"
+
+import numpy as np
+import matplotlib.pyplot as plt
+
+r = np.arange(0, 2, 0.01)
+theta = 2 * np.pi * r
+fig, ax = plt.subplots(
+  subplot_kw = {'projection': 'polar'} 
+)
+ax.plot(theta, r)
+ax.set_rticks([0.5, 1, 1.5, 2])
+ax.grid(True)
+plt.show()
+```
diff --git a/textproc/quarto/files/example-r-airquality.qmd b/textproc/quarto/files/example-r-airquality.qmd
new file mode 100644
index 000000000000..95f94c5f8647
--- /dev/null
+++ b/textproc/quarto/files/example-r-airquality.qmd
@@ -0,0 +1,11 @@
+```{r}
+#| label: fig-airquality
+#| fig-cap: "Temperature and ozone level."
+#| warning: false
+
+library(ggplot2)
+
+ggplot(airquality, aes(Temp, Ozone)) + 
+  geom_point() + 
+  geom_smooth(method = "loess")
+```
diff --git a/textproc/quarto/pkg-plist b/textproc/quarto/pkg-plist
index 8b2589119ef6..4b4c75a6cc57 100644
--- a/textproc/quarto/pkg-plist
+++ b/textproc/quarto/pkg-plist
@@ -2366,6 +2366,8 @@ bin/quarto
 %%DATADIR%%/share/extensions/quarto/lipsum/lipsum.lua
 %%DATADIR%%/share/extensions/quarto/placeholder/_extension.yml
 %%DATADIR%%/share/extensions/quarto/placeholder/placeholder.lua
+%%DATADIR%%/share/extensions/quarto/version/_extension.yml
+%%DATADIR%%/share/extensions/quarto/version/version.lua
 %%DATADIR%%/share/extensions/quarto/video/.luarc.json
 %%DATADIR%%/share/extensions/quarto/video/_extension.yml
 %%DATADIR%%/share/extensions/quarto/video/_tests/LICENSE.txt
@@ -2400,6 +2402,7 @@ bin/quarto
 %%DATADIR%%/share/filters/modules/filenames.lua
 %%DATADIR%%/share/filters/modules/filters.lua
 %%DATADIR%%/share/filters/modules/import_all.lua
+%%DATADIR%%/share/filters/modules/jog.lua
 %%DATADIR%%/share/filters/modules/license.lua
 %%DATADIR%%/share/filters/modules/lightbox.lua
 %%DATADIR%%/share/filters/modules/mediabag.lua
@@ -2412,9 +2415,34 @@ bin/quarto
 %%DATADIR%%/share/filters/modules/typst_css.lua
 %%DATADIR%%/share/filters/qmd-reader.lua
 %%DATADIR%%/share/filters/quarto-init/quarto-init.lua
+%%DATADIR%%/share/filters/quarto-internals/leveloneanalysis.lua
 %%DATADIR%%/share/filters/rmarkdown/pagebreak.lua
 %%DATADIR%%/share/formats/asciidoc/pandoc/asciidoc.template
 %%DATADIR%%/share/formats/asciidoc/pandoc/template.asciidoc
+%%DATADIR%%/share/formats/beamer/pandoc/after-body.tex
+%%DATADIR%%/share/formats/beamer/pandoc/after-header-includes.latex
+%%DATADIR%%/share/formats/beamer/pandoc/babel-lang.tex
+%%DATADIR%%/share/formats/beamer/pandoc/beamer.template
+%%DATADIR%%/share/formats/beamer/pandoc/before-bib.tex
+%%DATADIR%%/share/formats/beamer/pandoc/before-body.tex
+%%DATADIR%%/share/formats/beamer/pandoc/before-title.tex
+%%DATADIR%%/share/formats/beamer/pandoc/biblio-config.tex
+%%DATADIR%%/share/formats/beamer/pandoc/biblio.tex
+%%DATADIR%%/share/formats/beamer/pandoc/citations.tex
+%%DATADIR%%/share/formats/beamer/pandoc/common.latex
+%%DATADIR%%/share/formats/beamer/pandoc/doc-class.tex
+%%DATADIR%%/share/formats/beamer/pandoc/font-settings.latex
+%%DATADIR%%/share/formats/beamer/pandoc/fonts.latex
+%%DATADIR%%/share/formats/beamer/pandoc/graphics.tex
+%%DATADIR%%/share/formats/beamer/pandoc/hypersetup.latex
+%%DATADIR%%/share/formats/beamer/pandoc/latex.common
+%%DATADIR%%/share/formats/beamer/pandoc/pandoc.tex
+%%DATADIR%%/share/formats/beamer/pandoc/passoptions.latex
+%%DATADIR%%/share/formats/beamer/pandoc/tables.tex
+%%DATADIR%%/share/formats/beamer/pandoc/template.tex
+%%DATADIR%%/share/formats/beamer/pandoc/tightlist.tex
+%%DATADIR%%/share/formats/beamer/pandoc/title.tex
+%%DATADIR%%/share/formats/beamer/pandoc/toc.tex
 %%DATADIR%%/share/formats/dashboard/_nav-container.html
 %%DATADIR%%/share/formats/dashboard/js/dt/datatables.min.css
 %%DATADIR%%/share/formats/dashboard/js/dt/datatables.min.js
@@ -2473,6 +2501,7 @@ bin/quarto
 %%DATADIR%%/share/formats/html/bootstrap/dist/scss/_grid.scss
 %%DATADIR%%/share/formats/html/bootstrap/dist/scss/_helpers.scss
 %%DATADIR%%/share/formats/html/bootstrap/dist/scss/_images.scss
+%%DATADIR%%/share/formats/html/bootstrap/dist/scss/_light-dark.scss
 %%DATADIR%%/share/formats/html/bootstrap/dist/scss/_list-group.scss
 %%DATADIR%%/share/formats/html/bootstrap/dist/scss/_maps.scss
 %%DATADIR%%/share/formats/html/bootstrap/dist/scss/_mixins.scss
@@ -2601,6 +2630,7 @@ bin/quarto
 %%DATADIR%%/share/formats/html/bslib/components/scss/value_box.scss
 %%DATADIR%%/share/formats/html/clipboard/clipboard.min.js
 %%DATADIR%%/share/formats/html/embed/template.html
+%%DATADIR%%/share/formats/html/esbuild-analysis-cache.json
 %%DATADIR%%/share/formats/html/fuse/fuse.min.js
 %%DATADIR%%/share/formats/html/giscus/giscus.ejs
 %%DATADIR%%/share/formats/html/glightbox/glightbox.min.css
@@ -2629,6 +2659,7 @@ bin/quarto
 %%DATADIR%%/share/formats/html/quarto.js
 %%DATADIR%%/share/formats/html/styles-callout.html
 %%DATADIR%%/share/formats/html/tabby/js/tabby.js
+%%DATADIR%%/share/formats/html/tabsets/tabsets.js
 %%DATADIR%%/share/formats/html/templates/_title-meta-author.html
 %%DATADIR%%/share/formats/html/templates/after-body-article-postamble.ejs
 %%DATADIR%%/share/formats/html/templates/after-body-article-preamble.ejs
@@ -2639,7 +2670,8 @@ bin/quarto
 %%DATADIR%%/share/formats/html/templates/before-body-custom.ejs
 %%DATADIR%%/share/formats/html/templates/manuscript/title-block.html
 %%DATADIR%%/share/formats/html/templates/manuscript/title-metadata.html
-%%DATADIR%%/share/formats/html/templates/quarto-html.ejs
+%%DATADIR%%/share/formats/html/templates/quarto-html-after-body.ejs
+%%DATADIR%%/share/formats/html/templates/quarto-html-before-body.ejs
 %%DATADIR%%/share/formats/html/templates/title-block.html
 %%DATADIR%%/share/formats/html/templates/title-block.scss
 %%DATADIR%%/share/formats/html/templates/title-metadata.html
@@ -2663,15 +2695,24 @@ bin/quarto
 %%DATADIR%%/share/formats/jats/pandoc/subarticle/template.xml
 %%DATADIR%%/share/formats/jats/pandoc/template.xml
 %%DATADIR%%/share/formats/pdf/pandoc/after-body.tex
+%%DATADIR%%/share/formats/pdf/pandoc/after-header-includes.latex
+%%DATADIR%%/share/formats/pdf/pandoc/babel-lang.tex
 %%DATADIR%%/share/formats/pdf/pandoc/before-bib.tex
 %%DATADIR%%/share/formats/pdf/pandoc/before-body.tex
 %%DATADIR%%/share/formats/pdf/pandoc/before-title.tex
+%%DATADIR%%/share/formats/pdf/pandoc/biblio-config.tex
 %%DATADIR%%/share/formats/pdf/pandoc/biblio.tex
 %%DATADIR%%/share/formats/pdf/pandoc/citations.tex
+%%DATADIR%%/share/formats/pdf/pandoc/common.latex
 %%DATADIR%%/share/formats/pdf/pandoc/doc-class.tex
+%%DATADIR%%/share/formats/pdf/pandoc/font-settings.latex
+%%DATADIR%%/share/formats/pdf/pandoc/fonts.latex
 %%DATADIR%%/share/formats/pdf/pandoc/graphics.tex
+%%DATADIR%%/share/formats/pdf/pandoc/hypersetup.latex
+%%DATADIR%%/share/formats/pdf/pandoc/latex.common
 %%DATADIR%%/share/formats/pdf/pandoc/latex.template
 %%DATADIR%%/share/formats/pdf/pandoc/pandoc.tex
+%%DATADIR%%/share/formats/pdf/pandoc/passoptions.latex
 %%DATADIR%%/share/formats/pdf/pandoc/tables.tex
 %%DATADIR%%/share/formats/pdf/pandoc/template.tex
 %%DATADIR%%/share/formats/pdf/pandoc/tightlist.tex
@@ -3202,6 +3243,7 @@ bin/quarto
 %%DATADIR%%/share/jupyter/notebook.py
 %%DATADIR%%/share/jupyter/shiny.py
 %%DATADIR%%/share/language/README.md
+%%DATADIR%%/share/language/_language-bg.yml
 %%DATADIR%%/share/language/_language-ca.yml
 %%DATADIR%%/share/language/_language-cs.yml
 %%DATADIR%%/share/language/_language-da.yml
@@ -3226,6 +3268,7 @@ bin/quarto
 %%DATADIR%%/share/language/_language-pt.yml
 %%DATADIR%%/share/language/_language-ru.yml
 %%DATADIR%%/share/language/_language-sk.yml
+%%DATADIR%%/share/language/_language-sl.yml
 %%DATADIR%%/share/language/_language-sr-Latn.yml
 %%DATADIR%%/share/language/_language-sv.yml
 %%DATADIR%%/share/language/_language-tr.yml
@@ -3396,6 +3439,7 @@ bin/quarto
 %%DATADIR%%/share/lua-types/pandoc/doc.lua
 %%DATADIR%%/share/lua-types/pandoc/format.lua
 %%DATADIR%%/share/lua-types/pandoc/global.lua
+%%DATADIR%%/share/lua-types/pandoc/image.lua
 %%DATADIR%%/share/lua-types/pandoc/inlines.lua
 %%DATADIR%%/share/lua-types/pandoc/layout.lua
 %%DATADIR%%/share/lua-types/pandoc/log.lua
@@ -3424,6 +3468,7 @@ bin/quarto
 %%DATADIR%%/share/lua-types/quarto/paths.lua
 %%DATADIR%%/share/lua-types/quarto/project.lua
 %%DATADIR%%/share/lua-types/quarto/quarto.lua
+%%DATADIR%%/share/lua-types/quarto/shortcode.lua
 %%DATADIR%%/share/lua-types/quarto/tabset.lua
 %%DATADIR%%/share/lua-types/quarto/utils.lua
 %%DATADIR%%/share/lua-types/re.lua