public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rustup/
Date: Fri, 15 Mar 2024 12:10:46 +0000 (UTC)	[thread overview]
Message-ID: <1710504629.9f75f583cc113f37b873393c8de6046e64b94d69.arthurzam@gentoo> (raw)

commit:     9f75f583cc113f37b873393c8de6046e64b94d69
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 12:09:35 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 12:10:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f75f583

dev-util/rustup: sync live

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/rustup/rustup-9999.ebuild | 35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

diff --git a/dev-util/rustup/rustup-9999.ebuild b/dev-util/rustup/rustup-9999.ebuild
index e5921e9dc313..924ee6667be1 100644
--- a/dev-util/rustup/rustup-9999.ebuild
+++ b/dev-util/rustup/rustup-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,13 +16,16 @@ if [[ ${PV} == "9999" ]] ; then
 	EGIT_REPO_URI="https://github.com/rust-lang/${PN}.git"
 else
 	SRC_URI="https://github.com/rust-lang/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
-		$(cargo_crate_uris ${CRATES})"
+		${CARGO_CRATE_URIS}"
 	KEYWORDS="~amd64 ~arm64 ~ppc64"
 fi
 
-LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 MIT Unlicense ZLIB"
+LICENSE="|| ( Apache-2.0 MIT )"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD ISC MIT Unicode-DFS-2016"
 SLOT="0"
-IUSE=""
+# uses network
+RESTRICT="test"
 
 DEPEND="
 	app-arch/xz-utils
@@ -32,13 +35,11 @@ DEPEND="
 RDEPEND="${DEPEND}"
 BDEPEND="virtual/rust"
 
-QA_FLAGS_IGNORED="usr/bin/.*"
-
-# uses network
-RESTRICT="test"
+# rust does not use *FLAGS from make.conf, silence portage warning
+QA_FLAGS_IGNORED="usr/bin/${PN}"
 
 src_unpack() {
-	if [[ "${PV}" == *9999* ]]; then
+	if [[ "${PV}" == 9999 ]]; then
 		git-r3_src_unpack
 		cargo_live_src_unpack
 	else
@@ -56,7 +57,7 @@ src_configure() {
 		reqwest-default-tls
 	)
 	case ${ARCH} in
-		ppc*|mips*|riscv*|s390*)
+		ppc* | mips* | riscv* | s390*)
 			;;
 		*) myfeatures+=( reqwest-rustls-tls )
 			;;
@@ -85,11 +86,11 @@ src_install() {
 }
 
 pkg_postinst() {
-		elog "No rustup toolchains installed by default"
-		elog "eselect activated system rust toolchain can be added to rustup by running"
-		elog "helper script installed as ${EPREFIX}/usr/bin/rustup-init-gentoo"
-		elog "it will create symlinks to system-installed rustup in home directory"
-		elog "and rustup updates will be managed by portage"
-		elog "please delete current rustup binaries from ~/.cargo/bin/ (if any)"
-		elog "before running rustup-init-gentoo"
+	elog "No rustup toolchains installed by default"
+	elog "eselect activated system rust toolchain can be added to rustup by running"
+	elog "helper script installed as ${EPREFIX}/usr/bin/rustup-init-gentoo"
+	elog "it will create symlinks to system-installed rustup in home directory"
+	elog "and rustup updates will be managed by portage"
+	elog "please delete current rustup binaries from ~/.cargo/bin/ (if any)"
+	elog "before running rustup-init-gentoo"
 }


             reply	other threads:[~2024-03-15 12:10 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15 12:10 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-07  4:46 [gentoo-commits] repo/gentoo:master commit in: dev-util/rustup/ Eli Schwartz
2025-08-07  4:46 Eli Schwartz
2025-06-06  7:42 Arthur Zamarin
2025-06-06  7:04 Arthur Zamarin
2025-03-22 12:41 Arthur Zamarin
2025-03-18 17:49 Arthur Zamarin
2025-03-18 17:49 Arthur Zamarin
2025-03-18 17:49 Arthur Zamarin
2024-10-18 10:50 Arthur Zamarin
2024-09-13 16:51 Arthur Zamarin
2024-03-15 12:24 Arthur Zamarin
2024-03-15 12:10 Arthur Zamarin
2024-03-15 12:10 Arthur Zamarin
2023-02-13 21:01 Georgy Yakovlev
2023-02-08 20:29 Georgy Yakovlev
2023-02-08 20:15 Georgy Yakovlev
2022-09-24  4:13 Georgy Yakovlev
2022-09-20  1:32 Georgy Yakovlev
2022-09-20  1:32 Georgy Yakovlev
2021-06-14 21:59 Georgy Yakovlev
2021-06-14 21:58 Georgy Yakovlev
2021-06-14 21:58 Georgy Yakovlev
2021-05-17 17:17 Georgy Yakovlev
2021-05-01 12:22 Georgy Yakovlev
2021-05-01 12:22 Georgy Yakovlev
2021-05-01 12:22 Georgy Yakovlev
2021-04-18 19:41 Georgy Yakovlev
2021-04-18  1:24 Georgy Yakovlev
2021-04-18  1:24 Georgy Yakovlev
2021-04-18  1:24 Georgy Yakovlev
2021-04-18  1:24 Georgy Yakovlev
2020-11-28  7:54 Georgy Yakovlev
2020-09-23  6:33 Georgy Yakovlev
2020-09-23  2:47 Georgy Yakovlev
2020-09-23  2:47 Georgy Yakovlev
2020-09-09  6: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=1710504629.9f75f583cc113f37b873393c8de6046e64b94d69.arthurzam@gentoo \
    --to=arthurzam@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