mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Mark Wright <gienah@gentoo.org>
46 lines
1.4 KiB
Bash
46 lines
1.4 KiB
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
# ebuild generated by hackport 0.9.1.0.9999
|
|
|
|
CABAL_HACKAGE_REVISION=3
|
|
|
|
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
|
inherit haskell-cabal
|
|
|
|
DESCRIPTION="Haskell string/text/bytestring interpolation that just works"
|
|
HOMEPAGE="https://gitlab.com/williamyaoh/string-interpolate/blob/master/README.md"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
|
IUSE="bytestring-builder extended-benchmarks text-builder"
|
|
|
|
RDEPEND="<dev-haskell/haskell-src-exts-1.24:=[profile?]
|
|
<dev-haskell/haskell-src-meta-0.9:=[profile?]
|
|
<dev-haskell/split-0.3:=[profile?]
|
|
<dev-haskell/text-2.2:=[profile?]
|
|
<dev-haskell/text-conversions-0.4:=[profile?]
|
|
<dev-haskell/utf8-string-1.1:=[profile?]
|
|
>=dev-lang/ghc-9.0.2:=
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-haskell/cabal-3.4.1.0
|
|
test? ( >=dev-haskell/hspec-2 <dev-haskell/hspec-3
|
|
>=dev-haskell/hspec-core-2 <dev-haskell/hspec-core-3
|
|
<dev-haskell/quickcheck-2.17
|
|
<dev-haskell/quickcheck-instances-0.4
|
|
<dev-haskell/quickcheck-text-0.2
|
|
<dev-haskell/quickcheck-unicode-1.1
|
|
<dev-haskell/unordered-containers-0.3 )
|
|
"
|
|
|
|
src_configure() {
|
|
haskell-cabal_src_configure \
|
|
$(cabal_flag bytestring-builder bytestring-builder) \
|
|
$(cabal_flag extended-benchmarks extended-benchmarks) \
|
|
$(cabal_flag text-builder text-builder)
|
|
}
|