Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2024 09:06:49 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 16b13397ba0b - main - www/tgpt: Update to 2.8.3
Message-ID:  <202412100906.4BA96n1g001278@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

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

commit 16b13397ba0b64f690388de58f72c5119b6567a6
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2024-12-07 18:12:37 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-12-10 09:02:57 +0000

    www/tgpt: Update to 2.8.3
    
    Port Changes:
    * Use GO_MODULE instead of GITHUB.
    * Update pkg-descr to update supported AI chatbot models
    
    Changelog: https://github.com/aandrew-me/tgpt/releases/tag/v2.8.3
    
    PR:             283185
---
 www/tgpt/Makefile  | 56 ++-----------------------------
 www/tgpt/distinfo  | 96 +++---------------------------------------------------
 www/tgpt/pkg-descr | 12 ++++---
 3 files changed, 14 insertions(+), 150 deletions(-)

diff --git a/www/tgpt/Makefile b/www/tgpt/Makefile
index e5b599f39ba0..b9b5ebb2f975 100644
--- a/www/tgpt/Makefile
+++ b/www/tgpt/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	tgpt
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.8.2
-PORTREVISION=	1
+DISTVERSION=	2.8.3
 CATEGORIES=	www
 
 MAINTAINER=	nxjoseph@protonmail.com
@@ -12,59 +11,8 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:1.22,modules
-USE_GITHUB=	yes
-GH_ACCOUNT=	aandrew-me
-GH_TUPLE=	andybalholm:brotli:v1.1.0:andybalholm_brotli/vendor/github.com/andybalholm/brotli \
-		atotto:clipboard:v0.1.4:atotto_clipboard/vendor/github.com/atotto/clipboard \
-		aymanbagabas:go-osc52:v2.0.1:aymanbagabas_go_osc52_v2/vendor/github.com/aymanbagabas/go-osc52/v2 \
-		bogdanfinn:fhttp:v0.5.28:bogdanfinn_fhttp/vendor/github.com/bogdanfinn/fhttp \
-		bogdanfinn:tls-client:v1.7.7:bogdanfinn_tls_client/vendor/github.com/bogdanfinn/tls-client \
-		bogdanfinn:utls:v1.6.1:bogdanfinn_utls/vendor/github.com/bogdanfinn/utls \
-		c-bata:go-prompt:v0.2.6:c_bata_go_prompt/vendor/github.com/c-bata/go-prompt \
-		charmbracelet:bubbles:v0.18.0:charmbracelet_bubbles/vendor/github.com/charmbracelet/bubbles \
-		charmbracelet:bubbletea:v0.27.0:charmbracelet_bubbletea/vendor/github.com/charmbracelet/bubbletea \
-		charmbracelet:lipgloss:v0.12.1:charmbracelet_lipgloss/vendor/github.com/charmbracelet/lipgloss \
-		charmbracelet:x:ansi/v0.1.4:charmbracelet_x_ansi/vendor/github.com/charmbracelet/x \
-		charmbracelet:x:input/v0.1.0:charmbracelet_x_input/vendor/github.com/charmbracelet/x/input \
-		charmbracelet:x:term/v0.1.1:charmbracelet_x_term \
-		cloudflare:circl:v1.3.6:cloudflare_circl/vendor/github.com/cloudflare/circl \
-		davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
-		erikgeiser:coninput:1c3628e74d0f:erikgeiser_coninput/vendor/github.com/erikgeiser/coninput \
-		fatih:color:v1.17.0:fatih_color/vendor/github.com/fatih/color \
-		go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \
-		golang:crypto:v0.26.0:golang_crypto/vendor/golang.org/x/crypto \
-		golang:mod:v0.20.0:golang_mod/vendor/golang.org/x/mod \
-		golang:net:v0.28.0:golang_net/vendor/golang.org/x/net \
-		golang:sync:v0.8.0:golang_sync/vendor/golang.org/x/sync \
-		golang:sys:v0.24.0:golang_sys/vendor/golang.org/x/sys \
-		golang:text:v0.17.0:golang_text/vendor/golang.org/x/text \
-		klauspost:compress:v1.17.9:klauspost_compress/vendor/github.com/klauspost/compress \
-		kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \
-		lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \
-		mattn:go-colorable:v0.1.13:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
-		mattn:go-isatty:v0.0.20:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
-		mattn:go-localereader:v0.0.1:mattn_go_localereader/vendor/github.com/mattn/go-localereader \
-		mattn:go-runewidth:v0.0.16:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
-		mattn:go-tty:v0.0.7:mattn_go_tty/vendor/github.com/mattn/go-tty \
-		muesli:ansi:276c6243b2f6:muesli_ansi/vendor/github.com/muesli/ansi \
-		muesli:cancelreader:v0.2.2:muesli_cancelreader/vendor/github.com/muesli/cancelreader \
-		muesli:termenv:v0.15.2:muesli_termenv/vendor/github.com/muesli/termenv \
-		olekukonko:ts:78ecb04241c0:olekukonko_ts/vendor/github.com/olekukonko/ts \
-		pkg:term:v1.2.0-beta.2:pkg_term/vendor/github.com/pkg/term \
-		pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
-		quic-go:quic-go:v0.37.4:quic_go_quic_go/vendor/github.com/quic-go/quic-go \
-		rivo:uniseg:v0.4.7:rivo_uniseg/vendor/github.com/rivo/uniseg \
-		rogpeppe:go-internal:v1.12.0:rogpeppe_go_internal/vendor/github.com/rogpeppe/go-internal \
-		stretchr:testify:v1.9.0:stretchr_testify/vendor/github.com/stretchr/testify \
-		tam7t:hpkp:2b70b4024ed5:tam7t_hpkp/vendor/github.com/tam7t/hpkp \
-		xo:terminfo:abceb7e1c41e:xo_terminfo/vendor/github.com/xo/terminfo
-
-GO_BUILDFLAGS=	-ldflags="-s -w"
+GO_MODULE=	github.com/aandrew-me/tgpt/v2
 
 PLIST_FILES=	bin/tgpt
 
