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-util/scc/
Date: Fri,  8 Nov 2024 10:23:58 +0000 (UTC)	[thread overview]
Message-ID: <1731045116.e27290fd9bd0a90337c9b51943fae0f69419b5c2.davidroman@gentoo> (raw)

commit:     e27290fd9bd0a90337c9b51943fae0f69419b5c2
Author:     Wu, Zhenyu <wuzhenyu <AT> ustc <DOT> edu>
AuthorDate: Fri Nov  8 05:51:56 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Nov  8 05:51:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e27290fd

dev-util/scc: add examples to IUSE

Signed-off-by: Wu, Zhenyu <wuzhenyu <AT> ustc.edu>

 dev-util/scc/scc-3.4.0.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-util/scc/scc-3.4.0.ebuild b/dev-util/scc/scc-3.4.0.ebuild
index 59c7d0cc9..32bcfe285 100644
--- a/dev-util/scc/scc-3.4.0.ebuild
+++ b/dev-util/scc/scc-3.4.0.ebuild
@@ -12,17 +12,20 @@ SRC_URI="https://github.com/boyter/scc/archive/refs/tags/v${PV}.tar.gz -> ${P}.t
 LICENSE="MIT Unlicense"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="examples"
 
-DEPEND=""
 RDEPEND="${DEPEND}"
-BDEPEND=""
-DOCS="CONTRIBUTING.md LANGUAGES.md README.md examples"
+DOCS="CONTRIBUTING.md LANGUAGES.md README.md"
 
 src_compile() {
-	go build
+	ego build
 }
 
 src_install() {
 	dobin scc
 	einstalldocs
+	if use examples; then
+		insinto "/usr/share/doc/${PF}"
+		doins -r examples
+	fi
 }


                 reply	other threads:[~2024-11-08 10:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1731045116.e27290fd9bd0a90337c9b51943fae0f69419b5c2.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