diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-27 20:10:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-27 20:10:49 +0000 |
commit | e44b9cf3e5b67eaf723e4a335faf39c87167abd3 (patch) | |
tree | 3e6660b30910e7eb33586a99c4e892b52380bad6 /eclass/dotnet.eclass | |
parent | 4429be000a778f363162554d59d903a725283d7d (diff) |
gentoo auto-resync : 27:12:2022 - 20:10:49
Diffstat (limited to 'eclass/dotnet.eclass')
-rw-r--r-- | eclass/dotnet.eclass | 21 |
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 |