git: 34fefd52205c - main - deskutils/pet: Simplify port by using GO_MODULE

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 03 Feb 2024 07:52:59 UTC
The branch main has been updated by yuri:

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

commit 34fefd52205ce5177689c0a980ff57ac55d916f9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-02-03 07:34:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-02-03 07:52:50 +0000

    deskutils/pet: Simplify port by using GO_MODULE
---
 deskutils/pet/Makefile | 38 +++------------------------
 deskutils/pet/distinfo | 70 ++++----------------------------------------------
 2 files changed, 8 insertions(+), 100 deletions(-)

diff --git a/deskutils/pet/Makefile b/deskutils/pet/Makefile
index 4bf595701e98..f5d215d0ee56 100644
--- a/deskutils/pet/Makefile
+++ b/deskutils/pet/Makefile
@@ -11,41 +11,9 @@ WWW=		https://github.com/knqyf263/pet
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules
-USE_GITHUB=	yes
-GH_ACCOUNT=	knqyf263
-GH_TUPLE=	\
-		BurntSushi:toml:v0.3.0:burntsushi_toml/vendor/github.com/BurntSushi/toml \
-		alessio:shellescape:52074bc9df61:alessio_shellescape_1/vendor/gopkg.in/alessio/shellescape.v1 \
-		alessio:shellescape:v1.4.1:alessio_shellescape/vendor/github.com/alessio/shellescape \
-		atotto:clipboard:v0.1.4:atotto_clipboard/vendor/github.com/atotto/clipboard \
-		briandowns:spinner:48dbb65d7bd5:briandowns_spinner/vendor/github.com/briandowns/spinner \
-		chzyer:logex:v1.1.10:chzyer_logex/vendor/github.com/chzyer/logex \
-		chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/readline \
-		chzyer:test:061457976a23:chzyer_test/vendor/github.com/chzyer/test \
-		fatih:color:v1.7.0:fatih_color/vendor/github.com/fatih/color \
-		golang:appengine:v1.3.0:golang_appengine/vendor/google.golang.org/appengine \
-		golang:crypto:75b288015ac9:golang_crypto/vendor/golang.org/x/crypto \
-		golang:net:f5854403a974:golang_net/vendor/golang.org/x/net \
-		golang:oauth2:f42d05182288:golang_oauth2/vendor/golang.org/x/oauth2 \
-		golang:protobuf:v1.2.0:golang_protobuf/vendor/github.com/golang/protobuf \
-		golang:sync:036812b2e83c:golang_sync/vendor/golang.org/x/sync \
-		golang:sys:0a5406a5449c:golang_sys/vendor/golang.org/x/sys \
-		golang:time:555d28b269f0:golang_time/vendor/golang.org/x/time \
-		google:go-github:v15.0.0:google_go_github/vendor/github.com/google/go-github \
-		google:go-querystring:v1.0.0:google_go_querystring/vendor/github.com/google/go-querystring \
-		hashicorp:go-cleanhttp:v0.5.1:hashicorp_go_cleanhttp/vendor/github.com/hashicorp/go-cleanhttp \
-		hashicorp:go-retryablehttp:v0.6.8:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \
-		inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
-		jroimartin:gocui:v0.4.0:jroimartin_gocui/vendor/github.com/jroimartin/gocui \
-		mattn:go-colorable:v0.0.9:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
-		mattn:go-isatty:v0.0.3:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
-		mattn:go-runewidth:v0.0.2:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
-		nsf:termbox-go:21a4d435a862:nsf_termbox_go/vendor/github.com/nsf/termbox-go \
-		pkg:errors:v0.8.0:pkg_errors/vendor/github.com/pkg/errors \
-		spf13:cobra:v0.0.3:spf13_cobra/vendor/github.com/spf13/cobra \
-		spf13:pflag:v1.0.1:spf13_pflag/vendor/github.com/spf13/pflag \
-		xanzy:go-gitlab:v0.50.3:xanzy_go_gitlab/vendor/github.com/xanzy/go-gitlab
+USES=		go:1.20,modules
+
+GO_MODULE=	github.com/knqyf263/pet
 
 PLIST_FILES=	bin/${PORTNAME}
 
