# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.8.4.0.9999 #hackport: flags: -monolithic,+network-uri,-debug-tracetree,-debug-expensive-assertions CABAL_HACKAGE_REVISION=3 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal RESTRICT="test" # Test suite has a lot of failures, probably needs some expected environment DESCRIPTION="The command-line interface for Cabal and Hackage" HOMEPAGE="https://www.haskell.org/cabal/" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="+lukko +native-dns" PATCHES=( "${FILESDIR}/${PN}-3.8.1.0-fix-unit-test-imports.patch" ) RDEPEND=" >=dev-haskell/async-2.0:=[profile?] =dev-haskell/base16-bytestring-0.1.1:=[profile?] =dev-haskell/cabal-3.8:=[profile?] =dev-haskell/cabal-install-solver-3.8:=[profile?] =dev-haskell/cabal-syntax-3.8:=[profile?] =dev-haskell/cryptohash-sha256-0.11:=[profile?] =dev-haskell/echo-0.1.3:=[profile?] =dev-haskell/edit-distance-0.2.2:=[profile?] =dev-haskell/hackage-security-0.6.2.0:=[profile?] =dev-haskell/hashable-1.0:=[profile?] =dev-haskell/http-4000.1.5:=[profile?] =dev-haskell/network-uri-2.6.0.2:=[profile?] =dev-haskell/parsec-3.1.13.0:=[profile?] =dev-haskell/random-1.2:=[profile?] =dev-haskell/regex-base-0.94.0.0:=[profile?] =dev-haskell/regex-posix-0.96.0.0:=[profile?] =dev-haskell/safe-exceptions-0.1.7.0:=[profile?] =dev-haskell/tar-0.5.0.3:=[profile?] =dev-haskell/zlib-0.5.3:=[profile?] =dev-lang/ghc-8.10.6:= || ( ( >=dev-haskell/text-1.2.3 =dev-haskell/text-2.0 =dev-haskell/lukko-0.1:=[profile?] =dev-haskell/resolv-0.1.1:=[profile?]