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 49FE0158020 for ; Fri, 25 Nov 2022 11:37:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C28FE09C1; Fri, 25 Nov 2022 11:37:14 +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 86403E09C1 for ; Fri, 25 Nov 2022 11:37:14 +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 487BC341230 for ; Fri, 25 Nov 2022 11:37:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BDA1763 for ; Fri, 25 Nov 2022 11:37:11 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1669376220.2e00acb8c29cc4d92a42fb374ff25de3b01bffd1.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: eclass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: eclass/dotnet-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 2e00acb8c29cc4d92a42fb374ff25de3b01bffd1 X-VCS-Branch: dev Date: Fri, 25 Nov 2022 11:37:11 +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: fd348fb8-a081-48c9-b960-ad07fd89a73e X-Archives-Hash: 222b7d7043ea9354084fc63afce6b58f commit: 2e00acb8c29cc4d92a42fb374ff25de3b01bffd1 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Fri Nov 25 11:13:57 2022 +0000 Commit: Anna Vyalkova sysrq in> 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