From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-haskell/atomic-primops/Manifest | 11 ++++++++ .../atomic-primops/atomic-primops-0.4-r1.ebuild | 31 ++++++++++++++++++++++ .../atomic-primops/atomic-primops-0.6.1.1.ebuild | 30 +++++++++++++++++++++ .../atomic-primops/atomic-primops-0.7.ebuild | 30 +++++++++++++++++++++ .../atomic-primops/atomic-primops-0.8.0.4.ebuild | 30 +++++++++++++++++++++ dev-haskell/atomic-primops/metadata.xml | 21 +++++++++++++++ 6 files changed, 153 insertions(+) create mode 100644 dev-haskell/atomic-primops/Manifest create mode 100644 dev-haskell/atomic-primops/atomic-primops-0.4-r1.ebuild create mode 100644 dev-haskell/atomic-primops/atomic-primops-0.6.1.1.ebuild create mode 100644 dev-haskell/atomic-primops/atomic-primops-0.7.ebuild create mode 100644 dev-haskell/atomic-primops/atomic-primops-0.8.0.4.ebuild create mode 100644 dev-haskell/atomic-primops/metadata.xml (limited to 'dev-haskell/atomic-primops') diff --git a/dev-haskell/atomic-primops/Manifest b/dev-haskell/atomic-primops/Manifest new file mode 100644 index 000000000000..a4279c7cea1e --- /dev/null +++ b/dev-haskell/atomic-primops/Manifest @@ -0,0 +1,11 @@ +DIST atomic-primops-0.4.tar.gz 24982 SHA256 c0f51aa2ccf4ee6d3cece014dd9100347955d5b81eee5cdbf940bb22ac074f07 SHA512 981610ad2aa22a9e8a629f04bbf5d42f3a62dabde9787c2481597357a6f7bf9b894bc2c1bab8dfc92002789021704e2725abecac55a4fbd4c263821327cd8023 WHIRLPOOL e6d16167bdbdf32fe4db58e3f5c4f846a59763df24c40fbc437f6ade018a7d8fd968365a896311bf3f77e2b769cb88511902eeb44a3eab7f5f9279fd8d3a125e +DIST atomic-primops-0.6.1.1.tar.gz 30423 SHA256 8c1c1962655c6af4a68657d0fa162188e6bb47b3dfe54806e2d0a402fa8196ba SHA512 02e1fd969320fb477b430b57333aba09fe4dabc04df9d03ea6996d6d11d6f2b442d28828d7cf77690fae35f3a90cc2222054466acdd214b5c5bde3cbdaf3b94e WHIRLPOOL 7cfef03eb1cc18e8153576c7bfa80dd59b4cff930e56836db311a861c9cdc108f645e3048f9faf611219e52858e0a9ab35e0ab4377fc058476effc62843d8320 +DIST atomic-primops-0.7.tar.gz 30560 SHA256 0f94066eeec9922e704a22de87b59b9433c88a4c502ab6cb6e83736ff1a9a2bd SHA512 5231515cb37e4f31b35232ff60ee8bd9c273ee8c9c1e08cb5c84b82d3381afb9301979a4774362145be22c08d5c4852afaaa3c7d67b8e1613abbb477c533b8a4 WHIRLPOOL 4596e3dc40157315b3564c38aedc5fa6bd49919cfdda674501a1e3406d843bbbd17dcb47e314effd31ca58ef1f123ee8727e8280f5c3f60352e646ccf2b7f725 +DIST atomic-primops-0.8.0.4.tar.gz 34075 SHA256 47e1e393848c0538aa1733a90a63bd08a00915ec7499d90014aaecc792db9864 SHA512 c130d1f51093f2f6c80c15ff4f8f92ca9cc6c81f9e00d1ead5b87bb13f4998b5234a005a2ff6d62d4e33355c08dcd83a06981fb8a6332d1ed21cbdafebcf1194 WHIRLPOOL 120edd05f93f16381ce9a4624e45875c320fbf56d505ea714394e832dc8998aa14f1872b7201a92d93f284e949919f10b3d482351d9a1304c5542fa745594e00 +EBUILD atomic-primops-0.4-r1.ebuild 811 SHA256 22ee587a411325d21539b08f4c1bf83131f6502d6244d277ba189a3a84f5b92e SHA512 1dd1ed70f0d9c31c6353911ebbdc6d6894b49f004bb69daee6f0321c43dd9033083554a82a0c219cc8e6a73b797c6403644175be2afcde971fcab86a86d62810 WHIRLPOOL d648c1f4ddcd42325e656449b8f6b6a2ef70d1ceb02766ef7900d8db59e8636593aab867343d15538fe9003302a6add81e8160f5db87b248a01b4252deaa6a0f +EBUILD atomic-primops-0.6.1.1.ebuild 698 SHA256 145fa9834a3f1e887d9cf75c5e3531987f205d036940e0e1f3ff95cda66b439e SHA512 920fd519a17612f11ffe9e7a614e72e72b253ffdfaaf934a8d0896e31a1134a156ba9f5e7cbcb1226abf04d6da874dd39111b0007d25aeb470c1344f48bd9ef2 WHIRLPOOL 1b6627d6279ea76bad423194f66bcab9a336d4abe18aa2d46b8036f02f2954a50d9698ded54080a15f3ae45e4778e1eef2f999fa911d1c41373fe8f52789a58a +EBUILD atomic-primops-0.7.ebuild 698 SHA256 145fa9834a3f1e887d9cf75c5e3531987f205d036940e0e1f3ff95cda66b439e SHA512 920fd519a17612f11ffe9e7a614e72e72b253ffdfaaf934a8d0896e31a1134a156ba9f5e7cbcb1226abf04d6da874dd39111b0007d25aeb470c1344f48bd9ef2 WHIRLPOOL 1b6627d6279ea76bad423194f66bcab9a336d4abe18aa2d46b8036f02f2954a50d9698ded54080a15f3ae45e4778e1eef2f999fa911d1c41373fe8f52789a58a +EBUILD atomic-primops-0.8.0.4.ebuild 696 SHA256 ebba74ab91edadeedc974da877021789b4ad1fdc2cfa77ab9a42d50aeabcdb1f SHA512 98a8ec86714b0f18eaee477002ad0637a281dbafae0a43ea82fd0bf0626d53867941d1027aa3fe620af02d02c60f40caa6767819a66f29309b414b9ae5342f08 WHIRLPOOL 48fef8bfefe83c33219be8a9b69c6159c78490f94d80b1e2d3c56cd98567ad53198520ae481bc1d38a81269ca85cb631c8c4b69c6a83e0ee4fe5f5de7198e979 +MISC ChangeLog 2587 SHA256 1cb764f67cff0efe0b92a4b8f76892500f685fabd400131e3c632caca3796f0c SHA512 d910c34e2dd287446b6d4b6db09888f13ef03e8b2c7ef91096bc2ef7475e2e0d6961bc7ebe7df0eafd489dd8e747e565411252e0c78bb805d2ac766633b6576e WHIRLPOOL ecf8a62047e717bf81fad2eb42e336f27c513c4c9f727d63f0f87ca3a9ae14d0c44d1aa8e09b6f65fc00d57d36893ee5f4d78225a7a9ecfbfb322639ff7fc49a +MISC ChangeLog-2015 1731 SHA256 c0eecc90acf56bcbb8d626e7c6af482977ab477b1cce594a8762a07ef8c824fa SHA512 447184b394341eb9e346bbe3fe39f966c04f9c40b8078bf5e0dafc77c4e4362a6547ee5a4ed78fcd6dfc691254446d2a80b0693c4d269ba74981b0afefd70439 WHIRLPOOL 431289e8d0bed45d08ffd5b8b17571cd4e61dec7f1fcd726e046fb3c288ceb067b02c70fcd1022acc2387b04193f5fe2385b5ce42919811bd506396473f70e55 +MISC metadata.xml 795 SHA256 460f24b0be0ed832345b205a31d0199b0ce4e34976e8c4da54d54800787dca91 SHA512 51ea1759b6c00341781bf4873a21dcb02e7fd0814dded71cf5dd0ec0975b7ff439b8298098a60c3d9f72b56ceefa831b67cbfab9cbad1757924b69fdd6554784 WHIRLPOOL f016d96594a4622727ca62bcbe454eb31454356601e6307af83bcf44f9080c091776bc262470d5da581836ad0fc67162d3446ac2f846e07402880a30b23b11b7 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.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 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + 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. + + + rrnewton/haskell-lockfree + + -- cgit v1.2.3