public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sccache/
Date: Wed, 23 Sep 2020 06:33:31 +0000 (UTC)	[thread overview]
Message-ID: <1600840733.43d56afaf00b4306dca4aabc0c608aad18cdc795.gyakovlev@gentoo> (raw)

commit:     43d56afaf00b4306dca4aabc0c608aad18cdc795
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 05:09:33 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 05:58:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d56afa

dev-util/sccache: adjust for cargo_src_configure

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-util/sccache/sccache-0.2.13.ebuild | 11 ++---------
 dev-util/sccache/sccache-9999.ebuild   |  9 +++------
 2 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/dev-util/sccache/sccache-0.2.13.ebuild b/dev-util/sccache/sccache-0.2.13.ebuild
index 4d2c3f7b831..83a45411fda 100644
--- a/dev-util/sccache/sccache-0.2.13.ebuild
+++ b/dev-util/sccache/sccache-0.2.13.ebuild
@@ -363,14 +363,11 @@ src_configure() {
 		$(usev redis)
 		$(usev s3)
 	)
-}
-
-src_compile() {
-	cargo_src_compile ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+	cargo_src_configure --no-default-features
 }
 
 src_install() {
-	cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+	cargo_src_install
 
 	keepdir /etc/sccache
 
@@ -386,10 +383,6 @@ src_install() {
 	fi
 }
 
-src_test() {
-	cargo_src_test ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
-}
-
 pkg_postinst() {
 	ewarn "${PN} is experimental, please use with care"
 	use memcached && optfeature "memcached backend support" net-misc/memcached

diff --git a/dev-util/sccache/sccache-9999.ebuild b/dev-util/sccache/sccache-9999.ebuild
index ea404f54b9c..8cd33a9a3b1 100644
--- a/dev-util/sccache/sccache-9999.ebuild
+++ b/dev-util/sccache/sccache-9999.ebuild
@@ -57,14 +57,11 @@ src_configure() {
 		$(usev redis)
 		$(usev s3)
 	)
-}
-
-src_compile() {
-	cargo_src_compile ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+	cargo_src_configure --no-default-features
 }
 
 src_install() {
-	cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+	cargo_src_install
 
 	keepdir /etc/sccache
 
@@ -84,7 +81,7 @@ src_test() {
 	if [[ "${PV}" == *9999* ]]; then
 		ewarn "tests are always broken for ${PV} (require network), skipping"
 	else
-		cargo_src_test ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features
+		cargo_src_test
 	fi
 }
 


             reply	other threads:[~2020-09-23  6:33 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-23  6:33 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-29  8:31 [gentoo-commits] repo/gentoo:master commit in: dev-util/sccache/ WANG Xuerui
2025-03-13  8:56 Petr Vaněk
2025-03-12 12:04 Petr Vaněk
2025-03-10  3:02 Sam James
2025-03-10  3:02 Sam James
2025-03-10  3:02 Sam James
2025-01-14  4:53 Sam James
2025-01-14  4:53 Sam James
2024-12-11  2:13 Sam James
2024-11-25  0:02 Sam James
2024-11-25  0:02 Sam James
2024-11-25  0:02 Sam James
2024-11-25  0:02 Sam James
2024-03-06  3:37 Sam James
2023-06-27 16:28 Sam James
2023-06-27  7:54 Sam James
2022-09-28  2:45 Georgy Yakovlev
2022-09-27 20:52 Georgy Yakovlev
2021-07-24  6:09 Georgy Yakovlev
2021-07-24  2:45 Georgy Yakovlev
2021-02-25 23:52 Georgy Yakovlev
2021-02-25 23:48 Georgy Yakovlev
2021-02-25 23:47 Georgy Yakovlev
2020-09-23  6:33 Georgy Yakovlev
2020-06-11  2:00 Georgy Yakovlev
2020-02-29  7:46 Georgy Yakovlev
2020-02-18  6:16 Georgy Yakovlev
2019-12-30  9:39 Georgy Yakovlev
2019-08-09  8:38 Georgy Yakovlev
2019-01-26  7:41 Georgy Yakovlev
2019-01-26  7:32 Georgy Yakovlev
2019-01-26  3:50 Georgy Yakovlev

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=1600840733.43d56afaf00b4306dca4aabc0c608aad18cdc795.gyakovlev@gentoo \
    --to=gyakovlev@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