summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-15 23:09:39 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-16 10:21:45 +0000
commitb0c6243cc37e0e04f88d977b06e9ac5dc47b1c27 (patch)
tree0a64492e00f76328fd0de8fe83681c51f001af05 /dev-haskell/cabal-doctest
parentdev-haskell/doctest: bump up to 0.11.1 (diff)
downloadgentoo-b0c6243cc37e0e04f88d977b06e9ac5dc47b1c27.tar.gz
gentoo-b0c6243cc37e0e04f88d977b06e9ac5dc47b1c27.tar.bz2
gentoo-b0c6243cc37e0e04f88d977b06e9ac5dc47b1c27.zip
dev-haskell/cabal-doctest: new package, a depend of dev-haskell/distributive-0.5.2
A Setup.hs helper for doctests running Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/cabal-doctest')
-rw-r--r--dev-haskell/cabal-doctest/Manifest1
-rw-r--r--dev-haskell/cabal-doctest/cabal-doctest-1.ebuild26
-rw-r--r--dev-haskell/cabal-doctest/metadata.xml15
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-haskell/cabal-doctest/Manifest b/dev-haskell/cabal-doctest/Manifest
new file mode 100644
index 000000000000..1d9894a0807f
--- /dev/null
+++ b/dev-haskell/cabal-doctest/Manifest
@@ -0,0 +1 @@
+DIST cabal-doctest-1.tar.gz 5056 SHA256 7c769d62029d10f8861d88f48080a64f875346b74028ed2fd808d674accc6147 SHA512 2360f44b072123bfc9aeb23352f96777e5e2acbefd38659af26b17e7b8a4d3d332eb4bb3da7c1cb354660bb019c2a30e4323d295dbaf1356e2d6a8ffab51f82e WHIRLPOOL 4088887797eb3c5a473e0489a8af3a20142515482b35fcf54db9499e6763ef0714c7cf31e5fc455291a7e6fce80fc004e28466d25269c7f4007741eac941008f
diff --git a/dev-haskell/cabal-doctest/cabal-doctest-1.ebuild b/dev-haskell/cabal-doctest/cabal-doctest-1.ebuild
new file mode 100644
index 000000000000..4191311d9a82
--- /dev/null
+++ b/dev-haskell/cabal-doctest/cabal-doctest-1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="A Setup.hs helper for doctests running"
+HOMEPAGE="https://github.com/phadej/cabal-doctests"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/cabal-1.10:=[profile?] <dev-haskell/cabal-2.1:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+"
diff --git a/dev-haskell/cabal-doctest/metadata.xml b/dev-haskell/cabal-doctest/metadata.xml
new file mode 100644
index 000000000000..9c43c699cfc5
--- /dev/null
+++ b/dev-haskell/cabal-doctest/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>
+ Currently (beginning of 2017), there isn&#39;t @cabal doctest@
+ command. Yet, to properly work doctest needs plenty of configuration.
+ This library provides the common bits for writing custom Setup.hs
+ See &lt;https://github.com/haskell/cabal/issues/2327 Cabal/2327&gt; for the progress
+ of @cabal doctest@, i.e. whether this library is obsolete.
+ </longdescription>
+</pkgmetadata>