summaryrefslogtreecommitdiff
path: root/dev-haskell/quickcheck
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
commit386855c4d1ef509c1fd32abd721589c81669613b (patch)
tree35dc984118f0a7dc2df88313d83bb5779fd12514 /dev-haskell/quickcheck
parent0118ac4510d7b85ca62da20e4abd1286dd8bd752 (diff)
gentoo auto-resync : 23:10:2023 - 08:35:49
Diffstat (limited to 'dev-haskell/quickcheck')
-rw-r--r--dev-haskell/quickcheck/Manifest4
-rw-r--r--dev-haskell/quickcheck/metadata.xml17
-rw-r--r--dev-haskell/quickcheck/quickcheck-2.14.3.ebuild36
3 files changed, 41 insertions, 16 deletions
diff --git a/dev-haskell/quickcheck/Manifest b/dev-haskell/quickcheck/Manifest
index b965c6eff626..a779c485caed 100644
--- a/dev-haskell/quickcheck/Manifest
+++ b/dev-haskell/quickcheck/Manifest
@@ -1,3 +1,5 @@
DIST QuickCheck-2.14.2.tar.gz 75246 BLAKE2B a64ad51f3daa858a224c00fb785979460b638d76f20c7a19d95a6303cd5da61adaa40cb52e154dd15218adbf54fff184f16ab3b932895294cf37f24982a2b9cc SHA512 84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5
+DIST quickcheck-2.14.3.tar.gz 76849 BLAKE2B e3a0eefaebd27fe5e11c4ed8dd7120b42e688be1cd249ee88a8b6b25a248376fae6d3f2f0506f675040314e019baeb60eac993421a0a7d87f821cdab01e93be5 SHA512 d00499fcdbe66d384a40c66a0d01dfe80f0622599f2f19ab569b45ef13c8d726c855b4687c7a1be022ea22df4bc66c48cf12fc156fadc558714fccc5a3deef7e
EBUILD quickcheck-2.14.2.ebuild 1078 BLAKE2B b61014376fee9c8a7443cd61560d555890e38a22a3d2e67fab25a894e5b466f9794c6777478b5deb2740ad63fb363cb22988e283977f5eb23cc23d87a63dcd67 SHA512 b395fd991394300ff8fdde0a1435aece7cad72e323b59167187a861b7860177eec1a2ee3941b0e20f4c1ee43f275e794bc915962c3bef824e3aca21f719a3302
-MISC metadata.xml 1018 BLAKE2B 150043cf9790a8b54ae89b3c26cbda8e02619ce2f509e2a6e3fc3a140b98591cd1059eb088a8d7a5866dc3513fff709315ffdd1370b6fc9f39eef23c071eba83 SHA512 4c7cd76682bfacb0b0193900b5ad61f20b812ab2cff14279d21991221872b56cccb9e840ce0f9b85883a485cc7011d401f95af3a5f07915079d3cf649ce9ea37
+EBUILD quickcheck-2.14.3.ebuild 957 BLAKE2B 2db88636744ec10ec3d61072e394f5a05620ed90ea8f4d520b1b1e59c25530b636f5476c73e6161b6f9d8e4d79c8e4eeb4b57c703218a3d4ad1b87f4f04170ab SHA512 f49cc73ca4528562c44b9aa3fc551d075ff04c1c03a6edc406f122bcbaa57180a88d3121b85033700a24c9ed7706d3070ac7a455240274c313754a818316d7ba
+MISC metadata.xml 495 BLAKE2B 4f4d584c118963c4f596e12adcfee09e86f3da6451fc57033362cb3e2d4c4da6241c5a88037659b2b8042050214d49aca44ded51544acbe6b797ec90c70e05ed SHA512 b12783f252c56cc91ac8edf34e0b576b356407a7aa122927eb3310fa32a133c1a1dbf2fa37d3fe0c6e10658fb5f3560cbe1148c26f92d5bfb04b2332eb749ae8
diff --git a/dev-haskell/quickcheck/metadata.xml b/dev-haskell/quickcheck/metadata.xml
index c64f613cab7c..6d0a1dba3e0c 100644
--- a/dev-haskell/quickcheck/metadata.xml
+++ b/dev-haskell/quickcheck/metadata.xml
@@ -6,23 +6,10 @@
<name>Gentoo Haskell</name>
</maintainer>
<use>
- <flag name="template-haskell">Enable additional test modules requiring Template Haskell support.</flag>
+ <flag name="template-haskell">Build Test.QuickCheck.All, which uses Template Haskell.</flag>
</use>
- <longdescription>
- QuickCheck is a library for random testing of program properties.
-
- The programmer provides a specification of the program, in
- the form of properties which functions should satisfy, and
- QuickCheck then tests that the properties hold in a large number
- of randomly generated cases.
-
- Specifications are expressed in
- Haskell, using combinators defined in the QuickCheck library.
- QuickCheck provides combinators to define properties, observe
- the distribution of test data, and define test
- data generators.
- </longdescription>
<upstream>
+ <remote-id type="hackage">QuickCheck</remote-id>
<remote-id type="github">nick8325/quickcheck</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-haskell/quickcheck/quickcheck-2.14.3.ebuild b/dev-haskell/quickcheck/quickcheck-2.14.3.ebuild
new file mode 100644
index 000000000000..bcfff140bd41
--- /dev/null
+++ b/dev-haskell/quickcheck/quickcheck-2.14.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.4.0.9999
+#hackport: flags: +base4,-base3,-old-random,templatehaskell:template-haskell
+
+CABAL_PN="QuickCheck"
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Automatic testing of Haskell programs"
+HOMEPAGE="https://github.com/nick8325/quickcheck"
+
+LICENSE="BSD"
+SLOT="2/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux"
+IUSE="+template-haskell"
+
+RDEPEND=">=dev-haskell/random-1.2.0:=[profile?] <dev-haskell/random-1.3:=[profile?]
+ >=dev-haskell/splitmix-0.1:=[profile?] <dev-haskell/splitmix-0.2:=[profile?]
+ >=dev-lang/ghc-8.8.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.0.0.0
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-base3 \
+ --flag=base4 \
+ --flag=-old-random \
+ $(cabal_flag template-haskell templatehaskell)
+}