commit:     80b969a57e4512e4397468b5369fe82474488db3
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  3 13:13:17 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 16:24:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b969a5

eclass/dotnet-pkg-base.eclass: quotes and style tweaks

format special variables in edge cases section of the dotnet-pkg-base eclass

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 eclass/dotnet-pkg-base.eclass | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/eclass/dotnet-pkg-base.eclass b/eclass/dotnet-pkg-base.eclass
index 1a9d311208e2..db8deb1b3068 100644
--- a/eclass/dotnet-pkg-base.eclass
+++ b/eclass/dotnet-pkg-base.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: dotnet-pkg-base.eclass
@@ -68,13 +68,19 @@ if [[ ${CATEGORY}/${PN} != dev-dotnet/dotnet-runtime-nugets 
]] ; then
                die "${ECLASS}: DOTNET_PKG_COMPAT not set"
        fi
 
-       DOTNET_PKG_RDEPS+=" virtual/dotnet-sdk:${DOTNET_PKG_COMPAT} "
-       DOTNET_PKG_BDEPS+=" ${DOTNET_PKG_RDEPS} "
+       DOTNET_PKG_RDEPS+="
+               virtual/dotnet-sdk:${DOTNET_PKG_COMPAT}
+       "
+       DOTNET_PKG_BDEPS+="
+               ${DOTNET_PKG_RDEPS}
+       "
 
        # Special package "dev-dotnet/csharp-gentoodotnetinfo" used for 
information
        # gathering, example for usage see the "dotnet-pkg-base_info" function.
        if [[ ${CATEGORY}/${PN} != dev-dotnet/csharp-gentoodotnetinfo ]] ; then
-               DOTNET_PKG_BDEPS+=" dev-dotnet/csharp-gentoodotnetinfo "
+               DOTNET_PKG_BDEPS+="
+                       dev-dotnet/csharp-gentoodotnetinfo
+               "
        fi
 
        IUSE+=" debug "

Reply via email to