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 19D9D158020 for ; Sat, 26 Nov 2022 10:54:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17282E09DA; Sat, 26 Nov 2022 10:54:35 +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 F0B24E09DA for ; Sat, 26 Nov 2022 10:54:34 +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 640163414A9 for ; Sat, 26 Nov 2022 10:54:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD159775 for ; Sat, 26 Nov 2022 10:54:30 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1669376220.2e00acb8c29cc4d92a42fb374ff25de3b01bffd1.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: eclass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: eclass/dotnet-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 2e00acb8c29cc4d92a42fb374ff25de3b01bffd1 X-VCS-Branch: master Date: Sat, 26 Nov 2022 10:54:30 +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: 2c719a2b-9be2-4758-b3d5-0e136b2ba355 X-Archives-Hash: 30437eaa29f73d0e3e38bc3a49faa4a9 commit: 2e00acb8c29cc4d92a42fb374ff25de3b01bffd1 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Fri Nov 25 11:13:57 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Fri Nov 25 11:37:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e00acb8 dotnet-utils.eclass: add inherit guard Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/dotnet-utils.eclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/dotnet-utils.eclass b/eclass/dotnet-utils.eclass index f7f84dde3..e5c5d3c8f 100644 --- a/eclass/dotnet-utils.eclass +++ b/eclass/dotnet-utils.eclass @@ -14,6 +14,9 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI} unsupported." ;; esac +if [[ ! ${_DOTNET_UTILS_ECLASS} ]]; then +_DOTNET_UTILS_ECLASS=1 + inherit multiprocessing # @ECLASS_VARIABLE: DOTNET_SLOT @@ -27,7 +30,6 @@ fi # Temporary, use the virtual once you can have multiple virtuals installed at once BDEPEND+=" || ( dev-dotnet/dotnet-sdk:${DOTNET_SLOT} dev-dotnet/dotnet-sdk-bin:${DOTNET_SLOT} )" -EXPORT_FUNCTIONS src_unpack src_prepare src_compile pkg_setup # @ECLASS_VARIABLE: DOTNET_EXECUTABLE # @DESCRIPTION: @@ -186,3 +188,7 @@ dotnet-utils_src_compile() { -p:DebugType=embedded \ --self-contained || die } + +fi + +EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile