commit:     f65390c4c4c260930dc7e547b24d1c8f5fa93faf
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 11 09:41:30 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 11 10:01:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f65390c4

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 +
 dev-haskell/system-posix-redirect/metadata.xml     | 18 ++++++++++++++++
 .../system-posix-redirect-1.1.0.1.ebuild           | 25 ++++++++++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/dev-haskell/system-posix-redirect/Manifest 
b/dev-haskell/system-posix-redirect/Manifest
new file mode 100644
index 00000000..a670dee
--- /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 00000000..01dac7d
--- /dev/null
+++ b/dev-haskell/system-posix-redirect/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Haskell</name>
+       </maintainer>
+       <longdescription>
+               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...
+       </longdescription>
+</pkgmetadata>

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 00000000..9c4391d
--- /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
+"

Reply via email to