public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eetu Eloranta" <eetu@muffinpower.fi>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/kanata/
Date: Mon,  4 Nov 2024 22:20:04 +0000 (UTC)	[thread overview]
Message-ID: <1730753937.03bdd99861a72ba7c781b0070f4654875301efde.eetu@gentoo> (raw)

commit:     03bdd99861a72ba7c781b0070f4654875301efde
Author:     Eetu Eloranta <eetu <AT> muffinpower <DOT> fi>
AuthorDate: Mon Nov  4 20:38:36 2024 +0000
Commit:     Eetu Eloranta <eetu <AT> muffinpower <DOT> fi>
CommitDate: Mon Nov  4 20:58:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=03bdd998

app-misc/kanata: Add cmd use flag

Signed-off-by: Eetu Eloranta <eetu <AT> muffinpower.fi>

 app-misc/kanata/kanata-1.7.0.ebuild | 12 +++++++++---
 app-misc/kanata/metadata.xml        |  3 +++
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/app-misc/kanata/kanata-1.7.0.ebuild b/app-misc/kanata/kanata-1.7.0.ebuild
index f50130cfe..40f2ff468 100644
--- a/app-misc/kanata/kanata-1.7.0.ebuild
+++ b/app-misc/kanata/kanata-1.7.0.ebuild
@@ -1,8 +1,6 @@
 # Copyright 2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-# Autogenerated by pycargoebuild 0.13.3
-
 EAPI=8
 
 CRATES="
@@ -220,5 +218,13 @@ LICENSE+=" Apache-2.0 BSD ISC LGPL-3 MIT MPL-2.0 Unicode-DFS-2016"
 SLOT="0"
 KEYWORDS="~amd64"
 
-# Rust package
+IUSE="cmd"
+
 QA_FLAGS_IGNORED="usr/bin/kanata"
+
+src_configure() {
+	local myfeatures=(
+		$(usev cmd)
+	)
+	cargo_src_configure
+}

diff --git a/app-misc/kanata/metadata.xml b/app-misc/kanata/metadata.xml
index f83ea8a74..6a0d98453 100644
--- a/app-misc/kanata/metadata.xml
+++ b/app-misc/kanata/metadata.xml
@@ -5,6 +5,9 @@
 		<email>eetu@muffinpower.fi</email>
 		<name>Eetu Eloranta</name>
 	</maintainer>
+	<use>
+		<flag name="cmd">Enable potentially dangerous "cmd" action to be able run arbitrary commands.</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">jtroo/kanata</remote-id>
 	</upstream>


             reply	other threads:[~2024-11-04 22:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-04 22:20 Eetu Eloranta [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-09 13:59 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/kanata/ Eetu Eloranta
2024-11-04 13:54 Takuya Wakazono
2024-11-03 21:29 Eetu Eloranta
2024-11-03 18:31 Eetu Eloranta

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=1730753937.03bdd99861a72ba7c781b0070f4654875301efde.eetu@gentoo \
    --to=eetu@muffinpower.fi \
    --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