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/semigroupoids | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/semigroupoids')
-rw-r--r-- | dev-haskell/semigroupoids/Manifest | 13 | ||||
-rw-r--r-- | dev-haskell/semigroupoids/metadata.xml | 74 | ||||
-rw-r--r-- | dev-haskell/semigroupoids/semigroupoids-3.1.ebuild | 29 | ||||
-rw-r--r-- | dev-haskell/semigroupoids/semigroupoids-4.0.2.1.ebuild | 29 | ||||
-rw-r--r-- | dev-haskell/semigroupoids/semigroupoids-4.2.ebuild | 37 | ||||
-rw-r--r-- | dev-haskell/semigroupoids/semigroupoids-4.3.ebuild | 39 | ||||
-rw-r--r-- | dev-haskell/semigroupoids/semigroupoids-5.0.0.4.ebuild | 45 | ||||
-rw-r--r-- | dev-haskell/semigroupoids/semigroupoids-5.1.ebuild | 45 |
8 files changed, 311 insertions, 0 deletions
diff --git a/dev-haskell/semigroupoids/Manifest b/dev-haskell/semigroupoids/Manifest new file mode 100644 index 000000000000..cbb917cfe260 --- /dev/null +++ b/dev-haskell/semigroupoids/Manifest @@ -0,0 +1,13 @@ +DIST semigroupoids-3.1.tar.gz 12317 BLAKE2B 9a2c419316c617d37aaf787c4b3f097bbe2d4c8f1f69829501173167e4a5cd9b34a675186401ca99a026f7662ddd27b446db493f919092843e005bff94e7b3ec SHA512 915425feb2f0d2c4c30a19b5823dd3377598b321835058202e623fe5f817f37d646ac1812192e570cd494ada5fb9df5784fa23bc38d39f95d8ed19b16f633755 +DIST semigroupoids-4.0.2.1.tar.gz 15805 BLAKE2B 9c8c36f5d01fee4da3cbcb44217c6b5090b704ac94598974e2861473f72e13dc09573124a84cdb5c802f505494f9d63946892cceaa5dbb0f0defa11f26398578 SHA512 9fe6c9b31013763d0581539f768ea608aa6990625a81307e4a665e1e9cdf47a225efa319489ac4a51c0237fab772bdd318fcc9f3d0d97221563bb8a885433815 +DIST semigroupoids-4.2.tar.gz 16395 BLAKE2B 92378cabf6fdd49ed31344ee181b5cfa7e8d787096ba482fb84b0f21361d101ed78d5af0dad794f32dbce5f555c6c29e28401c3023654b2798d52f6e7ece3019 SHA512 6de5f5d62215789c4ef2c5c20390991e5aa9c6106685daadfcc36f09b91483790d95458344f208e8582430fcaf1fba2f2531743e9a6f7353cec2024adafe10a9 +DIST semigroupoids-4.3.tar.gz 17190 BLAKE2B 6bdab910b519086dad7f98f78c6d0833d34151d0fdaec7acc359144f44269ad6af9cc5ca555f369a95f4beef7fa8b3d78502883b398cce7ff7141572ebda99dc SHA512 2c914071401e26f4c3aa312aab4dd6f5f3d232e0d3368b3c0dbef867bbc2fe1e75d574831994cb6d2b8dbf797b54b9b6573ed3a54392b300bb119779a0c5a961 +DIST semigroupoids-5.0.0.4.tar.gz 20795 BLAKE2B 349c25e8a660501ab5f87b609f12d2141e38f500d16c0ddf6c77c1e851531dbcf0990b83297fb987caae4d5e1efb6a80006d27532d7a24ab70b332ecb8ff4254 SHA512 f1d394a4a6b3f45f9d6cbd338245aa1b70162a91285900986376003799ab67e473a46339e986832ee40de525ef82f54a4766e1b29997425d94a42553e67e43fb +DIST semigroupoids-5.1.tar.gz 21664 BLAKE2B 98e06a99dbaf2ab8425b3346cb2be2894c8b1839b56fde342471671759e5f4faa01b3cb681afcf3e900867b28050258e06c14d6cb0b6ee7476abb1b296bc4a19 SHA512 ffb02d3192f6a79dffad9cbd4f787484eeed6e49d9cfee412d1abdd4b552d151ca6d66711666f8448cc2c724383b5ff47e141088bdc69a2fb0d2122486fd4dc1 +EBUILD semigroupoids-3.1.ebuild 859 BLAKE2B 6eefff097c133af9351c40b0cde9bf5cea41984a9660123e2c25251cb226ae72cab061fabf1880a239b8fa2e793faf0ca774d158aee7a0f0652032136b6364c1 SHA512 be175bc5135544421e5f41010c717eb727bc24325388df0c95c3381c6198fde4b7b67cf2bf5b6ff98b637c26a71baf2a57060aafede3c654153c62e1770b3686 +EBUILD semigroupoids-4.0.2.1.ebuild 960 BLAKE2B 6134bae5aaa6198243fb8b43a12bb2383b6b5c7f53cd6c8440a2e1c7e9166b8afbea0c91309d6aeebccfb64f5bed338bb9457c8bdd6d1f2b9b2687f4bb26fda8 SHA512 16f3722b95b6c8def8377bacb06d3ccc25e81de81fd36b94b18f3adfc0ab15804de520409c09ee57b5b190e12a894eb77eb5c65245308823d89e494d92a6df61 +EBUILD semigroupoids-4.2.ebuild 1273 BLAKE2B 4bbd125d90daa83431146805c4b11a986287c0bc726879ef79ab75323e85b3a42af36b168a182952c6aee63a519f0f544edc926fa874ac1dd0fc86989ceda996 SHA512 ccbeb10ee43d1cdb4e4c375ff3869a1f2185164c0894757b32a4b30c83475a7f7fa929f9c3398d79f81e9f1f239617aeebee752ba728bff4036539e585a78540 +EBUILD semigroupoids-4.3.ebuild 1393 BLAKE2B 6e7e0d9d2b7585fb17686bd1ca67d459e9a3ac853d79c2f830229438801cb5dc5b5a7da2bc3769bd4de2615e028885e011fde18efee49592d0a4fd6cfc10cb86 SHA512 2e926b312a63d741607ce979cc4c5b89b069a32805c2319ecd74c1fee1bbe6a0528b672b6721c2021991aac703c3f5bbfb9a0cc1439abd5f2bf708c23d73abfc +EBUILD semigroupoids-5.0.0.4.ebuild 1787 BLAKE2B b9186750d78b5469c821f732398be1650cf69cc81c7c6cfce2e773c18c3e9888c24aa9dc9cd5a8a5ca7846111a890a2ee68ef39b76ba73966e0c25c8983bcccc SHA512 68b22dc053cd0ef706e1a9bfec9e28c24d4540016ef765c6c24c3cae62b216585de12ae24b84942a9b9502745a95356dfd10f248696f178a9a2b3e8893f1d7a1 +EBUILD semigroupoids-5.1.ebuild 1785 BLAKE2B 4633f5fb8a1d3e493a9f64b549dae715eed6d31880d50ac0039983dcd6e5f789407de30ee5ced23fe200f17a397b94ae2630bcdd59a1a4166f2445993f94667b SHA512 4beee01085ee41db8ee6f0f8218294b9c4f7204fde309db2adc578602957624fca4c0dfce87e9b03b61de42c3a9e897f08fec249a5f911a3174fbfdd6afb5ced +MISC metadata.xml 3901 BLAKE2B 610d61a659d9603532e67bcc12d0a3b04e00716fcc1bd72a6627d70a2df5a22dd026baafe2ba5ceb206de14e5e8eb2c13e0958db3c97e03aaf7a0129cdab5cd6 SHA512 abd91a8feaf1f4fcaa1c19aa9ad33c075fd9a002b7abb9e1b37399faa2fa430d67d17380bc03e7430fab5da56130bcbbb5700ffd05d4456c6cd7a546f4a7a930 diff --git a/dev-haskell/semigroupoids/metadata.xml b/dev-haskell/semigroupoids/metadata.xml new file mode 100644 index 000000000000..d6c06edca015 --- /dev/null +++ b/dev-haskell/semigroupoids/metadata.xml @@ -0,0 +1,74 @@ +<?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> + <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 @\<*\>@ 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: + + > Traversable <---- Foldable <--- Functor ------> Alt ---------> Plus Semigroupoid + > | | | | | + > v v v v v + > Traversable1 <--- Foldable1 Apply --------> Applicative -> Alternative Category + > | | | | + > v v v v + > Bind ---------> Monad -------> MonadPlus Arrow + > + + 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 @\<*\>@ 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..61ef4fbe1323 --- /dev/null +++ b/dev-haskell/semigroupoids/semigroupoids-3.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 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 + +DESCRIPTION="Haskell 98 semigroupoids: Category sans id" +HOMEPAGE="https://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..4817b0a8f18a --- /dev/null +++ b/dev-haskell/semigroupoids/semigroupoids-4.0.2.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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.2.ebuild b/dev-haskell/semigroupoids/semigroupoids-4.2.ebuild new file mode 100644 index 000000000000..2aaba5785397 --- /dev/null +++ b/dev-haskell/semigroupoids/semigroupoids-4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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..a2f278f2f837 --- /dev/null +++ b/dev-haskell/semigroupoids/semigroupoids-4.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="https://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.4.ebuild b/dev-haskell/semigroupoids/semigroupoids-5.0.0.4.ebuild new file mode 100644 index 000000000000..6596e7c6e693 --- /dev/null +++ b/dev-haskell/semigroupoids/semigroupoids-5.0.0.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 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: +doctests + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Semigroupoids: Category sans id" +HOMEPAGE="https://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 <dev-haskell/doctest-0.11 ) +" + +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) +} diff --git a/dev-haskell/semigroupoids/semigroupoids-5.1.ebuild b/dev-haskell/semigroupoids/semigroupoids-5.1.ebuild new file mode 100644 index 000000000000..d221202aa3dc --- /dev/null +++ b/dev-haskell/semigroupoids/semigroupoids-5.1.ebuild @@ -0,0 +1,45 @@ +# 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: +doctests + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Semigroupoids: Category sans id" +HOMEPAGE="https://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.5:=[profile?] <dev-haskell/transformers-compat-0.6:=[profile?] + >=dev-lang/ghc-7.4.1:= + comonad? ( >=dev-haskell/comonad-4.2.6:=[profile?] <dev-haskell/comonad-6:=[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 <dev-haskell/doctest-0.12 ) +" + +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) +} |