pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/shfmt



Module Name:    pkgsrc
Committed By:   leot
Date:           Mon Aug 21 13:14:17 UTC 2023

Modified Files:
        pkgsrc/devel/shfmt: Makefile distinfo go-modules.mk

Log Message:
shfmt: Update to 3.7.0

Changes:
3.7.0
-----
This release drops support for Go 1.18 and includes many features and fixes.

- syntax
  - Correctly parse `$foo#bar` as a single word
  - Make `&>` redirect operators an error in POSIX mode
  - Avoid producing invalid shell when minifying some heredocs
  - Revert the simplification of `${foo:-}` into `${foo-}`

- interp
  - Add `ExecHandlers` to support layering multiple middlewares
  - Add initial support for the `select` clause
  - Support combining the `errexit` and `pipefail` options
  - Set `EUID` just like `UID`
  - Replace panics on unimplemented builtins with errors
  - Tweak build tags to support building for `js/wasm`

- syntax/typedjson
  - Avoid `reflect.Value.MethodByName` to reduce binary sizes


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/shfmt/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/shfmt/distinfo \
    pkgsrc/devel/shfmt/go-modules.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/shfmt/Makefile
diff -u pkgsrc/devel/shfmt/Makefile:1.6 pkgsrc/devel/shfmt/Makefile:1.7
--- pkgsrc/devel/shfmt/Makefile:1.6     Sat Jul 15 10:52:58 2023
+++ pkgsrc/devel/shfmt/Makefile Mon Aug 21 13:14:17 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2023/07/15 10:52:58 bsiegert Exp $
+# $NetBSD: Makefile,v 1.7 2023/08/21 13:14:17 leot Exp $
 
-DISTNAME=      shfmt-3.6.0
-PKGREVISION=   5
+DISTNAME=      shfmt-3.7.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mvdan/}
 GITHUB_PROJECT=        sh

Index: pkgsrc/devel/shfmt/distinfo
diff -u pkgsrc/devel/shfmt/distinfo:1.1 pkgsrc/devel/shfmt/distinfo:1.2
--- pkgsrc/devel/shfmt/distinfo:1.1     Sun Jan 15 18:32:50 2023
+++ pkgsrc/devel/shfmt/distinfo Mon Aug 21 13:14:17 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2023/01/15 18:32:50 nikita Exp $
+$NetBSD: distinfo,v 1.2 2023/08/21 13:14:17 leot Exp $
 
 BLAKE2s (github.com_creack_pty_@v_v1.1.18.mod) = 19b33a84ea62506eb4da7226657fea56d1c17f128a045f166d91db907c32c93e
 SHA512 (github.com_creack_pty_@v_v1.1.18.mod) = b825d82c81fd02f7dc8be5be8d4f0e3b9bf39a75e453857ab3f4d8d17129d2214f6b4dddd18cd613cb4d29dbd5adc59f43c1f65d218e7f3b67f0a8e33e62f5a6
