You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/citeproc/citeproc-0.3.0.9.ebuild

50 lines
1.5 KiB

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# ebuild generated by hackport 0.6.7.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Generates citations and bibliography from CSL styles"
HOMEPAGE="https://hackage.haskell.org/package/citeproc"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="executable icu"
RDEPEND="dev-haskell/aeson:=[profile?]
dev-haskell/attoparsec:=[profile?]
>=dev-haskell/base-compat-0.10:=[profile?]
>=dev-haskell/case-insensitive-1.2:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?]
dev-haskell/data-default:=[profile?]
dev-haskell/file-embed:=[profile?]
>=dev-haskell/pandoc-types-1.22:=[profile?] <dev-haskell/pandoc-types-1.23:=[profile?]
dev-haskell/safe:=[profile?]
dev-haskell/scientific:=[profile?]
dev-haskell/text:=[profile?]
dev-haskell/uniplate:=[profile?]
dev-haskell/vector:=[profile?]
dev-haskell/xml-conduit:=[profile?]
>=dev-lang/ghc-8.6.5:=
executable? ( dev-haskell/aeson-pretty:=[profile?] )
icu? ( dev-haskell/text-icu:=[profile?] )
!icu? ( >=dev-haskell/rfc5051-0.2:=[profile?] <dev-haskell/rfc5051-0.3:=[profile?] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-2.4.0.1
test? ( >=dev-haskell/diff-0.4
dev-haskell/mtl
dev-haskell/timeit )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag executable executable) \
$(cabal_flag icu icu)
}