* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/haddock-api/files/, dev-haskell/haddock-api/
@ 2017-02-15 8:48 Sergei Trofimovich
0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich @ 2017-02-15 8:48 UTC (permalink / raw
To: gentoo-commits
commit: 5a6a19f6e0c1eaeeeccd0fd8a7b7e53fc9b96c31
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 15 08:48:03 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 08:48:03 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a6a19f6
dev-haskell/haddock-api: bump up to 2.17.3
Package-Manager: Portage-2.3.3, Repoman-2.3.1
dev-haskell/haddock-api/Manifest | 1 +
.../files/haddock-api-2.17.3-ghc-8.0.2_rc1.patch | 16 ++++++++++
dev-haskell/haddock-api/haddock-api-2.17.3.ebuild | 35 ++++++++++++++++++++++
3 files changed, 52 insertions(+)
diff --git a/dev-haskell/haddock-api/Manifest b/dev-haskell/haddock-api/Manifest
index 1c4969f6e2..f6f37808a5 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 0000000000..6aafc8f375
--- /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 0000000000..c42bf36e75
--- /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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-15 8:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-15 8:48 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/haddock-api/files/, dev-haskell/haddock-api/ Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox