From f65390c4c4c260930dc7e547b24d1c8f5fa93faf Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 11 Sep 2016 10:41:30 +0100 Subject: [PATCH] dev-haskell/system-posix-redirect: stdout redirector, a depend of dev-haskell/thyme Package-Manager: portage-2.3.0 --- dev-haskell/system-posix-redirect/Manifest | 1 + .../system-posix-redirect/metadata.xml | 18 +++++++++++++ .../system-posix-redirect-1.1.0.1.ebuild | 25 +++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 dev-haskell/system-posix-redirect/Manifest create mode 100644 dev-haskell/system-posix-redirect/metadata.xml create mode 100644 dev-haskell/system-posix-redirect/system-posix-redirect-1.1.0.1.ebuild diff --git a/dev-haskell/system-posix-redirect/Manifest b/dev-haskell/system-posix-redirect/Manifest new file mode 100644 index 000000000000..a670dee7971b --- /dev/null +++ b/dev-haskell/system-posix-redirect/Manifest @@ -0,0 +1 @@ +DIST system-posix-redirect-1.1.0.1.tar.gz 3581 SHA256 53535011e64c1792052987bc1e8799222286c30c349dd36d3fc08c8612fa6ef2 SHA512 3a41668540ebff5ce706db331bb3c736895bd6a8fc11926884ff3e96622bb047c5b715468f4db81d0ac6acd15144ae9dbb71f087173244e29ba5b2a242f43c95 WHIRLPOOL ea57e93bb5ba662162501110a887ce5a0f4afff89dd55e825d7c1ccaffc795020bd14d898d4f087e5dc41da86952692ff52d0c58a5b93d50ccd20f995bf30e40 diff --git a/dev-haskell/system-posix-redirect/metadata.xml b/dev-haskell/system-posix-redirect/metadata.xml new file mode 100644 index 000000000000..01dac7da10fe --- /dev/null +++ b/dev-haskell/system-posix-redirect/metadata.xml @@ -0,0 +1,18 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + Due to the design of POSIX, it is possible to temporarily overload the + file descriptors corresponding to stdout and stderr to point to an + arbitrary pipe. It is, however, tricky to get right. This module gets + it right, as far as such a terrible hack can be made right. It can be + used to make misbehaving third-party C libraries stop spewing to + standard output. Warning: the module author has concluded that due to + lack of portability, this module should not be used in any serious + sytem. But, for those who like living dangerously... + + diff --git a/dev-haskell/system-posix-redirect/system-posix-redirect-1.1.0.1.ebuild b/dev-haskell/system-posix-redirect/system-posix-redirect-1.1.0.1.ebuild new file mode 100644 index 000000000000..9c4391d15b74 --- /dev/null +++ b/dev-haskell/system-posix-redirect/system-posix-redirect-1.1.0.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="A toy module to temporarily redirect a program's stdout" +HOMEPAGE="http://hackage.haskell.org/package/system-posix-redirect" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6 +" -- 2.26.2