| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.6.1-r1 | 8 | ~amd64 | 0/0.6.1-r1 |
# 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: pkgconfig:system-cmark
CABAL_HACKAGE_REVISION=1
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Fast, accurate CommonMark (Markdown) parser and renderer"
HOMEPAGE="https://github.com/jgm/cmark-hs"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="system-cmark"
RDEPEND=">=dev-haskell/text-1.0:=[profile?] <dev-haskell/text-2.2:=[profile?]
>=dev-lang/ghc-9.0.2:=
system-cmark? ( app-text/cmark )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 )
"
BDEPEND="
system-cmark? ( virtual/pkgconfig )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag system-cmark pkgconfig)
}
>=dev-haskell/text-1.0:=[profile?] <dev-haskell/text-2.2:=[profile?] >=dev-lang/ghc-9.0.2:= system-cmark? ( app-text/cmark ) >=dev-haskell/cabal-3.4.1.0 test? ( >=dev-haskell/hunit-1.2 <dev-haskell/hunit-1.7 )
>=dev-haskell/text-1.0:=[profile?] <dev-haskell/text-2.2:=[profile?] >=dev-lang/ghc-9.0.2:= system-cmark? ( app-text/cmark )
system-cmark? ( virtual/pkgconfig )