dev-haskell/system-posix-redirect: stdout redirector, a depend of dev-haskell/thyme
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 11 Sep 2016 09:41:30 +0000 (10:41 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 11 Sep 2016 10:01:30 +0000 (11:01 +0100)
Package-Manager: portage-2.3.0

dev-haskell/system-posix-redirect/Manifest [new file with mode: 0644]
dev-haskell/system-posix-redirect/metadata.xml [new file with mode: 0644]
dev-haskell/system-posix-redirect/system-posix-redirect-1.1.0.1.ebuild [new file with mode: 0644]

diff --git a/dev-haskell/system-posix-redirect/Manifest b/dev-haskell/system-posix-redirect/Manifest
new file mode 100644 (file)
index 0000000..a670dee
--- /dev/null
@@ -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 (file)
index 0000000..01dac7d
--- /dev/null
@@ -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>haskell@gentoo.org</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 (file)
index 0000000..9c4391d
--- /dev/null
@@ -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
+"