diff options
Diffstat (limited to 'dev-haskell/mmap')
-rw-r--r-- | dev-haskell/mmap/Manifest | 7 | ||||
-rw-r--r-- | dev-haskell/mmap/metadata.xml | 15 | ||||
-rw-r--r-- | dev-haskell/mmap/mmap-0.5.8.ebuild | 43 | ||||
-rw-r--r-- | dev-haskell/mmap/mmap-0.5.9.ebuild | 43 |
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-haskell/mmap/Manifest b/dev-haskell/mmap/Manifest new file mode 100644 index 000000000000..53a737f0e352 --- /dev/null +++ b/dev-haskell/mmap/Manifest @@ -0,0 +1,7 @@ +DIST mmap-0.5.8.tar.gz 11657 SHA256 fed460c4ded1953f027fccf705c7c09bc0a8e94bb14b024391387beb4b5afa9f SHA512 6c8b526ec9fedba195ce021f86eeb3fa35f7c95b9299d17503ad7d7e91b9485b3d9980e0ccbdc3876ec465ec8aa07cf9d0521c62e2c8a652a36df11b9badffb5 WHIRLPOOL 02f242eed1e92df8abdcd5488df2b624cdc2794306f741a4f9bbb80b5d5fadc940c7470e042aef43c19fe6781cc5304ccc068e187dee2ac2448f4512a3144be4 +DIST mmap-0.5.9.tar.gz 11731 SHA256 58fcbb04e1cb8e7c36c05823b02dce2faaa989c53d745a7f36192de2fc98b5f8 SHA512 3b9ac1150050ac9d8e7870610923c8303b5fc74a4fdd796d7b6b411e2ba836111ae8520e16ad345aaf93b4dbcd27abd4c359a89b27d854db8dbd252b90a5298d WHIRLPOOL 5bfe1770f0be704ce0c9b00bb99eccc22388c82ab94ddade673f438c17080b533e1130d140d42f8345c48b7a4f403d83b14d1e818c301e80dd9e87b1d6e16780 +EBUILD mmap-0.5.8.ebuild 1154 SHA256 184c6ca1be54c5d329342112b38290d07dbe23ea5184e360d320460cdb266421 SHA512 7fad85981cdf441c8110fe9354c974b72634bf01a4de44d76cf507e5e79a1f5381efdfa4bb297704355162bc2bac820eb8b97fb2ca5d7ec741bfa4fb1405890f WHIRLPOOL 3e0f1da1e257fd56160e67000960bd47f403f0de28b4cde68d13a57f377a6bc51ebe055c3dbec4f1bf24960816e5466092896410d34376bc9eab2958b15e8b47 +EBUILD mmap-0.5.9.ebuild 1161 SHA256 963ae9d65daffac78ad0a28f1c2dafabd2cd9726ccbaec6eaee643396831675b SHA512 d1051077bca0f907fa3c1b12e900082ba097092ea8da35ccc7181e7e4787fd4925f500ab7c9113e1486a9f2eeaa0c5fe06685ce6443f27daf597f182472da20e WHIRLPOOL 0b585f2d9ee2aa88d7cfca858b2fc51d925dd2ffc3bcf8248084c8f53a660cf2926e60ccb73ff071ebbec66c742799930a467360cd355b87c929c07ceb65d064 +MISC ChangeLog 2467 SHA256 bd80a67a370a3a4c11cf142b7388212f73c30754dc156fa178663abcd78cc894 SHA512 93ba5923cffca603e73a8e02a95bb67a0874ee7bb4ab5751affc65d2cc84d529e958798567f7f4f337b440b1d49a3071a55d71b1ba4c7298490b87363db02f78 WHIRLPOOL 724a331e64651cb12c128a9e4ac9707688c7ad141ba119a31663e5b6e1e7e5f7f5f954dae3b4ee09b4767542d8d3e905d32c8d191765a1f73273491d56ccb10d +MISC ChangeLog-2015 4147 SHA256 373534ea7e4c575109c9b9edde80021748bcb630d6502a4acb45b1c84b5a1496 SHA512 dcb575778dc11f18b7ebc5fdadb1c350e17d7b3901d665c901d3c104157c47244065714cbc2da50d1800e85c552c8ffeadcf945d0f1d728b01424b945640c61e WHIRLPOOL 0d1886b02e1d799caba91a6177792be1bd11bddb6a9ea4a9230d129ea1df01fd1996be7e63e5bcccea64606f5577a117ac813f00fe62516fc0a2bae727000e97 +MISC metadata.xml 569 SHA256 487aecb03668d536480f9b5937cf77fc9c5125374e015bffedbf84db68cca64d SHA512 6e13722dae998496bbaafe7f1d9b93e041452d0adb0987ad52ab141923217f06e15430fe873041dfe247ba3d7bee6e4a0c2539e1f623dff4df75935fd8528c80 WHIRLPOOL 21a8efc1467a4d26a5475318ca2467ab1c0882ebe7061c2af8973c43bfaa36749dde9269e2418d5e25aa9a81c91665ac29ac2f75ddc4d300a6d1299453ad7fea diff --git a/dev-haskell/mmap/metadata.xml b/dev-haskell/mmap/metadata.xml new file mode 100644 index 000000000000..d6079ee99c4c --- /dev/null +++ b/dev-haskell/mmap/metadata.xml @@ -0,0 +1,15 @@ +<?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> + This library provides a wrapper to mmap(2) or MapViewOfFile, + allowing files or devices to be lazily loaded into memory as + strict or lazy ByteStrings, ForeignPtrs or plain Ptrs, using + the virtual memory subsystem to do on-demand loading. + Modifications are also supported. + </longdescription> +</pkgmetadata> diff --git a/dev-haskell/mmap/mmap-0.5.8.ebuild b/dev-haskell/mmap/mmap-0.5.8.ebuild new file mode 100644 index 000000000000..d3fd5291728d --- /dev/null +++ b/dev-haskell/mmap/mmap-0.5.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Memory mapped files for POSIX and Windows" +HOMEPAGE="http://hackage.haskell.org/package/mmap" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos" +# IUSE="test" +IUSE="" + +RESTRICT="test" # the test suite compile fails: Not in scope: data constructor `Permissions' + +RDEPEND=">=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" +# test? ( dev-haskell/hunit[profile?] )" # pcheck dislikes useless depends + +src_configure() { + cabal_src_configure # $(cabal_flag test mmaptest) +} + +src_test() { + # breaking the abstraction a bit, we're not supposed to know about ./setup + # and how it works... + ./dist/build/mmaptest/mmaptest || die "tests failed" +} + +src_install() { + cabal_src_install + + rm "${D}/usr/bin/mmaptest" + rmdir "${D}/usr/bin" 2> /dev/null # only if empty +} diff --git a/dev-haskell/mmap/mmap-0.5.9.ebuild b/dev-haskell/mmap/mmap-0.5.9.ebuild new file mode 100644 index 000000000000..07394084092f --- /dev/null +++ b/dev-haskell/mmap/mmap-0.5.9.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.3.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Memory mapped files for POSIX and Windows" +HOMEPAGE="http://hackage.haskell.org/package/mmap" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos" +# IUSE="test" +IUSE="" + +RESTRICT="test" # the test suite compile fails: Not in scope: data constructor `Permissions' + +RDEPEND=">=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" +# test? ( dev-haskell/hunit[profile?] )" # pcheck dislikes useless depends + +src_configure() { + cabal_src_configure # $(cabal_flag test mmaptest) +} + +src_test() { + # breaking the abstraction a bit, we're not supposed to know about ./setup + # and how it works... + ./dist/build/mmaptest/mmaptest || die "tests failed" +} + +src_install() { + cabal_src_install + + rm "${D}/usr/bin/mmaptest" + rmdir "${D}/usr/bin" 2> /dev/null # only if empty +} |