public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-vcs/lazygit/
Date: Thu, 07 Aug 2025 21:36:34 +0000 (UTC)	[thread overview]
Message-ID: <1754454560.29e29ada7ec8800ae9f68d0ee1fdb1788f124251.davidroman@gentoo> (raw)

commit:     29e29ada7ec8800ae9f68d0ee1fdb1788f124251
Author:     ingenarel <ingenarelitems <AT> gmail <DOT> com>
AuthorDate: Wed Aug  6 04:29:20 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Aug  6 04:29:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29e29ada

dev-vcs/lazygit: use ebuild template for 9999

Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com>

 dev-vcs/lazygit/lazygit-9999.ebuild | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/dev-vcs/lazygit/lazygit-9999.ebuild b/dev-vcs/lazygit/lazygit-9999.ebuild
index 0d6726eeb7..398916c00d 100644
--- a/dev-vcs/lazygit/lazygit-9999.ebuild
+++ b/dev-vcs/lazygit/lazygit-9999.ebuild
@@ -3,25 +3,30 @@
 
 EAPI=8
 
-inherit go-module git-r3
+inherit go-module
 
 DESCRIPTION="Simple terminal UI for git commands"
 HOMEPAGE="https://github.com/jesseduffield/lazygit"
-EGIT_REPO_URI="https://github.com/jesseduffield/lazygit.git"
+if [[ "${PV}" == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/jesseduffield/${PN}.git"
+	src_unpack() {
+		git-r3_src_unpack
+	}
+else
+	KEYWORDS="~amd64"
+	SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
 
 LICENSE="Apache-2.0 BSD ISC MIT Unlicense"
 SLOT="0"
-
 RDEPEND="dev-vcs/git"
 
 DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs )
 
-src_unpack() {
-	git-r3_src_unpack
-}
-
 src_compile() {
-	ego build -o bin/lazygit -ldflags "-X main.version=${PV}"
+	ego build -o "bin/${PN}" \
+		-ldflags "-X main.version=${PV}"
 }
 
 src_test() {
@@ -29,6 +34,6 @@ src_test() {
 }
 
 src_install() {
-	dobin bin/lazygit
+	dobin "bin/${PN}"
 	einstalldocs
 }


             reply	other threads:[~2025-08-07 21:36 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-07 21:36 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-22  9:09 [gentoo-commits] repo/proj/guru:master commit in: dev-vcs/lazygit/ David Roman
2025-09-09 14:47 David Roman
2025-09-09 14:47 David Roman
2025-08-20  0:52 David Roman
2025-08-07 21:36 David Roman
2025-06-03  8:50 David Roman
2025-05-21 14:34 Julien Roy
2025-04-16 12:45 David Roman
2025-04-16 12:45 David Roman
2025-03-03 15:10 David Roman
2025-02-28 15:12 David Roman
2025-02-28 15:12 David Roman
2025-02-25 15:25 David Roman
2025-02-18 14:01 David Roman
2025-01-17  9:41 David Roman
2024-09-18 23:46 Haelwenn Monnier
2024-09-09  9:39 David Roman
2024-09-09  9:39 David Roman
2024-07-26 21:12 David Roman
2024-06-15 15:55 Julien Roy
2024-05-07  3:54 Rui Huang
2024-03-24 19:31 Julien Roy
2023-08-23 17:33 David Roman
2023-08-23 17:33 David Roman
2023-08-10  8:14 Viorel Munteanu
2023-08-07 12:51 David Roman
2023-07-25  4:59 Haelwenn Monnier
2023-07-23 14:07 David Roman
2023-07-23 14:07 David Roman
2023-07-22 23:06 David Roman
2023-07-21 20:15 Haelwenn Monnier
2022-11-16 10:19 Florian Schmaus
2022-07-23 17:36 Haelwenn Monnier
2022-03-18  6:35 Arthur Zamarin
2022-02-24 11:10 Ronny Gutbrod
2022-02-24 11:10 Ronny Gutbrod
2021-10-27  6:18 Florian Schmaus
2021-10-25 11:56 Andrew Ammerlaan
2021-08-20 18:48 Florian Schmaus
2021-08-20 18:48 Florian Schmaus
2021-07-19  9:55 Andrew Ammerlaan
2021-04-22  7:35 Andrew Ammerlaan
2021-04-22  7:35 Andrew Ammerlaan
2021-04-12  5:38 Theo Anderson
2021-04-09 12:52 Andrew Ammerlaan
2021-03-15 10:58 Andrew Ammerlaan
2021-03-15 10:58 Andrew Ammerlaan
2021-02-24 18:50 Andrew Ammerlaan
2021-02-24 18:50 Andrew Ammerlaan
2020-12-10  8:46 Andrew Ammerlaan
2020-11-08 11:13 Andrew Ammerlaan
2020-10-16  8:37 Andrew Ammerlaan
2020-10-11 14:54 Andrew Ammerlaan
2020-10-10  8:49 Andrew Ammerlaan
2020-10-10  8:49 Andrew Ammerlaan
2020-09-21 10:01 Andrew Ammerlaan
2020-08-28 15:26 Andrew Ammerlaan
2020-08-25 18:46 Andrew Ammerlaan
2020-07-16  8:46 Andrew Ammerlaan
2020-07-14 19:13 Andrew Ammerlaan
2020-07-14 19:13 Andrew Ammerlaan
2020-07-14  9:34 Andrew Ammerlaan
2020-07-12 11:57 Andrew Ammerlaan
2020-05-21 11:24 Andrew Ammerlaan
2020-05-14  9:29 Andrew Ammerlaan
2020-05-14  9:29 Andrew Ammerlaan
2020-04-22 17:25 Andrew Ammerlaan
2020-04-21 10:20 Andrew Ammerlaan
2020-04-09 19:47 Andrew Ammerlaan
2020-04-08 12:09 Andrew Ammerlaan

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=1754454560.29e29ada7ec8800ae9f68d0ee1fdb1788f124251.davidroman@gentoo \
    --to=davidroman96@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