summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-12-27 17:29:48 +0100
committerDavid Seifert <soap@gentoo.org>2022-12-27 17:29:48 +0100
commit99703b7f8ae5acf4504686651a054ab6cb1b585f (patch)
treeba9a18888ea7306e062ec8075370ba4b948a1b80
parentdocs.eclass: drop EAPI 6 support (diff)
downloadgentoo-99703b7f8ae5acf4504686651a054ab6cb1b585f.tar.gz
gentoo-99703b7f8ae5acf4504686651a054ab6cb1b585f.tar.bz2
gentoo-99703b7f8ae5acf4504686651a054ab6cb1b585f.zip
dotnet.eclass: drop EAPI 6 support
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--eclass/dotnet.eclass21
1 files changed, 10 insertions, 11 deletions
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index 319fde893116..b92b9c1b4054 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -4,7 +4,7 @@
# @ECLASS: dotnet.eclass
# @MAINTAINER:
# maintainer-needed@gentoo.org
-# @SUPPORTED_EAPIS: 6 7
+# @SUPPORTED_EAPIS: 7
# @BLURB: common settings and functions for mono and dotnet related packages
# @DESCRIPTION:
# The dotnet eclass contains common environment settings that are useful for
@@ -13,18 +13,15 @@
# of dotnet packages.
case ${EAPI} in
- 6)
- inherit eapi7-ver multilib
- DEPEND="dev-lang/mono"
- ;;
- 7)
- BDEPEND="dev-lang/mono"
- ;;
- *)
- die "${ECLASS}: EAPI ${EAPI:-0} not supported"
- ;;
+ 7) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
+if [[ ! ${_DOTNET_ECLASS} ]]; then
+_DOTNET_ECLASS=1
+
+BDEPEND="dev-lang/mono"
+
inherit mono-env
# @ECLASS_VARIABLE: USE_DOTNET
@@ -145,4 +142,6 @@ dotnet_multilib_comply() {
fi
}
+fi
+
EXPORT_FUNCTIONS pkg_setup