From owner-dev-commits-ports-all@freebsd.org Thu Jul 29 08:17:35 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 494B766E961; Thu, 29 Jul 2021 08:17:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gb3L71JKVz3jmy; Thu, 29 Jul 2021 08:17:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1485F5FDD; Thu, 29 Jul 2021 08:17:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16T8HY5h035796; Thu, 29 Jul 2021 08:17:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16T8HY3A035795; Thu, 29 Jul 2021 08:17:34 GMT (envelope-from git) Date: Thu, 29 Jul 2021 08:17:34 GMT Message-Id: <202107290817.16T8HY3A035795@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: feba733009c7 - main - finance/ticker: new port -- Terminal stock watcher and stock position tracker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: feba733009c74be8178379591f0a8ba1485fda13 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2021 08:17:35 -0000 The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=feba733009c74be8178379591f0a8ba1485fda13 commit feba733009c74be8178379591f0a8ba1485fda13 Author: Robert Clausecker AuthorDate: 2021-07-23 16:59:08 +0000 Commit: Tobias C. Berner CommitDate: 2021-07-29 08:16:35 +0000 finance/ticker: new port -- Terminal stock watcher and stock position tracker Features * Live stock price quotes * Track value of your stock positions * Support for multiple cost basis lots * Support for pre and post market price quotes WWW: https://github.com/achannarasappa/ticker PR: 257360 --- finance/Makefile | 1 + finance/ticker/Makefile | 73 +++++++++++++++++++++++++++++++++++++++ finance/ticker/distinfo | 89 ++++++++++++++++++++++++++++++++++++++++++++++++ finance/ticker/pkg-descr | 10 ++++++ 4 files changed, 173 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index e1e690de2c2d..be57d20aafca 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -110,6 +110,7 @@ SUBDIR += rubygem-money SUBDIR += skrooge SUBDIR += sql-ledger + SUBDIR += ticker SUBDIR += tickrs SUBDIR += vanitygen SUBDIR += venice diff --git a/finance/ticker/Makefile b/finance/ticker/Makefile new file mode 100644 index 000000000000..f176f3e0fb9f --- /dev/null +++ b/finance/ticker/Makefile @@ -0,0 +1,73 @@ +PORTNAME= ticker +DISTVERSIONPREFIX= v +DISTVERSION= 4.2.0 +CATEGORIES= finance + +MAINTAINER= fuz@fuz.su +COMMENT= Terminal stock ticker with live updates and position tracking + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +USE_GITHUB= yes +GH_ACCOUNT= achannarasappa +GH_TUPLE= acarl005:stripansi:5a71ef0e047d:acarl005_stripansi/vendor/github.com/acarl005/stripansi \ + achannarasappa:term-grid:v0.2.4:achannarasappa_term_grid/vendor/github.com/achannarasappa/term-grid \ + adrg:xdg:v0.3.0:adrg_xdg/vendor/github.com/adrg/xdg \ + charmbracelet:bubbles:v0.7.5:charmbracelet_bubbles/vendor/github.com/charmbracelet/bubbles \ + charmbracelet:bubbletea:v0.13.4:charmbracelet_bubbletea/vendor/github.com/charmbracelet/bubbletea \ + containerd:console:v1.0.1:containerd_console/vendor/github.com/containerd/console \ + fsnotify:fsnotify:v1.4.9:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ + go-ini:ini:v1.51.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ + go-resty:resty:v2.3.0:go_resty_resty_v2/vendor/github.com/go-resty/resty/v2 \ + go-tomb:tomb:dd632973f1e7:go_tomb_tomb/vendor/gopkg.in/tomb.v1 \ + go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ + golang:net:c7110b5ffcbb:golang_net/vendor/golang.org/x/net \ + golang:sys:22da62e12c0c:golang_sys/vendor/golang.org/x/sys \ + golang:term:f5beecf764ed:golang_term/vendor/golang.org/x/term \ + golang:text:v0.3.3:golang_text/vendor/golang.org/x/text \ + hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ + inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ + jarcoal:httpmock:v1.0.7:jarcoal_httpmock/vendor/github.com/jarcoal/httpmock \ + lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \ + magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \ + mattn:go-isatty:v0.0.12:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ + mattn:go-runewidth:v0.0.10:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ + mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \ + mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ + muesli:reflow:9e1d0d53df68:muesli_reflow/vendor/github.com/muesli/reflow \ + muesli:termenv:v0.8.1:muesli_termenv/vendor/github.com/muesli/termenv \ + nxadm:tail:v1.4.6:nxadm_tail/vendor/github.com/nxadm/tail \ + onsi:ginkgo:v1.15.0:onsi_ginkgo/vendor/github.com/onsi/ginkgo \ + onsi:gomega:v1.10.5:onsi_gomega/vendor/github.com/onsi/gomega \ + pelletier:go-toml:v1.2.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ + pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ + protocolbuffers:protobuf-go:v1.25.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ + rivo:uniseg:v0.2.0:rivo_uniseg/vendor/github.com/rivo/uniseg \ + spf13:afero:v1.5.1:spf13_afero/vendor/github.com/spf13/afero \ + spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \ + spf13:cobra:v1.1.1:spf13_cobra/vendor/github.com/spf13/cobra \ + spf13:jwalterweatherman:v1.0.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ + spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ + spf13:viper:v1.7.0:spf13_viper/vendor/github.com/spf13/viper \ + subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \ + xeipuuv:gojsonpointer:4e3ac2762d5f:xeipuuv_gojsonpointer/vendor/github.com/xeipuuv/gojsonpointer \ + xeipuuv:gojsonreference:bd5ef7bd5415:xeipuuv_gojsonreference/vendor/github.com/xeipuuv/gojsonreference \ + xeipuuv:gojsonschema:v1.2.0:xeipuuv_gojsonschema/vendor/github.com/xeipuuv/gojsonschema + +PLIST_FILES= bin/ticker +PORTDOCS= README.md \ + docs/debug-guide.md \ + docs/ticker-all-options.png \ + docs/ticker-currency.png \ + docs/ticker.gif +OPTIONS_DEFINE= DOCS + +do-install-DOCS-on: +.for doc in ${PORTDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/`dirname ${doc}` + ${INSTALL_MAN} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/`dirname ${doc}`/ +.endfor + +.include diff --git a/finance/ticker/distinfo b/finance/ticker/distinfo new file mode 100644 index 000000000000..9d31ff8eaca4 --- /dev/null +++ b/finance/ticker/distinfo @@ -0,0 +1,89 @@ +TIMESTAMP = 1627056601 +SHA256 (achannarasappa-ticker-v4.2.0_GH0.tar.gz) = 34dc28182987dbd86a9b35817b8198e0d61839172fd8999d4ca84d1c5026353c +SIZE (achannarasappa-ticker-v4.2.0_GH0.tar.gz) = 155987 +SHA256 (acarl005-stripansi-5a71ef0e047d_GH0.tar.gz) = 832ad7232c573cec3eece91af4cdf40d2d06bca94e026dd7d5add0f44f802f0f +SIZE (acarl005-stripansi-5a71ef0e047d_GH0.tar.gz) = 1477 +SHA256 (achannarasappa-term-grid-v0.2.4_GH0.tar.gz) = 070d929e63198806514364e5e8db90be412516fa4912fcd8a657d3f2a4e87ae8 +SIZE (achannarasappa-term-grid-v0.2.4_GH0.tar.gz) = 10109 +SHA256 (adrg-xdg-v0.3.0_GH0.tar.gz) = 02450a704593ae4c3b407a4ffb3e3467a5470cbcbf7cef846929058f2c6c141c +SIZE (adrg-xdg-v0.3.0_GH0.tar.gz) = 14868 +SHA256 (charmbracelet-bubbles-v0.7.5_GH0.tar.gz) = d82bc62aef2a340ed9d4014cfb78ecde99a6e9917efe85232fa47f79044f65a4 +SIZE (charmbracelet-bubbles-v0.7.5_GH0.tar.gz) = 14288 +SHA256 (charmbracelet-bubbletea-v0.13.4_GH0.tar.gz) = 997fb8bd54c77f6c894242da32bb417b0f77f48a2b0c001d3a0fbceb458f8bed +SIZE (charmbracelet-bubbletea-v0.13.4_GH0.tar.gz) = 48486 +SHA256 (containerd-console-v1.0.1_GH0.tar.gz) = 5665653d053e1379d54e142b58492b1f9f01d841cd2726b78d6b5b2b8a674821 +SIZE (containerd-console-v1.0.1_GH0.tar.gz) = 929834 +SHA256 (fsnotify-fsnotify-v1.4.9_GH0.tar.gz) = 4f888b1cb132026227826751d156c0a2958e7d492e5e38386cde8848ef494dcb +SIZE (fsnotify-fsnotify-v1.4.9_GH0.tar.gz) = 31900 +SHA256 (go-ini-ini-v1.51.0_GH0.tar.gz) = 6c98311d375afbe36a246c5d29acb5cb428634a4186e591ce9b7fe2fa4f2a471 +SIZE (go-ini-ini-v1.51.0_GH0.tar.gz) = 43536 +SHA256 (go-resty-resty-v2.3.0_GH0.tar.gz) = 6a88a0f9afa8452d7fc7f736711de42a4ed6a5ca98fce70681e55c95f2d28b11 +SIZE (go-resty-resty-v2.3.0_GH0.tar.gz) = 2638569 +SHA256 (go-tomb-tomb-dd632973f1e7_GH0.tar.gz) = b67f4ee9324a78176bc3196fe262388696aeb3f31d9879d498200219f9c4c554 +SIZE (go-tomb-tomb-dd632973f1e7_GH0.tar.gz) = 3631 +SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0 +SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209 +SHA256 (golang-net-c7110b5ffcbb_GH0.tar.gz) = 605f6a51c193b119a568c40151f74ec8a4634fe94cb01627bb7a1ad7cfe684fe +SIZE (golang-net-c7110b5ffcbb_GH0.tar.gz) = 1248997 +SHA256 (golang-sys-22da62e12c0c_GH0.tar.gz) = 5a120a40c63be9383650b7757c00645b25d37a3b7daa523f2a85fac969e51b2a +SIZE (golang-sys-22da62e12c0c_GH0.tar.gz) = 1106889 +SHA256 (golang-term-f5beecf764ed_GH0.tar.gz) = 60905cd7d54380fe6954f0e693da134115b2bfb49aeda969336ef6a95a709aa1 +SIZE (golang-term-f5beecf764ed_GH0.tar.gz) = 15022 +SHA256 (golang-text-v0.3.3_GH0.tar.gz) = 1604233637e3593749fbbb13b5069b08e6feba6d2b55a02fd3148793d5871185 +SIZE (golang-text-v0.3.3_GH0.tar.gz) = 7747332 +SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2 +SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658 +SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6 +SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290 +SHA256 (jarcoal-httpmock-v1.0.7_GH0.tar.gz) = 9a6637ce4479521b9c5851bdc0267ea6198c1c13fd68a1beb0d02ae7e240c8f5 +SIZE (jarcoal-httpmock-v1.0.7_GH0.tar.gz) = 24486 +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 (magiconair-properties-v1.8.1_GH0.tar.gz) = 4449df3d2be86608bfc997228f66f1cff57bf620cc5bf9ba44339c7e4c5612dd +SIZE (magiconair-properties-v1.8.1_GH0.tar.gz) = 29735 +SHA256 (mattn-go-isatty-v0.0.12_GH0.tar.gz) = addbdc341d7685ed4cc8d2d8a8fd2bd9b784bde00d0ea99fb251039fc10c611c +SIZE (mattn-go-isatty-v0.0.12_GH0.tar.gz) = 4548 +SHA256 (mattn-go-runewidth-v0.0.10_GH0.tar.gz) = 48cb8654014d9eab1d59088dd1879907de1dab51c2ed3cee8c8254c1708c2d8e +SIZE (mattn-go-runewidth-v0.0.10_GH0.tar.gz) = 16778 +SHA256 (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 646671c73a84a8dfb4a5a76b80c7b63549ffefa906524d45077301bc7da76600 +SIZE (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 3362 +SHA256 (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 53fbc06b125ff1c9c73a4eb1764346932671a29c67a45a92e2ebc6855635069b +SIZE (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 20980 +SHA256 (muesli-reflow-9e1d0d53df68_GH0.tar.gz) = 5c24abc3a8f5cfb56162414f07ea8d6e879470372a974c43a141a66859a9c2fb +SIZE (muesli-reflow-9e1d0d53df68_GH0.tar.gz) = 21236 +SHA256 (muesli-termenv-v0.8.1_GH0.tar.gz) = c8b5227225a47f7b163709426f95c25476f58727a999239486f0079cb0c18f62 +SIZE (muesli-termenv-v0.8.1_GH0.tar.gz) = 408132 +SHA256 (nxadm-tail-v1.4.6_GH0.tar.gz) = 424d9b12027c4bac08ee84776cae7cf17724bb8e4a5f3b720aec4408c78e9f79 +SIZE (nxadm-tail-v1.4.6_GH0.tar.gz) = 1254162 +SHA256 (onsi-ginkgo-v1.15.0_GH0.tar.gz) = 5e94aa7b4305c5fd753ad82021bf4a884cdc7344d6f9b848ca742144267f51ee +SIZE (onsi-ginkgo-v1.15.0_GH0.tar.gz) = 158395 +SHA256 (onsi-gomega-v1.10.5_GH0.tar.gz) = fe1433468aed5849c29112e74128a859d88a9f8d741448acc946b94848edb6f3 +SIZE (onsi-gomega-v1.10.5_GH0.tar.gz) = 99860 +SHA256 (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 1a5a620f680033f17e34148bee8f26d96d8c27ff1d7f56f0fe1c7253595b5244 +SIZE (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 57496 +SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608 +SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415 +SHA256 (protocolbuffers-protobuf-go-v1.25.0_GH0.tar.gz) = c1c04d6e36c0d0fb6f3374197f9025d7e6df13f38a974098be020617c00fbaf2 +SIZE (protocolbuffers-protobuf-go-v1.25.0_GH0.tar.gz) = 1258804 +SHA256 (rivo-uniseg-v0.2.0_GH0.tar.gz) = 3ad738b5c9162ede110d75b23564b6e40e52dd9150ebbced402f4f70be106197 +SIZE (rivo-uniseg-v0.2.0_GH0.tar.gz) = 44036 +SHA256 (spf13-afero-v1.5.1_GH0.tar.gz) = 36a26869c7b963e07e3fcb99dcc86c6ab751548514b5e1fd252175e9eca43f54 +SIZE (spf13-afero-v1.5.1_GH0.tar.gz) = 58848 +SHA256 (spf13-cast-v1.3.0_GH0.tar.gz) = e685282ea33f89e9354d148ad1886f532bcebe86b0b60a167988f7c6d081085f +SIZE (spf13-cast-v1.3.0_GH0.tar.gz) = 11085 +SHA256 (spf13-cobra-v1.1.1_GH0.tar.gz) = 9bf1769caad54bc5a8bd738ddbcceeb57a19fc3158af30e44b3bbb6b8e63ab6d +SIZE (spf13-cobra-v1.1.1_GH0.tar.gz) = 143402 +SHA256 (spf13-jwalterweatherman-v1.0.0_GH0.tar.gz) = 2ece12b964e0d230b10851555185d42d3c81b401efda044265ae716eb1d0bc2d +SIZE (spf13-jwalterweatherman-v1.0.0_GH0.tar.gz) = 6392 +SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808 +SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796 +SHA256 (spf13-viper-v1.7.0_GH0.tar.gz) = 95ce28f25d50b0a484479d46ec1576e786b92c70efdc2ad58089505c4ee0850d +SIZE (spf13-viper-v1.7.0_GH0.tar.gz) = 82340 +SHA256 (subosito-gotenv-v1.2.0_GH0.tar.gz) = 5f6826992c11981018c77377f33dbc56d0be932e0d38a2f51e795c99725e7ba5 +SIZE (subosito-gotenv-v1.2.0_GH0.tar.gz) = 7359 +SHA256 (xeipuuv-gojsonpointer-4e3ac2762d5f_GH0.tar.gz) = ad625b72ad9cbc347ca9d07af1e9dbe49feeb5688a70a015f2153a67e27328a0 +SIZE (xeipuuv-gojsonpointer-4e3ac2762d5f_GH0.tar.gz) = 7724 +SHA256 (xeipuuv-gojsonreference-bd5ef7bd5415_GH0.tar.gz) = f99765bc8692e620f8abc3f36e10df36a4161c5634505632599ce88abc2d8f55 +SIZE (xeipuuv-gojsonreference-bd5ef7bd5415_GH0.tar.gz) = 6958 +SHA256 (xeipuuv-gojsonschema-v1.2.0_GH0.tar.gz) = ad47429e26a7078df155bffe2d3ff2e967fb0d6be185b5ffe995d6731916bcf7 +SIZE (xeipuuv-gojsonschema-v1.2.0_GH0.tar.gz) = 73602 diff --git a/finance/ticker/pkg-descr b/finance/ticker/pkg-descr new file mode 100644 index 000000000000..bc731fe1b6b7 --- /dev/null +++ b/finance/ticker/pkg-descr @@ -0,0 +1,10 @@ +Terminal stock watcher and stock position tracker + +Features + + * Live stock price quotes + * Track value of your stock positions + * Support for multiple cost basis lots + * Support for pre and post market price quotes + +WWW: https://github.com/achannarasappa/ticker