summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-07-30 12:16:54 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-01 09:03:04 +0100
commite928520a3f3e1532b8ce08247b273fc63dfd10de (patch)
treee4884c3dad1cb05ce3c02b1fbf91141f7eaabed8
parentdev-haskell/wl-pprint-annotated: add package (diff)
downloadgentoo-e928520a3f3e1532b8ce08247b273fc63dfd10de.tar.gz
gentoo-e928520a3f3e1532b8ce08247b273fc63dfd10de.tar.bz2
gentoo-e928520a3f3e1532b8ce08247b273fc63dfd10de.zip
dev-haskell/hedgehog: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--dev-haskell/hedgehog/Manifest1
-rw-r--r--dev-haskell/hedgehog/hedgehog-1.0.2-r1.ebuild51
-rw-r--r--dev-haskell/hedgehog/metadata.xml16
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-haskell/hedgehog/Manifest b/dev-haskell/hedgehog/Manifest
new file mode 100644
index 00000000000..39c3d7617ff
--- /dev/null
+++ b/dev-haskell/hedgehog/Manifest
@@ -0,0 +1 @@
+DIST hedgehog-1.0.2.tar.gz 66986 BLAKE2B adb4e40bedb3ffa76b39b8ee87fdd4a05d467c5a0d9e225257123ea02721a5bae5146a9e0d2d0fb79ca0d0dd41987559da2ae505662652b9e97aea3c25d362eb SHA512 b34004210f4af480e10e6fd0a715ee0efb7d718a7c0d8b84355639064b105840e59be223e90cc4fa26a9fa564df6d9686e77b03d996a8820955b19a6ef42c1bb
diff --git a/dev-haskell/hedgehog/hedgehog-1.0.2-r1.ebuild b/dev-haskell/hedgehog/hedgehog-1.0.2-r1.ebuild
new file mode 100644
index 00000000000..4eb9dc8b0c2
--- /dev/null
+++ b/dev-haskell/hedgehog/hedgehog-1.0.2-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Hedgehog will eat all your bugs"
+HOMEPAGE="https://hedgehog.qa"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/ansi-terminal-0.6:=[profile?] <dev-haskell/ansi-terminal-0.11:=[profile?]
+ >=dev-haskell/async-2.0:=[profile?] <dev-haskell/async-2.3:=[profile?]
+ >=dev-haskell/concurrent-output-1.7:=[profile?] <dev-haskell/concurrent-output-1.11:=[profile?]
+ >=dev-haskell/erf-2.0:=[profile?] <dev-haskell/erf-2.1:=[profile?]
+ >=dev-haskell/exceptions-0.7:=[profile?] <dev-haskell/exceptions-0.11:=[profile?]
+ >=dev-haskell/fail-4.9:=[profile?] <dev-haskell/fail-5:=[profile?]
+ >=dev-haskell/lifted-async-0.7:=[profile?] <dev-haskell/lifted-async-0.11:=[profile?]
+ >=dev-haskell/mmorph-1.0:=[profile?] <dev-haskell/mmorph-1.2:=[profile?]
+ >=dev-haskell/monad-control-1.0:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
+ >=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/pretty-show-1.6:=[profile?]
+ >=dev-haskell/primitive-0.6:=[profile?] <dev-haskell/primitive-0.8:=[profile?]
+ >=dev-haskell/random-1.1:=[profile?] <dev-haskell/random-1.2:=[profile?]
+ >=dev-haskell/resourcet-1.1:=[profile?] <dev-haskell/resourcet-1.3:=[profile?]
+ >=dev-haskell/semigroups-0.16:=[profile?] <dev-haskell/semigroups-0.20:=[profile?]
+ >=dev-haskell/stm-2.4:=[profile?] <dev-haskell/stm-2.6:=[profile?]
+ >=dev-haskell/text-1.1:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-haskell/transformers-base-0.4.5.1:=[profile?] <dev-haskell/transformers-base-0.5:=[profile?]
+ >=dev-haskell/wl-pprint-annotated-0.0:=[profile?] <dev-haskell/wl-pprint-annotated-0.2:=[profile?]
+ >=dev-lang/ghc-8.0.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.24.0.0
+"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'template-haskell >= 2.10 && < 2.16' 'template-haskell >= 2.10' \
+ 'pretty-show >= 1.6 && < 1.10' 'pretty-show >= 1.6'
+}
diff --git a/dev-haskell/hedgehog/metadata.xml b/dev-haskell/hedgehog/metadata.xml
new file mode 100644
index 00000000000..ac25dafc9a4
--- /dev/null
+++ b/dev-haskell/hedgehog/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+ Hedgehog is a modern property-based testing system, in the spirit of
+ QuickCheck. Hedgehog uses integrated shrinking, so shrinks obey the
+ invariants of generated values by construction.
+
+ To get started quickly, see the examples:
+ &lt;https://github.com/hedgehogqa/haskell-hedgehog/tree/master/hedgehog-example&gt;
+ </longdescription>
+</pkgmetadata>