diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-12-10 15:56:30 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-12-11 08:30:55 +0100 |
commit | a4008c25b3189ab153ce8d0a4a9b381911fdb491 (patch) | |
tree | f893d6f57ce98610fca31992ca5da33f896c56c4 /eclass | |
parent | vdr-plugin-2.eclass: Drop support for EAPI 6 (diff) | |
download | gentoo-a4008c25b3189ab153ce8d0a4a9b381911fdb491.tar.gz gentoo-a4008c25b3189ab153ce8d0a4a9b381911fdb491.tar.bz2 gentoo-a4008c25b3189ab153ce8d0a4a9b381911fdb491.zip |
haskell-cabal.eclass: Drop support for EAPI 6
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/haskell-cabal.eclass | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index a3e2da6155f3..4ae554d22fe8 100644 --- a/eclass/haskell-cabal.eclass +++ b/eclass/haskell-cabal.eclass @@ -7,7 +7,7 @@ # @AUTHOR: # Original author: Andres Loeh <kosmikus@gentoo.org> # Original author: Duncan Coutts <dcoutts@gentoo.org> -# @SUPPORTED_EAPIS: 6 7 8 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: for packages that make use of the Haskell Common Architecture for Building Applications and Libraries (cabal) # @DESCRIPTION: # Basic instructions: @@ -41,9 +41,7 @@ # is fixed. case ${EAPI} in - # eutils is for eqawarn - 6) inherit eutils ;; - 8|7) ;; + 7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -99,7 +97,6 @@ EXPORT_FUNCTIONS pkg_setup src_prepare src_configure src_compile src_test src_in # CABAL_EXTRA_HSCOLOUR_FLAGS="--executables --tests" : "${CABAL_EXTRA_HSCOLOUR_FLAGS:=}" - # @ECLASS_VARIABLE: CABAL_EXTRA_TEST_FLAGS # @USER_VARIABLE # @DESCRIPTION: @@ -157,7 +154,7 @@ S="${WORKDIR}/${CABAL_P}" # @DESCRIPTION: # The location of the .cabal file for the Haskell package. This defaults to # "${S}/${CABAL_PN}.cabal". -# +# # NOTE: If $S is redefined in the ebuild after inheriting this eclass, # $CABAL_FILE will also need to be redefined as well. : "${CABAL_FILE:="${S}/${CABAL_PN}.cabal"}" |