1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

textproc/quarto: update 1.6.9 → 1.6.15

This commit is contained in:
Yuri Victorovich 2024-09-28 22:51:45 -07:00
parent c98ad1dbe2
commit 64d69c9a42
4 changed files with 29 additions and 14 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= quarto
DISTVERSION= 1.6.9
PORTREVISION= 5
DISTVERSION= 1.6.15
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
@ -29,10 +28,10 @@ GH_TUPLE= quarto-dev:quarto-cli:v${DISTVERSION}:repo/repo # only for tests
XARCH!= uname -m
PLIST_SUB+= XARCH=${XARCH}
NO_BUILD= yes
PLIST_SUB+= XARCH=${XARCH}
OPTIONS_DEFINE= R
R_DESC= Install R dependency
@ -49,7 +48,7 @@ post-patch:
-e 's|%%SCRIPT_PATH%%|${STAGEDIR}${DATADIR}/bin|; s|%%ARCH_DIR%%|${XARCH}|; s|%%REPO%%|${WRKSRC}/repo|; s|$$DENO_DIR|${LOCALBASE}/bin|' \
${WRKSRC}/repo/tests/run-tests.sh
# replace python3 with the real python executable path
${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_CMD}"|' ${WRKSRC}/bin/quarto.js
${REINPLACE_CMD} -i '' -e 's|"python3"|"${PYTHON_CMD}"|' ${WRKSRC}/bin/quarto.js
do-install:
# copy files from the tarball

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1725235576
SHA256 (quarto-1.6.9-linux-amd64.tar.gz) = 36cdc32d0f15d206b1109812b4c2456adda4ca746e007d72b0dca9c4d4530ec9
SIZE (quarto-1.6.9-linux-amd64.tar.gz) = 126270170
SHA256 (quarto-dev-quarto-cli-v1.6.9_GH0.tar.gz) = 77508e19a27ea4e7e8a73e72083823cbfa4ff68529d5ea8f8d0a153f178d98f3
SIZE (quarto-dev-quarto-cli-v1.6.9_GH0.tar.gz) = 103678731
TIMESTAMP = 1727584794
SHA256 (quarto-1.6.15-linux-amd64.tar.gz) = a9241cf10c366a1d0a6eb71bd2436e15349007777b76754f45156203bfff9a01
SIZE (quarto-1.6.15-linux-amd64.tar.gz) = 126440793
SHA256 (quarto-dev-quarto-cli-v1.6.15_GH0.tar.gz) = 5f927fff543a6e5236dcb7a7e143fe1ffcc1d35699394014354f8776ffea3958
SIZE (quarto-dev-quarto-cli-v1.6.15_GH0.tar.gz) = 104984832

View File

@ -0,0 +1,13 @@
- workaround for https://github.com/quarto-dev/quarto-cli/issues/10916
--- bin/quarto.js.orig 2024-08-29 14:15:21 UTC
+++ bin/quarto.js
@@ -82618,7 +82618,7 @@ async function initYamlIntelligenceResourcesFromFilesy
}
async function initYamlIntelligenceResourcesFromFilesystem() {
const resourceModule = (await import(toFileUrl2(resourcePath("editor/tools/yaml/yaml-intelligence-resources.json")).href, {
- assert: {
+ with: {
type: "json"
}
})).default;

View File

@ -59,6 +59,7 @@ bin/quarto
%%DATADIR%%/bin/vendor/deno-land/x/cache@0-2-12/directories.ts
%%DATADIR%%/bin/vendor/deno-land/x/puppeteer@9-0-2/mod.ts
%%DATADIR%%/bin/vendor/deno-land/x/puppeteer@9-0-2/src/deno/BrowserFetcher.ts
%%DATADIR%%/bin/vendor/deno-land/x/puppeteer@9-0-2/src/deno/BrowserFetcher.ts.orig
%%DATADIR%%/bin/vendor/deno-land/x/puppeteer@9-0-2/src/deno/BrowserRunner.ts
%%DATADIR%%/bin/vendor/deno-land/x/puppeteer@9-0-2/src/deno/LaunchOptions.ts
%%DATADIR%%/bin/vendor/deno-land/x/puppeteer@9-0-2/src/deno/Launcher.ts
@ -369,8 +370,8 @@ bin/quarto
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/09977ff606053ea2763c50f037f946f6c1b085c44d467315211086451113a899.metadata.json
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/09d520bcd080cd973515098a4097e278cd3a76501f1683853f0580b68581567c
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/09d520bcd080cd973515098a4097e278cd3a76501f1683853f0580b68581567c.metadata.json
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/0a15c236cad4497db954ed598706023d4007e93fe77925b97cc591311a644c81
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/0a15c236cad4497db954ed598706023d4007e93fe77925b97cc591311a644c81.metadata.json
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/0a15c236cad4497db954ed598706023d4007e93fe77925b97cc591%%PYTHON_SUFFIX%%a644c81
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/0a15c236cad4497db954ed598706023d4007e93fe77925b97cc591%%PYTHON_SUFFIX%%a644c81.metadata.json
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/0aaac2d3cda1e7c8eb827f67f91b0a27b8660a33a938460d4da024ea6d5c9a10
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/0aaac2d3cda1e7c8eb827f67f91b0a27b8660a33a938460d4da024ea6d5c9a10.metadata.json
%%DATADIR%%/share/deno_std/cache/deps/https/deno.land/0ce8d5cc096353f89b27eafa713cee13334f3b1947242436538da087789ccc7b
@ -1151,8 +1152,8 @@ bin/quarto
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/09977ff606053ea2763c50f037f946f6c1b085c44d467315211086451113a899.meta
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/09d520bcd080cd973515098a4097e278cd3a76501f1683853f0580b68581567c.js
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/09d520bcd080cd973515098a4097e278cd3a76501f1683853f0580b68581567c.meta
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/0a15c236cad4497db954ed598706023d4007e93fe77925b97cc591311a644c81.js
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/0a15c236cad4497db954ed598706023d4007e93fe77925b97cc591311a644c81.meta
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/0a15c236cad4497db954ed598706023d4007e93fe77925b97cc591%%PYTHON_SUFFIX%%a644c81.js
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/0a15c236cad4497db954ed598706023d4007e93fe77925b97cc591%%PYTHON_SUFFIX%%a644c81.meta
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/0aaac2d3cda1e7c8eb827f67f91b0a27b8660a33a938460d4da024ea6d5c9a10.js
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/0aaac2d3cda1e7c8eb827f67f91b0a27b8660a33a938460d4da024ea6d5c9a10.meta
%%DATADIR%%/share/deno_std/cache/gen/https/deno.land/0ce8d5cc096353f89b27eafa713cee13334f3b1947242436538da087789ccc7b.js
@ -2972,6 +2973,7 @@ bin/quarto
%%DATADIR%%/share/lua-types/pandoc/global.lua
%%DATADIR%%/share/lua-types/pandoc/inlines.lua
%%DATADIR%%/share/lua-types/pandoc/layout.lua
%%DATADIR%%/share/lua-types/pandoc/log.lua
%%DATADIR%%/share/lua-types/pandoc/mediabag.lua
%%DATADIR%%/share/lua-types/pandoc/meta.lua
%%DATADIR%%/share/lua-types/pandoc/options.lua
@ -3208,6 +3210,7 @@ bin/quarto
%%DATADIR%%/share/schema/extension.yml
%%DATADIR%%/share/schema/format-aliases.yml
%%DATADIR%%/share/schema/groups.yml
%%DATADIR%%/share/schema/json-schemas.json
%%DATADIR%%/share/schema/project.yml
%%DATADIR%%/share/schema/schema.yml
%%DATADIR%%/share/scripts/check-usage.sh