diff options
author | 2015-08-01 16:24:16 +0000 | |
---|---|---|
committer | 2015-08-01 16:24:16 +0000 | |
commit | 2cc39aa2870b6c9cdd5af59f74eded8657fce1d9 (patch) | |
tree | ee56f04fd1e7a3e6ab3bfae6da3ad302e13027ba /dev-haskell/semigroupoids | |
parent | Backwards-compatible orphan instances for base, a depend for dev-haskell/bifu... (diff) | |
download | gentoo-2-2cc39aa2870b6c9cdd5af59f74eded8657fce1d9.tar.gz gentoo-2-2cc39aa2870b6c9cdd5af59f74eded8657fce1d9.tar.bz2 gentoo-2-2cc39aa2870b6c9cdd5af59f74eded8657fce1d9.zip |
Version bump.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-haskell/semigroupoids')
-rw-r--r-- | dev-haskell/semigroupoids/ChangeLog | 8 | ||||
-rw-r--r-- | dev-haskell/semigroupoids/metadata.xml | 27 | ||||
-rw-r--r-- | dev-haskell/semigroupoids/semigroupoids-5.0.0.2.ebuild | 51 |
3 files changed, 72 insertions, 14 deletions
diff --git a/dev-haskell/semigroupoids/ChangeLog b/dev-haskell/semigroupoids/ChangeLog index 8ed2f56e6dff..182868da8342 100644 --- a/dev-haskell/semigroupoids/ChangeLog +++ b/dev-haskell/semigroupoids/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-haskell/semigroupoids # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/semigroupoids/ChangeLog,v 1.7 2015/06/06 16:32:14 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/semigroupoids/ChangeLog,v 1.8 2015/08/01 16:24:16 slyfox Exp $ + +*semigroupoids-5.0.0.2 (01 Aug 2015) + + 01 Aug 2015; Sergei Trofimovich <slyfox@gentoo.org> + +semigroupoids-5.0.0.2.ebuild, metadata.xml: + Version bump. 06 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml: Add github to remote-id in metadata.xml diff --git a/dev-haskell/semigroupoids/metadata.xml b/dev-haskell/semigroupoids/metadata.xml index e4854d8ae7bb..8ce5b789c3f1 100644 --- a/dev-haskell/semigroupoids/metadata.xml +++ b/dev-haskell/semigroupoids/metadata.xml @@ -8,10 +8,10 @@ A Semigroupoid is a Category without the requirement of identity arrows for every object in the category. When working with comonads you often have the @\<*\>@ portion of an @Applicative@, but - not the @pure@. This was captured in Uustalu and Vene's \"Essence of Dataflow Programming\" + not the @pure@. This was captured in Uustalu and Vene's \"Essence of Dataflow Programming\" in the form of the @ComonadZip@ class in the days before @Applicative@. Apply provides a weaker invariant, but for the comonads used for data flow programming (found in the streams package), this invariant is preserved. Applicative function composition forms a semigroupoid. - Similarly many structures are nearly a comonad, but not quite, for instance lists provide a reasonable 'extend' operation in the form of 'tails', but do not always contain a value. + Similarly many structures are nearly a comonad, but not quite, for instance lists provide a reasonable 'extend' operation in the form of 'tails', but do not always contain a value. Ideally the following relationships would hold: @@ -31,27 +31,28 @@ as in many cases the binding operation or @\<*\>@ operation does not require them. Finally, to work with these weaker structures it is beneficial to have containers - that can provide stronger guarantees about their contents, so versions of 'Traversable' - and 'Foldable' that can be folded with just a 'Semigroup' are added. + that can provide stronger guarantees about their contents, so versions of 'Traversable' + and 'Foldable' that can be folded with just a 'Semigroup' are added. </longdescription> - <use> - <flag name="comonad">You can disable the use of the `comonad` package using +<use> + <flag name='comonad'>You can disable the use of the `comonad` package using `-f-comonad`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply instances of `Comonad`</flag> - <flag name="containers">You can disable the use of the `containers` package + <flag name='containers'>You can disable the use of the `containers` package using `-f-containers`. Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.</flag> - <flag name="contravariant">You can disable the use of the `contravariant` + <flag name='contravariant'>You can disable the use of the `contravariant` package using `-f-contravariant`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply instances of `Contravariant`</flag> - <flag name="distributive">You can disable the use of the `distributive` + <flag name='distributive'>You can disable the use of the `distributive` package using `-f-distributive`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply instances of `Distributive`</flag> - </use> - <upstream> - <remote-id type="github">ekmett/semigroupoids</remote-id> - </upstream> + <flag name="tagged">You can disable the use of the `tagged` package + using `-f-tagged`. Disabing this is an unsupported + configuration, but it may be useful for accelerating builds in + sandboxes for expert users.</flag> +</use> </pkgmetadata> diff --git a/dev-haskell/semigroupoids/semigroupoids-5.0.0.2.ebuild b/dev-haskell/semigroupoids/semigroupoids-5.0.0.2.ebuild new file mode 100644 index 000000000000..f1ec14ce3613 --- /dev/null +++ b/dev-haskell/semigroupoids/semigroupoids-5.0.0.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/semigroupoids/semigroupoids-5.0.0.2.ebuild,v 1.1 2015/08/01 16:24:16 slyfox Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 +#hackport: flags: +doctests + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Semigroupoids: Category sans id" +HOMEPAGE="http://github.com/ekmett/semigroupoids" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+comonad +containers +contravariant +distributive +tagged" + +RDEPEND=">=dev-haskell/base-orphans-0.3:=[profile?] <dev-haskell/base-orphans-1:=[profile?] + >=dev-haskell/bifunctors-5:=[profile?] <dev-haskell/bifunctors-6:=[profile?] + >=dev-haskell/semigroups-0.8.3.1:=[profile?] <dev-haskell/semigroups-1:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.6:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.5:=[profile?] + >=dev-lang/ghc-7.4.1:= + comonad? ( >=dev-haskell/comonad-4.2.6:=[profile?] <dev-haskell/comonad-5:=[profile?] ) + contravariant? ( >=dev-haskell/contravariant-0.2.0.1:=[profile?] <dev-haskell/contravariant-2:=[profile?] ) + distributive? ( >=dev-haskell/distributive-0.2.2:=[profile?] <dev-haskell/distributive-1:=[profile?] ) + tagged? ( >=dev-haskell/tagged-0.7.3:=[profile?] <dev-haskell/tagged-1:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( >=dev-haskell/doctest-0.9.1 ) +" + +src_prepare() { + cabal_chdeps \ + 'doctest >= 0.9.1 && < 0.10' 'doctest >= 0.9.1' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag comonad comonad) \ + $(cabal_flag containers containers) \ + $(cabal_flag contravariant contravariant) \ + $(cabal_flag distributive distributive) \ + --flag=doctests \ + $(cabal_flag tagged tagged) +} |