diff options
-rw-r--r-- | dev-haskell/test-framework/ChangeLog | 10 | ||||
-rw-r--r-- | dev-haskell/test-framework/metadata.xml | 8 | ||||
-rw-r--r-- | dev-haskell/test-framework/test-framework-0.2.4.ebuild | 32 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-haskell/test-framework/ChangeLog b/dev-haskell/test-framework/ChangeLog new file mode 100644 index 000000000000..4346ac6024d2 --- /dev/null +++ b/dev-haskell/test-framework/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-haskell/test-framework +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/test-framework/ChangeLog,v 1.1 2010/03/28 15:50:22 kolmodin Exp $ + +*test-framework-0.2.4 (28 Mar 2010) + + 28 Mar 2010; Lennart Kolmodin <kolmodin@gentoo.org> + +test-framework-0.2.4.ebuild, +metadata.xml: + Initial version. + diff --git a/dev-haskell/test-framework/metadata.xml b/dev-haskell/test-framework/metadata.xml new file mode 100644 index 000000000000..8c66906af531 --- /dev/null +++ b/dev-haskell/test-framework/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>haskell</herd> +<maintainer> + <email>haskell@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/dev-haskell/test-framework/test-framework-0.2.4.ebuild b/dev-haskell/test-framework/test-framework-0.2.4.ebuild new file mode 100644 index 000000000000..1ceea6a1d813 --- /dev/null +++ b/dev-haskell/test-framework/test-framework-0.2.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/test-framework/test-framework-0.2.4.ebuild,v 1.1 2010/03/28 15:50:22 kolmodin Exp $ + +CABAL_FEATURES="bin lib profile haddock" +inherit base haskell-cabal + +DESCRIPTION="Framework for running and organising tests, with HUnit and QuickCheck support" +HOMEPAGE="http://batterseapower.github.com/test-framework/" +SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +DEPEND=">=dev-lang/ghc-6.10 + >=dev-haskell/ansi-terminal-0.4.0 + >=dev-haskell/ansi-wl-pprint-0.4.0 + >=dev-haskell/cabal-1.2.3 + >=dev-haskell/regex-posix-0.72" + +# works with ghc 6.8 too if we add this dependency +# >=dev-haskell/extensible-exceptions-0.1.1 + +src_unpack() { + base_src_unpack + + # fix what seems to be a cabal bug. + # dependency of an executable with Buildable:False are still required + sed -e 's/HUnit >= 1.2,//' -i "${S}/${PN}.cabal" +} |