1
0
mirror of synced 2024-12-22 21:00:20 +01:00

app-misc/wego: new ebuild

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2022-05-05 00:41:43 -04:00
parent a9fce7544e
commit 9ce2d56149
No known key found for this signature in database
GPG Key ID: 161C0BE6255333D3
3 changed files with 74 additions and 0 deletions

14
app-misc/wego/Manifest Normal file
View File

@ -0,0 +1,14 @@
DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.1.12.mod 160 SHA256 301b4efcc69da40b91ccc8d2cc58e88595e8ad8712aca01403f10086d96b1813 SHA512 f2fa86449f7da9a73f3f8781e6b3dc6ad6e7d491cb37854be0dfb5c3ee086c36f509646e6fa383b4f00c3cb96c535e581016b2a43aedbfd9fe5861bada2f7ce0 WHIRLPOOL 0d3f6af504ec6ebbb56abe37b83855096a0bd5d4b4d6aa160d4fb4ca5a7a1e8492de95d3e2e38bebabaa04f7cf8cf4a70766d8e11f80054107f2a4a601f60ef6
DIST github.com%2Fmattn%2Fgo-colorable%2F@v%2Fv0.1.12.zip 13979 SHA256 c4637499409a4081fbbd7ea0640aa0af30c0e06a70aa1b207780b0251650d8cd SHA512 202a6349397e9f7b4a8252867f4928c694bbba813544b9bb8b8bc4851d18c074f688e3a1f01d7b65e899f492325048705d5250394613924b98bdaece8a2373c9 WHIRLPOOL 1fc737bc2d9000c7620af5d658baea48c7ec6c4b1bd0bd19636b49aea76ba37c4c0773956ae8bb0f268c7bc0924d536bf09b1c1f28ae2d5d54a1c50e33957439
DIST github.com%2Fmattn%2Fgo-isatty%2F@v%2Fv0.0.14.mod 104 SHA256 e9299133cd7243ec2667aa25a04b2dac6009234ae4c1cda4edb45749970dae9f SHA512 23b01eb4023ff5018437ff98b55ada053eba49feab2777eed36d033f426c5456b143f3defbc3131dad1251205f3ffb3553e3c10bd98de80f0a462e8450d6d56c WHIRLPOOL 6f0207a66334ef39d88c4f4300c4406e2622d7a60e94e07183b5d26e63e79064a294496a3191426e368ddadd93f57e1bea19e2321d6f7ef066a1f78e9485d989
DIST github.com%2Fmattn%2Fgo-isatty%2F@v%2Fv0.0.14.zip 8919 SHA256 6b8f017658d900de873fc567237548ef2054082aed64669655e51beeefee83c7 SHA512 c6401cf5af80ea2495cb63800ff39fb9490f212f3aae0ac1d86b3d37ce6734eb35aea00b35bd26532feab77ef80322e765925f302d77f664dd57163f67a8374e WHIRLPOOL 3edbecc6a2ac464cee0c64aeb6c87b03bde2186e29b3ecbd72563018553e4dec4605423c3dd3f8112928c025111c85c156ede6e0eae84bf8eec1d19c800013b4
DIST github.com%2Fmattn%2Fgo-runewidth%2F@v%2Fv0.0.13.mod 84 SHA256 216c93d19310612c81d5c741024989f83897d2333c3a9f967b58b1317587f519 SHA512 b96cca212a7024f0039ddd3a744fe818ab2e028b8ac2fd4472ce76ee9b496de3abb0960718c1106a98cf7e6df652dcf2884fe5ed95979bd9016399ea4abd324d WHIRLPOOL 461f80343e277da739089f99720d9511b59cff0beee0f092f7d51c5059a6e8544394e91b2c29a0fa5ecc410ae305d9f093969ec4b0a16d198928f90744b218c7
DIST github.com%2Fmattn%2Fgo-runewidth%2F@v%2Fv0.0.13.zip 20978 SHA256 c104e14c1612a6d736bd109fe5fec9749a8146e1f7d37844d8a0a1296e00d4e9 SHA512 e86a3b69601be1a0a15d7bfd5d93fce8d8c06b52c55c941a9ed62b44f05d3062e436d817661af14bb42838efc45875a63eb6042b196e1684db36e0fe6ed42a7f WHIRLPOOL c9d250b1f1c90ba2f648cf5a5064d13f4039b3383ed50360c55e11f1ac151a310eb39d7424863dd7c1160cd12b99c6e031c837d38963ed87f5e32e4de3ab1360
DIST github.com%2Frivo%2Funiseg%2F@v%2Fv0.2.0.mod 39 SHA256 6c7318a27a8d5473a8eb661e75fb00528176e0efc59310ed277ca13bd12a53f1 SHA512 d6089badd618722b8d3584965f1a10290097f259024a444744f625fe5b439fef62c7e14f060fb8593197d003ecd6c29f0cb85700de0bdfbf2511ca66729db3bc WHIRLPOOL 41bdcbcad504a4469f36294f890067a34745fef9c1fddea91858a68fe7e8647ba3eaf72e5ac3ecb4455eb7c91e170df34242b95ee51931b02c0831b9efe3c2c2
DIST github.com%2Frivo%2Funiseg%2F@v%2Fv0.2.0.zip 45731 SHA256 3199d94be50284142220662ca3b00e19ddd1debe4e80ddc745ff4203ecb601c0 SHA512 88f37961ebe3a1701265a2f5cb606e97fe4ddd09e36ff13ca8c026e98640af5d35cb930e4d12b6690a97e5d934705102554c6d2912ebbb5ee08976c698cce2db WHIRLPOOL e128b17fdc2599748ce92867aeea5e54675ef7ed3f33b927e64d5968d39f15cc98105519f74387b39d04aa820babc2dcdea89fae3ec957a1c7a07f861a318f69
DIST github.com%2Fschachmat%2Fingo%2F@v%2Fv0.0.0-20170403011506-a4bdc0729a3f.mod 33 SHA256 376d3ee1caee2887db88cfe6e2b69ced385f2f133b9eb95887ce0b4a38399f64 SHA512 bd411ee9ca744c079193dd742b191a1df13fbbf144dfda14f6a39f3246710e67c17a47d751940e1441ab40bf04caa0635ae0fb46ae47055f2206f879a527e6b9 WHIRLPOOL 2113affd414c9b4b86cad3b197f3bbfcc7bc89d78a82fc511c7e028eac1e5f539f19457c0fac015f6521ea7bc297f7b1b3b83ea747560ea2abbcde9dacea306a
DIST github.com%2Fschachmat%2Fingo%2F@v%2Fv0.0.0-20170403011506-a4bdc0729a3f.zip 7295 SHA256 b6d95fce7a7ef002e39e569751b7301173cc9adbf1d70d86fee4f36918aaf9d7 SHA512 50db8c540ac425e1f24c500cfef2699ba33711c828b1a89f94ff6122895e6c357f74fbe5247418ecfa2c94474c0140db9ecd198c571ec0152ad2b606fa2d9611 WHIRLPOOL e2f2f55de846ccbc513e350f4f07471bcd22f95087d3c4a4b2e4af9960eb550d8892b25aa07ee7071ba3a32d0fe346da1faa15e16d06974df1dc0344472558b7
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210630005230-0f9fa26af87c.mod 33 SHA256 f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 WHIRLPOOL a7c812b2e22a74fc5fd5f10202dc1db8c45dc463fd3925e00b7eb1cafdb7e682891e8926eddfc7cbf89c65164ff2ec610b2e735a7e437061c1a85ac03960176e
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210927094055-39ccf1dd6fa6.mod 33 SHA256 f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 SHA512 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655 WHIRLPOOL a7c812b2e22a74fc5fd5f10202dc1db8c45dc463fd3925e00b7eb1cafdb7e682891e8926eddfc7cbf89c65164ff2ec610b2e735a7e437061c1a85ac03960176e
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20210927094055-39ccf1dd6fa6.zip 1655907 SHA256 2fcb76edd03c07b872b4e59adb6bde7e27debab8d65fb2f725a78bfc9e06a53e SHA512 dcd3d13b504c351483c49f93884b3e8635cb0377a51cd14fbd3efe8b55f3983e401ee746bbdb7e6904e472beb09343d9d1d1d9667f2cc515e991c8f5c3bf14cf WHIRLPOOL f2e967ab75c0cd51e8105afe837aa9c09b2eec49aabf8edd8bab738d5b603fa01ec8d7022cfc935e0044d3902ecc6e0fdd0f310ae10fc8872288361b407fd1e3
DIST wego-2.1.tar.gz 16499 SHA256 cebfa622789aa8e7045657d81754cb502ba189f4b4bebd1a95192528e06969a6 SHA512 80cc19ea34bdb536ab48ef6e074f86b58dab59f76270688ca2d4c562c5eb34f177597108f2159e6ef33ee2485c068a7904ddf7bf8d0b79cb825ca7b73b0fefa2 WHIRLPOOL 684bc4b084640ef9c5b0da6e33754ddc3a2520cd84d9ab58f33b8a0fcc4256f854ef75fb484e0d1b2f19a499f2cfd81789074aaa3ddea712f3f2a943f66566f0

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@chymera.eu</email>
<name>Horea Christian</name>
</maintainer>
<upstream>
<remote-id type="github">schachmat/wego</remote-id>
<bugs-to>https://github.com/schachmat/wego/issues</bugs-to>
</upstream>
<longdescription lang="en">
Features show forecast for 1 to 7 days nice ASCII art icons displayed info
(metric or imperial units): temperature range (felt and measured) windspeed
and direction viewing distance precipitation amount and probability ssl.
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,43 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
EGO_PN="github.com/schachmat/wego"
EGO_SUM=(
"github.com/mattn/go-colorable v0.1.12"
"github.com/mattn/go-colorable v0.1.12/go.mod"
"github.com/mattn/go-isatty v0.0.14"
"github.com/mattn/go-isatty v0.0.14/go.mod"
"github.com/mattn/go-runewidth v0.0.13"
"github.com/mattn/go-runewidth v0.0.13/go.mod"
"github.com/rivo/uniseg v0.2.0"
"github.com/rivo/uniseg v0.2.0/go.mod"
"github.com/schachmat/ingo v0.0.0-20170403011506-a4bdc0729a3f"
"github.com/schachmat/ingo v0.0.0-20170403011506-a4bdc0729a3f/go.mod"
"golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod"
"golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6"
"golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod"
)
go-module_set_globals
DESCRIPTION="Wego is a weather client for the terminal"
SRC_URI="
https://github.com/schachmat/wego/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
${EGO_SUM_SRC_URI}
"
HOMEPAGE="https://github.com/schachmat/wego"
LICENSE="BSD ISC MIT"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
go build -v -x -o wego || die
}
src_install() {
dobin wego
dodoc README.md
}