public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/wego/
Date: Mon, 24 May 2021 14:49:56 +0000 (UTC)	[thread overview]
Message-ID: <1621867795.5eb0294bcc93d05e7423e649859dd96fceedf5dc.Alessandro-Barbieri@gentoo> (raw)

commit:     5eb0294bcc93d05e7423e649859dd96fceedf5dc
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 24 14:45:38 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 24 14:49:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5eb0294b

app-misc/wego: use official eclass

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 app-misc/wego/Manifest                     |  4 ----
 app-misc/wego/wego-2.0.ebuild              | 23 ----------------------
 app-misc/wego/wego-2.0_p20190211-r1.ebuild | 31 ++++++++++++++++++++++++++++++
 app-misc/wego/wego-2.0_p20190211.ebuild    | 28 ---------------------------
 4 files changed, 31 insertions(+), 55 deletions(-)

diff --git a/app-misc/wego/Manifest b/app-misc/wego/Manifest
index 99ce419c4..98f1eb468 100644
--- a/app-misc/wego/Manifest
+++ b/app-misc/wego/Manifest
@@ -1,11 +1,7 @@
 DIST github.com-golang-sys-d5e6a3e2c0ae.tar.gz 1541214 BLAKE2B 947229146a1c9cbe6cb4fa5fdb72861fcad3eaa6de54e02a96ddd6f869a418b172eac0c743b459ea63f56187b9898d45921a86d4710325281b5c85c600f061e3 SHA512 56f5abbbe48b9d114fa46462364b6782cd5e16e40de0684c0e3514af41d1edf59295834f04eed7bc8436b33ad602db3d00c8c87a2da4939e5d759427b1af7669
 DIST github.com-mattn-go-colorable-2e1b0c1546e01.tar.gz 9575 BLAKE2B b39d9a49626f1598bf505c233e65365cd643f6648a2e16cdc0580144c7f3f3e286666fa19eb0a93d2d850efb4e14f73bee3438a58f27cc911b029fdf61f8f3a7 SHA512 5353d6f30df92c0690c2d7549ae81a92bc190d0bb8b604c94ef545f17a89fb73b29d0f0af70f318af24eb919c63e3202e4fb9449357f3ddef821c63312c67316
-DIST github.com-mattn-go-colorable-9fdad7c.tar.gz 5586 BLAKE2B 4f41090d5b803e62b3cf5ab2bab05bf726006c2ccf5fe3e1c5c9a5042375ec652d6bddd09465b1748f969b5c78615e030e72a43d299a953d4fecaf2e8eb993cc SHA512 f3f1893c535cd050bdf83e8d13d5fa5f12b58272a1a373dc17c68a0021a0bd9e72817b5784dd1276cd963bbef07424d47c877d809df787058d8c87194f70b582
 DIST github.com-mattn-go-isatty-7b513a986450.tar.gz 4544 BLAKE2B 6b8a11ce52397597ab65d8bc5382169c7d64dd716e0d97cbd46620c64f5a24de4b5874c1f71aa79a4046e8bfe2b5899d4685d3b5c7b8a8dbf2baa03bb1a2cdc8 SHA512 74b775ee71bac2d3d4bcdb60664b02e785a58e8d8bd8516b5c90c1e21c36832fdd673a8342b2a9857ab7aac61e66dca8fac373938c6de848e51641d5bfa96bff
 DIST github.com-mattn-go-runewidth-43a826dcfbd.tar.gz 17351 BLAKE2B 7dbae627493b6899a794f884351dca5897834cb56986b0f263d6eed35623040d6f43da67e2ae6d7fd400e4ad1e7dcf0c052c67657c8b18dbe720cd7f6d264ad0 SHA512 df2951c4a407a0f164e46073e518765c213770691e57b7b1e3eb9e3b3a02ab0f4e47410038cac86f5ecba464fd157e94dbe7fe5ad96b7c23a50b38c6ee2bced8
-DIST github.com-mattn-go-runewidth-d037b52.tar.gz 5895 BLAKE2B 32e5b025abe0ac98eea8e35278b76f2f447f80f5110fd5f66628510fa0488095f94beab0a010c4f511df04c8a8f503315910acc22f0ba9438a324da3faeeea08 SHA512 0795a78dbf805bcf3fb9887a0bb5875c6b8579302d9207a536d5d00dc8a97a732ae95d274d3b26215d9f900299b01a5b0869561e215def6c8d35d9603b9da551
 DIST github.com-rivo-uniseg-f8f8f751c732.tar.gz 43999 BLAKE2B cb8dc8c5744f8d5ac34a4af7be5ae15728d25769bb68e2bb0b3d5c4e6504a4a2eb250f589d7311975735348cd4044dd268d99e8140e448a6340730907655391f SHA512 47cc738c198c7f0ae4bd5e816b1694b8e810951eed2e1ca030d84001ab871477e819758041677428ddeb31d894031eeaf7f8265ae58f3b8e619f3475bb7691f2
 DIST github.com-schachmat-ingo-a4bdc0729a3f.tar.gz 5345 BLAKE2B 6c9ce292c32d9445ad1a44f338ff5179938199c9895cff66994c171438cb47bc822684dbc8ceafb90cfca08309a25402e856028c410af42758cba74650a44f9c SHA512 29a917430277811ac612b372756f548aebdd7216fe14c058cabd8edc2594807a8f2b518e28730f9318e01c83efd8d063254433021f60d918b5d0bd818649a724
