summaryrefslogtreecommitdiff
path: root/dev-haskell/abstract-deque
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/abstract-deque
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/abstract-deque')
-rw-r--r--dev-haskell/abstract-deque/Manifest5
-rw-r--r--dev-haskell/abstract-deque/abstract-deque-0.2.2.ebuild31
-rw-r--r--dev-haskell/abstract-deque/abstract-deque-0.3.ebuild31
-rw-r--r--dev-haskell/abstract-deque/metadata.xml34
4 files changed, 101 insertions, 0 deletions
diff --git a/dev-haskell/abstract-deque/Manifest b/dev-haskell/abstract-deque/Manifest
new file mode 100644
index 000000000000..f3b684c25fd6
--- /dev/null
+++ b/dev-haskell/abstract-deque/Manifest
@@ -0,0 +1,5 @@
+DIST abstract-deque-0.2.2.tar.gz 15771 BLAKE2B 91979cf7d95ddb1fb349cf767806c81e46d8f8820ef8986efa3e77aa123d3f271865204ab7deb34b25be7c3fb20b942008671f9a880cfda339c8a7527ab3e75e SHA512 0a572a4943b90c7a99955f522b790c1ba3149f29ff072927d4f49013e174491a48312dcbbc45df271196d8f90725ea1b9ecc60ed218f71646bbb703555ded1b9
+DIST abstract-deque-0.3.tar.gz 7219 BLAKE2B 46bb9997b6ff7dc111bafb650feaf35fa2955d2b2db34dbb964c982a042967bec5994b43e333b2b248717f6e486347a202b3abc2c688e305e9fa683b3ef59df6 SHA512 9293a366918f54458ffe13f6737bab2bee961b730732eff563d900b451bf5f7dde30276c9406bfc5c0ea64104afb70db3588b13d478bf9c60842dad906195f7a
+EBUILD abstract-deque-0.2.2.ebuild 844 BLAKE2B f1a93d4d693e7dfd733f1ed505141c7b4df125c02585ab1111c4623340d29a0d0ae81ebfc8271516ce718b8b615155a82812ec008822e807e3a662abd8bdedfa SHA512 3becd88656b3669122a81b9825b9743fc2ce0d72d260ebee72b2765d84767aa60276272cdf986e326c65adbb093cfb6334920d604b14a6862e13e8f3aebeb719
+EBUILD abstract-deque-0.3.ebuild 749 BLAKE2B 224d5d6c63defd51f084e0851d1b5a7976d15293de6a7c899dc149ddaf99f2a930db5b5d821c8d160c845fe5742199bbfe3edf83501998792c33b0fd460ddbda SHA512 346909dc21b3485222b27715b0aa5aa84155c204f624e55c4aea79c0c132b885552443cfa82606aee27211a2c4ef606e606edb37a4ea0375147fccc4608e7dd4
+MISC metadata.xml 1178 BLAKE2B 0e3b3bc8f5bd9fc0b9027f95f6ebfa7fa942ee1b81c229cc72d20a2fb0bc8d7c92bf486b472ef3159443fc12bfed64200e00d2c42bbc2090b9c7ecd1f67b4a87 SHA512 0cc30ac24a6ea65a0b9a66910d5f75ecc91a0daeb4f029eb2a6ff835788fac38aa4a286828ad0575cee2105df42ec19d72e5ce1553ef88963986e390f8d6ebfc
diff --git a/dev-haskell/abstract-deque/abstract-deque-0.2.2.ebuild b/dev-haskell/abstract-deque/abstract-deque-0.2.2.ebuild
new file mode 100644
index 000000000000..1893b959bafd
--- /dev/null
+++ b/dev-haskell/abstract-deque/abstract-deque-0.2.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 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 test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Abstract, parameterized interface to mutable Deques"
+HOMEPAGE="https://github.com/rrnewton/haskell-lockfree-queue/wiki"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="usecas"
+
+RDEPEND="dev-haskell/hunit:=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-haskell/test-framework-0.6:=[profile?]
+ >=dev-haskell/test-framework-hunit-0.2.7:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag usecas usecas)
+}
diff --git a/dev-haskell/abstract-deque/abstract-deque-0.3.ebuild b/dev-haskell/abstract-deque/abstract-deque-0.3.ebuild
new file mode 100644
index 000000000000..bb7dc38383c7
--- /dev/null
+++ b/dev-haskell/abstract-deque/abstract-deque-0.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Abstract, parameterized interface to mutable Deques"
+HOMEPAGE="https://github.com/rrnewton/haskell-lockfree/wiki"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="usecas"
+
+RDEPEND="dev-haskell/random:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ usecas? ( >=dev-haskell/atomic-primops-0.5.0.2:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag usecas usecas)
+}
diff --git a/dev-haskell/abstract-deque/metadata.xml b/dev-haskell/abstract-deque/metadata.xml
new file mode 100644
index 000000000000..d611f698e043
--- /dev/null
+++ b/dev-haskell/abstract-deque/metadata.xml
@@ -0,0 +1,34 @@
+<?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>
+ An abstract interface to highly-parameterizable queues/deques.
+
+ Background: There exists a feature space for queues that extends between:
+
+ * simple, single-ended, non-concurrent, bounded queues
+
+ * double-ended, threadsafe, growable queues
+
+ ... with important points inbetween (such as
+ the queues used for work-stealing).
+
+ This package includes an interface for Deques that allows the
+ programmer to use a single API for all of the above, while using the
+ type-system to select an efficient implementation given the
+ requirements (using type families).
+
+ This package also includes a simple reference implementation based
+ on 'IORef' and "Data.Sequence".
+ </longdescription>
+ <use>
+ <flag name="usecas"> Enable the reference implementation to use hardware compare-and-swap.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">rrnewton/haskell-lockfree</remote-id>
+ </upstream>
+</pkgmetadata>