Tuesday, October 31, 2023

[maintainer update] devel/gopls 0.14.1

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/gopls/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 13 Oct 2023 16:53:42 -0000 1.3
+++ Makefile 31 Oct 2023 11:21:51 -0000
@@ -1,7 +1,7 @@
COMMENT = official Go language server developed by the Go team

MODGO_MODNAME = golang.org/x/tools/gopls
-MODGO_VERSION
= v0.13.2
+MODGO_VERSION = v0.14.1

DISTNAME = gopls-${MODGO_VERSION}

@@ -19,7 +19,15 @@ WANTLIB += c pthread

MODULES = lang/go

+# for patch to apply
+WRKDIST = ${WRKSRC}
+
+SUBST_VARS += MODGO_VERSION
+
DOCDIR = ${PREFIX}/share/doc/gopls
+
+post-patch:
+ ${SUBST_CMD} ${WRKSRC}/internal/lsp/debug/info.go

post-install:
${INSTALL_DATA_DIR} ${DOCDIR}/doc/design
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/gopls/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo 13 Oct 2023 16:53:42 -0000 1.3
+++ distinfo 31 Oct 2023 11:21:51 -0000
@@ -1,8 +1,5 @@
-SHA256 (go_modules/github.com/!burnt!sushi/toml/@v/v0.3.1.mod) = KAIbQYClnDmTYHqVsY4jDdC8a+pSQv/o6ou/tPT3tNc=
SHA256 (go_modules/github.com/!burnt!sushi/toml/@v/v1.2.1.mod) = JnfIL+dPIDdyiJpagBr7Mp2VF1UId92ssXIZFpurPt0=
SHA256 (go_modules/github.com/!burnt!sushi/toml/@v/v1.2.1.zip) = b7ZY6CYhef/TTVfq72sHayXHfoshKWWbZml83tKacSE=
-SHA256 (go_modules/github.com/client9/misspell/@v/v0.3.4.mod) = 0bw2Ld3Zb7OkPtS5Kqq3CqbH71pQDX8JVk4+skq88Lg=
-SHA256 (go_modules/github.com/client9/misspell/@v/v0.3.4.zip) = o68gY3LhMd0QporEcMZqGxjq9Rxq+stVsuKgbjm5Byg=
SHA256 (go_modules/github.com/davecgh/go-spew/@v/v1.1.0.mod) = vLKTkyUSN7eaF7bBm/KRNPQ+j0OMMZiYj81GGhzfBcw=
SHA256 (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.mod) = vLKTkyUSN7eaF7bBm/KRNPQ+j0OMMZiYj81GGhzfBcw=
SHA256 (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.zip) = a0SoQ5UfNxtwEMdU7MPKvv6BXVztHFuUCfstaX6KiQ0=
@@ -45,45 +42,43 @@ SHA256 (go_modules/github.com/stretchr/t
SHA256 (go_modules/github.com/stretchr/testify/@v/v1.4.0.zip) = BADEKrlTibtPRXe8CZF6BAqX8PQlHbKlSn9vXmUGW3M=
SHA256 (go_modules/github.com/yuin/goldmark/@v/v1.4.13.mod) = 7n/kRmIDoB06wZrcE0zeyZvG3nGZLCjz3Zp0SAv/BgM=
SHA256 (go_modules/github.com/yuin/goldmark/@v/v1.4.13.zip) = u0GmArF0NF/aOSyK2D/MkyF8KFx2NplndjC+kP63peM=
-SHA256 (go_modules/golang.org/x/exp/@v/v0.0.0-20220722155223-a9213eeb770e.mod) = KqbbzGUyHHFTSmOE7NZqsrIERkRKV3BwZjFFGY3Rnas=
-SHA256 (go_modules/golang.org/x/exp/@v/v0.0.0-20220722155223-a9213eeb770e.zip) = o+6GO16mDpfWE+IoyuZ1sYAHLRVN+jR8x6+u4xNocSM=
SHA256 (go_modules/golang.org/x/exp/typeparams/@v/v0.0.0-20221208152030-732eee02a75a.mod) = SQZPK2tZROCRvGfzTutXGbAFLfczPYiHFzXT6KwHFao=
SHA256 (go_modules/golang.org/x/exp/typeparams/@v/v0.0.0-20221212164502-fae10dda9338.mod) = SQZPK2tZROCRvGfzTutXGbAFLfczPYiHFzXT6KwHFao=
SHA256 (go_modules/golang.org/x/exp/typeparams/@v/v0.0.0-20221212164502-fae10dda9338.zip) = kGHnJiZ9+AzaxzMalJPXcORzCJoFvSwezwzwqRC5UOI=
+SHA256 (go_modules/golang.org/x/mod/@v/v0.10.0.mod) = YkVnRZxumUesSr3gtwNO5h3Ltqk3P1lwCUwLs+gSGWQ=
SHA256 (go_modules/golang.org/x/mod/@v/v0.12.0.mod) = YkVnRZxumUesSr3gtwNO5h3Ltqk3P1lwCUwLs+gSGWQ=
-SHA256 (go_modules/golang.org/x/mod/@v/v0.12.0.zip) = ebf3n2i8gt/V3l9Yxam0dQEgvBsV+yAaGfJ/HX+071U=
-SHA256 (go_modules/golang.org/x/mod/@v/v0.6.0-dev.0.20220106191415-9b9b3d81d5e3.mod) = CT1MzqEdCHW3jvAJ119ua0lGy5YRNQEqZC8SVR1ISNw=
+SHA256 (go_modules/golang.org/x/mod/@v/v0.13.0.mod) = XErAMQolMwdXA5zPOpjnX+/by31ETd0EkjAAOkSUW94=
+SHA256 (go_modules/golang.org/x/mod/@v/v0.13.0.zip) = H48DlcU3L/SbklZY4M/jooihotyRk7dmLhh/3rqcsWg=
SHA256 (go_modules/golang.org/x/mod/@v/v0.6.0-dev.0.20220419223038-86c51ed26bb4.mod) = QtGQI/+PLq5wC8VJXzcezZmKItGbqYXQr19pkAslQIM=
-SHA256 (go_modules/golang.org/x/mod/@v/v0.7.0.mod) = YkVnRZxumUesSr3gtwNO5h3Ltqk3P1lwCUwLs+gSGWQ=
SHA256 (go_modules/golang.org/x/mod/@v/v0.8.0.mod) = YkVnRZxumUesSr3gtwNO5h3Ltqk3P1lwCUwLs+gSGWQ=
-SHA256 (go_modules/golang.org/x/net/@v/v0.12.0.mod) = CBr+VirQKbz5pSjq2tofIQ11qqN7UXc+3ns+qx0rwOk=
-SHA256 (go_modules/golang.org/x/net/@v/v0.12.0.zip) = LETX9g4l4xViFDeOb81QDdt7SYcJn2e4clhktUZtm7g=
+SHA256 (go_modules/golang.org/x/net/@v/v0.16.0.mod) = y6YYS4uODVRWC/WmXxNszXanNMScBm7YA+twvQbBdpY=
+SHA256 (go_modules/golang.org/x/net/@v/v0.16.0.zip) = FLtSKaQ0fI3DLKGAPGg4kMM+5+YJ8dayVP1eZJT1d0o=
SHA256 (go_modules/golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.mod) = Qh9hOWhtWJHz3FpWPQmVeA0yefZcrU0iXOpSaGeUFhw=
SHA256 (go_modules/golang.org/x/sync/@v/v0.0.0-20220819030929-7fc1605a5dde.mod) = Qh9hOWhtWJHz3FpWPQmVeA0yefZcrU0iXOpSaGeUFhw=
-SHA256 (go_modules/golang.org/x/sync/@v/v0.1.0.mod) = Qh9hOWhtWJHz3FpWPQmVeA0yefZcrU0iXOpSaGeUFhw=
SHA256 (go_modules/golang.org/x/sync/@v/v0.3.0.mod) = 7Q/wxQgadUz8vnaMvPYMY5dbNddufXuZxayb+m2YKFE=
-SHA256 (go_modules/golang.org/x/sync/@v/v0.3.0.zip) = GHDnoZb3EZ1Mbtun3pzfxJ7hPIy3kh86lHVoFxxhUuA=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20211019181941-9d821ace8654.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
+SHA256 (go_modules/golang.org/x/sync/@v/v0.4.0.mod) = 7Q/wxQgadUz8vnaMvPYMY5dbNddufXuZxayb+m2YKFE=
+SHA256 (go_modules/golang.org/x/sync/@v/v0.4.0.zip) = d8XZxIuhxEAGDIfZobZ/LvUhaZQijhStP8/i3Zs/ITQ=
SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220829200755-d48e67d00261.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.10.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.10.0.zip) = 31J9Nlf5nYZIjJSz9f0kc557FI0BnNcpVEYiQ+CvMvY=
-SHA256 (go_modules/golang.org/x/sys/@v/v0.3.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.11.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.13.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.13.0.zip) = PRSa/Jk5mANUN0wNR0Ydzb0dOYDrL3fmAwSyP+5vPTc=
SHA256 (go_modules/golang.org/x/sys/@v/v0.5.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
-SHA256 (go_modules/golang.org/x/text/@v/v0.11.0.mod) = FR5qGDlJHEtQ3+nDNFHwYyjVUYvY7koAYd4Ct60zL7I=
-SHA256 (go_modules/golang.org/x/text/@v/v0.11.0.zip) = YvTCT/Fq4W3avykOFsiWceskyu7IG/rIgTTAHTz3V6g=
+SHA256 (go_modules/golang.org/x/sys/@v/v0.8.0.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
+SHA256 (go_modules/golang.org/x/telemetry/@v/v0.0.0-20231011160506-788d5629a052.mod) = 553PDnTfZcPTo2PrSyeKAXG8FEVrjp4fSLNolMi//Og=
+SHA256 (go_modules/golang.org/x/telemetry/@v/v0.0.0-20231011160506-788d5629a052.zip) = Z3HndZC72/+QrHGwlhQGV7/fIg3sXUlOHVNFfQFo4hc=
+SHA256 (go_modules/golang.org/x/text/@v/v0.13.0.mod) = FR5qGDlJHEtQ3+nDNFHwYyjVUYvY7koAYd4Ct60zL7I=
+SHA256 (go_modules/golang.org/x/text/@v/v0.13.0.zip) = 7VRPsBfpZ8BTiS33sGhhL85we6MrV/NYJMsEHjHGrg8=
SHA256 (go_modules/golang.org/x/text/@v/v0.3.3.mod) = +7eojtFAUV55Dsp6EP/TGcl4axHGpsfln4D3+ze7RUI=
SHA256 (go_modules/golang.org/x/tools/@v/v0.0.0-20180917221912-90fa682c2a6e.mod) = oOAvBnj+Ytw8S0vHf6kSybcN4Q+p988veq0DNzkrUq8=
-SHA256 (go_modules/golang.org/x/tools/@v/v0.1.10.mod) = c79ozX27JXU1ZYr+cyIARFoMm2RO95kQZnfLzRNvqqk=
SHA256 (go_modules/golang.org/x/tools/@v/v0.1.12.mod) = KouTZYmPCCL6zmW6CJoTU+aKZdNC8wDKMXzOzN5kIfM=
-SHA256 (go_modules/golang.org/x/tools/@v/v0.11.2-0.20230810185051-cc6b5804b8cf.mod) = Id7Y/+5V57U/lcbMdix5dZCZi+TrdeZJVQn5BvrOFtY=
-SHA256 (go_modules/golang.org/x/tools/@v/v0.11.2-0.20230810185051-cc6b5804b8cf.zip) = +yEC4mvomxOAeGgKExtMd2NvZxkAKJBKjF56DxeOKlw=
-SHA256 (go_modules/golang.org/x/tools/@v/v0.4.1-0.20221208213631-3f74d914ae6d.mod) = HQUCo4MefhUN202B8YA67XXmJEpkIgkJwzeIgItr2A8=
-SHA256 (go_modules/golang.org/x/tools/@v/v0.4.1-0.20221217013628-b4dfc36097e2.mod) = HQUCo4MefhUN202B8YA67XXmJEpkIgkJwzeIgItr2A8=
+SHA256 (go_modules/golang.org/x/tools/@v/v0.12.1-0.20230815132531-74c255bcf846.mod) = 8ntM++BBE9T76CEuqUR3Q/vRDuxPOYipcdWhwKK6Crs=
+SHA256 (go_modules/golang.org/x/tools/@v/v0.13.0.mod) = FCs0FrAOghO0CeJ5pDS5emzglTHJFMG0cXh4FX1Xmj8=
+SHA256 (go_modules/golang.org/x/tools/@v/v0.14.1-0.20231026192422-8b5abd452b28.mod) = pdITAroFd4OVj1r/cpV+0ovqJT4vcH8bQqI98jt+CD8=
+SHA256 (go_modules/golang.org/x/tools/@v/v0.14.1-0.20231026192422-8b5abd452b28.zip) = WV2TgIGplq2PKPsScUCIkBm5Y+G0+Zgf9VA4d5mHiwU=
SHA256 (go_modules/golang.org/x/tools/@v/v0.6.0.mod) = gw7Xjc0+mSfEEuJkEjAwhEd0nVE9MQJNJ24kQ7IBZgk=
-SHA256 (go_modules/golang.org/x/vuln/@v/v0.0.0-20230110180137-6ad3e3d07815.mod) = E4YWmpZ3F7/xzpjJvdMwflptR+6gv3104pdtoxB48vk=
-SHA256 (go_modules/golang.org/x/vuln/@v/v0.0.0-20230110180137-6ad3e3d07815.zip) = LDTUo/ihccCb/WyJi48iPYl0Y65ukckQR8ICUvhx0go=
-SHA256 (go_modules/golang.org/x/xerrors/@v/v0.0.0-20200804184101-5ec99f83aff1.mod) = ql4+ybt7n2gWCe+sAZ2d4ae6dxkkj/Hqon54iC2z1/U=
-SHA256 (go_modules/golang.org/x/xerrors/@v/v0.0.0-20200804184101-5ec99f83aff1.zip) = OAqqM2iuFlYou0h89OaVpVwUIAcri3pvWcEi9qI7slU=
+SHA256 (go_modules/golang.org/x/tools/@v/v0.9.4-0.20230601214343-86c93e8732cc.mod) = FBIGSEXOBF727VKe3jyzqLyO1KKnwrfU+WeAfXyVhVE=
+SHA256 (go_modules/golang.org/x/vuln/@v/v1.0.1.mod) = SeGrgKrGADpn8mJTvUItgIa6TUOiI0YxwAjWkiMKVa8=
+SHA256 (go_modules/golang.org/x/vuln/@v/v1.0.1.zip) = Iq2ydiXs0Ru7VpUDRHWse4q7bo5LIyiNaCEiL+xnUL8=
SHA256 (go_modules/gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.mod) = XDBuDWM81moRtA4uX7vG2kIRDbfXLqPBUkzrRe5Awz8=
SHA256 (go_modules/gopkg.in/check.v1/@v/v1.0.0-20180628173108-788fd7840127.mod) = XDBuDWM81moRtA4uX7vG2kIRDbfXLqPBUkzrRe5Awz8=
SHA256 (go_modules/gopkg.in/check.v1/@v/v1.0.0-20190902080502-41f04d3bba15.mod) = XDBuDWM81moRtA4uX7vG2kIRDbfXLqPBUkzrRe5Awz8=
@@ -95,21 +90,17 @@ SHA256 (go_modules/gopkg.in/yaml.v2/@v/v
SHA256 (go_modules/gopkg.in/yaml.v2/@v/v2.2.4.zip) = gVvnhWSa4hi1Hv2OQLO3Xej5tX3UMWI4b/4+dnCfKl0=
SHA256 (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.mod) = IVeYYKIDBvz0OxvSNNH7oxlJnHdhG3HAX5vzupDauTk=
SHA256 (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.zip) = qrj7xOYwDqCOav4crqGKIckMefSJ9SxT4vIEMfGpoBU=
-SHA256 (go_modules/honnef.co/go/tools/@v/v0.2.2.mod) = 9E+/5ksuwuadCT2x3AuYEfZKKIQHEUR5+SRp2qryCfk=
-SHA256 (go_modules/honnef.co/go/tools/@v/v0.4.2.mod) = IzCGio9Jb2MGa5JWVqegfK+ghXaM0KRpHe33a8eqWdw=
-SHA256 (go_modules/honnef.co/go/tools/@v/v0.4.2.zip) = JiaBVSBQLMGOlg223l3fM9Ekrn8cmjedRF6jZCdldTk=
+SHA256 (go_modules/honnef.co/go/tools/@v/v0.4.5.mod) = 8EZXGizQukzB9MFv+UsOczezyecdQrnI9/C9DKmD4Us=
+SHA256 (go_modules/honnef.co/go/tools/@v/v0.4.5.zip) = P3wmaoMPOgcnrAuFzXzXSnZcBdM31zryCQYhnxpOxMM=
SHA256 (go_modules/mvdan.cc/gofumpt/@v/v0.4.0.mod) = iA+hDayPAZ7egw8wM61n8loFIcZAyC2tBXjhGxwC+PA=
SHA256 (go_modules/mvdan.cc/gofumpt/@v/v0.4.0.zip) = lMfK/NbpDats9v5A0fmTC+NQrxgRbgA1sLcl0BP3cX8=
-SHA256 (go_modules/mvdan.cc/unparam/@v/v0.0.0-20211214103731-d0ef000c54e5.mod) = XYvYlrB6F6aXutS1+ARFUon6OnOhF/0Py9iGFJJwb+0=
-SHA256 (go_modules/mvdan.cc/unparam/@v/v0.0.0-20211214103731-d0ef000c54e5.zip) = qr8FBOW0Bnhdr9xPH2NT3FTWZzrMefnXAcnCEvD/yII=
+SHA256 (go_modules/mvdan.cc/unparam/@v/v0.0.0-20230312165513-e84e2d14e3b8.mod) = E81S/hemZBhBGnzO7Q3alTRpsTUnMWa33UzUxJqMNlg=
+SHA256 (go_modules/mvdan.cc/unparam/@v/v0.0.0-20230312165513-e84e2d14e3b8.zip) = m1xb4Hh4qr/7KDXx3UhPUC/y64MhLl7fxmYXlz55hio=
SHA256 (go_modules/mvdan.cc/xurls/v2/@v/v2.4.0.mod) = UQLzum/3TOYMtDaLimDy1rPJH7u+3kQQNDoSKykQK90=
SHA256 (go_modules/mvdan.cc/xurls/v2/@v/v2.4.0.zip) = +bXkr4rF+WibYqbLweRgrHQoI2xJFcLT0IzRdVPA0To=
-SHA256 (gopls-v0.13.2.zip) = +3qgitZ/zwWlIoc4gvNFOquThgfhoPTa2jJPIaA2uwU=
-SIZE (go_modules/github.com/!burnt!sushi/toml/@v/v0.3.1.mod) = 34
+SHA256 (gopls-v0.14.1.zip) = yllYAHMuT+9U2lXWC9XPIqu+gVvNPydoYoCPbohg0KY=
SIZE (go_modules/github.com/!burnt!sushi/toml/@v/v1.2.1.mod) = 43
SIZE (go_modules/github.com/!burnt!sushi/toml/@v/v1.2.1.zip) = 238822
-SIZE (go_modules/github.com/client9/misspell/@v/v0.3.4.mod) = 35
-SIZE (go_modules/github.com/client9/misspell/@v/v0.3.4.zip) = 246908
SIZE (go_modules/github.com/davecgh/go-spew/@v/v1.1.0.mod) = 34
SIZE (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.mod) = 34
SIZE (go_modules/github.com/davecgh/go-spew/@v/v1.1.1.zip) = 60320
@@ -152,45 +143,43 @@ SIZE (go_modules/github.com/stretchr/tes
SIZE (go_modules/github.com/stretchr/testify/@v/v1.4.0.zip) = 90474
SIZE (go_modules/github.com/yuin/goldmark/@v/v1.4.13.mod) = 41
SIZE (go_modules/github.com/yuin/goldmark/@v/v1.4.13.zip) = 229017
-SIZE (go_modules/golang.org/x/exp/@v/v0.0.0-20220722155223-a9213eeb770e.mod) = 325
-SIZE (go_modules/golang.org/x/exp/@v/v0.0.0-20220722155223-a9213eeb770e.zip) = 365042
SIZE (go_modules/golang.org/x/exp/typeparams/@v/v0.0.0-20221208152030-732eee02a75a.mod) = 44
SIZE (go_modules/golang.org/x/exp/typeparams/@v/v0.0.0-20221212164502-fae10dda9338.mod) = 44
SIZE (go_modules/golang.org/x/exp/typeparams/@v/v0.0.0-20221212164502-fae10dda9338.zip) = 47479
+SIZE (go_modules/golang.org/x/mod/@v/v0.10.0.mod) = 84
SIZE (go_modules/golang.org/x/mod/@v/v0.12.0.mod) = 84
-SIZE (go_modules/golang.org/x/mod/@v/v0.12.0.zip) = 166176
-SIZE (go_modules/golang.org/x/mod/@v/v0.6.0-dev.0.20220106191415-9b9b3d81d5e3.mod) = 214
+SIZE (go_modules/golang.org/x/mod/@v/v0.13.0.mod) = 84
+SIZE (go_modules/golang.org/x/mod/@v/v0.13.0.zip) = 165088
SIZE (go_modules/golang.org/x/mod/@v/v0.6.0-dev.0.20220419223038-86c51ed26bb4.mod) = 157
-SIZE (go_modules/golang.org/x/mod/@v/v0.7.0.mod) = 84
SIZE (go_modules/golang.org/x/mod/@v/v0.8.0.mod) = 84
-SIZE (go_modules/golang.org/x/net/@v/v0.12.0.mod) = 155
-SIZE (go_modules/golang.org/x/net/@v/v0.12.0.zip) = 1712326
+SIZE (go_modules/golang.org/x/net/@v/v0.16.0.mod) = 155
+SIZE (go_modules/golang.org/x/net/@v/v0.16.0.zip) = 1823713
SIZE (go_modules/golang.org/x/sync/@v/v0.0.0-20210220032951-036812b2e83c.mod) = 25
SIZE (go_modules/golang.org/x/sync/@v/v0.0.0-20220819030929-7fc1605a5dde.mod) = 25
-SIZE (go_modules/golang.org/x/sync/@v/v0.1.0.mod) = 25
SIZE (go_modules/golang.org/x/sync/@v/v0.3.0.mod) = 34
-SIZE (go_modules/golang.org/x/sync/@v/v0.3.0.zip) = 29766
-SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20211019181941-9d821ace8654.mod) = 33
+SIZE (go_modules/golang.org/x/sync/@v/v0.4.0.mod) = 34
+SIZE (go_modules/golang.org/x/sync/@v/v0.4.0.zip) = 30186
SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220829200755-d48e67d00261.mod) = 33
-SIZE (go_modules/golang.org/x/sys/@v/v0.10.0.mod) = 33
-SIZE (go_modules/golang.org/x/sys/@v/v0.10.0.zip) = 1902132
-SIZE (go_modules/golang.org/x/sys/@v/v0.3.0.mod) = 33
+SIZE (go_modules/golang.org/x/sys/@v/v0.11.0.mod) = 33
+SIZE (go_modules/golang.org/x/sys/@v/v0.13.0.mod) = 33
+SIZE (go_modules/golang.org/x/sys/@v/v0.13.0.zip) = 1901653
SIZE (go_modules/golang.org/x/sys/@v/v0.5.0.mod) = 33
-SIZE (go_modules/golang.org/x/text/@v/v0.11.0.mod) = 197
-SIZE (go_modules/golang.org/x/text/@v/v0.11.0.zip) = 9237183
+SIZE (go_modules/golang.org/x/sys/@v/v0.8.0.mod) = 33
+SIZE (go_modules/golang.org/x/telemetry/@v/v0.0.0-20231011160506-788d5629a052.mod) = 107
+SIZE (go_modules/golang.org/x/telemetry/@v/v0.0.0-20231011160506-788d5629a052.zip) = 930727
+SIZE (go_modules/golang.org/x/text/@v/v0.13.0.mod) = 197
+SIZE (go_modules/golang.org/x/text/@v/v0.13.0.zip) = 9237329
SIZE (go_modules/golang.org/x/text/@v/v0.3.3.mod) = 97
SIZE (go_modules/golang.org/x/tools/@v/v0.0.0-20180917221912-90fa682c2a6e.mod) = 26
-SIZE (go_modules/golang.org/x/tools/@v/v0.1.10.mod) = 383
SIZE (go_modules/golang.org/x/tools/@v/v0.1.12.mod) = 327
-SIZE (go_modules/golang.org/x/tools/@v/v0.11.2-0.20230810185051-cc6b5804b8cf.mod) = 214
-SIZE (go_modules/golang.org/x/tools/@v/v0.11.2-0.20230810185051-cc6b5804b8cf.zip) = 3111012
-SIZE (go_modules/golang.org/x/tools/@v/v0.4.1-0.20221208213631-3f74d914ae6d.mod) = 211
-SIZE (go_modules/golang.org/x/tools/@v/v0.4.1-0.20221217013628-b4dfc36097e2.mod) = 211
+SIZE (go_modules/golang.org/x/tools/@v/v0.12.1-0.20230815132531-74c255bcf846.mod) = 214
+SIZE (go_modules/golang.org/x/tools/@v/v0.13.0.mod) = 214
+SIZE (go_modules/golang.org/x/tools/@v/v0.14.1-0.20231026192422-8b5abd452b28.mod) = 194
+SIZE (go_modules/golang.org/x/tools/@v/v0.14.1-0.20231026192422-8b5abd452b28.zip) = 3236948
SIZE (go_modules/golang.org/x/tools/@v/v0.6.0.mod) = 211
-SIZE (go_modules/golang.org/x/vuln/@v/v0.0.0-20230110180137-6ad3e3d07815.mod) = 568
-SIZE (go_modules/golang.org/x/vuln/@v/v0.0.0-20230110180137-6ad3e3d07815.zip) = 313451
-SIZE (go_modules/golang.org/x/xerrors/@v/v0.0.0-20200804184101-5ec99f83aff1.mod) = 37
-SIZE (go_modules/golang.org/x/xerrors/@v/v0.0.0-20200804184101-5ec99f83aff1.zip) = 22295
+SIZE (go_modules/golang.org/x/tools/@v/v0.9.4-0.20230601214343-86c93e8732cc.mod) = 213
+SIZE (go_modules/golang.org/x/vuln/@v/v1.0.1.mod) = 408
+SIZE (go_modules/golang.org/x/vuln/@v/v1.0.1.zip) = 369631
SIZE (go_modules/gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.mod) = 25
SIZE (go_modules/gopkg.in/check.v1/@v/v1.0.0-20180628173108-788fd7840127.mod) = 25
SIZE (go_modules/gopkg.in/check.v1/@v/v1.0.0-20190902080502-41f04d3bba15.mod) = 25
@@ -202,13 +191,12 @@ SIZE (go_modules/gopkg.in/yaml.v2/@v/v2.
SIZE (go_modules/gopkg.in/yaml.v2/@v/v2.2.4.zip) = 80160
SIZE (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.mod) = 95
SIZE (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.zip) = 104623
-SIZE (go_modules/honnef.co/go/tools/@v/v0.2.2.mod) = 110
-SIZE (go_modules/honnef.co/go/tools/@v/v0.4.2.mod) = 274
-SIZE (go_modules/honnef.co/go/tools/@v/v0.4.2.zip) = 782721
+SIZE (go_modules/honnef.co/go/tools/@v/v0.4.5.mod) = 275
+SIZE (go_modules/honnef.co/go/tools/@v/v0.4.5.zip) = 784705
SIZE (go_modules/mvdan.cc/gofumpt/@v/v0.4.0.mod) = 513
SIZE (go_modules/mvdan.cc/gofumpt/@v/v0.4.0.zip) = 60554
-SIZE (go_modules/mvdan.cc/unparam/@v/v0.0.0-20211214103731-d0ef000c54e5.mod) = 244
-SIZE (go_modules/mvdan.cc/unparam/@v/v0.0.0-20211214103731-d0ef000c54e5.zip) = 28548
+SIZE (go_modules/mvdan.cc/unparam/@v/v0.0.0-20230312165513-e84e2d14e3b8.mod) = 268
+SIZE (go_modules/mvdan.cc/unparam/@v/v0.0.0-20230312165513-e84e2d14e3b8.zip) = 28985
SIZE (go_modules/mvdan.cc/xurls/v2/@v/v2.4.0.mod) = 141
SIZE (go_modules/mvdan.cc/xurls/v2/@v/v2.4.0.zip) = 32261
-SIZE (gopls-v0.13.2.zip) = 1509456
+SIZE (gopls-v0.14.1.zip) = 1600818
Index: modules.inc
===================================================================
RCS file: /cvs/ports/devel/gopls/modules.inc,v
retrieving revision 1.3
diff -u -p -r1.3 modules.inc
--- modules.inc 13 Oct 2023 16:53:42 -0000 1.3
+++ modules.inc 31 Oct 2023 11:21:51 -0000
@@ -1,6 +1,5 @@
MODGO_MODULES = \
github.com/!burnt!sushi/toml v1.2.1 \
- github.com/client9/misspell v0.3.4 \
github.com/davecgh/go-spew v1.1.1 \
github.com/frankban/quicktest v1.14.3 \
github.com/google/go-cmdtest v0.4.1-0.20220921163831-55ab3332a786 \
@@ -19,27 +18,25 @@ MODGO_MODULES = \
github.com/stretchr/objx v0.1.0 \
github.com/stretchr/testify v1.4.0 \
github.com/yuin/goldmark v1.4.13 \
- golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e \
golang.org/x/exp/typeparams v0.0.0-20221212164502-fae10dda9338 \
- golang.org/x/mod v0.12.0 \
- golang.org/x/net v0.12.0 \
- golang.org/x/sync v0.3.0 \
- golang.org/x/sys v0.10.0 \
- golang.org/x/text v0.11.0 \
- golang.org/x/tools v0.11.2-0.20230810185051-cc6b5804b8cf \
- golang.org/x/vuln v0.0.0-20230110180137-6ad3e3d07815 \
- golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 \
+ golang.org/x/mod v0.13.0 \
+ golang.org/x/net v0.16.0 \
+ golang.org/x/sync v0.4.0 \
+ golang.org/x/sys v0.13.0 \
+ golang.org/x/telemetry v0.0.0-20231011160506-788d5629a052 \
+ golang.org/x/text v0.13.0 \
+ golang.org/x/tools v0.14.1-0.20231026192422-8b5abd452b28 \
+ golang.org/x/vuln v1.0.1 \
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 \
gopkg.in/errgo.v2 v2.1.0 \
gopkg.in/yaml.v2 v2.2.4 \
gopkg.in/yaml.v3 v3.0.1 \
- honnef.co/go/tools v0.4.2 \
+ honnef.co/go/tools v0.4.5 \
mvdan.cc/gofumpt v0.4.0 \
- mvdan.cc/unparam v0.0.0-20211214103731-d0ef000c54e5 \
+ mvdan.cc/unparam v0.0.0-20230312165513-e84e2d14e3b8 \
mvdan.cc/xurls/v2 v2.4.0

MODGO_MODFILES = \
- github.com/!burnt!sushi/toml v0.3.1 \
github.com/davecgh/go-spew v1.1.0 \
github.com/google/go-cmp v0.5.8 \
github.com/google/safehtml v0.0.2 \
@@ -47,26 +44,25 @@ MODGO_MODFILES = \
github.com/kr/text v0.1.0 \
github.com/rogpeppe/go-internal v1.8.1 \
golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a \
- golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 \
+ golang.org/x/mod v0.10.0 \
+ golang.org/x/mod v0.12.0 \
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 \
- golang.org/x/mod v0.7.0 \
golang.org/x/mod v0.8.0 \
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c \
golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde \
- golang.org/x/sync v0.1.0 \
- golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 \
+ golang.org/x/sync v0.3.0 \
golang.org/x/sys v0.0.0-20220829200755-d48e67d00261 \
- golang.org/x/sys v0.3.0 \
+ golang.org/x/sys v0.11.0 \
golang.org/x/sys v0.5.0 \
+ golang.org/x/sys v0.8.0 \
golang.org/x/text v0.3.3 \
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e \
- golang.org/x/tools v0.1.10 \
golang.org/x/tools v0.1.12 \
- golang.org/x/tools v0.4.1-0.20221208213631-3f74d914ae6d \
- golang.org/x/tools v0.4.1-0.20221217013628-b4dfc36097e2 \
+ golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 \
+ golang.org/x/tools v0.13.0 \
golang.org/x/tools v0.6.0 \
+ golang.org/x/tools v0.9.4-0.20230601214343-86c93e8732cc \
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 \
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 \
- gopkg.in/yaml.v2 v2.2.2 \
- honnef.co/go/tools v0.2.2
+ gopkg.in/yaml.v2 v2.2.2

Index: patches/patch-internal_lsp_debug_info_go
===================================================================
RCS file: patches/patch-internal_lsp_debug_info_go
diff -N patches/patch-internal_lsp_debug_info_go
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-internal_lsp_debug_info_go 31 Oct 2023 11:21:51 -0000
@@ -0,0 +1,21 @@
+Fix internal version for 'gopls version' infos
+For version<0.14.0, string Version was hard-coded in internal/lsp/debug/info.go
+See https://github.com/golang/tools/commit/c28af0abbd9a213421dca5a03f6de8c93830263a
+
+Index: internal/lsp/debug/info.go
+--- internal/lsp/debug/info.go.orig
++++ internal/lsp/debug/info.go
+@@ -31,12 +31,7 @@ const (
+
+ // Version is a manually-updated mechanism for tracking versions.
+ func Version() string {
+- if info, ok := debug.ReadBuildInfo(); ok {
+- if info.Main.Version != "" {
+- return info.Main.Version
+- }
+- }
+- return "(unknown)"
++ return "${MODGO_VERSION}"
+ }
+
+ // ServerVersion is the format used by gopls to report its version to the
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/gopls/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 25 Jan 2023 19:42:01 -0000 1.1.1.1
+++ pkg/PLIST 31 Oct 2023 11:21:51 -0000
@@ -16,6 +16,7 @@ share/doc/gopls/doc/design/integrating.m
share/doc/gopls/doc/emacs.md
share/doc/gopls/doc/features.md
share/doc/gopls/doc/inlayHints.md
+share/doc/gopls/doc/refactor-inline.md
share/doc/gopls/doc/releases.md
share/doc/gopls/doc/semantictokens.md
share/doc/gopls/doc/settings.md
Hi,

update for devel/gopls v0.14.1 (LSP server for Golang)
Changelog: https://github.com/golang/tools/releases/tag/gopls%2Fv0.14.1

- update Makefile, modules.inc, distinfo and pkg/PLIST for this version
- add a patch to fix internal version (replace by MODGO_VERSION with post-patch)

Build and tests OK on current/amd64 with Go 1.21.3
Functional tests OK with my Neovim editor and lspconfig Lua plugin => code completion, diags for Go code.

Tests/comments welcome and please commit if OK.

Laurent

No comments:

Post a Comment