summaryrefslogtreecommitdiff
path: root/eclass/dotnet.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-21 17:32:00 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-21 17:32:00 +0100
commit61f10f985e19dfe20a4d9552902625edd5b6eabb (patch)
tree50db31971b38c4e0358253ef5005058a46fc773e /eclass/dotnet.eclass
parent34dea8e38f88007799629d0a56b12dec480b1d21 (diff)
gentoo resync : 21.06.2021
Diffstat (limited to 'eclass/dotnet.eclass')
-rw-r--r--eclass/dotnet.eclass15
1 files changed, 9 insertions, 6 deletions
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index cbda4f01d451..cff3a5341569 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -4,7 +4,7 @@
# @ECLASS: dotnet.eclass
# @MAINTAINER:
# maintainer-needed@gentoo.org
-# @SUPPORTED_EAPIS: 1 2 3 4 5 6 7
+# @SUPPORTED_EAPIS: 6 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,13 +13,16 @@
# of dotnet packages.
case ${EAPI:-0} in
- 0)
- die "this eclass doesn't support EAPI 0" ;;
- [1-6])
+ 6)
inherit eapi7-ver multilib
- DEPEND="dev-lang/mono" ;;
+ DEPEND="dev-lang/mono"
+ ;;
+ 7)
+ BDEPEND="dev-lang/mono"
+ ;;
*)
- BDEPEND="dev-lang/mono" ;;
+ die "${ECLASS}: EAPI ${EAPI:-0} not supported"
+ ;;
esac
inherit mono-env