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/rustup/
Date: Sat,  1 May 2021 12:22:29 +0000 (UTC)	[thread overview]
Message-ID: <1619871679.b88ecf49381e3cae77f113ddd54a3eadae2fd473.gyakovlev@gentoo> (raw)

commit:     b88ecf49381e3cae77f113ddd54a3eadae2fd473
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat May  1 12:11:57 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat May  1 12:21:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b88ecf49

dev-util/rustup: update live ebuild

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

 dev-util/rustup/rustup-9999.ebuild | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/dev-util/rustup/rustup-9999.ebuild b/dev-util/rustup/rustup-9999.ebuild
index ccdc91c9c6b..36bc896f0bc 100644
--- a/dev-util/rustup/rustup-9999.ebuild
+++ b/dev-util/rustup/rustup-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -24,7 +24,6 @@ LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 MIT Un
 SLOT="0"
 IUSE=""
 
-# requires old libressl-2.5, so openssl only for now.
 DEPEND="
 	app-arch/xz-utils
 	net-misc/curl:=[http2,ssl]
@@ -48,8 +47,21 @@ src_unpack() {
 }
 
 src_configure() {
-	local myfeatures=( no-self-update )
-	cargo_src_configure
+	# modeled after ci/run.bash upstream
+	# reqwest-rustls-tls requires ring crate, which is not very portable.
+	local myfeatures=(
+		no-self-update
+		curl-backend
+		reqwest-backend
+		reqwest-default-tls
+	)
+	case ${ARCH} in
+		ppc*|mips*|riscv*|s390*)
+			;;
+		*) myfeatures+=( reqwest-rustls-tls )
+			;;
+	esac
+	cargo_src_configure --no-default-features
 }
 
 src_compile() {


             reply	other threads:[~2021-05-01 12:22 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-01 12:22 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-18 10:50 [gentoo-commits] repo/gentoo:master commit in: dev-util/rustup/ 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
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-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=1619871679.b88ecf49381e3cae77f113ddd54a3eadae2fd473.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