diff options
Diffstat (limited to 'dev-haskell/htf')
-rw-r--r-- | dev-haskell/htf/Manifest | 4 | ||||
-rw-r--r-- | dev-haskell/htf/files/htf-0.13.1.0-aeson-pretty-0.8.patch | 9 | ||||
-rw-r--r-- | dev-haskell/htf/htf-0.13.1.0.ebuild | 52 | ||||
-rw-r--r-- | dev-haskell/htf/metadata.xml | 23 |
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-haskell/htf/Manifest b/dev-haskell/htf/Manifest new file mode 100644 index 000000000000..ca3093852474 --- /dev/null +++ b/dev-haskell/htf/Manifest @@ -0,0 +1,4 @@ +AUX htf-0.13.1.0-aeson-pretty-0.8.patch 352 BLAKE2B 6397b1d33f5bc58f9e56498f4356203e3b1c26b11758e25319c2bdf9e488601f694d30cea0fbafe4ae8f4908ec9fe01a620123d7a763163ae679239cc8bc2e3e SHA512 31f927eeccab5037ec3394a2a608b434e43fa9c3bfd0a0d4bd6662add7abbb259986ed0ef1a84c31d2e84b68cdb6e3d6133e5bed34331b81cb7b3fc61fa8e8d8 +DIST HTF-0.13.1.0.tar.gz 78310 BLAKE2B eab7a9c2eb05246dbd413f31c32554b01527211bb469ceec8a54d11e427ca74ee706640fe3d49fc40486a238db4e284ce97511c371e7eb7161d65cb841f77a76 SHA512 1292f8f0b9189e1ce05de1cf6f686ce77a839c4191a5f8b8000c8d740abe4b8f457a7c5ed8aadc13221fe9fde9b4c15bde9f9f6f53ac03178cd1884572fb4069 +EBUILD htf-0.13.1.0.ebuild 1421 BLAKE2B a335bba84855370c8b809029a62d249e8d4f9a74b016d528438dbcb1d5365d2e7838e354dff257ccd4cea467a0810c1b216ee1b916cde6566de6fd7859fd3d18 SHA512 b4254f185765e75a289d4856efe1eb8abbb5d6ec7d939cb1cac7385934736749a9748afa282ad788b09e88beaa0f75cf15852a9e42d40ac0b29a1d9cc884ccde +MISC metadata.xml 923 BLAKE2B 690bbf2765309647e8029490cd2c7ba9055f00e8f4ccfd45ae8ef826deac43a13bf919b73607fc0241e9f60d6cda44bba1ae95de8031f76744d3eb5fefe7138b SHA512 1bcdd3551b19f09f600b050f84ab81de6e99133b29a8a94942ff068ef354a9bb31226395cb221c416a65466a96973a92521d3aa3b13c94b557bdedf011e28164 diff --git a/dev-haskell/htf/files/htf-0.13.1.0-aeson-pretty-0.8.patch b/dev-haskell/htf/files/htf-0.13.1.0-aeson-pretty-0.8.patch new file mode 100644 index 000000000000..ac1472051eba --- /dev/null +++ b/dev-haskell/htf/files/htf-0.13.1.0-aeson-pretty-0.8.patch @@ -0,0 +1,9 @@ +diff --git a/tests/TestHTF.hs b/tests/TestHTF.hs +index 4a71874..c0442a5 100644 +--- a/tests/TestHTF.hs ++++ b/tests/TestHTF.hs +@@ -383,3 +383,3 @@ checkOutput output = + BSL.toStrict $ +- J.encodePretty' (J.Config 2 J.compare) json ++ J.encodePretty' (J.defConfig { J.confIndent = J.Spaces 2, J.confCompare = J.compare }) json + diff --git a/dev-haskell/htf/htf-0.13.1.0.ebuild b/dev-haskell/htf/htf-0.13.1.0.ebuild new file mode 100644 index 000000000000..764b01df66c6 --- /dev/null +++ b/dev-haskell/htf/htf-0.13.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +MY_PN="HTF" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="The Haskell Test Framework" +HOMEPAGE="https://github.com/skogsbaer/HTF/" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] + dev-haskell/base64-bytestring:=[profile?] + >=dev-haskell/cpphs-1.19:=[profile?] + >=dev-haskell/diff-0.3:=[profile?] + dev-haskell/haskell-src:=[profile?] + >=dev-haskell/hunit-1.2.5:=[profile?] + >=dev-haskell/lifted-base-0.1:=[profile?] + >=dev-haskell/monad-control-0.3:=[profile?] + >=dev-haskell/mtl-1.1:=[profile?] + >=dev-haskell/old-time-1.0:=[profile?] + >=dev-haskell/quickcheck-2.3:2=[profile?] + >=dev-haskell/random-1.0:=[profile?] + >=dev-haskell/regex-compat-0.92:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + dev-haskell/vector:=[profile?] + >=dev-haskell/xmlgen-0.6:=[profile?] + >=dev-lang/ghc-7.6.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.16.0 + test? ( dev-haskell/aeson-pretty + >=dev-haskell/temporary-1.1 + >=dev-haskell/unordered-containers-0.2 ) +" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-aeson-pretty-0.8.patch +} diff --git a/dev-haskell/htf/metadata.xml b/dev-haskell/htf/metadata.xml new file mode 100644 index 000000000000..be697624296d --- /dev/null +++ b/dev-haskell/htf/metadata.xml @@ -0,0 +1,23 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <longdescription> + The Haskell Test Framework (/HTF/ for short) lets you define unit + tests (<http://hunit.sourceforge.net>), QuickCheck properties + (<http://www.cs.chalmers.se/~rjmh/QuickCheck/>), and black box + tests in an easy and convenient way. The HTF uses a custom + preprocessor that collects test definitions automatically. + Furthermore, the preprocessor allows the HTF to report failing + test cases with exact file name and line number information. + + The documentation of the "Test.Framework.Tutorial" module + provides a tutorial for the HTF. + </longdescription> + <upstream> + <remote-id type="github">skogsbaer/HTF</remote-id> + </upstream> +</pkgmetadata> |