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 ECAE7159C9B for ; Thu, 1 Aug 2024 13:42:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07E3EE2AE4; Thu, 1 Aug 2024 13:42:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8BDAE2AE2 for ; Thu, 1 Aug 2024 13:42:48 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFA98335DC0 for ; Thu, 1 Aug 2024 13:42:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32A921E8C for ; Thu, 1 Aug 2024 13:42:46 +0000 (UTC) From: "Lucio Sauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lucio Sauer" Message-ID: <1722519693.457526eac547776472946a0022e7bf5d9a6bb92c.watermanpaint@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/rust-script/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/rust-script/rust-script-0.34.0.ebuild X-VCS-Directories: dev-util/rust-script/ X-VCS-Committer: watermanpaint X-VCS-Committer-Name: Lucio Sauer X-VCS-Revision: 457526eac547776472946a0022e7bf5d9a6bb92c X-VCS-Branch: dev Date: Thu, 1 Aug 2024 13:42:46 +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: a701cae6-22ca-4c2c-871f-a4028ed867f5 X-Archives-Hash: 9aaf5d4611f4bd1882d5dee9f9d9ddef commit: 457526eac547776472946a0022e7bf5d9a6bb92c Author: Lucio Sauer posteo net> AuthorDate: Thu Aug 1 13:27:11 2024 +0000 Commit: Lucio Sauer posteo net> CommitDate: Thu Aug 1 13:41:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=457526ea dev-util/rust-script: check for Cargo config.toml before creation https://public-inbox.gentoo.org/gentoo-dev/20240725180612.19453-2-chewi gentoo.org/T/#u will replace `config` with `config.toml`, thus cause the creation of the latter to fail. Signed-off-by: Lucio Sauer posteo.net> dev-util/rust-script/rust-script-0.34.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-util/rust-script/rust-script-0.34.0.ebuild b/dev-util/rust-script/rust-script-0.34.0.ebuild index b7f07746b..f668ea5bd 100644 --- a/dev-util/rust-script/rust-script-0.34.0.ebuild +++ b/dev-util/rust-script/rust-script-0.34.0.ebuild @@ -122,5 +122,7 @@ src_prepare() { use debug || sed -i "s|/debug/|/release/|" tests/util/mod.rs || die # cargo.eclass uses the old config and deprecation warning breaks the test. - ln -s "${ECARGO_HOME}/config" "${ECARGO_HOME}/config.toml" || die + if [[ ! -e "${ECARGO_HOME}/config.toml" ]]; then + ln -s "${ECARGO_HOME}/config" "${ECARGO_HOME}/config.toml" || die + fi } 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 0C827159C9B for ; Thu, 1 Aug 2024 13:52:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D77B2BC073; Thu, 1 Aug 2024 13:52:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 621172BC070 for ; Thu, 1 Aug 2024 13:52:01 +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 7C03D34069F for ; Thu, 1 Aug 2024 13:52:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD7921E9A for ; Thu, 1 Aug 2024 13:51:57 +0000 (UTC) From: "Lucio Sauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lucio Sauer" Message-ID: <1722519693.457526eac547776472946a0022e7bf5d9a6bb92c.watermanpaint@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/rust-script/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/rust-script/rust-script-0.34.0.ebuild X-VCS-Directories: dev-util/rust-script/ X-VCS-Committer: watermanpaint X-VCS-Committer-Name: Lucio Sauer X-VCS-Revision: 457526eac547776472946a0022e7bf5d9a6bb92c X-VCS-Branch: master Date: Thu, 1 Aug 2024 13:51:57 +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: 3e480e35-503b-456d-8a5d-01f34ef562b2 X-Archives-Hash: 71161a98359c3d4a2918d498d8880c99 Message-ID: <20240801135157.FMElVo-l6WCIpNsEf8oOU61px0ChpZzVTmtgVx5NtlI@z> commit: 457526eac547776472946a0022e7bf5d9a6bb92c Author: Lucio Sauer posteo net> AuthorDate: Thu Aug 1 13:27:11 2024 +0000 Commit: Lucio Sauer posteo net> CommitDate: Thu Aug 1 13:41:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=457526ea dev-util/rust-script: check for Cargo config.toml before creation https://public-inbox.gentoo.org/gentoo-dev/20240725180612.19453-2-chewi gentoo.org/T/#u will replace `config` with `config.toml`, thus cause the creation of the latter to fail. Signed-off-by: Lucio Sauer posteo.net> dev-util/rust-script/rust-script-0.34.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-util/rust-script/rust-script-0.34.0.ebuild b/dev-util/rust-script/rust-script-0.34.0.ebuild index b7f07746b..f668ea5bd 100644 --- a/dev-util/rust-script/rust-script-0.34.0.ebuild +++ b/dev-util/rust-script/rust-script-0.34.0.ebuild @@ -122,5 +122,7 @@ src_prepare() { use debug || sed -i "s|/debug/|/release/|" tests/util/mod.rs || die # cargo.eclass uses the old config and deprecation warning breaks the test. - ln -s "${ECARGO_HOME}/config" "${ECARGO_HOME}/config.toml" || die + if [[ ! -e "${ECARGO_HOME}/config.toml" ]]; then + ln -s "${ECARGO_HOME}/config" "${ECARGO_HOME}/config.toml" || die + fi }