diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/chell-quickcheck | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/chell-quickcheck')
5 files changed, 90 insertions, 0 deletions
diff --git a/dev-haskell/chell-quickcheck/Manifest b/dev-haskell/chell-quickcheck/Manifest new file mode 100644 index 000000000000..1baab59c7916 --- /dev/null +++ b/dev-haskell/chell-quickcheck/Manifest @@ -0,0 +1,5 @@ +AUX chell-quickcheck-0.2.5-QC-2.9.patch 566 BLAKE2B c36509d0600899e5ad8586282efb6ae83fdd22deb818ca40f567c3b6a6ec8f3e85dcc733c7931c10dec117cc1339c09e10efb20a92caceb8497c48a145a26e02 SHA512 8b3d986a6a00e89af6858641bbb515388c3bece7f3d8f72f14f0028f37a900a12618b918e901c96471a96f53b943cb1c877b016f0580d71871a49d06dd1c9009 +DIST chell-quickcheck-0.2.5.tar.gz 2450 BLAKE2B 97620bd1d8411cb1ac612615cdf3eed168c718257ca00e6777086590ce861147a56fc6113040bdaeea5dfbd0856cd66c401e2308af968c85148a6d5607e0f925 SHA512 df2ae72b51c7999fa6febbb9b72637d6fd63f2c31de94de37c51fc1691de6047e1f5b29be60175dd9677fd8190759400c1eeada0602532e2840bce1c36529fd7 +EBUILD chell-quickcheck-0.2.5-r1.ebuild 877 BLAKE2B 59b4c2887d45984cfd11d7cfb465dafa39703b8447f05cf44e07c1ce764aae6aa58ee84697c9557d40358aca8e79170f4502d1b416a85149e7f23e8c59193469 SHA512 b7ba64f1053434d6f2d638a09bf84cda4b4e29de934279e64a5d8077dd28735e8b577edda3a64023cfe94bf7ae553264dfd1547fefda21498f15a320b38136d1 +EBUILD chell-quickcheck-0.2.5.ebuild 774 BLAKE2B 8c66d69e98913e7f05c0f3a1b3b4d607ee4b1ec886941ddc5586ee3dfd687ea0d3174553b45f889da4c0abfe3a0309ff6ca332a0f2305e0cc33c1a5d16d48db9 SHA512 5570f62b7d2fc33971ba191b2f613b1976009a7220f7d520ddd8166a961e51c5d5606888dd147ec3c910b66e18c62a64c78286dabe6ffaf4843c75853cad8313 +MISC metadata.xml 339 BLAKE2B 689793b66e973524bb1d81e96ce1dc02e5ed98f138db76928e833cf35fab90762747e69ca43c2c260f2c5b8863193ae729de6c22a686107f4b15c06a7e062b49 SHA512 e2d5234bfbec665d51585fcf3611d9e80fe3bcb01555940b0f05a670f30babf76d3d5a3c22de193f7d11c700a312d587dc0b81eec478f46e7ca9aa6d69d9fa0e diff --git a/dev-haskell/chell-quickcheck/chell-quickcheck-0.2.5-r1.ebuild b/dev-haskell/chell-quickcheck/chell-quickcheck-0.2.5-r1.ebuild new file mode 100644 index 000000000000..ea9d0c66afc5 --- /dev/null +++ b/dev-haskell/chell-quickcheck/chell-quickcheck-0.2.5-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="QuickCheck support for the Chell testing library" +HOMEPAGE="https://john-millikin.com/software/chell/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="" + +RDEPEND=">=dev-haskell/chell-0.3:=[profile?] <dev-haskell/chell-0.5:=[profile?] + >=dev-haskell/quickcheck-2.3:2=[profile?] + dev-haskell/random:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" + +PATCHES=("${FILESDIR}"/${P}-QC-2.9.patch) + +src_prepare() { + default + + cabal_chdeps \ + 'QuickCheck >= 2.3 && < 2.9' 'QuickCheck >= 2.3' +} diff --git a/dev-haskell/chell-quickcheck/chell-quickcheck-0.2.5.ebuild b/dev-haskell/chell-quickcheck/chell-quickcheck-0.2.5.ebuild new file mode 100644 index 000000000000..afb146b444fb --- /dev/null +++ b/dev-haskell/chell-quickcheck/chell-quickcheck-0.2.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="QuickCheck support for the Chell testing library" +HOMEPAGE="https://john-millikin.com/software/chell/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=dev-haskell/chell-0.3:=[profile?] <dev-haskell/chell-0.5:=[profile?] + >=dev-haskell/quickcheck-2.3:2=[profile?] <dev-haskell/quickcheck-2.9:2=[profile?] + dev-haskell/random:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" diff --git a/dev-haskell/chell-quickcheck/files/chell-quickcheck-0.2.5-QC-2.9.patch b/dev-haskell/chell-quickcheck/files/chell-quickcheck-0.2.5-QC-2.9.patch new file mode 100644 index 000000000000..50a2d07f3caa --- /dev/null +++ b/dev-haskell/chell-quickcheck/files/chell-quickcheck-0.2.5-QC-2.9.patch @@ -0,0 +1,11 @@ +diff --git a/lib/Test/Chell/QuickCheck.hs b/lib/Test/Chell/QuickCheck.hs +index 56cbd04..c630320 100644 +--- a/lib/Test/Chell/QuickCheck.hs ++++ b/lib/Test/Chell/QuickCheck.hs +@@ -103,5 +103,3 @@ maxDiscardedTests :: QuickCheck.Testable prop => QuickCheck.Args -> prop -> Int + #if MIN_VERSION_QuickCheck(2,5,0) +-maxDiscardedTests args p = if QuickCheck.exhaustive p +- then QuickCheck.maxDiscardRatio args +- else QuickCheck.maxDiscardRatio args * QuickCheck.maxSuccess args ++maxDiscardedTests args _ = QuickCheck.maxDiscardRatio args * QuickCheck.maxSuccess args + #else diff --git a/dev-haskell/chell-quickcheck/metadata.xml b/dev-haskell/chell-quickcheck/metadata.xml new file mode 100644 index 000000000000..7e621418d8d3 --- /dev/null +++ b/dev-haskell/chell-quickcheck/metadata.xml @@ -0,0 +1,11 @@ +<?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> + QuickCheck support for the Chell testing library + </longdescription> +</pkgmetadata> |