mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
ghc-package.eclass: add SUPPORTED_EAPIS {0..7} annotation
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
# @ECLASS: ghc-package.eclass
|
||||
# @MAINTAINER:
|
||||
# "Gentoo's Haskell Language team" <haskell@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
|
||||
# @AUTHOR:
|
||||
# Original Author: Andres Loeh <kosmikus@gentoo.org>
|
||||
# @BLURB: This eclass helps with the Glasgow Haskell Compiler's package configuration utility.
|
||||
@@ -14,8 +15,9 @@ inherit multiprocessing
|
||||
|
||||
# Maintain version-testing compatibility with ebuilds not using EAPI 7.
|
||||
case "${EAPI:-0}" in
|
||||
0|1|2|3|7) ;;
|
||||
4|5|6) inherit eapi7-ver ;;
|
||||
*) ;;
|
||||
*) die "EAPI ${EAPI} unsupported." ;;
|
||||
esac
|
||||
|
||||
# GHC uses it's own native code generator. Portage's
|
||||
|
||||
Reference in New Issue
Block a user