haddock-api-2.17.3.ebuild 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. # ebuild generated by hackport 0.5.9999
  5. CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
  6. inherit haskell-cabal
  7. DESCRIPTION="A documentation-generation tool for Haskell libraries"
  8. HOMEPAGE="http://www.haskell.org/haddock/"
  9. SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
  10. LICENSE="BSD"
  11. SLOT="0/${PV}"
  12. # keep in sync with ghc-8.0.1
  13. KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
  14. IUSE=""
  15. RDEPEND=">=dev-haskell/cabal-1.10:=[profile?]
  16. dev-haskell/ghc-paths:=[profile?]
  17. >=dev-haskell/haddock-library-1.4:=[profile?] <dev-haskell/haddock-library-1.5:=[profile?]
  18. dev-haskell/transformers:=[profile?]
  19. >=dev-haskell/xhtml-3000.2:=[profile?] <dev-haskell/xhtml-3000.3:=[profile?]
  20. >=dev-lang/ghc-8.0:= <dev-lang/ghc-8.2:=
  21. "
  22. DEPEND="${RDEPEND}
  23. >=dev-haskell/cabal-1.24.0.0
  24. test? ( dev-haskell/hspec
  25. >=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 )
  26. "
  27. PATCHES=("${FILESDIR}"/${P}-ghc-8.0.2_rc1.patch)