-post-extract:
-	@${RM} -r ${WRKSRC}/vendor/github.com/charmbracelet/x/term
-	@${RLN} ${WRKSRC_charmbracelet_x_term}/term ${WRKSRC}/vendor/github.com/charmbracelet/x/term
-
 .include <bsd.port.mk>
diff --git a/www/tgpt/distinfo b/www/tgpt/distinfo
index 3c068b4dac8a..4cfd4b3b47c5 100644
--- a/www/tgpt/distinfo
+++ b/www/tgpt/distinfo
@@ -1,91 +1,5 @@
-TIMESTAMP = 1728667325
-SHA256 (aandrew-me-tgpt-v2.8.2_GH0.tar.gz) = e8648161ae8121a5d7db3904657040d202fcd0571028938a81f3fda2d9030060
-SIZE (aandrew-me-tgpt-v2.8.2_GH0.tar.gz) = 44847
-SHA256 (andybalholm-brotli-v1.1.0_GH0.tar.gz) = 63395834ab5ce6ad91f90af79223995f44aacecda3c66ac5700a87b080c0009c
-SIZE (andybalholm-brotli-v1.1.0_GH0.tar.gz) = 1829084
-SHA256 (atotto-clipboard-v0.1.4_GH0.tar.gz) = cafd64dc78f293c1e774386186f3f817461a1a8940ef86d5d9e9524b58aa791e
-SIZE (atotto-clipboard-v0.1.4_GH0.tar.gz) = 5017
-SHA256 (aymanbagabas-go-osc52-v2.0.1_GH0.tar.gz) = dad92f43db3cd17e7395db59533283b5888c2780fa1b2cb67344a9feaa3291e0
-SIZE (aymanbagabas-go-osc52-v2.0.1_GH0.tar.gz) = 5875
-SHA256 (bogdanfinn-fhttp-v0.5.28_GH0.tar.gz) = f514dcea5a4dcc6e5c21db429f6c8d1f897695309b1705be128f068b07d3faf4
-SIZE (bogdanfinn-fhttp-v0.5.28_GH0.tar.gz) = 815465
-SHA256 (bogdanfinn-tls-client-v1.7.7_GH0.tar.gz) = 000713437369b358c335b05a3cc5255d79e51f03ace15066bc69437443b9cc60
-SIZE (bogdanfinn-tls-client-v1.7.7_GH0.tar.gz) = 290340
-SHA256 (bogdanfinn-utls-v1.6.1_GH0.tar.gz) = 0e60a2caec6c69eef14dad3065bf96aa29feecadb92f4fbb892e8cb9ef83ad36
-SIZE (bogdanfinn-utls-v1.6.1_GH0.tar.gz) = 677900
-SHA256 (c-bata-go-prompt-v0.2.6_GH0.tar.gz) = 6b249608d52ab66d33d85dcc5ec0a4f5f74f63ec6f22f8cfb12c96cb3a9b05cf
-SIZE (c-bata-go-prompt-v0.2.6_GH0.tar.gz) = 43452
-SHA256 (charmbracelet-bubbles-v0.18.0_GH0.tar.gz) = d7b079b4cd29f5788f59f6e62647e884837648d3e1d27feafdb90186ff528d44
-SIZE (charmbracelet-bubbles-v0.18.0_GH0.tar.gz) = 66820
-SHA256 (charmbracelet-bubbletea-v0.27.0_GH0.tar.gz) = fbd8f88e29aacb145d4502dc6bc5c40d1cec4513ecf65116202adc7a1e563245
-SIZE (charmbracelet-bubbletea-v0.27.0_GH0.tar.gz) = 2186045
-SHA256 (charmbracelet-lipgloss-v0.12.1_GH0.tar.gz) = 644d24fb5a00e89a3225884fbb0b56966b44e475148109eee643f1fa9b720c98
-SIZE (charmbracelet-lipgloss-v0.12.1_GH0.tar.gz) = 69717
-SHA256 (charmbracelet-x-ansi-v0.1.4_GH0.tar.gz) = b9de5024d754bb17fd720f66a02a9b1702fa92f1c5bdba56be4c1f30cdc89013
-SIZE (charmbracelet-x-ansi-v0.1.4_GH0.tar.gz) = 221833
-SHA256 (charmbracelet-x-input-v0.1.0_GH0.tar.gz) = 2097c52a06b7fabfc572f9156d02dc271db1fd4d0796fa885fdb373fa1af314b
-SIZE (charmbracelet-x-input-v0.1.0_GH0.tar.gz) = 196266
-SHA256 (charmbracelet-x-term-v0.1.1_GH0.tar.gz) = 48ce606004e59c24f4423ebc08954d3d4bdda0626a4a15db6916ea6fa45f00e7
-SIZE (charmbracelet-x-term-v0.1.1_GH0.tar.gz) = 212515
-SHA256 (cloudflare-circl-v1.3.6_GH0.tar.gz) = cc6892f9fd4d5a80ceb661f3d3d5b7edc31d755a14cf55f1f8354220ff70d56c
-SIZE (cloudflare-circl-v1.3.6_GH0.tar.gz) = 4938243
-SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
-SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
-SHA256 (erikgeiser-coninput-1c3628e74d0f_GH0.tar.gz) = 3d799ddf6184548e72e447be9199819dc4a7ade82a081c31ca0009ce0bc4c113
-SIZE (erikgeiser-coninput-1c3628e74d0f_GH0.tar.gz) = 8949
-SHA256 (fatih-color-v1.17.0_GH0.tar.gz) = 82e284c6679ac3eb4cbbb5e15b142bb1e6a68f957fe0d2db8ec4fe17e7f78e88
-SIZE (fatih-color-v1.17.0_GH0.tar.gz) = 12341
-SHA256 (go-yaml-yaml-v3.0.1_GH0.tar.gz) = cf05411540d3e6ef8f1fd88434b34f94cedaceb540329031d80e23b74540c4e5
-SIZE (go-yaml-yaml-v3.0.1_GH0.tar.gz) = 91173
-SHA256 (golang-crypto-v0.26.0_GH0.tar.gz) = a67fabb33e4ea401e76968abe1ec6f7b86915d0cf1f15803cd0da72dd48fca14
-SIZE (golang-crypto-v0.26.0_GH0.tar.gz) = 1799361
-SHA256 (golang-mod-v0.20.0_GH0.tar.gz) = 83b0516cc8b89e62deced06437230cf80981e2c9dc1d1caa589b3d0313600f50
-SIZE (golang-mod-v0.20.0_GH0.tar.gz) = 124271
-SHA256 (golang-net-v0.28.0_GH0.tar.gz) = 8008d97595302092019ef024c43212cc00deae8710db49876dd06af52310514f
-SIZE (golang-net-v0.28.0_GH0.tar.gz) = 1454559
-SHA256 (golang-sync-v0.8.0_GH0.tar.gz) = 1872b89e8bf234d4c65edca0bf7c7fd6c414cf74a5a9e10463eb2483cf7b361f
-SIZE (golang-sync-v0.8.0_GH0.tar.gz) = 18181
-SHA256 (golang-sys-v0.24.0_GH0.tar.gz) = 3402ba7b578406df222693bac2b4011b5c9ab9180b0c123db1ed92da8ba11052
-SIZE (golang-sys-v0.24.0_GH0.tar.gz) = 1501680
-SHA256 (golang-text-v0.17.0_GH0.tar.gz) = edd27accd1b82f97277f1515ec35d3a9a905ae361b2c1afb2ab2db2e85fb3e01
-SIZE (golang-text-v0.17.0_GH0.tar.gz) = 8974580
-SHA256 (klauspost-compress-v1.17.9_GH0.tar.gz) = 8130a8314f6f296bf43a0f07021fe51a994c2069390afd45e57496525312506c
-SIZE (klauspost-compress-v1.17.9_GH0.tar.gz) = 38751164
-SHA256 (kr-text-v0.2.0_GH0.tar.gz) = 59b5e4a7fd4097be87fad0edcaf342fdc971d0c8fdfb4f2d7424561471992e7c
-SIZE (kr-text-v0.2.0_GH0.tar.gz) = 8699
-SHA256 (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = b3ee835cc398287452377266313edcc231043bae4168f8d2706e5d34ce1ce755
-SIZE (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = 970830
-SHA256 (mattn-go-colorable-v0.1.13_GH0.tar.gz) = c3b62c76d365906bba9aa9d9ec048fd33a2a5742299d6482a08e7466d4c52d77
-SIZE (mattn-go-colorable-v0.1.13_GH0.tar.gz) = 9762
-SHA256 (mattn-go-isatty-v0.0.20_GH0.tar.gz) = 18fc42a278e60fb7a1dffa72f20539ae88d0e292db55b513ef514b7d369883a6
-SIZE (mattn-go-isatty-v0.0.20_GH0.tar.gz) = 4713
-SHA256 (mattn-go-localereader-v0.0.1_GH0.tar.gz) = 03bd5a512b593c793cccd3a1f507e3a5ba6f92681b1fa4f812a53eddbc3751dc
-SIZE (mattn-go-localereader-v0.0.1_GH0.tar.gz) = 1735
-SHA256 (mattn-go-runewidth-v0.0.16_GH0.tar.gz) = e98c1e4a82b8a6d026ee63385955cc178c91c77f106c7cf3d743736301106a8f
-SIZE (mattn-go-runewidth-v0.0.16_GH0.tar.gz) = 18490
-SHA256 (mattn-go-tty-v0.0.7_GH0.tar.gz) = 9176ed03fb8d20af529bc1ce381f9ca1711570676a8eaf93c5f4d224251ba661
-SIZE (mattn-go-tty-v0.0.7_GH0.tar.gz) = 7889
-SHA256 (muesli-ansi-276c6243b2f6_GH0.tar.gz) = 3284ff73b72fb26606a9129355fa2916647423e3ede78ba8031e6bdfa0ccef4f
-SIZE (muesli-ansi-276c6243b2f6_GH0.tar.gz) = 5243
-SHA256 (muesli-cancelreader-v0.2.2_GH0.tar.gz) = afd827ad56d7c567389a516ca005ea80d46ed1cbc17c5ec3ca144152f1ecfc5a
-SIZE (muesli-cancelreader-v0.2.2_GH0.tar.gz) = 9443
-SHA256 (muesli-termenv-v0.15.2_GH0.tar.gz) = 547a35fca6d807006fc15bdd819f175e4214b2153d39b5c6f5df217d4d4fe6ec
-SIZE (muesli-termenv-v0.15.2_GH0.tar.gz) = 422802
-SHA256 (olekukonko-ts-78ecb04241c0_GH0.tar.gz) = e773762d9adb136c048e20f75f90ed3da9c4fd670c1798d26ef592b9aa4e44c7
-SIZE (olekukonko-ts-78ecb04241c0_GH0.tar.gz) = 3173
-SHA256 (pkg-term-v1.2.0-beta.2_GH0.tar.gz) = 7ec33e2b31f188923104d3edbecc4362f6d321354a178e4e4e49d1bfc5075e45
-SIZE (pkg-term-v1.2.0-beta.2_GH0.tar.gz) = 11330
-SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda
-SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398
-SHA256 (quic-go-quic-go-v0.37.4_GH0.tar.gz) = 42367047e24a6951e22a0e35d130c79648e6179add4223c781bb9b8bc500c0de
-SIZE (quic-go-quic-go-v0.37.4_GH0.tar.gz) = 564948
-SHA256 (rivo-uniseg-v0.4.7_GH0.tar.gz) = dc7aedce4a8c174b01df8406ff7d92779e2df76cee2ad17fa2ff6777feddadec
-SIZE (rivo-uniseg-v0.4.7_GH0.tar.gz) = 458088
-SHA256 (rogpeppe-go-internal-v1.12.0_GH0.tar.gz) = b51d588d05f3e82d3045545ef46bd758a0610b9cfde1ae243489a593908b6060
-SIZE (rogpeppe-go-internal-v1.12.0_GH0.tar.gz) = 116899
-SHA256 (stretchr-testify-v1.9.0_GH0.tar.gz) = ee651d4d4427d55096007190398102383498e6b5cf97ea9e89ad6e72b4115fbb
-SIZE (stretchr-testify-v1.9.0_GH0.tar.gz) = 108663
-SHA256 (tam7t-hpkp-2b70b4024ed5_GH0.tar.gz) = 1a0f3f512036af140f861b107e652e59cbde74be8fb64d67d34fa4399c380325
-SIZE (tam7t-hpkp-2b70b4024ed5_GH0.tar.gz) = 12653
-SHA256 (xo-terminfo-abceb7e1c41e_GH0.tar.gz) = f309fc85594b3a03d622ebe275a841b97101c4189f85fff18fc051a2e5a4878c
-SIZE (xo-terminfo-abceb7e1c41e_GH0.tar.gz) = 35180
+TIMESTAMP = 1733594905
+SHA256 (go/www_tgpt/tgpt-v2.8.3/v2.8.3.mod) = 140067072dbe06468274419d363bdb1983c75789580af1762234e73bc6e68af7
+SIZE (go/www_tgpt/tgpt-v2.8.3/v2.8.3.mod) = 2233
+SHA256 (go/www_tgpt/tgpt-v2.8.3/v2.8.3.zip) = 2b4b60bb02bb36982294613cb3613d926abe3c0e9a2e02892351ce00376b8721
+SIZE (go/www_tgpt/tgpt-v2.8.3/v2.8.3.zip) = 55699
diff --git a/www/tgpt/pkg-descr b/www/tgpt/pkg-descr
index d518e2c63871..8a5039d052c2 100644
--- a/www/tgpt/pkg-descr
+++ b/www/tgpt/pkg-descr
@@ -1,5 +1,7 @@
-tgpt is a cross-platform command-line interface (CLI) tool that allows you to
-use AI chatbot in your Terminal without requiring API keys. It supports
-these providers: KoboldAI (koboldcpp/HF_SPACE_Tiefighter-13B),
-Phind (Phind Model), Llama2 (Llama 2 70b), Blackbox AI (Blackbox model)
-and OpenAI (All models, Requires API Key)
+tgpt is a cross-platform command-line interface (CLI) tool to use AI chatbots
+in your Terminal without requiring API keys. It supports these providers:
+Blackbox AI (Blackbox model), Duckduckgo (Supports several models),
+Groq (Requires a free API Key. LLaMA2-70b & Mixtral-8x7b),
+KoboldAI (koboldcpp/HF_SPACE_Tiefighter-13B), Ollama (Supports many models),
+OpenAI (All models, Requires API Key, supports custom endpoints),
+Phind (Phind Model).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412100906.4BA96n1g001278>