diff options
author | Mark Wright <gienah@gentoo.org> | 2012-03-04 03:24:53 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2012-03-04 03:24:53 +0000 |
commit | 8d5f33848cf5ec564d2d5a88b7b1f2bd81ba55e4 (patch) | |
tree | 255e4c820f582dd09ff949985494b1286acfe4d0 /dev-haskell/haddock | |
parent | Add extensible-exceptions, with same keywords (except ia64) as ghc 7.4.1 as e... (diff) | |
download | historical-8d5f33848cf5ec564d2d5a88b7b1f2bd81ba55e4.tar.gz historical-8d5f33848cf5ec564d2d5a88b7b1f2bd81ba55e4.tar.bz2 historical-8d5f33848cf5ec564d2d5a88b7b1f2bd81ba55e4.zip |
Add haddock 2.10.0_pre20120202 that is included in ghc 7.4.1
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-haskell/haddock')
-rw-r--r-- | dev-haskell/haddock/ChangeLog | 10 | ||||
-rw-r--r-- | dev-haskell/haddock/Manifest | 16 | ||||
-rw-r--r-- | dev-haskell/haddock/haddock-2.10.0_pre20120202.ebuild | 67 | ||||
-rw-r--r-- | dev-haskell/haddock/haddock-2.9.2.ebuild | 6 |
4 files changed, 83 insertions, 16 deletions
diff --git a/dev-haskell/haddock/ChangeLog b/dev-haskell/haddock/ChangeLog index 5385d9590981..7426d43af0d5 100644 --- a/dev-haskell/haddock/ChangeLog +++ b/dev-haskell/haddock/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-haskell/haddock -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/ChangeLog,v 1.85 2011/08/03 13:14:54 slyfox Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/ChangeLog,v 1.86 2012/03/04 03:24:53 gienah Exp $ + +*haddock-2.10.0_pre20120202 (04 Mar 2012) + + 04 Mar 2012; Mark Wright <gienah@gentoo.org> haddock-2.9.2.ebuild, + +haddock-2.10.0_pre20120202.ebuild: + Add haddock 2.10.0_pre20120202 that is included in ghc 7.4.1 *haddock-2.9.2 (03 Aug 2011) diff --git a/dev-haskell/haddock/Manifest b/dev-haskell/haddock/Manifest index 7907f0d0803d..b2577a6d1202 100644 --- a/dev-haskell/haddock/Manifest +++ b/dev-haskell/haddock/Manifest @@ -1,21 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX ghc-paths-1.0.5.0-GHC-Paths.hs 238 RMD160 e00a3771dc7e9b2b4dbf3e77cd12fa424f635198 SHA1 a147a60f803f63cf475e7ba5e7d24bbbe50feae3 SHA256 a86c668fba73a97e14aa58e7dbf9c9bdbcee0c4782bff185b4d905d048c47a9e AUX haddock-2.4.2-Setup.hs 3200 RMD160 11c340505daf3a7bf7bbac1abbebc279dabb1744 SHA1 8f0d5ef94365528586750062a77b06f064082a7b SHA256 a9dd6ebc855781897d0357450859202ce553574f9cec0c5cda381c343ce1eb09 DIST ghc-paths-0.1.0.5.tar.gz 2304 RMD160 098804e5a48ce9381174245601b3896304464219 SHA1 f9a70a8564be268e4aa88436ea18fc84a1ce303a SHA256 ea9e97425894e3dbd7915e00e107e2e7fc07b6e8293fd2dd66a813f0673cba10 +DIST haddock-2.10.0_pre20120202.tar.gz 182196 RMD160 74db4cae1c97cdf9feb19d8b3da72b97a09fb068 SHA1 8cbeb879ed77c57284d6fdac4894dd57c1b2f3df SHA256 d52476789da279388c23589c02c82595a778da82b39a8c1239dab39bab13fafa DIST haddock-2.4.2.tar.gz 103033 RMD160 18317b3ffd60f2b0925d635ce1ea2ab35825860c SHA1 cd1de409029bcabdf79b05b4c00c7702c836c765 SHA256 dbf0a7d0103a3ce6a91b2a3b96148c1b9c13ea7f8bd74260c21fe98df7839547 DIST haddock-2.6.1.tar.gz 128158 RMD160 32be5206f0caab3e6aa7582b9ad23a22581082ab SHA1 f088795826a155f0a207219a45ad643dcaeccf65 SHA256 626bfbc51f33ada003fbbfe1b40f3147039369e9898f8e8d2f5c1c863436ea6a DIST haddock-2.9.2.tar.gz 154040 RMD160 5d7fe09d61bf089794e753969db4a259117df41b SHA1 2a61f178a0ce9e126442821ab95052e748b865b0 SHA256 e8498520a4b8c8a03330141ba4c31d81e90dfd361de3ff7e320cdf71c2dd3ba1 +EBUILD haddock-2.10.0_pre20120202.ebuild 2246 RMD160 b33799c91c846ae1fc7d83046df44cb1e74bb6dd SHA1 87b07675a94e277b133661e229239a085dff6de8 SHA256 161facb1f4db8b9ff7ccd6e01415e40f81d1bf90b4f7ffcc1469c0440d0a3951 EBUILD haddock-2.4.2.ebuild 2425 RMD160 4bc2d79fe5a71cba14c06cf1c5a9d9e467db1379 SHA1 a65439584d366164200a16ab485841b4d12d7579 SHA256 d77ea400a62ccead9e4060c70b2c63d51ed04598d3c4c36ce861c1addc0b05d2 EBUILD haddock-2.6.1.ebuild 2493 RMD160 a9bbabaa61c2accd4c5212849b5fc4a309ca8888 SHA1 4975c694400b02363ba845aea035b22886f86cc3 SHA256 c430761c0b3e1109c320b7227d9d629da76c6ba8354744e72b1288a83e6d3c18 -EBUILD haddock-2.9.2.ebuild 2613 RMD160 67304aa955aeb766e7e9c7fe5d1df2a529195d15 SHA1 729b487ec0fd8950a0afcaf335a1ed0be40b6fba SHA256 82e302e14236b332982a101681deb67ef1b3f1f0a56d82b5b1a28f1798b3f735 -MISC ChangeLog 11757 RMD160 4a2f66be615551d0ffe7c83abac571aca282abce SHA1 4ac18e4e3b1e84a54f28f9a710f5b63faa72569e SHA256 d965b705a9ce32f8e5edbf0583340a80faf18e68230f8e5da66677b26f281379 +EBUILD haddock-2.9.2.ebuild 2663 RMD160 a4cb37332f1f4c16665d440d554e1597b8c75f3f SHA1 020bad68c7199e1af4d57d13993e64f20e907eee SHA256 95abb0be4f5726586234f88156f5a1555059df5d477c1c4569f32f36271002f9 +MISC ChangeLog 11971 RMD160 b2676b103908f74c763aee2ddffd711c0737b9c4 SHA1 d19855698d4ddc1609c7280da82d4bd68cd6aec5 SHA256 e4d5d2b827683a7984ccbc99726202a8fbfa2b6c6649a28d9b260a6543f45949 MISC metadata.xml 223 RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 SHA1 7b962c77f2e38479a9d1621ec8d307ca9f761753 SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) - -iEYEARECAAYFAk45Sp4ACgkQcaHudmEf86rE8wCffk5/PlERMlU5g2E3uhmTjZBG -dSsAoIBq7J3x5zBCnGOnv1D/+Tb4wZUr -=J87q ------END PGP SIGNATURE----- diff --git a/dev-haskell/haddock/haddock-2.10.0_pre20120202.ebuild b/dev-haskell/haddock/haddock-2.10.0_pre20120202.ebuild new file mode 100644 index 000000000000..2e898f0148b9 --- /dev/null +++ b/dev-haskell/haddock/haddock-2.10.0_pre20120202.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/haddock-2.10.0_pre20120202.ebuild,v 1.1 2012/03/04 03:24:53 gienah Exp $ + +# haddock-2.9.4 on hackage does not work with ghc-7.4.1 +# this ebuild uses a tarball of what's distributed with ghc-7.4.1 + +EAPI="4" + +#CABAL_FEATURES="bin lib profile haddock hscolour" +CABAL_FEATURES="bin lib profile hscolour" +inherit haskell-cabal pax-utils versionator + +MY_PV=$(get_version_component_range '1-3') +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A documentation-generation tool for Haskell libraries" +HOMEPAGE="http://www.haskell.org/haddock/" +#SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" +SRC_URI="http://dev.gentoo.org/~gienah/snapshots/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +# ia64 lost as we don't have ghc-7 there yet +# ppc64 needs to be rekeyworded due to xhtml not being keyworded +KEYWORDS="~alpha ~amd64 -ia64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="dev-haskell/ghc-paths[profile?] + =dev-haskell/xhtml-3000.2*[profile?] + >=dev-lang/ghc-7.4" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10" + +S="${WORKDIR}/${PN}-${MY_PV}" + +RESTRICT="test" # avoid depends on QC + +CABAL_EXTRA_BUILD_FLAGS="--ghc-options=-rtsopts" + +# haddock is disabled as Cabal seems to be buggy about building docks with itself. +# however, other packages seem to work +src_configure() { + # create a fake haddock executable. it'll set the right version to cabal + # configure, but will eventually get overwritten in src_compile by + # the real executable. + local exe="${S}/dist/build/haddock/haddock" + mkdir -p $(dirname "${exe}") + echo -e "#!/bin/sh\necho Haddock version ${PV}" > "${exe}" + chmod +x "${exe}" + + haskell-cabal_src_configure --with-haddock="${exe}" +} + +src_compile() { + # when building the (recursive..) haddock docs, change the datadir to the + # current directory, as we're using haddock inplace even if it's built to be + # installed into the system first. + haddock_datadir="${S}" haskell-cabal_src_compile +} + +src_install() { + cabal_src_install + # haddock uses GHC-api to process TH source. + # TH requires GHCi which needs mmap('rwx') (bug #299709) + pax-mark -m "${D}/usr/bin/${PN}" +} diff --git a/dev-haskell/haddock/haddock-2.9.2.ebuild b/dev-haskell/haddock/haddock-2.9.2.ebuild index 4fe67d4d647f..2beabcb79657 100644 --- a/dev-haskell/haddock/haddock-2.9.2.ebuild +++ b/dev-haskell/haddock/haddock-2.9.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/haddock-2.9.2.ebuild,v 1.1 2011/08/03 13:14:54 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/haddock-2.9.2.ebuild,v 1.2 2012/03/04 03:24:53 gienah Exp $ # ebuild generated by hackport 0.2.9 @@ -29,6 +29,8 @@ RDEPEND="dev-haskell/ghc-paths DEPEND="${RDEPEND} >=dev-haskell/cabal-1.10" +CABAL_EXTRA_BUILD_FLAGS="--ghc-options=-rtsopts" + # although haddock depends on alex and happy to build from scratch, we don't # want this ebuild to depend on those packages. # we use haddock to build the documentation enabled by USE="doc". |