@@ -9,12 +9,12 @@ Size (github.com_creack_pty_@v_v1.1.18.z
 BLAKE2s (github.com_creack_pty_@v_v1.1.9.mod) = df42a1d34a4df624a6fbab600483cf5afb215874880e2e9e23f5fb03d719eb16
 SHA512 (github.com_creack_pty_@v_v1.1.9.mod) = 9cf1687520933d3d6bbec9d7c51472998d3bdbe1b3d2a7478fca80f9e7944f9040a2b8ec7d49f1458bd46a5121bae4810d314725add41efd413319a5006b944a
 Size (github.com_creack_pty_@v_v1.1.9.mod) = 39 bytes
-BLAKE2s (github.com_frankban_quicktest_@v_v1.14.4.mod) = 193286b29aa571464bd14eeaa6972559ec293861ee3138f5a39e354e59c1f2de
-SHA512 (github.com_frankban_quicktest_@v_v1.14.4.mod) = 23f6ed036d1ae7ec85a9f0cf0682e5dafd6be821a27a145943400569b5bb3f20b983bbe67e374c3855528f0df34b140e3f8c0f09e04f4a6d1303369b07b26751
-Size (github.com_frankban_quicktest_@v_v1.14.4.mod) = 121 bytes
-BLAKE2s (github.com_frankban_quicktest_@v_v1.14.4.zip) = 8d0fdb368e3b58752549e49a67057a18088edf6cd9c911e538e02bbc41c6489b
-SHA512 (github.com_frankban_quicktest_@v_v1.14.4.zip) = 5996751f2d5d0fe90399f528fc570c0370ad618fda51fb9c900da7da591314c5a525fa62093ea66f5eed8994f5ee57d3f130267c53ba3ed25004a8e440c796cc
-Size (github.com_frankban_quicktest_@v_v1.14.4.zip) = 55637 bytes
+BLAKE2s (github.com_frankban_quicktest_@v_v1.14.5.mod) = 193286b29aa571464bd14eeaa6972559ec293861ee3138f5a39e354e59c1f2de
+SHA512 (github.com_frankban_quicktest_@v_v1.14.5.mod) = 23f6ed036d1ae7ec85a9f0cf0682e5dafd6be821a27a145943400569b5bb3f20b983bbe67e374c3855528f0df34b140e3f8c0f09e04f4a6d1303369b07b26751
+Size (github.com_frankban_quicktest_@v_v1.14.5.mod) = 121 bytes
+BLAKE2s (github.com_frankban_quicktest_@v_v1.14.5.zip) = 4a4b52c6ac987c8c2d5dad1dc3c3b65eae689e4af1493c394e6b6176ce27a9e4
+SHA512 (github.com_frankban_quicktest_@v_v1.14.5.zip) = 7e51e3dbf21c7dd391a7526d4e1cd4ba85ceae6234458130bf01036d84576b4200fcf004623f727d8b672b45ca3a6580dfffeb5e0de0746bf4de100048ec7f72
+Size (github.com_frankban_quicktest_@v_v1.14.5.zip) = 56110 bytes
 BLAKE2s (github.com_google_go-cmp_@v_v0.5.9.mod) = becdef0764c43b119969e6c10646c6fafece1f936110eaa977757d2e2e381cd0
 SHA512 (github.com_google_go-cmp_@v_v0.5.9.mod) = 89e0014b0c3ffa2578ab38c237fee3d2280d6955e810c83e426d4924cec07cfc796adc45074fc237629c5ff88a93044dc406472febf1adf73deae82cb1b24b80
 Size (github.com_google_go-cmp_@v_v0.5.9.mod) = 41 bytes
@@ -45,36 +45,45 @@ Size (github.com_pkg_diff_@v_v0.0.0-2021
 BLAKE2s (github.com_pkg_diff_@v_v0.0.0-20210226163009-20ebb0f2a09e.zip) = 5c0c1fce22a545caa7319e48d168b7ef903fd42e9f6fda93f0d8c9c913dfee01
 SHA512 (github.com_pkg_diff_@v_v0.0.0-20210226163009-20ebb0f2a09e.zip) = 
18f43e293821920124a2571732900ca437a87ccc587369feabdb400b6b65b5868394496bf51a4a7a7441f19bf68fb0b53b007c0e69acc1e87eae4186e8659a53
 Size (github.com_pkg_diff_@v_v0.0.0-20210226163009-20ebb0f2a09e.zip) = 219375 bytes
+BLAKE2s (github.com_rogpeppe_go-internal_@v_v1.10.1-0.20230524175051-ec119421bb97.mod) = 8c55cc295bcc56dfc02d88141a287490714600436990c494b24e316909736885
+SHA512 (github.com_rogpeppe_go-internal_@v_v1.10.1-0.20230524175051-ec119421bb97.mod) = 
09332d3a49d3083622c0830f3b557c0d202cbcb088f3c5743fc3b2803522a20adf4c9ebd7f20826fd01585dbe3a213344f77f37ae10e17ab6047b307b9c6f2aa
+Size (github.com_rogpeppe_go-internal_@v_v1.10.1-0.20230524175051-ec119421bb97.mod) = 167 bytes
+BLAKE2s (github.com_rogpeppe_go-internal_@v_v1.10.1-0.20230524175051-ec119421bb97.zip) = 3610d0bba3ce57858a3728914ca1bb66b8d3cbe715750e1fb6dd8604ee385450
+SHA512 (github.com_rogpeppe_go-internal_@v_v1.10.1-0.20230524175051-ec119421bb97.zip) = 
73160e4c2998a7bb2daa9e6c052eb67303256f7fc8ea84e0a258fd53b2b8c23bf96e2f3af582653a1a056b38cf0a8a5a9a6cd7347ce3e31e23e8fe1b365887c7
+Size (github.com_rogpeppe_go-internal_@v_v1.10.1-0.20230524175051-ec119421bb97.zip) = 194024 bytes
 BLAKE2s (github.com_rogpeppe_go-internal_@v_v1.9.0.mod) = a821b267cecc00e91955bdb82a97a7d803d9ef8989d5a55c8559299c26e14591
 SHA512 (github.com_rogpeppe_go-internal_@v_v1.9.0.mod) = a3d30dd629b377513944f59ed204b44f4759e88e20cd70cd9280965d0d010e01af3ad8e5b9f45b33e0ed9a28fbb25575ca0ff2075c970468fcf39c1f1a7f5351
 Size (github.com_rogpeppe_go-internal_@v_v1.9.0.mod) = 112 bytes
-BLAKE2s (github.com_rogpeppe_go-internal_@v_v1.9.0.zip) = ad35a443dfe421705da3896765861a4e0689751d1b98b1609c15bea868c79438
-SHA512 (github.com_rogpeppe_go-internal_@v_v1.9.0.zip) = 47433e6ba53b180e99c8ef65d7934dda135bca2405e3f6c9c28d80ff620ffca8eab87479a6be79715461a03cb872758ceceb25570f3a86c8b4e0d96b2acf4fa1
-Size (github.com_rogpeppe_go-internal_@v_v1.9.0.zip) = 210263 bytes
-BLAKE2s (golang.org_x_sync_@v_v0.1.0.mod) = 0524d428f3fcb8a923eb2717aacc5f3b26a68c2b9ac636b9505d1820d6b32ede
-SHA512 (golang.org_x_sync_@v_v0.1.0.mod) = a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
-Size (golang.org_x_sync_@v_v0.1.0.mod) = 25 bytes
-BLAKE2s (golang.org_x_sync_@v_v0.1.0.zip) = d1335f3d760020e71a3969929907042a8fbc79a70187b6fb48661efb3263555e
-SHA512 (golang.org_x_sync_@v_v0.1.0.zip) = c50824f1a2198a75381a52680888cf2032c2110e13ee528cf4c3c5959f57ae3903a351c162847138d81fb45124c471c5a569ee6dfa0837681eb9e088bc8810dd
-Size (golang.org_x_sync_@v_v0.1.0.zip) = 27781 bytes
-BLAKE2s (golang.org_x_sys_@v_v0.3.0.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
-SHA512 (golang.org_x_sys_@v_v0.3.0.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
-Size (golang.org_x_sys_@v_v0.3.0.mod) = 33 bytes
-BLAKE2s (golang.org_x_sys_@v_v0.3.0.zip) = 196a4ed0cb55879c15c5dba9c1e69b04583fc328003580e6056c3de52a3fb310
-SHA512 (golang.org_x_sys_@v_v0.3.0.zip) = 0d14de6b67e169150564e56bf26f8f096f22ffdeba245b8e33b6d518fc5d482dc2da6b3633525cdc358173c9a4430bf914ae471546f0a49e2d7454c4ba33b35c
-Size (golang.org_x_sys_@v_v0.3.0.zip) = 1862151 bytes
-BLAKE2s (golang.org_x_term_@v_v0.3.0.mod) = 19381225007118a96ad21fda01a88d844b00776760f2175de2a06b6d1dd01880
-SHA512 (golang.org_x_term_@v_v0.3.0.mod) = 03e1b2b3e092e2fc09e4a506bd611f4c2a84d9e81029890661cd5995e3e793f5a57122db8742a89101fbb2ad00c55bb3cc977b7e1978452e8fcdbe23b5f73e1e
-Size (golang.org_x_term_@v_v0.3.0.mod) = 67 bytes
-BLAKE2s (golang.org_x_term_@v_v0.3.0.zip) = abbb13903a661dee3f675be82a8b0810e5a56f4b5137d150e3e34bb38451df7f
-SHA512 (golang.org_x_term_@v_v0.3.0.zip) = 195328aebb4867f4de19b09dd4f1d6b7399bc7b7121a59c4ae889720fe0b958dc9a48893e16c3b98bce4b1b36ace65d3c9daf448f00d0c46c05b4557d42bbea7
-Size (golang.org_x_term_@v_v0.3.0.zip) = 19924 bytes
+BLAKE2s (golang.org_x_sync_@v_v0.2.0.mod) = 0524d428f3fcb8a923eb2717aacc5f3b26a68c2b9ac636b9505d1820d6b32ede
+SHA512 (golang.org_x_sync_@v_v0.2.0.mod) = a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
+Size (golang.org_x_sync_@v_v0.2.0.mod) = 25 bytes
+BLAKE2s (golang.org_x_sync_@v_v0.2.0.zip) = 4d7c73416fe3c3009893b069af992c4d60a03a9983a57951a2d0326e1a85b859
+SHA512 (golang.org_x_sync_@v_v0.2.0.zip) = ec858c4ad1e4dd873601cb9bc2d187e42ae7876f9486ba80ee0e36c408503491d88fa1f1c017ed0b12c5e887431d52c20defd0c0b22682cc31b88e1aaf1b9c05
+Size (golang.org_x_sync_@v_v0.2.0.zip) = 27919 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.8.0.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
+SHA512 (golang.org_x_sys_@v_v0.8.0.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
+Size (golang.org_x_sys_@v_v0.8.0.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.8.0.zip) = 1d1dd30ede45eedf5a3a55fb4c349db31c0da8d3c28e13f71464bfe84709f861
+SHA512 (golang.org_x_sys_@v_v0.8.0.zip) = a24f36dd1f3f0a998fdc68f03870350635d3ae6cd3abae010f9c8d69a9e7c3484605286e1153e24e45548d39aa713e91bb39106f5c4b68377f906299c1dd743b
+Size (golang.org_x_sys_@v_v0.8.0.zip) = 1894928 bytes
+BLAKE2s (golang.org_x_term_@v_v0.8.0.mod) = 1fa6c540c2a882ada4d67690f9ae74f5d5ea4fab21493354064706d345be2028
+SHA512 (golang.org_x_term_@v_v0.8.0.mod) = 865ab9fda3e62f27e5010edb02d40d68e812118f8f8f8e9afc3e19012a16f6076fdbac909a444f5d3036575352020d4ad8c1210191dbb0171d906b8990e7c581
+Size (golang.org_x_term_@v_v0.8.0.mod) = 67 bytes
+BLAKE2s (golang.org_x_term_@v_v0.8.0.zip) = 90a4f31890c8b086e896e2a37298c132048c8ff112a2b3262f7d272de70f3a18
+SHA512 (golang.org_x_term_@v_v0.8.0.zip) = 63cb6f10de1b97b9315c9d3c281f10231a8b25aa7926a3cace8323ed497dc6c8b4528c55a06beb4b238c76756031cb4967d2d725c0b4d3936dfae64bda714e4c
+Size (golang.org_x_term_@v_v0.8.0.zip) = 19924 bytes
+BLAKE2s (golang.org_x_tools_@v_v0.1.12.mod) = 8e5929e44e175f60b164d7e7f0860a78ceac838254748829336eedd7b0d8f345
+SHA512 (golang.org_x_tools_@v_v0.1.12.mod) = a7bf52a08d8b97fadb3f98c0eba83e8269789437ad1c29007c24137b68c72c26845c466b86b0355b8d85ce427507199f214f502dc3ab31c6f27646dae3237a81
+Size (golang.org_x_tools_@v_v0.1.12.mod) = 327 bytes
+BLAKE2s (golang.org_x_tools_@v_v0.1.12.zip) = 2390a2c8002c5d0499494d16d42af8aca0d6ded12919e918d10fdb1a96949def
+SHA512 (golang.org_x_tools_@v_v0.1.12.zip) = 68068cc3520815de90c917e3311f53684fbcf2b3e65de3af838718396dc4b2a440f7abe99542ecb175cd7212dea84a682aa2639eff1b55f7eaf4b1b3fcdaded7
+Size (golang.org_x_tools_@v_v0.1.12.zip) = 3946738 bytes
 BLAKE2s (mvdan.cc_editorconfig_@v_v0.2.0.mod) = 5bfc6512dee9b96228ad629e5391071f4e1377f33224dabf88ef4ddffe4ea4b3
 SHA512 (mvdan.cc_editorconfig_@v_v0.2.0.mod) = 4a18feab9823c6837ef363e2507c922689f641eaa96ea91b73ec0d331f9d5cb4c06aeffe14fcd505a9b26cfcf1002d7962ed3945eec9550f9347f78bb7bfb5e5
 Size (mvdan.cc_editorconfig_@v_v0.2.0.mod) = 38 bytes
 BLAKE2s (mvdan.cc_editorconfig_@v_v0.2.0.zip) = 5e6bb8ff637a240bd56528e1d4fe8e7180d498b5c60ca7cf95bca58f4c8bb55a
 SHA512 (mvdan.cc_editorconfig_@v_v0.2.0.zip) = c1e5b925ebf97bda7f5f4d299bd6567ac014b1e97f9497ca14c19ef02dde6b6ea935b766e5a4c04dc40b4ed5f60578c014beb55e6faa913519efebed02cd1632
 Size (mvdan.cc_editorconfig_@v_v0.2.0.zip) = 12867 bytes
-BLAKE2s (shfmt-3.6.0.tar.gz) = 35c041a51e0547b5e49dab717e24ada27ddb0393cf8ef6ec959dbeeb50ad2768
-SHA512 (shfmt-3.6.0.tar.gz) = c7812496c66df2fd32b674fc260d0f100b3b6297540bc9e4890d603ca8f41589950493d6d62924bded6d17d4dd9347ee5bc47464608cdcde9c1f73e198c454cd
-Size (shfmt-3.6.0.tar.gz) = 216645 bytes
+BLAKE2s (shfmt-3.7.0.tar.gz) = d2fe9683554e94d7f2ba607a81e2870128fa81faa4927eeda53ee169b0511603
+SHA512 (shfmt-3.7.0.tar.gz) = 5869b68d4bb59907ff7543019e02e8e1efee5963475763b2b2daf0b1ef8621d919d54978a50e52d865b5b76b188c821fecb673e6a9ce42b30cd9907a020e6387
+Size (shfmt-3.7.0.tar.gz) = 219380 bytes
Index: pkgsrc/devel/shfmt/go-modules.mk
diff -u pkgsrc/devel/shfmt/go-modules.mk:1.1 pkgsrc/devel/shfmt/go-modules.mk:1.2
--- pkgsrc/devel/shfmt/go-modules.mk:1.1        Sun Jan 15 18:32:50 2023
+++ pkgsrc/devel/shfmt/go-modules.mk    Mon Aug 21 13:14:17 2023
@@ -1,10 +1,10 @@
-# $NetBSD: go-modules.mk,v 1.1 2023/01/15 18:32:50 nikita Exp $
+# $NetBSD: go-modules.mk,v 1.2 2023/08/21 13:14:17 leot Exp $
 
 GO_MODULE_FILES+=      github.com/creack/pty/@v/v1.1.18.mod
 GO_MODULE_FILES+=      github.com/creack/pty/@v/v1.1.18.zip
 GO_MODULE_FILES+=      github.com/creack/pty/@v/v1.1.9.mod
-GO_MODULE_FILES+=      github.com/frankban/quicktest/@v/v1.14.4.mod
-GO_MODULE_FILES+=      github.com/frankban/quicktest/@v/v1.14.4.zip
+GO_MODULE_FILES+=      github.com/frankban/quicktest/@v/v1.14.5.mod
+GO_MODULE_FILES+=      github.com/frankban/quicktest/@v/v1.14.5.zip
 GO_MODULE_FILES+=      github.com/google/go-cmp/@v/v0.5.9.mod
 GO_MODULE_FILES+=      github.com/google/go-cmp/@v/v0.5.9.zip
 GO_MODULE_FILES+=      github.com/google/renameio/v2/@v/v2.0.0.mod
@@ -15,13 +15,16 @@ GO_MODULE_FILES+=   github.com/kr/text/@v/
 GO_MODULE_FILES+=      github.com/kr/text/@v/v0.2.0.zip
 GO_MODULE_FILES+=      github.com/pkg/diff/@v/v0.0.0-20210226163009-20ebb0f2a09e.mod
 GO_MODULE_FILES+=      github.com/pkg/diff/@v/v0.0.0-20210226163009-20ebb0f2a09e.zip
+GO_MODULE_FILES+=      github.com/rogpeppe/go-internal/@v/v1.10.1-0.20230524175051-ec119421bb97.mod
+GO_MODULE_FILES+=      github.com/rogpeppe/go-internal/@v/v1.10.1-0.20230524175051-ec119421bb97.zip
 GO_MODULE_FILES+=      github.com/rogpeppe/go-internal/@v/v1.9.0.mod
-GO_MODULE_FILES+=      github.com/rogpeppe/go-internal/@v/v1.9.0.zip
-GO_MODULE_FILES+=      golang.org/x/sync/@v/v0.1.0.mod
-GO_MODULE_FILES+=      golang.org/x/sync/@v/v0.1.0.zip
-GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.3.0.mod
-GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.3.0.zip
-GO_MODULE_FILES+=      golang.org/x/term/@v/v0.3.0.mod
-GO_MODULE_FILES+=      golang.org/x/term/@v/v0.3.0.zip
+GO_MODULE_FILES+=      golang.org/x/sync/@v/v0.2.0.mod
+GO_MODULE_FILES+=      golang.org/x/sync/@v/v0.2.0.zip
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.8.0.mod
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.8.0.zip
+GO_MODULE_FILES+=      golang.org/x/term/@v/v0.8.0.mod
+GO_MODULE_FILES+=      golang.org/x/term/@v/v0.8.0.zip
+GO_MODULE_FILES+=      golang.org/x/tools/@v/v0.1.12.mod
+GO_MODULE_FILES+=      golang.org/x/tools/@v/v0.1.12.zip
 GO_MODULE_FILES+=      mvdan.cc/editorconfig/@v/v0.2.0.mod
 GO_MODULE_FILES+=      mvdan.cc/editorconfig/@v/v0.2.0.zip



Home | Main Index | Thread Index | Old Index