public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-shells/atuin/
Date: Mon, 29 May 2023 20:56:53 +0000 (UTC)	[thread overview]
Message-ID: <1685393810.e7e0ae230435b140bf036e55b134ec168439361a.flow@gentoo> (raw)
Message-ID: <20230529205653.9nReYo4OMX4cf5156tE9bFJqL8_3tvHxxTyK857rLgs@z> (raw)

commit:     e7e0ae230435b140bf036e55b134ec168439361a
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon May 29 20:52:50 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon May 29 20:56:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7e0ae23

app-shells/atuin: add missing local, style improvements, 14.0.1 also requires rust 1.67

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-shells/atuin/atuin-14.0.1.ebuild | 18 +++++++++++-------
 app-shells/atuin/atuin-15.0.0.ebuild | 15 +++++++++------
 2 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/app-shells/atuin/atuin-14.0.1.ebuild b/app-shells/atuin/atuin-14.0.1.ebuild
index d97a4ea03..d788813ae 100644
--- a/app-shells/atuin/atuin-14.0.1.ebuild
+++ b/app-shells/atuin/atuin-14.0.1.ebuild
@@ -316,9 +316,7 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="doc"
 
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND="dev-lang/rust"
+BDEPEND=">=dev-lang/rust-1.67.1"
 
 QA_FLAGS_IGNORED="usr/bin/${PN}"
 
@@ -331,16 +329,22 @@ DOCS=(
 src_install() {
 	cargo install --path "${PN}"
 
+	local atuin_bin="target/$(usex debug debug release)/${PN}"
+
 	exeinto "/usr/bin"
-	doexe "target/$(usex debug debug release)/${PN}"
+	doexe "${atuin_bin}"
 
 	use doc && dodoc -r "${DOCS[@]}"
 
 	# Prepare shell completion generation
 	mkdir completions || die
-	for shell in 'bash' 'fish' 'zsh'; do
-    "target/$(usex debug debug release)/${PN}" gen-completions -s "$shell" -o completions || die
-  done
+	local shell
+	for shell in bash fish zsh; do
+		"${atuin_bin}" gen-completions \
+					 -s ${shell} \
+					 -o completions \
+			|| die
+	done
 
 	newbashcomp "completions/${PN}.bash" "${PN}"
 	dozshcomp "completions/_${PN}"

diff --git a/app-shells/atuin/atuin-15.0.0.ebuild b/app-shells/atuin/atuin-15.0.0.ebuild
index 7dfad66d0..cafda860e 100644
--- a/app-shells/atuin/atuin-15.0.0.ebuild
+++ b/app-shells/atuin/atuin-15.0.0.ebuild
@@ -326,10 +326,7 @@ SRC_URI="
 LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
 
-DEPEND=""
-RDEPEND="${DEPEND}"
 BDEPEND=">=dev-lang/rust-1.67.1"
 
 QA_FLAGS_IGNORED="usr/bin/${PN}"
@@ -343,15 +340,21 @@ DOCS=(
 src_install() {
 	cargo install --path "${PN}"
 
+	local atuin_bin="target/$(usex debug debug release)/${PN}"
+
 	exeinto "/usr/bin"
-	doexe "target/$(usex debug debug release)/${PN}"
+	doexe "${atuin_bin}"
 
 	dodoc -r "${DOCS[@]}"
 
 	# Prepare shell completion generation
 	mkdir completions || die
-	for shell in 'bash' 'fish' 'zsh'; do
-		"target/$(usex debug debug release)/${PN}" gen-completions -s "$shell" -o completions || die
+	local shell
+	for shell in bash fish zsh; do
+		"${atuin_bin}" gen-completions \
+					 -s ${shell} \
+					 -o completions \
+			|| die
 	done
 
 	newbashcomp "completions/${PN}.bash" "${PN}"


             reply	other threads:[~2023-05-29 20:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-29 20:57 Florian Schmaus [this message]
2023-05-29 20:56 ` [gentoo-commits] repo/proj/guru:dev commit in: app-shells/atuin/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2023-07-02 13:06 [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2023-05-29 20:57 Florian Schmaus
2023-05-29 20:57 Florian Schmaus
2023-05-29 20:57 Florian Schmaus
2023-04-28 17:52 Arthur Zamarin
2023-04-28 17:52 Arthur Zamarin

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=1685393810.e7e0ae230435b140bf036e55b134ec168439361a.flow@gentoo \
    --to=flow@gentoo.org \
    --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