diff options
Diffstat (limited to 'dev-haskell/citeproc/citeproc-0.8.1.ebuild')
| -rw-r--r-- | dev-haskell/citeproc/citeproc-0.8.1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-haskell/citeproc/citeproc-0.8.1.ebuild b/dev-haskell/citeproc/citeproc-0.8.1.ebuild new file mode 100644 index 000000000000..2aa2e572cfc2 --- /dev/null +++ b/dev-haskell/citeproc/citeproc-0.8.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.2.0.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" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="executable icu" + +# Many tests for this package are known to fail and this is acceptable for +# upstream: +# <https://github.com/jgm/citeproc#known-bugs-and-limitations> +# The author seems to know which tests are expected to fail, but I +# can't find documentation for exactly which ones. +RESTRICT="test" + +RDEPEND="dev-haskell/aeson:=[profile?] + dev-haskell/attoparsec:=[profile?] + >=dev-haskell/case-insensitive-1.2:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] + >=dev-haskell/data-default-0.5.2:=[profile?] + dev-haskell/file-embed:=[profile?] + >=dev-haskell/pandoc-types-1.22:=[profile?] <dev-haskell/pandoc-types-1.24:=[profile?] + dev-haskell/safe:=[profile?] + dev-haskell/scientific:=[profile?] + dev-haskell/text:=[profile?] + >=dev-haskell/unicode-collation-0.1.3:=[profile?] <dev-haskell/unicode-collation-0.2:=[profile?] + dev-haskell/uniplate:=[profile?] + dev-haskell/vector:=[profile?] + dev-haskell/xml-conduit:=[profile?] + >=dev-lang/ghc-8.8.1:= + executable? ( dev-haskell/aeson-pretty:=[profile?] ) + icu? ( >=dev-haskell/text-icu-0.7.1.0:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-3.0.0.0 + test? ( >=dev-haskell/diff-0.4 + dev-haskell/timeit ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag executable executable) \ + $(cabal_flag icu icu) +} |
