diff options
author | Mark Wright <gienah@gentoo.org> | 2013-10-19 11:57:35 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2013-10-19 11:57:35 +0000 |
commit | bdaeb1d24453544fedd806e889814194fe24c86a (patch) | |
tree | 076a1ec672fcbba88056f68aa8e7f5ce933cbaf5 /dev-haskell | |
parent | Add atomic-primops (diff) | |
download | historical-bdaeb1d24453544fedd806e889814194fe24c86a.tar.gz historical-bdaeb1d24453544fedd806e889814194fe24c86a.tar.bz2 historical-bdaeb1d24453544fedd806e889814194fe24c86a.zip |
Add bits-atomic
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x618E971F
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/bits-atomic/ChangeLog | 9 | ||||
-rw-r--r-- | dev-haskell/bits-atomic/Manifest | 14 | ||||
-rw-r--r-- | dev-haskell/bits-atomic/bits-atomic-0.1.3.ebuild | 24 | ||||
-rw-r--r-- | dev-haskell/bits-atomic/metadata.xml | 41 |
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-haskell/bits-atomic/ChangeLog b/dev-haskell/bits-atomic/ChangeLog new file mode 100644 index 000000000000..badefc654da6 --- /dev/null +++ b/dev-haskell/bits-atomic/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-haskell/bits-atomic +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/bits-atomic/ChangeLog,v 1.1 2013/10/19 11:57:28 gienah Exp $ + +*bits-atomic-0.1.3 (19 Oct 2013) + + 19 Oct 2013; Mark Wright <gienah@gentoo.org> +bits-atomic-0.1.3.ebuild, + +metadata.xml: + Add bits-atomic diff --git a/dev-haskell/bits-atomic/Manifest b/dev-haskell/bits-atomic/Manifest new file mode 100644 index 000000000000..f0670e87ccdb --- /dev/null +++ b/dev-haskell/bits-atomic/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST bits-atomic-0.1.3.tar.gz 7982 SHA256 e0ac3456cf0338e1d5ed33f4c3c6b932d652add2ac827c6a1b6636c6e754cb8d SHA512 e13c21c81ebc6cce2f85a184a572eb1647439f605985a8344ff219cc685c7d0adcf5d2433ea75fa1560a807e329cab23b548435adc0087e6294417eb7a65fbf1 WHIRLPOOL 3c15101610d87f202b910c60f9b875623661872bc91c8ae084e720f94633392b1338df3ee9d8eb3bd104e3c9c0d7dd949ead3a8f28be65e6a9f6458fda620a08 +EBUILD bits-atomic-0.1.3.ebuild 714 SHA256 0c4aac0bdf49f544bf0d9725ab52b1f4b4a15352c8b5e217a9d09fdc53681bac SHA512 3b31d0b56a33d5582a1284eaa24f472f1ad1b6d49338036c381aa274e227c15047a4c2345766a61f0406f829be89e134932d970eb9cf943cd12d395f831aa2ec WHIRLPOOL 417c195ce216488fdd34a82bfad06328b6618a1fa2b96284d195295dfbd23e574af96398c3dd4874b93cc154bc10acf59d7b7a44d618099f322bf93cd88751b3 +MISC ChangeLog 362 SHA256 4da27f2daf6521617551c2502bec74ce4cefe58d4c419bf3f122c54a3c929f71 SHA512 7afa8a707090bd7441e2a6743d94505b0131682cbb7e908bb3844710aee45dbeee0b0c64b40577471844407a5ef4a90a6a73d7faaeaeb7761a0e65bd8a399282 WHIRLPOOL e749187f71bf95fb1b19ce70abd371be07b4601137218c7b48f2869c42f2dbf19343da8d08cd3e6697027fab85060267b13633f91322a684862b6097141c8313 +MISC metadata.xml 1669 SHA256 f2387546ad074df77515180117edab208634cfee162da600befb814bf5ec4afe SHA512 d91a42139f6abd3ef251bf50132d263d87ff93bec428f9d974be384c17a8ba871422162d0e19dff96e81a01433e949a5fb64f77198dedd1199841c5113e06dce WHIRLPOOL 6d4f11fc90585f502e70590e85d7517bb7d72deebd52bc9af4999f440b48f2142d2839bc4d7dbdba406c5b656cd7e9e88afc15ed44341e63dc221dfa4bdcd379 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iF4EAREIAAYFAlJicswACgkQoBEVQmGOlx+Y0QEA2T0rlnkrq6CzjegfYTyRuJwD +SVLEBNSg6xcjrIVXgFkA/iFpJ2Ez68d6ovueqsbXtBVyxk/xkEeZtunTU4GUF5Th +=VfUj +-----END PGP SIGNATURE----- diff --git a/dev-haskell/bits-atomic/bits-atomic-0.1.3.ebuild b/dev-haskell/bits-atomic/bits-atomic-0.1.3.ebuild new file mode 100644 index 000000000000..a095a386ec7d --- /dev/null +++ b/dev-haskell/bits-atomic/bits-atomic-0.1.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/bits-atomic/bits-atomic-0.1.3.ebuild,v 1.1 2013/10/19 11:57:28 gienah Exp $ + +EAPI=5 + +# ebuild generated by hackport 0.3.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Atomic bit operations on memory locations +for low-level synchronization" +HOMEPAGE="http://hackage.haskell.org/package/bits-atomic" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" diff --git a/dev-haskell/bits-atomic/metadata.xml b/dev-haskell/bits-atomic/metadata.xml new file mode 100644 index 000000000000..4c4e2e2f0dc2 --- /dev/null +++ b/dev-haskell/bits-atomic/metadata.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <maintainer> + <email>haskell@gentoo.org</email> + </maintainer> + <longdescription> + Atomic operations including CAS (compare-and-swap), fetch & add and variants + suitable for low-level shared-memory synchronization. + + The implementation is using GCC's builtin atomic operations (available in GCC >= + 4) in C wrappers called through the FFI. See these links for background: + + * GCC manual: <http://gcc.gnu.org/onlinedocs/gcc/Atomic-Builtins.html> + + * GCC wiki: <http://gcc.gnu.org/wiki/Atomic> + + /Portability/: This package is primarily developed on a Linux system, but + should work wherever GCC >= 4 is available. It has been confirmed as working + on OSX. On Windows, it should work with Cygwin but currently fails for + vanilla Haskell-Platform 2010.1.0.0 as it still packages GCC 3.x. An + installer for updated versions of GCC is available at + <http://www.mingw.org/> and should make this package work in connection with + Haskell-Platform. Feedback on compatibility would be appreciated. + + /Testing:/ The following commands can be used to compile and run the test suite: + + > cabal unpack bits-atomic && cd bits-atomic-* # if not yet locally available + > cabal configure -ftest + > cabal build + > cabal test + + /Recent changes/: + + * 0.1.3: Documentation updates, especially on portability. No functional + changes. + + * 0.1.2: Avoid using System.FilePath in Setup.hs to fix build failure on hackage + </longdescription> +</pkgmetadata> |