diff options
Diffstat (limited to 'dev-haskell/atomic-primops')
-rw-r--r-- | dev-haskell/atomic-primops/Manifest | 9 | ||||
-rw-r--r-- | dev-haskell/atomic-primops/atomic-primops-0.4-r1.ebuild | 31 | ||||
-rw-r--r-- | dev-haskell/atomic-primops/atomic-primops-0.6.1.1.ebuild | 30 | ||||
-rw-r--r-- | dev-haskell/atomic-primops/atomic-primops-0.7.ebuild | 30 | ||||
-rw-r--r-- | dev-haskell/atomic-primops/atomic-primops-0.8.0.4.ebuild | 30 | ||||
-rw-r--r-- | dev-haskell/atomic-primops/metadata.xml | 21 |
6 files changed, 151 insertions, 0 deletions
diff --git a/dev-haskell/atomic-primops/Manifest b/dev-haskell/atomic-primops/Manifest new file mode 100644 index 000000000000..c6a82f2a7988 --- /dev/null +++ b/dev-haskell/atomic-primops/Manifest @@ -0,0 +1,9 @@ +DIST atomic-primops-0.4.tar.gz 24982 BLAKE2B c8b730a6eb7c8ed438b56b1fab88d318ee1ebfc9455ff0383655481fc695078de6b86d4db97fc2be5aa147fe9f5e08594a9605eff687b11b0a01970254949403 SHA512 981610ad2aa22a9e8a629f04bbf5d42f3a62dabde9787c2481597357a6f7bf9b894bc2c1bab8dfc92002789021704e2725abecac55a4fbd4c263821327cd8023 +DIST atomic-primops-0.6.1.1.tar.gz 30423 BLAKE2B 623ac4829251532003df6e2c5609240554c644a0172f6e6c5ca9fd14b469c5647eb19875af46e49f1887687f98a9bd256ef8904b8eabb1e843b04323975dee42 SHA512 02e1fd969320fb477b430b57333aba09fe4dabc04df9d03ea6996d6d11d6f2b442d28828d7cf77690fae35f3a90cc2222054466acdd214b5c5bde3cbdaf3b94e +DIST atomic-primops-0.7.tar.gz 30560 BLAKE2B b1ff65b125f29b35a846e217d8e5a95a489924ae131cbbd877d1957de40ba6d244d99fbd8711c8e267fe0f9d8154152c2670ec32ac0a7dd6fb283f12a3aeb616 SHA512 5231515cb37e4f31b35232ff60ee8bd9c273ee8c9c1e08cb5c84b82d3381afb9301979a4774362145be22c08d5c4852afaaa3c7d67b8e1613abbb477c533b8a4 +DIST atomic-primops-0.8.0.4.tar.gz 34075 BLAKE2B 7f1c25d5ff200965704cebd9f7e9abda83e1e14893278cc3b4a44bc48e1cf409c885ceb1670244acdf19ef47e11ffc16b56872c41917983f3fd5b0abd1226f7c SHA512 c130d1f51093f2f6c80c15ff4f8f92ca9cc6c81f9e00d1ead5b87bb13f4998b5234a005a2ff6d62d4e33355c08dcd83a06981fb8a6332d1ed21cbdafebcf1194 +EBUILD atomic-primops-0.4-r1.ebuild 811 BLAKE2B 6ee3afbf4301dca2ce40d502f950e45c94f839f0fe5e154568b06e904a35d98aa0204f4c4c567c9b28254cc0534d78602ab82af649dd17416a7e1dbc900bfccb SHA512 1dd1ed70f0d9c31c6353911ebbdc6d6894b49f004bb69daee6f0321c43dd9033083554a82a0c219cc8e6a73b797c6403644175be2afcde971fcab86a86d62810 +EBUILD atomic-primops-0.6.1.1.ebuild 698 BLAKE2B c0d26da6e220d9197d0d6a4e9dc1f35611a34d727e605c5f39883f53de79eb41b0157e276bbe5c0b71c7af193545c83fc62c865f048561a835c2dfa34e8dea40 SHA512 920fd519a17612f11ffe9e7a614e72e72b253ffdfaaf934a8d0896e31a1134a156ba9f5e7cbcb1226abf04d6da874dd39111b0007d25aeb470c1344f48bd9ef2 +EBUILD atomic-primops-0.7.ebuild 698 BLAKE2B c0d26da6e220d9197d0d6a4e9dc1f35611a34d727e605c5f39883f53de79eb41b0157e276bbe5c0b71c7af193545c83fc62c865f048561a835c2dfa34e8dea40 SHA512 920fd519a17612f11ffe9e7a614e72e72b253ffdfaaf934a8d0896e31a1134a156ba9f5e7cbcb1226abf04d6da874dd39111b0007d25aeb470c1344f48bd9ef2 +EBUILD atomic-primops-0.8.0.4.ebuild 696 BLAKE2B 5a0dc8339ae7eac5d68f44880263b3937d0a4780779950b8b6f453cbb7a00e5da8c2ba2c299107d9e91832726e5da00e035e8fa89c621ebda942948bb2273258 SHA512 98a8ec86714b0f18eaee477002ad0637a281dbafae0a43ea82fd0bf0626d53867941d1027aa3fe620af02d02c60f40caa6767819a66f29309b414b9ae5342f08 +MISC metadata.xml 795 BLAKE2B fbbecd6e02a73d69ec58540a514741c4558bde56852eda9945be200d89c7cfd040b29402b8a4ac151226afef20b44d36ab0b2b722efcd1529914851b478a7d30 SHA512 51ea1759b6c00341781bf4873a21dcb02e7fd0814dded71cf5dd0ec0975b7ff439b8298098a60c3d9f72b56ceefa831b67cbfab9cbad1757924b69fdd6554784 diff --git a/dev-haskell/atomic-primops/atomic-primops-0.4-r1.ebuild b/dev-haskell/atomic-primops/atomic-primops-0.4-r1.ebuild new file mode 100644 index 000000000000..6be5054e66f4 --- /dev/null +++ b/dev-haskell/atomic-primops/atomic-primops-0.4-r1.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 haddock hoogle hscolour profile" +inherit haskell-cabal + +DESCRIPTION="A safe approach to CAS and other atomic ops in Haskell" +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="debug" + +RDEPEND="dev-haskell/bits-atomic:=[profile?] + dev-haskell/cabal:=[profile?] + dev-haskell/primitive:=[profile?] + >=dev-lang/ghc-7.4.1:=" +DEPEND="${RDEPEND} + profile? ( !<dev-haskell/cabal-1.17 ) + >=dev-haskell/cabal-1.8" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag debug debug) +} diff --git a/dev-haskell/atomic-primops/atomic-primops-0.6.1.1.ebuild b/dev-haskell/atomic-primops/atomic-primops-0.6.1.1.ebuild new file mode 100644 index 000000000000..3cf17adb9ceb --- /dev/null +++ b/dev-haskell/atomic-primops/atomic-primops-0.6.1.1.ebuild @@ -0,0 +1,30 @@ +# 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.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A safe approach to CAS and other atomic ops in Haskell" +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="debug" + +RDEPEND="dev-haskell/primitive:=[profile?] + >=dev-lang/ghc-7.6.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.16.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag debug debug) +} diff --git a/dev-haskell/atomic-primops/atomic-primops-0.7.ebuild b/dev-haskell/atomic-primops/atomic-primops-0.7.ebuild new file mode 100644 index 000000000000..3cf17adb9ceb --- /dev/null +++ b/dev-haskell/atomic-primops/atomic-primops-0.7.ebuild @@ -0,0 +1,30 @@ +# 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.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A safe approach to CAS and other atomic ops in Haskell" +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="debug" + +RDEPEND="dev-haskell/primitive:=[profile?] + >=dev-lang/ghc-7.6.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.16.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag debug debug) +} diff --git a/dev-haskell/atomic-primops/atomic-primops-0.8.0.4.ebuild b/dev-haskell/atomic-primops/atomic-primops-0.8.0.4.ebuild new file mode 100644 index 000000000000..8247175e8416 --- /dev/null +++ b/dev-haskell/atomic-primops/atomic-primops-0.8.0.4.ebuild @@ -0,0 +1,30 @@ +# 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 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A safe approach to CAS and other atomic ops in Haskell" +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="debug" + +RDEPEND="dev-haskell/primitive:=[profile?] + >=dev-lang/ghc-7.6.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.16.0 +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag debug debug) +} diff --git a/dev-haskell/atomic-primops/metadata.xml b/dev-haskell/atomic-primops/metadata.xml new file mode 100644 index 000000000000..3b5e2361d2c4 --- /dev/null +++ b/dev-haskell/atomic-primops/metadata.xml @@ -0,0 +1,21 @@ +<?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> + After GHC 7.4 a new `casMutVar#` primop became available, but it's + difficult to use safely, because pointer equality is a highly + unstable property in Haskell. This library provides a safer method + based on the concept of "Tickets". + + Also, this library uses the "foreign primop" capability of GHC to + add access to other variants that may be of + interest, specifically, compare and swap inside an array. + </longdescription> + <upstream> + <remote-id type="github">rrnewton/haskell-lockfree</remote-id> + </upstream> +</pkgmetadata> |