summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2013-10-19 11:48:45 +0000
committerMark Wright <gienah@gentoo.org>2013-10-19 11:48:45 +0000
commit1ea6c9421e6e58d18a7c7b30b114bb539c48d44f (patch)
treee036b3e86d05cda777ecc259c7cb6993a04e6689
parentBump unordered-containers to 0.2.3.3 (diff)
downloadgentoo-2-1ea6c9421e6e58d18a7c7b30b114bb539c48d44f.tar.gz
gentoo-2-1ea6c9421e6e58d18a7c7b30b114bb539c48d44f.tar.bz2
gentoo-2-1ea6c9421e6e58d18a7c7b30b114bb539c48d44f.zip
Bump comonad to 4.0
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
-rw-r--r--dev-haskell/comonad/ChangeLog8
-rw-r--r--dev-haskell/comonad/comonad-4.0.ebuild37
-rw-r--r--dev-haskell/comonad/metadata.xml3
3 files changed, 47 insertions, 1 deletions
diff --git a/dev-haskell/comonad/ChangeLog b/dev-haskell/comonad/ChangeLog
index 54a33825575e..eb2a884f9469 100644
--- a/dev-haskell/comonad/ChangeLog
+++ b/dev-haskell/comonad/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-haskell/comonad
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/comonad/ChangeLog,v 1.2 2013/09/10 03:34:00 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/comonad/ChangeLog,v 1.3 2013/10/19 11:48:45 gienah Exp $
+
+*comonad-4.0 (19 Oct 2013)
+
+ 19 Oct 2013; Mark Wright <gienah@gentoo.org> +comonad-4.0.ebuild,
+ metadata.xml:
+ Bump comonad to 4.0
10 Sep 2013; Patrick Lauer <patrick@gentoo.org> comonad-3.1.ebuild:
Whitespace
diff --git a/dev-haskell/comonad/comonad-4.0.ebuild b/dev-haskell/comonad/comonad-4.0.ebuild
new file mode 100644
index 000000000000..d14850ff388d
--- /dev/null
+++ b/dev-haskell/comonad/comonad-4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/comonad/comonad-4.0.ebuild,v 1.1 2013/10/19 11:48:45 gienah Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.4
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Comonads"
+HOMEPAGE="http://github.com/ekmett/comonad/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+test-doctests"
+
+RDEPEND=">=dev-haskell/contravariant-0.2.0.1:=[profile?] <dev-haskell/contravariant-1:=[profile?]
+ >=dev-haskell/distributive-0.2.2:=[profile?] <dev-haskell/distributive-1:=[profile?]
+ >=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.2:=[profile?]
+ >=dev-haskell/semigroups-0.8.3.1:=[profile?] <dev-haskell/semigroups-1:=[profile?]
+ >=dev-haskell/tagged-0.1:=[profile?] <dev-haskell/tagged-1:=[profile?]
+ >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.4:=[profile?]
+ >=dev-lang/ghc-6.12.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( test-doctests? ( >=dev-haskell/doctest-0.9.1 ) )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag test-doctests test-doctests)
+}
diff --git a/dev-haskell/comonad/metadata.xml b/dev-haskell/comonad/metadata.xml
index 4a33dfd3a2b1..4bd74546fb4f 100644
--- a/dev-haskell/comonad/metadata.xml
+++ b/dev-haskell/comonad/metadata.xml
@@ -8,4 +8,7 @@
<longdescription>
Haskell 98 comonads
</longdescription>
+<use>
+ <flag name='test-doctests'>Run the doctests test suite</flag>
+</use>
</pkgmetadata>