| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.1.3.0 | 8 | ~amd64 | 0/0.1.3.0 |
# 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
#hackport: flags: -development
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Functions and newtype wrappers for traversing Trees"
HOMEPAGE="https://github.com/rampion/tree-traversals"
LICENSE="CC0-1.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}"/${P}-cabal-doctest.patch
)
RDEPEND=">=dev-lang/ghc-9.0.2:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
test? ( >=dev-haskell/doctest-0.13
dev-haskell/cabal-doctest
dev-haskell/base-compat
)
"
src_configure() {
if use test; then
export GHC_BOOTSTRAP_PACKAGES=(
cabal-doctest
)
fi
haskell-cabal_src_configure \
--flag=-development
}
>=dev-lang/ghc-9.0.2:= >=dev-haskell/cabal-3.4.1.0 test? ( >=dev-haskell/doctest-0.13 dev-haskell/cabal-doctest dev-haskell/base-compat )
>=dev-lang/ghc-9.0.2:=