diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-02-15 08:48:03 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-02-15 08:48:03 +0000 |
commit | 5a6a19f6e0c1eaeeeccd0fd8a7b7e53fc9b96c31 (patch) | |
tree | 0323bd043d37347762f4ed082fc010f5566dc28e /dev-haskell/haddock-api | |
parent | dev-haskell/haddock-library: bump up to 1.4.2 (diff) | |
download | gentoo-5a6a19f6e0c1eaeeeccd0fd8a7b7e53fc9b96c31.tar.gz gentoo-5a6a19f6e0c1eaeeeccd0fd8a7b7e53fc9b96c31.tar.bz2 gentoo-5a6a19f6e0c1eaeeeccd0fd8a7b7e53fc9b96c31.zip |
dev-haskell/haddock-api: bump up to 2.17.3
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/haddock-api')
-rw-r--r-- | dev-haskell/haddock-api/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch | 16 | ||||
-rw-r--r-- | dev-haskell/haddock-api/haddock-api-2.17.3.ebuild | 35 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-haskell/haddock-api/Manifest b/dev-haskell/haddock-api/Manifest index 1c4969f6e238..f6f37808a5a9 100644 --- a/dev-haskell/haddock-api/Manifest +++ b/dev-haskell/haddock-api/Manifest @@ -1 +1,2 @@ DIST haddock-api-2.16.1.tar.gz 125372 SHA256 e2061d67e3de2bb39a98225712f119ef21a62567afac361bd9b2ddf0ba2aedea SHA512 01450602d238651a8711141d51f5246536a96b69efee29942296fdfc249929f5f33df24ee676b56d0ba82269cb6557dd3a4e8fabbd1b809e506867b5f285bb17 WHIRLPOOL 15d1a8592ef4f73c69850fb1cbdd6cd44747dacd86921104eb2d9a935fd0d85b6f28f47707f5e8a6222d7c3777f3cd8786f2bba3b14d18c935037717ced4cc3c +DIST haddock-api-2.17.3.tar.gz 145142 SHA256 8d35a256c2ee07083c1e1a8b08e536069ffdad27598bed69d88847fb51234dc7 SHA512 00057618d970fc7786913eec0b408baabbf1aff4b705c105f6d6347ae9c46af1b2ea7bed420edfaec38c835dee08593c9ae53ab9a30153239e687de6f5301840 WHIRLPOOL 68a0422bfaf56197d816b00c26618a1480a7595281e9d18346ffad9365185a5a8f0d4d42d27772b60eaae800a11368fc4d065899de9aeaf84714d3159836373e diff --git a/dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch b/dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch new file mode 100644 index 000000000000..6aafc8f37522 --- /dev/null +++ b/dev-haskell/haddock-api/files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch @@ -0,0 +1,16 @@ +diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs +index eacf447..458d15f 100644 +--- a/src/Haddock/Types.hs ++++ b/src/Haddock/Types.hs +@@ -1,2 +1,2 @@ +-{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, StandaloneDeriving, TypeFamilies, RecordWildCards #-} ++{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, StandaloneDeriving, TypeFamilies, RecordWildCards, CPP #-} + {-# OPTIONS_GHC -fno-warn-orphans #-} +@@ -450,2 +450,3 @@ instance (NFData a, NFData mod) + ++#if !MIN_VERSION_GLASGOW_HASKELL(8,0,1,1) + instance NFData Name where rnf x = seq x () +@@ -453,2 +454,3 @@ instance NFData OccName where rnf x = seq x () + instance NFData ModuleName where rnf x = seq x () ++#endif + diff --git a/dev-haskell/haddock-api/haddock-api-2.17.3.ebuild b/dev-haskell/haddock-api/haddock-api-2.17.3.ebuild new file mode 100644 index 000000000000..c42bf36e7595 --- /dev/null +++ b/dev-haskell/haddock-api/haddock-api-2.17.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A documentation-generation tool for Haskell libraries" +HOMEPAGE="http://www.haskell.org/haddock/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +# keep in sync with ghc-8.0.1 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=">=dev-haskell/cabal-1.10:=[profile?] + dev-haskell/ghc-paths:=[profile?] + >=dev-haskell/haddock-library-1.4:=[profile?] <dev-haskell/haddock-library-1.5:=[profile?] + dev-haskell/transformers:=[profile?] + >=dev-haskell/xhtml-3000.2:=[profile?] <dev-haskell/xhtml-3000.3:=[profile?] + >=dev-lang/ghc-8.0:= <dev-lang/ghc-8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.24.0.0 + test? ( dev-haskell/hspec + >=dev-haskell/quickcheck-2 <dev-haskell/quickcheck-3 ) +" + +PATCHES=("${FILESDIR}"/${P}-ghc-8.0.2_rc1.patch) |