diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2015-10-22 22:25:06 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2015-10-22 22:31:49 +0100 |
commit | 34cbdc43b47ec40614ddb04ee93dc9b78f9b6686 (patch) | |
tree | 5e9be5b13633235d43cc65c3072f86af5f4dbf28 /dev-haskell | |
parent | dev-haskell/fclabels: new package (diff) | |
download | gentoo-34cbdc43b47ec40614ddb04ee93dc9b78f9b6686.tar.gz gentoo-34cbdc43b47ec40614ddb04ee93dc9b78f9b6686.tar.bz2 gentoo-34cbdc43b47ec40614ddb04ee93dc9b78f9b6686.zip |
dev-haskell/cabal-helper: new package
"Simple interface to some of Cabal's configuration state used by ghc-mod",
a new depend of app-emacs/ghc-mod.
Bug: https://bugs.gentoo.org/show_bug.cgi?id=476352
Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/cabal-helper/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/cabal-helper/cabal-helper-0.6.1.0.ebuild | 31 | ||||
-rw-r--r-- | dev-haskell/cabal-helper/metadata.xml | 29 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-haskell/cabal-helper/Manifest b/dev-haskell/cabal-helper/Manifest new file mode 100644 index 000000000000..732f04379914 --- /dev/null +++ b/dev-haskell/cabal-helper/Manifest @@ -0,0 +1 @@ +DIST cabal-helper-0.6.1.0.tar.gz 32694 SHA256 57e81db2036ae1781e1002d448a1f7abe7fef2b689cf3a3c61689a89c30929df SHA512 8c85b5e49f95acb74dc743a57e428ffe3f98555501a9020e4601f28f10bd3e3f98910dc90d8b611162e61cda0eec06a48ab09bd23eaf82093a85427a4c8330f7 WHIRLPOOL dab600db4e36d70b9d23163b166a8c34ea819074ea8848f319c31b211d41039a35bf4eaf6303323b5c441dd99797dce3d218e7021bf0e2927884ad0da4fec51d diff --git a/dev-haskell/cabal-helper/cabal-helper-0.6.1.0.ebuild b/dev-haskell/cabal-helper/cabal-helper-0.6.1.0.ebuild new file mode 100644 index 000000000000..965156fe0989 --- /dev/null +++ b/dev-haskell/cabal-helper/cabal-helper-0.6.1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Simple interface to some of Cabal's configuration state used by ghc-mod" +HOMEPAGE="http://hackage.haskell.org/package/cabal-helper" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/cabal-1.14:=[profile?] <dev-haskell/cabal-1.23:=[profile?] + dev-haskell/mtl:=[profile?] + dev-haskell/temporary:=[profile?] + dev-haskell/transformers:=[profile?] + dev-haskell/utf8-string:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( dev-haskell/extra:2 ) +" diff --git a/dev-haskell/cabal-helper/metadata.xml b/dev-haskell/cabal-helper/metadata.xml new file mode 100644 index 000000000000..c37e984d8bd0 --- /dev/null +++ b/dev-haskell/cabal-helper/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <longdescription> + @cabal-helper@ provides a library which wraps the internal use of executables + to lift the restrictions imposed by linking against versions of GHC before + @7.10@. + + @cabal-helper@ uses a wrapper executable to compile the actual cabal-helper + executable at runtime while linking against an arbitrary version of + Cabal. This runtime-compiled helper executable is then used to extract + various bits and peices from Cabal\'s on disk state (dist/setup-config) + written by it's configure command. + + In addition to this the wrapper executable also supports installing any + version of Cabal from hackage in case it cannot be found in any available + package database. The wrapper installs these instances of the Cabal library + into a private package database so as to not interfere with the user's + packages. + + Furthermore the wrapper supports one special case namely reading a state + file for Cabal itself. This is needed as Cabal compiles it's Setup.hs using + itself and not using any version of Cabal installed in any package database. + + @cabal-helper@ can compile with @Cabal >= 1.14@ but requires @Cabal >= 1.16@ + at runtime. + </longdescription> +</pkgmetadata> |