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 C86E115811D for ; Tue, 20 Jun 2023 03:11:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E6DEE086A; Tue, 20 Jun 2023 03:11:06 +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 E585DE086A for ; Tue, 20 Jun 2023 03:11:05 +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 D0A9E340F84 for ; Tue, 20 Jun 2023 03:11:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09D11AA0 for ; Tue, 20 Jun 2023 03:11:02 +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: <1687229906.9be10e73612456cded43ee76f513436f49bf65d0.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ruffle/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/ruffle/ruffle-0_p20230525.ebuild app-emulation/ruffle/ruffle-9999.ebuild X-VCS-Directories: app-emulation/ruffle/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 9be10e73612456cded43ee76f513436f49bf65d0 X-VCS-Branch: master Date: Tue, 20 Jun 2023 03:11:02 +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: 5e35787e-209a-467c-90f8-3d7feb9141e8 X-Archives-Hash: 5a53551d9fa7f529ea56c684c88faa44 commit: 9be10e73612456cded43ee76f513436f49bf65d0 Author: Ionen Wolkens gentoo org> AuthorDate: Tue Jun 20 02:52:34 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Tue Jun 20 02:58:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be10e73 app-emulation/ruffle: adjust workspace handling Signed-off-by: Ionen Wolkens gentoo.org> app-emulation/ruffle/ruffle-0_p20230525.ebuild | 12 ++++++------ app-emulation/ruffle/ruffle-9999.ebuild | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app-emulation/ruffle/ruffle-0_p20230525.ebuild b/app-emulation/ruffle/ruffle-0_p20230525.ebuild index 9b524bb27a10..437ae7c21095 100644 --- a/app-emulation/ruffle/ruffle-0_p20230525.ebuild +++ b/app-emulation/ruffle/ruffle-0_p20230525.ebuild @@ -587,12 +587,12 @@ src_configure() { # see .cargo/cargo.toml, only needed if RUSTFLAGS is set by the user [[ -v RUSTFLAGS ]] && RUSTFLAGS+=" --cfg=web_sys_unstable_apis" - if use test; then - # tests will be skipped if don't build everything - cargo_src_configure --workspace - else - cargo_src_configure --package={ruffle_{desktop,scanner},exporter} - fi + local workspaces=( + ruffle_{desktop,scanner} + exporter + $(usev test tests) + ) + cargo_src_configure ${workspaces[*]/#/--package=} } src_test() { diff --git a/app-emulation/ruffle/ruffle-9999.ebuild b/app-emulation/ruffle/ruffle-9999.ebuild index dc60eb5bf290..e0410394da4a 100644 --- a/app-emulation/ruffle/ruffle-9999.ebuild +++ b/app-emulation/ruffle/ruffle-9999.ebuild @@ -68,12 +68,12 @@ src_configure() { # see .cargo/cargo.toml, only needed if RUSTFLAGS is set by the user [[ -v RUSTFLAGS ]] && RUSTFLAGS+=" --cfg=web_sys_unstable_apis" - if use test; then - # tests will be skipped if don't build everything - cargo_src_configure --workspace - else - cargo_src_configure --package={ruffle_{desktop,scanner},exporter} - fi + local workspaces=( + ruffle_{desktop,scanner} + exporter + $(usev test tests) + ) + cargo_src_configure ${workspaces[*]/#/--package=} } src_test() {