-DIST github.com-schachmat-ingo-fab41e4.tar.gz 3170 BLAKE2B e37843954694c9cf5ae0a7faf953a5483f06d85bc7521ac199a0db9e6ca052f38ffac74b9f4256a2692f3f3055f49274cb0d7e1ac96c3a892da3553963d6e2da SHA512 8aedc3e85666c228f44f563fbc0264a3cd17fc4dc25f243d92995aeeb493533439600d147eeb9e23d00f108e8002a8b9e0fb4be309353ddd08f1efdd9582b849
-DIST wego-2.0.tar.gz 11185 BLAKE2B 1bf8030a0801a80d5bd367be9a53f01c232ece40fb6f66e4dd06a72ed44e2cc1d6da27888b148c24264ed4eec460b4b9d8e4ff6e91d55e134f275b3978048ace SHA512 92073393f420f72367955b08ef64a90eadc5a72f79f9c42ee1886918923e5953da15dd9ffaefc14aa444cfe5db5f903d88ec080f9ca3490da29efe5734a200f8
 DIST wego-2.0_p20190211.tar.gz 15639 BLAKE2B 49b8e074aa23ef21917263a57aee6bd92c8a901a3a8163f7d73512a3682f312ae3b9e645dfb44b856433b2635000c2cdbe0a8d5d0a3c079cba6d20b8789d7b60 SHA512 8ee2747f4a6a0655125fd197b40bea9cf6ae11728a68c35e08863906a54b195e16be932e007dfa9be61452b59503126c92b9785f467a5b38f4f6f6d3e12e71e4

diff --git a/app-misc/wego/wego-2.0.ebuild b/app-misc/wego/wego-2.0.ebuild
deleted file mode 100644
index c7a702174..000000000
--- a/app-misc/wego/wego-2.0.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-GOLANG_PKG_IMPORTPATH="github.com/schachmat"
-GOLANG_PKG_HAVE_TEST=1
-GOLANG_PKG_USE_CGO=1
-
-GOLANG_PKG_DEPENDENCIES=(
-	"github.com/mattn/go-colorable:9fdad7c"
-	"github.com/mattn/go-runewidth:d037b52"
-	"github.com/schachmat/ingo:fab41e4"
-)
-
-inherit golang-single
-
-DESCRIPTION="Wego is a weather client for the terminal"
-
-LICENSE="BSD ISC"
-SLOT="0"
-KEYWORDS="~amd64"
-RESTRICT="!test? ( test )"

diff --git a/app-misc/wego/wego-2.0_p20190211-r1.ebuild b/app-misc/wego/wego-2.0_p20190211-r1.ebuild
new file mode 100644
index 000000000..24ed5334e
--- /dev/null
+++ b/app-misc/wego/wego-2.0_p20190211-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_COMMIT="994e4f141759a1070d7b0c8fbe5fad2cc7ee7d45"
+EGO_PN="github.com/schachmat/wego"
+EGO_VENDOR=(
+	"github.com/mattn/go-runewidth 43a826dcfbd"
+	"github.com/mattn/go-colorable 2e1b0c1546e01"
+	"github.com/schachmat/ingo a4bdc0729a3f"
+	"github.com/mattn/go-isatty 7b513a986450"
+	"github.com/rivo/uniseg f8f8f751c732"
+	"golang.org/x/sys d5e6a3e2c0ae github.com/golang/sys"
+)
+
+inherit golang-vcs-snapshot golang-build
+
+DESCRIPTION="Wego is a weather client for the terminal"
+SRC_URI="
+	https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+	${EGO_VENDOR_URI}
+"
+LICENSE="BSD ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_install() {
+	dobin wego
+	dodoc "src/${EGO_PN}/README.md"
+}

diff --git a/app-misc/wego/wego-2.0_p20190211.ebuild b/app-misc/wego/wego-2.0_p20190211.ebuild
deleted file mode 100644
index 752cf2416..000000000
--- a/app-misc/wego/wego-2.0_p20190211.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-COMMIT="994e4f141759a1070d7b0c8fbe5fad2cc7ee7d45"
-
-GOLANG_PKG_IMPORTPATH="github.com/schachmat"
-GOLANG_PKG_HAVE_TEST=1
-GOLANG_PKG_VERSION="${COMMIT}"
-GOLANG_PKG_DEPENDENCIES=(
-	"github.com/mattn/go-runewidth:43a826dcfbd"
-	"github.com/mattn/go-colorable:2e1b0c1546e01"
-	"github.com/schachmat/ingo:a4bdc0729a3f"
-	"github.com/mattn/go-isatty:7b513a986450"
-	"github.com/rivo/uniseg:f8f8f751c732"
-	"github.com/golang/sys:d5e6a3e2c0ae -> golang.org/x"
-)
-
-inherit golang-single
-
-DESCRIPTION="Wego is a weather client for the terminal"
-#SRC_URI="https://github.com/schachmat/wego/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-#S="${WORKDIR}/${PN}-${COMMIT}"
-LICENSE="BSD ISC"
-SLOT="0"
-KEYWORDS="~amd64"
-RESTRICT="!test? ( test )"


             reply	other threads:[~2021-05-24 14:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 14:49 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-20 22:07 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/wego/ David Roman
2023-10-05 15:21 [gentoo-commits] repo/proj/guru:master " David Roman
2023-10-05 15:10 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2023-10-05 15:11 David Roman
2022-03-05  1:43 Alessandro Barbieri
2021-05-24 14:49 Alessandro Barbieri
2021-05-18 10:24 Alessandro Barbieri
2021-05-17 10:16 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1621867795.5eb0294bcc93d05e7423e649859dd96fceedf5dc.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox