From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6F2F515800F for ; Wed, 15 Feb 2023 06:25:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5509E07D4; Wed, 15 Feb 2023 06:25:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7AABBE07D4 for ; Wed, 15 Feb 2023 06:25:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B4221340DEB for ; Wed, 15 Feb 2023 06:25:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51A828B1 for ; Wed, 15 Feb 2023 06:25:09 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1676442271.b6605109c1c037e96db4edebd6c17d167719c352.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/maturin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/maturin/maturin-1.0.0_beta1-r1.ebuild dev-util/maturin/maturin-1.0.0_beta1.ebuild X-VCS-Directories: dev-util/maturin/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: b6605109c1c037e96db4edebd6c17d167719c352 X-VCS-Branch: master Date: Wed, 15 Feb 2023 06:25:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 67405183-46fe-4eb2-8dae-433d6be3374f X-Archives-Hash: 0e94ccbafa6fa1d0ea7bf02ed3f9227c commit: b6605109c1c037e96db4edebd6c17d167719c352 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Feb 15 05:55:58 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Feb 15 06:24:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6605109 dev-util/maturin: enable password-storage in 1.0.0_beta1 This matches upstream releases (.github/workflows/release.yml), like rustls it's not always enabled because it comes with caveats (in this case doesn't work on *BSD but we're Linux). Also change the way it's handled a bit, so it's less confusing and easier to edit. Signed-off-by: Ionen Wolkens gentoo.org> ...-1.0.0_beta1.ebuild => maturin-1.0.0_beta1-r1.ebuild} | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/dev-util/maturin/maturin-1.0.0_beta1.ebuild b/dev-util/maturin/maturin-1.0.0_beta1-r1.ebuild similarity index 96% rename from dev-util/maturin/maturin-1.0.0_beta1.ebuild rename to dev-util/maturin/maturin-1.0.0_beta1-r1.ebuild index 44299f0b5696..c3aba92597fc 100644 --- a/dev-util/maturin/maturin-1.0.0_beta1.ebuild +++ b/dev-util/maturin/maturin-1.0.0_beta1-r1.ebuild @@ -452,15 +452,17 @@ src_prepare() { src_configure() { filter-lto # TODO: cleanup after bug #893658 - # no features if empty (pep517-only), this re-enables them like releases do - export MATURIN_SETUP_ARGS=" " - - # cargo.eclass adds IUSE=debug, avoid it being a noop - use debug && MATURIN_SETUP_ARGS+=" --profile dev" + local cargoargs=( + $(usev debug '--profile dev') + --no-default-features + --features full,password-storage # see release.yml + ) # rustls needs ring crate that only works on specific arches (bug #859577) - use !amd64 && use !x86 && use !arm64 && use !arm && - MATURIN_SETUP_ARGS+=" --no-default-features --features full" + use amd64 || use x86 || use arm64 || use arm && + cargoargs+=(--features rustls) + + export MATURIN_SETUP_ARGS=${cargoargs[*]} # --no-default-features if empty } python_compile_all() {