diff options
author | Mark Wright <gienah@gentoo.org> | 2015-04-05 05:09:18 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2015-04-05 05:09:18 +0000 |
commit | 6184ee76be8565f15d00e4ddc526494ad3c515c3 (patch) | |
tree | 5231b867938f9ff791b297ddc83eaba2d04f3fa3 /dev-haskell/c2hs | |
parent | Version bump. (diff) | |
download | gentoo-2-6184ee76be8565f15d00e4ddc526494ad3c515c3.tar.gz gentoo-2-6184ee76be8565f15d00e4ddc526494ad3c515c3.tar.bz2 gentoo-2-6184ee76be8565f15d00e4ddc526494ad3c515c3.zip |
Bump c2hs to 0.25.2
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-haskell/c2hs')
-rw-r--r-- | dev-haskell/c2hs/ChangeLog | 10 | ||||
-rw-r--r-- | dev-haskell/c2hs/c2hs-0.25.2.ebuild | 41 | ||||
-rw-r--r-- | dev-haskell/c2hs/metadata.xml | 3 |
3 files changed, 52 insertions, 2 deletions
diff --git a/dev-haskell/c2hs/ChangeLog b/dev-haskell/c2hs/ChangeLog index 33c746307498..f3ab07ad1c45 100644 --- a/dev-haskell/c2hs/ChangeLog +++ b/dev-haskell/c2hs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-haskell/c2hs -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/ChangeLog,v 1.69 2014/12/23 04:39:24 gienah Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/ChangeLog,v 1.70 2015/04/05 05:09:18 gienah Exp $ + +*c2hs-0.25.2 (05 Apr 2015) + + 05 Apr 2015; Mark Wright <gienah@gentoo.org> +c2hs-0.25.2.ebuild, + metadata.xml: + Bump c2hs to 0.25.2 *c2hs-0.20.1 (23 Dec 2014) diff --git a/dev-haskell/c2hs/c2hs-0.25.2.ebuild b/dev-haskell/c2hs/c2hs-0.25.2.ebuild new file mode 100644 index 000000000000..46ac275908c7 --- /dev/null +++ b/dev-haskell/c2hs/c2hs-0.25.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/c2hs/c2hs-0.25.2.ebuild,v 1.1 2015/04/05 05:09:18 gienah Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 + +CABAL_FEATURES="bin test-suite" +inherit haskell-cabal + +DESCRIPTION="C->Haskell FFI tool that gives some cross-language type safety" +HOMEPAGE="https://github.com/haskell/c2hs" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="regression" + +RDEPEND="dev-haskell/dlist:= + >=dev-haskell/language-c-0.4.7:= <dev-haskell/language-c-0.5:= + >=dev-lang/ghc-7.4.1:= + regression? ( >=dev-haskell/shelly-1.0:= + dev-haskell/text:= + >=dev-haskell/yaml-0.8:= ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( dev-haskell/hunit + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/transformers + !regression? ( >=dev-haskell/shelly-1.0 + dev-haskell/text ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag regression regression) +} diff --git a/dev-haskell/c2hs/metadata.xml b/dev-haskell/c2hs/metadata.xml index 8461f692920a..8826a812da99 100644 --- a/dev-haskell/c2hs/metadata.xml +++ b/dev-haskell/c2hs/metadata.xml @@ -10,4 +10,7 @@ hsch2s), this ensures that C functions are imported with the correct Haskell types. </longdescription> + <use> + <flag name="regression">run regression tests</flag> + </use> </pkgmetadata> |