summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2014-07-03 11:24:57 +0000
committerMark Wright <gienah@gentoo.org>2014-07-03 11:24:57 +0000
commitc694e5c6f2cbf1fc59081ca5f8668886fdda89b0 (patch)
tree725ba669d4823c65a70da529d76fd04ca19c46c1 /dev-haskell/tasty-golden
parentBump convertible to 1.1.0.0-r1 (diff)
downloadgentoo-2-c694e5c6f2cbf1fc59081ca5f8668886fdda89b0.tar.gz
gentoo-2-c694e5c6f2cbf1fc59081ca5f8668886fdda89b0.tar.bz2
gentoo-2-c694e5c6f2cbf1fc59081ca5f8668886fdda89b0.zip
Add tasty-golden
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-haskell/tasty-golden')
-rw-r--r--dev-haskell/tasty-golden/ChangeLog10
-rw-r--r--dev-haskell/tasty-golden/Manifest4
-rw-r--r--dev-haskell/tasty-golden/files/tasty-golden-2.2.1-haddock.patch11
-rw-r--r--dev-haskell/tasty-golden/metadata.xml14
-rw-r--r--dev-haskell/tasty-golden/tasty-golden-2.2.2.3.ebuild33
5 files changed, 72 insertions, 0 deletions
diff --git a/dev-haskell/tasty-golden/ChangeLog b/dev-haskell/tasty-golden/ChangeLog
new file mode 100644
index 000000000000..7b01e8b7a2e3
--- /dev/null
+++ b/dev-haskell/tasty-golden/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-haskell/tasty-golden
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/tasty-golden/ChangeLog,v 1.1 2014/07/03 11:24:57 gienah Exp $
+
+*tasty-golden-2.2.2.3 (03 Jul 2014)
+
+ 03 Jul 2014; Mark Wright <gienah@gentoo.org>
+ +files/tasty-golden-2.2.1-haddock.patch, +metadata.xml,
+ +tasty-golden-2.2.2.3.ebuild:
+ Add tasty-golden
diff --git a/dev-haskell/tasty-golden/Manifest b/dev-haskell/tasty-golden/Manifest
new file mode 100644
index 000000000000..281a443797b4
--- /dev/null
+++ b/dev-haskell/tasty-golden/Manifest
@@ -0,0 +1,4 @@
+AUX tasty-golden-2.2.1-haddock.patch 505 SHA256 91d374e6a66cd57b7809660cb599d7c74781ef9f7f15159887dae81676564a79 SHA512 7e60d5f8a4924ebaa09ad7280ab5b7d22dab6459b0a2eb2a99ebc07d038f358829452c000edb53543fb35b881ce6f5733774e087a34a527dde767b465572b9ac WHIRLPOOL 510bcf5f90a8a732a3a7030cca01b4f53f9531385d5e933e5a07f60fc9c03a6e4f7488cde2240e40e225d695269f197145ce06d65a5f132d9016b703fe75aab1
+DIST tasty-golden-2.2.2.3.tar.gz 6925 SHA256 5ca0186aae5b09bcb60dc393b57674cae442c104a923b8fb280ff485498df06e SHA512 34cc40a217d8bb34a2263a1eace31f49590698968aacc795e21dfed24a666388bf9536eb5a360e7b4e1a2228324470e9193e27f1cea0863e5ac13ba5ae7e673f WHIRLPOOL ebe9c9b6fc2f4753c0f64fda24a85fd5c3dbba76d5fdfe3caba7b18ea51f7f0cf064f50cb950afeb623468fefa350ea431ebc15a8808036cbe7fde22c9994615
+EBUILD tasty-golden-2.2.2.3.ebuild 841 SHA256 84b199a1867e506451be74972fb6794a8673be1b852e3e1dbd2ae4bd128a15f0 SHA512 7a54fc73dacc9a3a30f4d1d91fe0f7155cd690995815ab3ae32f947cabaf9e8055958181e012c8f224537f77ddd6452a4a373ca0910331b8b15fff276eaea144 WHIRLPOOL 4b33b4ac5e12907780edaec4d7c1f61a9c06b012b4d511b8ca9ebc1b4080769aa80881e584e42557493c1e94f914333c7e1ef2641c791e9f5b47e8eb701adf79
+MISC metadata.xml 530 SHA256 bddcf48146e826d5eae0a743bb6fcf45be8a68d4bc3bcb7a24ea795960326142 SHA512 487a0d4450d10340fa649f3d0b4540422ce4a2fa2e03419044f500de5824036aff763aa7a1b9e3df12d419ff74d7f3facff721953184356870d4e6cfc69dce74 WHIRLPOOL ea08b6291ad08c4b7b86e2b7db2b1dc77852b9993ba31c3b0098ee6248cda9a6444673a895b3ad9674a34e91c586b342d106fa76ed6513f162eb404d6367da01
diff --git a/dev-haskell/tasty-golden/files/tasty-golden-2.2.1-haddock.patch b/dev-haskell/tasty-golden/files/tasty-golden-2.2.1-haddock.patch
new file mode 100644
index 000000000000..d468addf7445
--- /dev/null
+++ b/dev-haskell/tasty-golden/files/tasty-golden-2.2.1-haddock.patch
@@ -0,0 +1,11 @@
+setup: dist/doc/html/tasty-golden/haddock-prolog10293.txt: invalid argument
+diff --git a/tasty-golden.cabal b/tasty-golden.cabal
+index aa61a0a..70292f8 100644
+--- a/tasty-golden.cabal
++++ b/tasty-golden.cabal
+@@ -5 +5 @@ description:
+- This package provides support for «golden testing».
++ This package provides support for "golden testing".
+@@ -9 +9 @@ description:
+- «golden» file, which contains the correct result for the test.
++ "golden" file, which contains the correct result for the test.
diff --git a/dev-haskell/tasty-golden/metadata.xml b/dev-haskell/tasty-golden/metadata.xml
new file mode 100644
index 000000000000..aef486e9642b
--- /dev/null
+++ b/dev-haskell/tasty-golden/metadata.xml
@@ -0,0 +1,14 @@
+<?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>
+ <longdescription>
+ This package provides support for «golden testing».
+ A golden test is an IO action that writes its result to a file.
+ To pass the test, this output file should be identical to the corresponding
+ 'golden' file, which contains the correct result for the test.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/tasty-golden/tasty-golden-2.2.2.3.ebuild b/dev-haskell/tasty-golden/tasty-golden-2.2.2.3.ebuild
new file mode 100644
index 000000000000..a090eeee2d2c
--- /dev/null
+++ b/dev-haskell/tasty-golden/tasty-golden-2.2.2.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/tasty-golden/tasty-golden-2.2.2.3.ebuild,v 1.1 2014/07/03 11:24:57 gienah Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit base haskell-cabal
+
+DESCRIPTION="Golden tests support for tasty"
+HOMEPAGE="https://github.com/feuerbach/tasty-golden"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/mtl:=[profile?]
+ dev-haskell/optparse-applicative:=[profile?]
+ dev-haskell/tagged:=[profile?]
+ >=dev-haskell/tasty-0.8:=[profile?]
+ dev-haskell/temporary-rc:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.14
+ test? ( dev-haskell/tasty-hunit )
+"
+
+PATCHES=("${FILESDIR}"/${PN}-2.2.1-haddock.patch)