From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/lazygit/
Date: Wed, 23 Feb 2022 13:44:42 +0000 (UTC) [thread overview]
Message-ID: <1645622981.97b57b4f0c335cab2504bbaf5729019a4dcf84cd.cybertailor@gentoo> (raw)
commit: 97b57b4f0c335cab2504bbaf5729019a4dcf84cd
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Feb 21 18:56:29 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Feb 23 13:29:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97b57b4f
dev-vcs/lazygit: switch from deprecated eclass
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-vcs/lazygit/Manifest | 1 -
dev-vcs/lazygit/lazygit-0.31.4.ebuild | 36 ----------------------------------
dev-vcs/lazygit/lazygit-0.33.ebuild | 28 ++++++++++++--------------
dev-vcs/lazygit/lazygit-9999.ebuild | 37 -----------------------------------
4 files changed, 13 insertions(+), 89 deletions(-)
diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest
index 98f0ed9fc..70ac4c31c 100644
--- a/dev-vcs/lazygit/Manifest
+++ b/dev-vcs/lazygit/Manifest
@@ -1,2 +1 @@
-DIST lazygit-0.31.4.tar.gz 3540918 BLAKE2B 58f07b6f4c6fafe787c6e5dcd9e0bf4fa4133be34f893b5c1429021c8308953e0486442e563e99f19be4c51aa2c100067de6b7bf244fd0f932cd54e9d56a06d7 SHA512 2fb4f312ca4c4803f49cebf2487203e73f8d6b2c58f0ca477ff7857a5fc91f422c5942b7ab7b7e820cd95a205f270ba4d09075a1395dc4cf23531151fdb623e2
DIST lazygit-0.33.tar.gz 3729628 BLAKE2B 1cd9a081e5c0b5bd1248404771ed0d2617ef07ce1257a14ebaa13eab785d70ead908d3151fa6019fbc5149d24f7d69a351e7137c2c3878e38cd0630751197e9d SHA512 e878ef0eb64a8d3fb536767f33787dbf06fd27deb2a292e9658f1c97073b5c30d95f3390215bf973e90acc136bcddb839024fddcd4bf25e6dab5f2762a2db379
diff --git a/dev-vcs/lazygit/lazygit-0.31.4.ebuild b/dev-vcs/lazygit/lazygit-0.31.4.ebuild
deleted file mode 100644
index 233a104b0..000000000
--- a/dev-vcs/lazygit/lazygit-0.31.4.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/jesseduffield/lazygit"
-
-inherit golang-build golang-vcs-snapshot
-
-DESCRIPTION="Lazygit, a simple terminal UI for git commands"
-HOMEPAGE="https://github.com/jesseduffield/lazygit"
-SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc"
-
-DEPEND=( sys-libs/glibc )
-RDEPEND=(
- ${DEPEND}
- dev-vcs/git
-)
-
-DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md )
-
-src_compile() {
- GOPATH="${S}" go build -v -o bin/lazygit src/${EGO_PN}/main.go || die
-}
-
-src_install() {
- dobin bin/lazygit
-
- use doc && dodoc -r "src/${EGO_PN}/docs/."
- einstalldocs
-}
diff --git a/dev-vcs/lazygit/lazygit-0.33.ebuild b/dev-vcs/lazygit/lazygit-0.33.ebuild
index 7e93aa089..7ec69e16b 100644
--- a/dev-vcs/lazygit/lazygit-0.33.ebuild
+++ b/dev-vcs/lazygit/lazygit-0.33.ebuild
@@ -1,36 +1,34 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-EGO_PN="github.com/jesseduffield/lazygit"
+inherit go-module
-inherit golang-build golang-vcs-snapshot
-
-DESCRIPTION="Lazygit, a simple terminal UI for git commands"
+DESCRIPTION="Simple terminal UI for git commands"
HOMEPAGE="https://github.com/jesseduffield/lazygit"
SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="doc"
-DEPEND=( sys-libs/glibc )
-RDEPEND=(
- ${DEPEND}
- dev-vcs/git
-)
+# TestCanDeactivatePopupContextsWithoutViews fails
+RESTRICT="test"
+
+RDEPEND="dev-vcs/git"
-DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md )
+DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs )
src_compile() {
- GOPATH="${S}" go build -v -o bin/lazygit src/${EGO_PN}/main.go || die
+ go build -o bin/lazygit || die
+}
+
+src_test() {
+ ./test.sh || die
}
src_install() {
dobin bin/lazygit
-
- use doc && dodoc -r "src/${EGO_PN}/docs/."
einstalldocs
}
diff --git a/dev-vcs/lazygit/lazygit-9999.ebuild b/dev-vcs/lazygit/lazygit-9999.ebuild
deleted file mode 100644
index 1ffebb9de..000000000
--- a/dev-vcs/lazygit/lazygit-9999.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/jesseduffield/lazygit"
-
-inherit git-r3 golang-build golang-vcs
-
-DESCRIPTION="Lazygit, a simple terminal UI for git commands"
-HOMEPAGE="https://github.com/jesseduffield/lazygit"
-EGIT_REPO_URI="https://github.com/jesseduffield/lazygit.git"
-SRC_URI=""
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS=""
-IUSE="doc"
-
-DEPEND=( sys-libs/glibc )
-RDEPEND=(
- ${DEPEND}
- dev-vcs/git
-)
-
-DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md )
-
-src_compile() {
- GOPATH="${S}" go build -v -o bin/lazygit src/${EGO_PN}/main.go || die
-}
-
-src_install() {
- dobin bin/lazygit
-
- use doc && dodoc -r "src/${EGO_PN}/docs/."
- einstalldocs
-}
next reply other threads:[~2022-02-23 13:44 UTC|newest]
Thread overview: 72+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-23 13:44 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-17 19:52 [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/lazygit/ Sergey Torokhov
2025-01-16 18:18 Sergey Torokhov
2024-09-18 18:33 Sergey Torokhov
2024-09-09 0:02 Sergey Torokhov
2024-09-08 23:57 Sergey Torokhov
2024-07-26 20:49 Philippe-Alexandre Mathieu
2024-06-15 15:06 Sergey Torokhov
2024-05-06 20:27 Sergey Torokhov
2024-04-28 21:43 Lucio Sauer
2024-03-24 14:30 Sergey Torokhov
2023-08-21 19:21 Sergey Torokhov
2023-08-21 19:21 Sergey Torokhov
2023-08-08 18:44 Sergey Torokhov
2023-08-06 15:16 Sergey Torokhov
2023-07-24 18:09 Sergey Torokhov
2023-07-23 9:07 Sergey Torokhov
2023-07-23 9:07 Sergey Torokhov
2023-07-22 16:56 Sergey Torokhov
2023-07-21 17:05 Sergey Torokhov
2023-05-03 19:43 Sergey Torokhov
2023-05-03 19:43 Sergey Torokhov
2023-02-01 23:01 Sergey Torokhov
2023-01-18 21:34 Sergey Torokhov
2022-11-14 11:46 Sergey Torokhov
2022-07-20 22:34 Sergey Torokhov
2022-03-17 19:19 Sergey Torokhov
2022-02-24 7:54 Anna Vyalkova
2022-02-20 19:21 Sergey Torokhov
2022-02-20 19:21 Sergey Torokhov
2021-12-12 11:50 Sergey Torokhov
2021-12-12 11:50 Sergey Torokhov
2021-11-10 13:39 Sergey Torokhov
2021-11-09 20:50 Sergey Torokhov
2021-10-27 0:22 Sergey Torokhov
2021-10-24 15:06 Sergey Torokhov
2021-10-15 16:20 Sergey Torokhov
2021-08-19 19:18 Sergey Torokhov
2021-08-19 19:18 Sergey Torokhov
2021-07-18 12:16 Sergey Torokhov
2021-05-25 8:10 Anna Vyalkova
2021-04-21 20:34 Sergey Torokhov
2021-04-21 20:34 Sergey Torokhov
2021-04-11 10:35 Sergey Torokhov
2021-04-10 18:04 Sergey Torokhov
2021-04-08 19:07 Sergey Torokhov
2021-03-14 21:46 Sergey Torokhov
2021-03-14 21:46 Sergey Torokhov
2021-02-24 17:52 Sergey Torokhov
2021-02-24 17:52 Sergey Torokhov
2020-12-26 8:44 Sergey Torokhov
2020-12-09 23:40 Sergey Torokhov
2020-11-07 19:07 Sergey Torokhov
2020-10-14 20:47 Sergey Torokhov
2020-10-10 13:34 Sergey Torokhov
2020-10-10 0:37 Sergey Torokhov
2020-10-10 0:37 Sergey Torokhov
2020-09-20 18:05 Sergey Torokhov
2020-08-27 19:11 Sergey Torokhov
2020-08-25 17:59 Sergey Torokhov
2020-07-15 19:39 Sergey Torokhov
2020-07-14 18:12 Sergey Torokhov
2020-07-14 18:12 Sergey Torokhov
2020-07-12 15:07 Sergey Torokhov
2020-07-11 23:50 Sergey Torokhov
2020-05-19 23:12 Sergey Torokhov
2020-05-13 19:05 Sergey Torokhov
2020-05-13 18:55 Sergey Torokhov
2020-04-22 10:12 Sergey Torokhov
2020-04-21 0:32 Sergey Torokhov
2020-04-09 17:52 Sergey Torokhov
2020-04-08 11:58 Sergey Torokhov
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=1645622981.97b57b4f0c335cab2504bbaf5729019a4dcf84cd.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--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