summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/quickcheck
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/quickcheck')
-rw-r--r--dev-haskell/quickcheck/Manifest4
-rw-r--r--dev-haskell/quickcheck/files/quickcheck-1.2.0.1-ghc-7.10.patch13
-rw-r--r--dev-haskell/quickcheck/metadata.xml25
-rw-r--r--dev-haskell/quickcheck/quickcheck-1.2.0.1-r1.ebuild33
-rw-r--r--dev-haskell/quickcheck/quickcheck-1.2.0.1.ebuild25
-rw-r--r--dev-haskell/quickcheck/quickcheck-2.6.ebuild35
-rw-r--r--dev-haskell/quickcheck/quickcheck-2.7.6.ebuild42
-rw-r--r--dev-haskell/quickcheck/quickcheck-2.8.1.ebuild42
8 files changed, 219 insertions, 0 deletions
diff --git a/dev-haskell/quickcheck/Manifest b/dev-haskell/quickcheck/Manifest
new file mode 100644
index 000000000000..618f27fa9c17
--- /dev/null
+++ b/dev-haskell/quickcheck/Manifest
@@ -0,0 +1,4 @@
+DIST QuickCheck-1.2.0.1.tar.gz 8874 SHA256 8daee0117004a5c8962092a1eadfafc31f86d1b37fb15f5619962c05d8dab7bf SHA512 759f3107878b1e32732dad8583b99303276393649fb7eba8e0f452d438133075f986a3d8457684b024f642ed72b5e1600cbef73706cb8897f76112976c61ae64 WHIRLPOOL 797226e24878ed3db3b6d2794c6413cd3537bfafa1601cce6c0c862035691d7fe357c3eeea4f5053c1d18c7c5c78ccfa777342962d113c982570186fe325334a
+DIST QuickCheck-2.6.tar.gz 26466 SHA256 8001c00a1892714d914e5007ba72cdd428c1ea4c6b8418c6cb5e7809753d970d SHA512 17cfa7b9ee2fa3e31b48ed3609d5e3bb2316b99251e45e56d377a198d8cb429696e25ecb35ef1bf5cac7e313381274c646393697604f1feefe225fc692e01166 WHIRLPOOL dee9d3b80cd3f38bf479eeef4b861bfcdbc1a8bfefb082c0613f3d9589000c587596bc710ce3b3ab0e8e5f38ef9b9b087f7f60c2b9eb499195c9888088194d83
+DIST QuickCheck-2.7.6.tar.gz 34513 SHA256 80d8970a0c1dfcb714215cf11f2bf0f79339f70c01999dae2c31516100a0c527 SHA512 21e17fbe6dfc2425a948c789ac7d519cfb21c48df68b63de68e6af192d9642d24e1e46ba0b356767e2a10461a3032a4742a6608248574ae458fd2f03649f0451 WHIRLPOOL fefe84afe8c4a41935402de6df219faf1ae8144016df763d8efb66fa8c88a65a5a66d02e6be8cd09709d12875dcedf16c3a4b8906c8ea51de2160b6859ba0760
+DIST QuickCheck-2.8.1.tar.gz 38999 SHA256 7073aa3635660476aa31df7cf0476926a1ac0231235020122eb276070675763b SHA512 def1f7141b80be5b508e396c069f6f270c9b890b0ce03df41e058092e6dad28ed8c838734814066307777e6b8b93f154d1b0bf9b4a7052318ec018ef0901c1ef WHIRLPOOL f7b8fb632fd9b304cabf71d679174b391866a0cab0d7cebf5204723734468fcaad721223036209cec653b948f7cdb450fed3ac1c5b0d121bdb04a9d51c30f5c9
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..d7bf7dcb8adc
--- /dev/null
+++ b/dev-haskell/quickcheck/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <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..4dca7b2151de
--- /dev/null
+++ b/dev-haskell/quickcheck/quickcheck-1.2.0.1-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="http://www.math.chalmers.se/~rjmh/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..d76725a9ca71
--- /dev/null
+++ b/dev-haskell/quickcheck/quickcheck-1.2.0.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+CABAL_FEATURES="lib profile haddock"
+inherit haskell-cabal
+
+MY_PN="QuickCheck"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Automatic testing of Haskell programs"
+HOMEPAGE="http://www.math.chalmers.se/~rjmh/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..eaa5a2022ada
--- /dev/null
+++ b/dev-haskell/quickcheck/quickcheck-2.6.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="http://code.haskell.org/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..1d8db0e7b11d
--- /dev/null
+++ b/dev-haskell/quickcheck/quickcheck-2.7.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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..6a77b868ca7c
--- /dev/null
+++ b/dev-haskell/quickcheck/quickcheck-2.8.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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)
+}