diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2011-08-04 21:03:17 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2011-08-04 21:03:17 +0000 |
commit | 063e8144d4aef74f19c05136427f3855618a2116 (patch) | |
tree | 737eb5366a71e39df3827f525bf47e5dc98f1c0b /dev-haskell/mmap | |
parent | And apparently now it turns out --without-network doesn't just disable the vi... (diff) | |
download | historical-063e8144d4aef74f19c05136427f3855618a2116.tar.gz historical-063e8144d4aef74f19c05136427f3855618a2116.tar.bz2 historical-063e8144d4aef74f19c05136427f3855618a2116.zip |
dev-vcs/darcs: version bump (and it's minimal depends)
Package-Manager: portage-2.1.10.10/cvs/Linux x86_64
Diffstat (limited to 'dev-haskell/mmap')
-rw-r--r-- | dev-haskell/mmap/ChangeLog | 7 | ||||
-rw-r--r-- | dev-haskell/mmap/mmap-0.5.7.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-haskell/mmap/ChangeLog b/dev-haskell/mmap/ChangeLog index 30dc8334dffd..2f377efcc4b5 100644 --- a/dev-haskell/mmap/ChangeLog +++ b/dev-haskell/mmap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-haskell/mmap # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/mmap/ChangeLog,v 1.12 2011/04/10 18:56:58 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/mmap/ChangeLog,v 1.13 2011/08/04 21:03:16 slyfox Exp $ + +*mmap-0.5.7 (04 Aug 2011) + + 04 Aug 2011; Sergei Trofimovich <slyfox@gentoo.org> +mmap-0.5.7.ebuild: + Version bump. 10 Apr 2011; Fabian Groffen <grobian@gentoo.org> mmap-0.4.1.ebuild: Marked ~x86-macos diff --git a/dev-haskell/mmap/mmap-0.5.7.ebuild b/dev-haskell/mmap/mmap-0.5.7.ebuild new file mode 100644 index 000000000000..d6b21ee4f33a --- /dev/null +++ b/dev-haskell/mmap/mmap-0.5.7.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/mmap/mmap-0.5.7.ebuild,v 1.1 2011/08/04 21:03:16 slyfox Exp $ + +# ebuild generated by hackport 0.2.9 +EAPI="3" + +CABAL_FEATURES="lib profile haddock hscolour" +inherit haskell-cabal + +DESCRIPTION="Memory mapped files for POSIX and Windows" +HOMEPAGE="http://hackage.haskell.org/package/mmap" +SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos" +#IUSE="test" +IUSE="" + +RESTRICT="test" # the test suit isn't included in this release! :( + +RDEPEND=">=dev-lang/ghc-6.8.2" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2 + test? ( dev-haskell/hunit )" + +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 +} |