diff --git a/deskutils/pet/distinfo b/deskutils/pet/distinfo
index 2b1062e61d49..228cf31c5459 100644
--- a/deskutils/pet/distinfo
+++ b/deskutils/pet/distinfo
@@ -1,65 +1,5 @@
-TIMESTAMP = 1685316829
-SHA256 (knqyf263-pet-v0.5.0_GH0.tar.gz) = 06e2134b93e2aeeabc6252ba4fbed00b34880f8a9163a86972f8515f0147ae08
-SIZE (knqyf263-pet-v0.5.0_GH0.tar.gz) = 2742760
-SHA256 (BurntSushi-toml-v0.3.0_GH0.tar.gz) = 2c49390424cfb043f803977bce80b1504495bada54f9e845ff8b30a05fab9a36
-SIZE (BurntSushi-toml-v0.3.0_GH0.tar.gz) = 41554
-SHA256 (alessio-shellescape-52074bc9df61_GH0.tar.gz) = b90692348c781595727df18c086b85b5f6a9000797992e43a28d556b2af377a0
-SIZE (alessio-shellescape-52074bc9df61_GH0.tar.gz) = 2965
-SHA256 (alessio-shellescape-v1.4.1_GH0.tar.gz) = ba08ce6af01fed809528363efdfa735c52770a9f0d550ea7a9ba6aebf0c7076a
-SIZE (alessio-shellescape-v1.4.1_GH0.tar.gz) = 7547
-SHA256 (atotto-clipboard-v0.1.4_GH0.tar.gz) = cafd64dc78f293c1e774386186f3f817461a1a8940ef86d5d9e9524b58aa791e
-SIZE (atotto-clipboard-v0.1.4_GH0.tar.gz) = 5017
-SHA256 (briandowns-spinner-48dbb65d7bd5_GH0.tar.gz) = 427e444a166c0db833cc469b8890946c5a6a5fa5604ad28da0366b90b0bb4654
-SIZE (briandowns-spinner-48dbb65d7bd5_GH0.tar.gz) = 11663
-SHA256 (chzyer-logex-v1.1.10_GH0.tar.gz) = 578a6e2cc10cd9e188b9edbd9dfb762dae7d49e47c4f46637e6c7626641a5cef
-SIZE (chzyer-logex-v1.1.10_GH0.tar.gz) = 4343
-SHA256 (chzyer-readline-2972be24d48e_GH0.tar.gz) = 8f425cfb33fce61a137866c0a88117c68f49de79a61a341353fc97339c6b74da
-SIZE (chzyer-readline-2972be24d48e_GH0.tar.gz) = 36825
-SHA256 (chzyer-test-061457976a23_GH0.tar.gz) = 7c78e5b6d6a732284ede94dbc090c3cb16512d299c05661200cd55ee62e514ee
-SIZE (chzyer-test-061457976a23_GH0.tar.gz) = 4241
-SHA256 (fatih-color-v1.7.0_GH0.tar.gz) = 4650d7aa3feed266fc85d91dc34ca9cffdf7ee03ea29bf2cbf84bbecc75fb755
-SIZE (fatih-color-v1.7.0_GH0.tar.gz) = 816449
-SHA256 (golang-appengine-v1.3.0_GH0.tar.gz) = 95ba88192b1ede71b0b32edef442bef026333cb1e3172fe8bb64c92d19d593be
-SIZE (golang-appengine-v1.3.0_GH0.tar.gz) = 323617
-SHA256 (golang-crypto-75b288015ac9_GH0.tar.gz) = 6e74e21bf9dfdbf0a8dac8cb205fbc3bfd8dff308a24080b9d6093a3858f0db2
-SIZE (golang-crypto-75b288015ac9_GH0.tar.gz) = 1729931
-SHA256 (golang-net-f5854403a974_GH0.tar.gz) = 75e94d61e00b4aec6b7baea0927e51a92239caf876214f45394258855c73f92f
-SIZE (golang-net-f5854403a974_GH0.tar.gz) = 1178323
-SHA256 (golang-oauth2-f42d05182288_GH0.tar.gz) = 43de8198f861949f925c870c68c26b648cbf55ce1cf62ea964616bc0305561e7
-SIZE (golang-oauth2-f42d05182288_GH0.tar.gz) = 43233
-SHA256 (golang-protobuf-v1.2.0_GH0.tar.gz) = 157a148ae4e132eb169ec794b6cb43f1002780eeacaea8b0694811d1948fb1ec
-SIZE (golang-protobuf-v1.2.0_GH0.tar.gz) = 332565
-SHA256 (golang-sync-036812b2e83c_GH0.tar.gz) = 75ac8fc16bdceb2496c4a9cc98584b70c29032d91a9e57a624acb073e3232fda
-SIZE (golang-sync-036812b2e83c_GH0.tar.gz) = 18752
-SHA256 (golang-sys-0a5406a5449c_GH0.tar.gz) = 9b5a0f119e6739fa4c131c374bb80d4e73e2e741da84439ce05c8703f416b177
-SIZE (golang-sys-0a5406a5449c_GH0.tar.gz) = 1224892
-SHA256 (golang-time-555d28b269f0_GH0.tar.gz) = 8ce368da65025dad4e4ed302a5835e2b3579f3a111721f9b275803519a5d10b3
-SIZE (golang-time-555d28b269f0_GH0.tar.gz) = 9577
-SHA256 (google-go-github-v15.0.0_GH0.tar.gz) = b567899f55ff36e5795bc40959417c93a2354c3f4adc30fcffcbc8686c3a6529
-SIZE (google-go-github-v15.0.0_GH0.tar.gz) = 195725
-SHA256 (google-go-querystring-v1.0.0_GH0.tar.gz) = 59fdfd4d740c85c60c35d3e09b587cfa2b435e78178ac4a23950afbece7118ed
-SIZE (google-go-querystring-v1.0.0_GH0.tar.gz) = 7529
-SHA256 (hashicorp-go-cleanhttp-v0.5.1_GH0.tar.gz) = 24dedefe5edc4698dfa7e15a472369078a3447e8096e6d856549341c873c4a0b
-SIZE (hashicorp-go-cleanhttp-v0.5.1_GH0.tar.gz) = 8069
-SHA256 (hashicorp-go-retryablehttp-v0.6.8_GH0.tar.gz) = 41b1b24b2c15373747737205abb84c309ca8c4762c7fc65749e6c9f558ec3590
-SIZE (hashicorp-go-retryablehttp-v0.6.8_GH0.tar.gz) = 20322
-SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6
-SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290
-SHA256 (jroimartin-gocui-v0.4.0_GH0.tar.gz) = 7dbb46356f9eee2d52c68cf664f9527cb7b84e746e61cc9000566a0b9eec8dec
-SIZE (jroimartin-gocui-v0.4.0_GH0.tar.gz) = 28376
-SHA256 (mattn-go-colorable-v0.0.9_GH0.tar.gz) = 703db7bd13f84446bb06a7f075cf6b21d65b828cd6831dc9069e28b564bdfb87
-SIZE (mattn-go-colorable-v0.0.9_GH0.tar.gz) = 7593
-SHA256 (mattn-go-isatty-v0.0.3_GH0.tar.gz) = daf68970a6506650b05bac72082865f88d582ecdb74418b95ac5621d5392b633
-SIZE (mattn-go-isatty-v0.0.3_GH0.tar.gz) = 3364
-SHA256 (mattn-go-runewidth-v0.0.2_GH0.tar.gz) = 6c7734401fdf829af4f35a5af21a54548f7d3a68336940fb550178ddfe95b076
-SIZE (mattn-go-runewidth-v0.0.2_GH0.tar.gz) = 22367
-SHA256 (nsf-termbox-go-21a4d435a862_GH0.tar.gz) = f01f570a3c128dd2534ad7d408d22bb09ca02c048fd45847104752810c82cbaf
-SIZE (nsf-termbox-go-21a4d435a862_GH0.tar.gz) = 31595
-SHA256 (pkg-errors-v0.8.0_GH0.tar.gz) = bacf6c58e490911398cee61742ddc6a90c560733e4c9dcb3d867b17a894c9dd5
-SIZE (pkg-errors-v0.8.0_GH0.tar.gz) = 11344
-SHA256 (spf13-cobra-v0.0.3_GH0.tar.gz) = 7eafb953b58fdd738c4db5202d94a0b6ac0de4f07718fc85a80450c2347c2f9c
-SIZE (spf13-cobra-v0.0.3_GH0.tar.gz) = 101526
-SHA256 (spf13-pflag-v1.0.1_GH0.tar.gz) = 3fd7b88585a49ffdf09d72c5320de616334064f79aca4c0152b72a0d7864733b
-SIZE (spf13-pflag-v1.0.1_GH0.tar.gz) = 43244
-SHA256 (xanzy-go-gitlab-v0.50.3_GH0.tar.gz) = ee3c9d4af19ef718e48e3ecb0b3cd45c2b1082e49fd76f3f9778805ab4062ffc
-SIZE (xanzy-go-gitlab-v0.50.3_GH0.tar.gz) = 208792
+TIMESTAMP = 1706945377
+SHA256 (go/deskutils_pet/pet-v0.5.0/v0.5.0.mod) = 17a408b2d30c6e3ee890420aa46009610abf17d053296694756259b28751105e
+SIZE (go/deskutils_pet/pet-v0.5.0/v0.5.0.mod) = 1696
+SHA256 (go/deskutils_pet/pet-v0.5.0/v0.5.0.zip) = 6875d0ea15efc34867e988ad6cda6a197c85d7990ece874b7b6e5be17a427534
+SIZE (go/deskutils_pet/pet-v0.5.0/v0.5.0.zip) = 2765514