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/quickcheck | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/quickcheck')
-rw-r--r-- | dev-haskell/quickcheck/Manifest | 15 | ||||
-rw-r--r-- | dev-haskell/quickcheck/files/quickcheck-1.2.0.1-ghc-7.10.patch | 13 | ||||
-rw-r--r-- | dev-haskell/quickcheck/metadata.xml | 28 | ||||
-rw-r--r-- | dev-haskell/quickcheck/quickcheck-1.2.0.1-r1.ebuild | 32 | ||||
-rw-r--r-- | dev-haskell/quickcheck/quickcheck-1.2.0.1.ebuild | 26 | ||||
-rw-r--r-- | dev-haskell/quickcheck/quickcheck-2.6.ebuild | 34 | ||||
-rw-r--r-- | dev-haskell/quickcheck/quickcheck-2.7.6.ebuild | 41 | ||||
-rw-r--r-- | dev-haskell/quickcheck/quickcheck-2.8.1.ebuild | 41 | ||||
-rw-r--r-- | dev-haskell/quickcheck/quickcheck-2.8.2.ebuild | 43 | ||||
-rw-r--r-- | dev-haskell/quickcheck/quickcheck-2.9.2.ebuild | 44 |
10 files changed, 317 insertions, 0 deletions
diff --git a/dev-haskell/quickcheck/Manifest b/dev-haskell/quickcheck/Manifest new file mode 100644 index 000000000000..1bbd146afedd --- /dev/null +++ b/dev-haskell/quickcheck/Manifest @@ -0,0 +1,15 @@ +AUX quickcheck-1.2.0.1-ghc-7.10.patch 468 BLAKE2B dfb8fba1c756f457c286632fd3e948d9f921697d2ba2f71bc6b7582766b5643bfdeaa002b0b1825c48ed88df379a4a0ca74bf57011f3683d39a9f2e251074900 SHA512 fdc19add37a05817e6d847a6d1acd8452063b7d314351a56a6f5945f0481796379aab1de7f9d117a1b0108590eedeb685cd8551d408cdd7bce28a1388d9900fe +DIST QuickCheck-1.2.0.1.tar.gz 8874 BLAKE2B 07b89c9a60f5f9cec23662acbad575374255af87719fbe320e5b6cf3f108547df085b48eefa4931f90915e7a9bce74640110a0e24afcdabb3ad7ca3a8ec359e9 SHA512 759f3107878b1e32732dad8583b99303276393649fb7eba8e0f452d438133075f986a3d8457684b024f642ed72b5e1600cbef73706cb8897f76112976c61ae64 +DIST QuickCheck-2.6.tar.gz 26466 BLAKE2B e8b4ba40cb403fe487fe483a133be8b951e36ab1ebe748a32dc22eb490e7f9b5e15da010353777651e65668e8cf5cc4c9919d28becde28238a0ff3ed8292779f SHA512 17cfa7b9ee2fa3e31b48ed3609d5e3bb2316b99251e45e56d377a198d8cb429696e25ecb35ef1bf5cac7e313381274c646393697604f1feefe225fc692e01166 +DIST QuickCheck-2.7.6.tar.gz 34513 BLAKE2B e8f8252655426896f899162f374f447960c95ec5d57ec08d23f64fa3ac59040864a13bd455e14d58940c4015e0ca537e08723602a6114ba6aed1f7aafe5a01a7 SHA512 21e17fbe6dfc2425a948c789ac7d519cfb21c48df68b63de68e6af192d9642d24e1e46ba0b356767e2a10461a3032a4742a6608248574ae458fd2f03649f0451 +DIST QuickCheck-2.8.1.tar.gz 38999 BLAKE2B 6c53c760cfe9ac686f9b41a3a440b25cf84f52246bf4a42652eaf1cb3938586566cb597d2ee8f2ed632b4e31d0fa45ce2479e1573cef30e64ef19f06349fc6b8 SHA512 def1f7141b80be5b508e396c069f6f270c9b890b0ce03df41e058092e6dad28ed8c838734814066307777e6b8b93f154d1b0bf9b4a7052318ec018ef0901c1ef +DIST QuickCheck-2.8.2.tar.gz 39725 BLAKE2B a817a03677fd44fe9554e54b86ba71ba32338845c397e1debd9bc128200f1351acc6262deb1e2b2d26a9c75811b688220c2a02813e7f4ea898953679caa6ba9a SHA512 661b9e5285f56f69f8807ad0679ca4e18d0ac648233d5f6cbcfda548fcfcf3bc1b790c409f66fdf67cc4a3b769a248b43b0cd1abd103ae6d9a596978c5af4aba +DIST QuickCheck-2.9.2.tar.gz 43417 BLAKE2B e4721bdee29b2e6d4f349758c6355a633fa60574c34fe59a6f7698a4e59ebeec4ad9d01ecd9324723f9495b2819606588c235c74f6243e688d96c4380fec09a9 SHA512 7b8bad1995e6ce5484f627f9edab91cb8d124b63444e9f62b613b0d1558c2639101dd30d6c455e7f66ffa613f704aeead89faceea56eb411ba8ed15472edb917 +EBUILD quickcheck-1.2.0.1-r1.ebuild 741 BLAKE2B 414adc63991c67d5c877728fbcf34bbad4c38653d2bcae1e92c746372a556594af2ed6a86bd557f02a8394cac14c7a6a3f5f206ec6a59863c3074055ccce25b1 SHA512 ff5163195fb939d9a646c9924e606251edeaad59438c05d01663d4735510c8417af537a4fa8ab43ef43edceaf90bd4778682fca84dffa0fdffbb48b9b4b33b7a +EBUILD quickcheck-1.2.0.1.ebuild 656 BLAKE2B 11ac8c35d92b46178b1340e8555f0d3e3bcebd45777397727b8502dd6850d71b45fff32c3b66047f63d793e5f80f19e728ffbc6021a7c13045aa145a646d8a13 SHA512 36372ca0c92df6987d1cfc905fa8866ab0652973343ae4d16a2c428c458e8e6d5484e4e63e2e37fb153ed9ae607d091988af36742fc9542571b14c57160ee9df +EBUILD quickcheck-2.6.ebuild 866 BLAKE2B 8de9d32200177394ebf53e8573080ab4251e7f3ea1e048d93bb5c58e058fa84e37c274a54879043b600f0c940ce3eacfaf74d5b566f27d3633d2941e6b984f1f SHA512 679296c9ff46cbc169e665cb024774bb651dbef9d409fb6c1c30ac43c23ebf4f03047faa9143a731636eb171831f16225f62b861ca5b26fde47b86555c0fd6bf +EBUILD quickcheck-2.7.6.ebuild 1094 BLAKE2B bead8e1f98549cc2cf1d17f453dc74db3f921b594728f6cddb1510264c1c2b134378ee709545db25042182cb3f777155ad29aa7b3a67b0d72d2489f60fd7e2d0 SHA512 05dfbd5dd27e22ea22e29da3c97ea3541845f8ff203c6a28dd739734deff105bb3d87a3079bb868907d9efe2390c7deb8ec50e60ec845c1f51a45c455884966e +EBUILD quickcheck-2.8.1.ebuild 1094 BLAKE2B c107f3af21bf92cae2d88eb0573bed17f1ae2fda98a61d3897388fd6570024362b76b95bb46246d54400c02f9055384b26cd28a89cb4c0cd17af9f0e8d62846a SHA512 0181869832398104e2e206295464d979e166f7a343aa4343007a174cab6a231755992b5de2b8a707071460a87854d13d22367c2037ca421dadc63c0f275a0512 +EBUILD quickcheck-2.8.2.ebuild 1144 BLAKE2B 4132bdebc063c49ca7a4645551285f23342e1bf5cd8d491c449c30affbf7be88d53b5aa422c6fef5b5472c621f670eda445fdc2f67f6e1cfb7feb9834d0c34bd SHA512 f57011c8709180fbfe1933f594b0eb3c4bfc38a1a4cd50e182f4d3014627cec8d437b3b45955099fdd0e850e8d1a9c6b5d36a7c462bf4915b287819f1b0f5528 +EBUILD quickcheck-2.9.2.ebuild 1167 BLAKE2B 16c013e8d11cf0c07393e0b2a2a4ea3d97f5f748b15e737d3f41347f6813ceafee4d8fa793f4fe4ea8d217fce8d0bcf0fe690d42bf269083caf81818f007ca20 SHA512 b8ec5babb5ed6908961886847088f8776b1fbce534d88ed879b5a21533277185e62a8180d072e040e84c5b5632237b4b62019e696624cd7ae136aaa5afa3914f +MISC metadata.xml 1017 BLAKE2B 926c4da3f4784610cb5283a45a3aa45ea4f32714164baece40eb1d8149bcbfa076c7d7f89bf12b080ff16b70aed4b14d238e072dde6cf18aa2cbf0849aec40da SHA512 ad664254669975c7f128bca939f1719da58e8c443bf9d5446b5e3223b0fe3b356daba8325e78f639bc8048cb846c37f4e5f27f842803a9a63206a31760c392ab diff --git a/dev-haskell/quickcheck/files/quickcheck-1.2.0.1-ghc-7.10.patch b/dev-haskell/quickcheck/files/quickcheck-1.2.0.1-ghc-7.10.patch new file mode 100644 index 000000000000..61056fc3ef46 --- /dev/null +++ b/dev-haskell/quickcheck/files/quickcheck-1.2.0.1-ghc-7.10.patch @@ -0,0 +1,13 @@ +diff --git a/Test/QuickCheck.hs b/Test/QuickCheck.hs +index 1f8b3b9..27138ab 100644 +--- a/Test/QuickCheck.hs ++++ b/Test/QuickCheck.hs +@@ -75 +75,2 @@ import Data.List( group, sort, intersperse ) +-import Control.Monad( liftM2, liftM3, liftM4 ) ++import Control.Applicative ++import Control.Monad( liftM2, liftM3, liftM4, ap ) +@@ -115,0 +117,4 @@ instance Functor Gen where ++instance Applicative Gen where ++ pure = return ++ (<*>) = ap -- defined in Control.Monad ++ diff --git a/dev-haskell/quickcheck/metadata.xml b/dev-haskell/quickcheck/metadata.xml new file mode 100644 index 000000000000..d5aff4a020bb --- /dev/null +++ b/dev-haskell/quickcheck/metadata.xml @@ -0,0 +1,28 @@ +<?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> + <use> + <flag name="template_haskell">Enable additional test modules requiring Template Haskell support.</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="github">nick8325/quickcheck</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/quickcheck/quickcheck-1.2.0.1-r1.ebuild b/dev-haskell/quickcheck/quickcheck-1.2.0.1-r1.ebuild new file mode 100644 index 000000000000..9d10d8cdc008 --- /dev/null +++ b/dev-haskell/quickcheck/quickcheck-1.2.0.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +CABAL_FEATURES="lib profile haddock" +inherit eutils haskell-cabal + +MY_PN="QuickCheck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Automatic testing of Haskell programs" +HOMEPAGE="https://github.com/nick8325/quickcheck" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="1" +KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND=">=dev-lang/ghc-6.6.1 + dev-haskell/random:=[profile?] +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2 +" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ghc-7.10.patch +} diff --git a/dev-haskell/quickcheck/quickcheck-1.2.0.1.ebuild b/dev-haskell/quickcheck/quickcheck-1.2.0.1.ebuild new file mode 100644 index 000000000000..1b9371e4be15 --- /dev/null +++ b/dev-haskell/quickcheck/quickcheck-1.2.0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +CABAL_FEATURES="lib profile haddock" +inherit haskell-cabal + +MY_PN="QuickCheck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Automatic testing of Haskell programs" +HOMEPAGE="https://github.com/nick8325/quickcheck" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="1" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND=">=dev-lang/ghc-6.6.1 + dev-haskell/random" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2" + +S="${WORKDIR}/${MY_P}" diff --git a/dev-haskell/quickcheck/quickcheck-2.6.ebuild b/dev-haskell/quickcheck/quickcheck-2.6.ebuild new file mode 100644 index 000000000000..e362bb8b3e28 --- /dev/null +++ b/dev-haskell/quickcheck/quickcheck-2.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.2.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +MY_PN="QuickCheck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Automatic testing of Haskell programs" +HOMEPAGE="https://github.com/nick8325/quickcheck" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux" +IUSE="+template_haskell" + +RDEPEND="dev-haskell/extensible-exceptions:=[profile?] + dev-haskell/random:=[profile?] + >=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag template_haskell templatehaskell) +} diff --git a/dev-haskell/quickcheck/quickcheck-2.7.6.ebuild b/dev-haskell/quickcheck/quickcheck-2.7.6.ebuild new file mode 100644 index 000000000000..0d9bfb69fc61 --- /dev/null +++ b/dev-haskell/quickcheck/quickcheck-2.7.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.9999 +#hackport: flags: +base4,-base3,templatehaskell:template_haskell + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +MY_PN="QuickCheck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Automatic testing of Haskell programs" +HOMEPAGE="https://github.com/nick8325/quickcheck" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux" +IUSE="+template_haskell" + +RDEPEND="dev-haskell/random:=[profile?] + >=dev-haskell/tf-random-0.4:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-0.9 ) +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-base3 \ + --flag=base4 \ + $(cabal_flag template_haskell templatehaskell) +} diff --git a/dev-haskell/quickcheck/quickcheck-2.8.1.ebuild b/dev-haskell/quickcheck/quickcheck-2.8.1.ebuild new file mode 100644 index 000000000000..b6f22e236bdc --- /dev/null +++ b/dev-haskell/quickcheck/quickcheck-2.8.1.ebuild @@ -0,0 +1,41 @@ +# 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 +#hackport: flags: +base4,-base3,templatehaskell:template_haskell + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +MY_PN="QuickCheck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Automatic testing of Haskell programs" +HOMEPAGE="https://github.com/nick8325/quickcheck" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux" +IUSE="+template_haskell" + +RDEPEND="dev-haskell/random:=[profile?] + >=dev-haskell/tf-random-0.4:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-0.9 ) +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-base3 \ + --flag=base4 \ + $(cabal_flag template_haskell templatehaskell) +} diff --git a/dev-haskell/quickcheck/quickcheck-2.8.2.ebuild b/dev-haskell/quickcheck/quickcheck-2.8.2.ebuild new file mode 100644 index 000000000000..23670805e165 --- /dev/null +++ b/dev-haskell/quickcheck/quickcheck-2.8.2.ebuild @@ -0,0 +1,43 @@ +# 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 +#hackport: flags: +base4,-base3,templatehaskell:template_haskell + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +MY_PN="QuickCheck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Automatic testing of Haskell programs" +HOMEPAGE="https://github.com/nick8325/quickcheck" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux" +IUSE="+template_haskell" + +RESTRICT=test # to avoid test circular depends + +RDEPEND="dev-haskell/random:=[profile?] + >=dev-haskell/tf-random-0.4:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-0.9 ) +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-base3 \ + --flag=base4 \ + $(cabal_flag template_haskell templatehaskell) +} diff --git a/dev-haskell/quickcheck/quickcheck-2.9.2.ebuild b/dev-haskell/quickcheck/quickcheck-2.9.2.ebuild new file mode 100644 index 000000000000..87803b71b443 --- /dev/null +++ b/dev-haskell/quickcheck/quickcheck-2.9.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 +#hackport: flags: +base4,-base3,templatehaskell:template_haskell + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +MY_PN="QuickCheck" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Automatic testing of Haskell programs" +HOMEPAGE="https://github.com/nick8325/quickcheck" +SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="2/${PV}" +KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux" +IUSE="+template_haskell" + +RESTRICT=test # to avoid test circular depends + +RDEPEND=">=dev-haskell/nats-1:=[profile?] + dev-haskell/random:=[profile?] + >=dev-haskell/semigroups-0.9:=[profile?] + >=dev-haskell/tf-random-0.4:=[profile?] + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 + test? ( template_haskell? ( >=dev-haskell/test-framework-0.4 <dev-haskell/test-framework-0.9 ) ) +" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-base3 \ + --flag=base4 \ + $(cabal_flag template_haskell templatehaskell) +} |