| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.1 | 8 | ~amd64 | 0/0.1 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.9.0.0.9999
CABAL_HACKAGE_REVISION=2
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Extend Cabal build-depends from the command line"
HOMEPAGE="https://hackage.haskell.org/package/cabal-add"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
#USE="cabal-syntax" forced as mandatory for ghc >= 9.4
CABAL_TEST_REQUIRED_BINS=( cabal-add )
RDEPEND=">=dev-haskell/cabal-install-parsers-0.4.1:=[profile?] <dev-haskell/cabal-install-parsers-0.7:=[profile?]
>=dev-haskell/optparse-applicative-0.16:=[profile?] <dev-haskell/optparse-applicative-0.19:=[profile?]
>=dev-lang/ghc-9.4:=
>=dev-haskell/cabal-3.8:=[profile?] <dev-haskell/cabal-3.15:=[profile?]
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.8
test? ( >=dev-haskell/diff-0.4
dev-haskell/string-qq
dev-haskell/tasty
dev-haskell/temporary )
"
src_configure() {
haskell-cabal_src_configure \
--flag=cabal-syntax
}
>=dev-haskell/cabal-install-parsers-0.4.1:=[profile?] <dev-haskell/cabal-install-parsers-0.7:=[profile?] >=dev-haskell/optparse-applicative-0.16:=[profile?] <dev-haskell/optparse-applicative-0.19:=[profile?] >=dev-lang/ghc-9.4:= >=dev-haskell/cabal-3.8:=[profile?] <dev-haskell/cabal-3.15:=[profile?] >=dev-haskell/cabal-3.8 test? ( >=dev-haskell/diff-0.4 dev-haskell/string-qq dev-haskell/tasty dev-haskell/temporary )
>=dev-haskell/cabal-install-parsers-0.4.1:=[profile?] <dev-haskell/cabal-install-parsers-0.7:=[profile?] >=dev-haskell/optparse-applicative-0.16:=[profile?] <dev-haskell/optparse-applicative-0.19:=[profile?] >=dev-lang/ghc-9.4:= >=dev-haskell/cabal-3.8:=[profile?] <dev-haskell/cabal-3.15:=[profile?]