Re: [gentoo-dev] [PATCH 1/5] haskell-cabal.eclass: drop EAPI={0..5} support

2021-07-10 Thread Sergei Trofimovich
On Tue, 06 Jul 2021 09:34:14 +0200 Ulrich Mueller wrote: > > On Tue, 06 Jul 2021, Sergei Trofimovich wrote: > > > case "${EAPI:-0}" in > > This could be just ${EAPI} now (and quotes were never necessary). > > > - 0|1) ;; > > - 2|3|4|5|6|7) HASKELL_CABAL_EXPF+=" src_configure" ;;

Re: [gentoo-dev] [PATCH 1/5] haskell-cabal.eclass: drop EAPI={0..5} support

2021-07-06 Thread Ulrich Mueller
> On Tue, 06 Jul 2021, Sergei Trofimovich wrote: > case "${EAPI:-0}" in This could be just ${EAPI} now (and quotes were never necessary). > - 0|1) ;; > - 2|3|4|5|6|7) HASKELL_CABAL_EXPF+=" src_configure" ;; > + 6|7) ;; > *) die "EAPI ${EAPI} unsupported." ;; I'd suggest

[gentoo-dev] [PATCH 1/5] haskell-cabal.eclass: drop EAPI={0..5} support

2021-07-05 Thread Sergei Trofimovich
Signed-off-by: Sergei Trofimovich --- eclass/haskell-cabal.eclass | 29 +++-- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass index 5b67f43f0c5..f7a6d35e610 100644 --- a/eclass/haskell-cabal.eclass ++