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/semigroupoids
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/semigroupoids')
-rw-r--r--dev-haskell/semigroupoids/Manifest6
-rw-r--r--dev-haskell/semigroupoids/metadata.xml61
-rw-r--r--dev-haskell/semigroupoids/semigroupoids-3.1.ebuild30
-rw-r--r--dev-haskell/semigroupoids/semigroupoids-4.0.2.1.ebuild30
-rw-r--r--dev-haskell/semigroupoids/semigroupoids-4.0.ebuild30
-rw-r--r--dev-haskell/semigroupoids/semigroupoids-4.2.ebuild38
-rw-r--r--dev-haskell/semigroupoids/semigroupoids-4.3.ebuild40
-rw-r--r--dev-haskell/semigroupoids/semigroupoids-5.0.0.2.ebuild51
8 files changed, 286 insertions, 0 deletions
diff --git a/dev-haskell/semigroupoids/Manifest b/dev-haskell/semigroupoids/Manifest
new file mode 100644
index 000000000000..8a2763b9dbb1
--- /dev/null
+++ b/dev-haskell/semigroupoids/Manifest
@@ -0,0 +1,6 @@
+DIST semigroupoids-3.1.tar.gz 12317 SHA256 2f5dbfa67c314d69395480f4aaef9b69cefa5f527d2db9a74fcc6f6b813f2408 SHA512 915425feb2f0d2c4c30a19b5823dd3377598b321835058202e623fe5f817f37d646ac1812192e570cd494ada5fb9df5784fa23bc38d39f95d8ed19b16f633755 WHIRLPOOL edce1b11bdca06bf8e33314449d2185ad57206d969fa84f2b8ca2013217b7b0f69c19cf9126cf3b814707f4c6b30dc90c59b624e680bc76005da029c30932d5d
+DIST semigroupoids-4.0.2.1.tar.gz 15805 SHA256 6169ab2c604d397748c29c41ab9ea20fa536d7e0f21f48e499966fbbae26ea01 SHA512 9fe6c9b31013763d0581539f768ea608aa6990625a81307e4a665e1e9cdf47a225efa319489ac4a51c0237fab772bdd318fcc9f3d0d97221563bb8a885433815 WHIRLPOOL 954f9c952b39e49ed26196e390e5b7a60937bd11bbd2c338b406ad9117cea77f40c73c932653f02d89f859368cf1c7868f5e1e7fd0c00d8be47238bcff93a292
+DIST semigroupoids-4.0.tar.gz 15824 SHA256 9414d79047eb95b26b13ad0cf541b494a51e159034a63e14eb41781d6f5a028a SHA512 6a28c88fba6ac847a647ea918fb0e16ede708c6b90ac93388890f1eedfa96b64820adc830632a9b894e3198007cc8b8122c52beaedc805fe57dd10c9103e2343 WHIRLPOOL 4d84b82ad2129566dcbde22abae9774f9ebbcce84ea6e63474225927d480bb5a72eb284c25c57e8046ec894869b29f9c2bb9369298f6f0915bdabb64a17a3807
+DIST semigroupoids-4.2.tar.gz 16395 SHA256 88a95d383195307f4e9e20d49f194a192d816bf15fc2f12a63820a8742b9f1a3 SHA512 6de5f5d62215789c4ef2c5c20390991e5aa9c6106685daadfcc36f09b91483790d95458344f208e8582430fcaf1fba2f2531743e9a6f7353cec2024adafe10a9 WHIRLPOOL 1da05876d3072bc767f28393437091a9df55caadf9804877546c8988cb604d161a1f1d47bbd198cf73d299c587b5c98c5e5f938c264f2ea7d54650bbe691ac13
+DIST semigroupoids-4.3.tar.gz 17190 SHA256 4ea30261a070a6af8dce041041cdb8af67154dbab95f329c9953ffc09ccbc0e2 SHA512 2c914071401e26f4c3aa312aab4dd6f5f3d232e0d3368b3c0dbef867bbc2fe1e75d574831994cb6d2b8dbf797b54b9b6573ed3a54392b300bb119779a0c5a961 WHIRLPOOL bd9fb22ffb4738f753e051acc168ee02c155603bf08f08a7116108545c1003a9bcac50820abdf19b82bb3f3bafc520c051c18878f832648a429c235b2ca0b146
+DIST semigroupoids-5.0.0.2.tar.gz 20667 SHA256 5c978f9a75f837287690229afd24a0caf10ec3bf277669a4419010fc08120793 SHA512 dfe6960251aa83d9e0e739f8a5f9a004a04719d65e43931d31b4a785faf3cb19af97fad6e1758f3efa238ac434c3676a8ca986a3769d98be6d74282026810ce8 WHIRLPOOL 5b690c65199f5e9756110f4a249c5d3809d1ad73e989bc1a72723264cfd695461be00707e6ac3e337e3f138503d9d6811965a03b627089954d2f7f5c755ba43c
diff --git a/dev-haskell/semigroupoids/metadata.xml b/dev-haskell/semigroupoids/metadata.xml
new file mode 100644
index 000000000000..0b9dfed4ec37
--- /dev/null
+++ b/dev-haskell/semigroupoids/metadata.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ Provides a wide array of semigroupoids and operations for working with semigroupds.
+
+ 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 @\&lt;*\&gt;@ portion of an @Applicative@, but
+ 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.
+
+
+ Ideally the following relationships would hold:
+
+ &gt; Traversable &lt;---- Foldable &lt;--- Functor ------&gt; Alt ---------&gt; Plus Semigroupoid
+ &gt; | | | | |
+ &gt; v v v v v
+ &gt; Traversable1 &lt;--- Foldable1 Apply --------&gt; Applicative -&gt; Alternative Category
+ &gt; | | | |
+ &gt; v v v v
+ &gt; Bind ---------&gt; Monad -------&gt; MonadPlus Arrow
+ &gt;
+
+ Apply, Bind, and Extract give rise the Static, Kleisli and Cokleisli semigroupoids respectively.
+
+ This lets us remove many of the restrictions from various monad transformers
+ as in many cases the binding operation or @\&lt;*\&gt;@ 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.
+ </longdescription>
+ <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
+ 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`
+ 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`
+ 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>
+ <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>
+ <upstream>
+ <remote-id type="github">ekmett/semigroupoids</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-haskell/semigroupoids/semigroupoids-3.1.ebuild b/dev-haskell/semigroupoids/semigroupoids-3.1.ebuild
new file mode 100644
index 000000000000..b7df56b38552
--- /dev/null
+++ b/dev-haskell/semigroupoids/semigroupoids-3.1.ebuild
@@ -0,0 +1,30 @@
+# 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
+
+DESCRIPTION="Haskell 98 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=""
+
+RDEPEND="<dev-haskell/comonad-4:=[profile?]
+ >=dev-haskell/contravariant-0.2.0.1:=[profile?]
+ <dev-haskell/contravariant-1:=[profile?]
+ >=dev-haskell/semigroups-0.8.3.1:=[profile?]
+ <dev-haskell/semigroups-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.6"
diff --git a/dev-haskell/semigroupoids/semigroupoids-4.0.2.1.ebuild b/dev-haskell/semigroupoids/semigroupoids-4.0.2.1.ebuild
new file mode 100644
index 000000000000..eeeee7ef1373
--- /dev/null
+++ b/dev-haskell/semigroupoids/semigroupoids-4.0.2.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+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=""
+
+RDEPEND=">=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?]
+ >=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/semigroups-0.8.3.1:=[profile?] <dev-haskell/semigroups-1:=[profile?]
+ >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.6:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
diff --git a/dev-haskell/semigroupoids/semigroupoids-4.0.ebuild b/dev-haskell/semigroupoids/semigroupoids-4.0.ebuild
new file mode 100644
index 000000000000..ed45aa659643
--- /dev/null
+++ b/dev-haskell/semigroupoids/semigroupoids-4.0.ebuild
@@ -0,0 +1,30 @@
+# 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.4
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+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=""
+
+RDEPEND=">=dev-haskell/comonad-4:=[profile?] <dev-haskell/comonad-5:=[profile?]
+ >=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/semigroups-0.8.3.1:=[profile?] <dev-haskell/semigroups-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.8.0.2
+"
diff --git a/dev-haskell/semigroupoids/semigroupoids-4.2.ebuild b/dev-haskell/semigroupoids/semigroupoids-4.2.ebuild
new file mode 100644
index 000000000000..5e14e8fb1a33
--- /dev/null
+++ b/dev-haskell/semigroupoids/semigroupoids-4.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+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"
+
+RDEPEND=">=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-lang/ghc-7.4.1:=
+ comonad? ( >=dev-haskell/comonad-4:=[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?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag comonad comonad) \
+ $(cabal_flag containers containers) \
+ $(cabal_flag contravariant contravariant) \
+ $(cabal_flag distributive distributive)
+}
diff --git a/dev-haskell/semigroupoids/semigroupoids-4.3.ebuild b/dev-haskell/semigroupoids/semigroupoids-4.3.ebuild
new file mode 100644
index 000000000000..d11408b5fa97
--- /dev/null
+++ b/dev-haskell/semigroupoids/semigroupoids-4.3.ebuild
@@ -0,0 +1,40 @@
+# 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.3
+
+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"
+RESTRICT="test"
+
+RDEPEND=">=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:=[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?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag comonad comonad) \
+ $(cabal_flag containers containers) \
+ $(cabal_flag contravariant contravariant) \
+ $(cabal_flag distributive distributive)
+}
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..787072e7648e
--- /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
+# $Id$
+
+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)
+}