summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-haskell/preprocessor-tools/ChangeLog9
-rw-r--r--dev-haskell/preprocessor-tools/metadata.xml16
-rw-r--r--dev-haskell/preprocessor-tools/preprocessor-tools-1.0.1.ebuild28
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-haskell/preprocessor-tools/ChangeLog b/dev-haskell/preprocessor-tools/ChangeLog
new file mode 100644
index 000000000000..104dd900690a
--- /dev/null
+++ b/dev-haskell/preprocessor-tools/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-haskell/preprocessor-tools
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/preprocessor-tools/ChangeLog,v 1.1 2015/02/18 21:07:43 slyfox Exp $
+
+*preprocessor-tools-1.0.1 (18 Feb 2015)
+
+ 18 Feb 2015; Sergei Trofimovich <slyfox@gentoo.org> +metadata.xml,
+ +preprocessor-tools-1.0.1.ebuild:
+ Initial commit. A depend for dev-haskell/hsb2hs.
diff --git a/dev-haskell/preprocessor-tools/metadata.xml b/dev-haskell/preprocessor-tools/metadata.xml
new file mode 100644
index 000000000000..217bd1b1fb11
--- /dev/null
+++ b/dev-haskell/preprocessor-tools/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ This library provides a quick-and-dirty (but often effective)
+ method for extending Haskell&#39;s syntax using a custom
+ preprocessor. It parses Haskell into a bare-bones AST with just
+ enough knowledge of the syntax to preserve nesting, and then
+ allows transformations on the AST.
+
+ See the package ixdopp
+ (&lt;http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ixdopp&gt;)
+ for an example of how to do this.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/preprocessor-tools/preprocessor-tools-1.0.1.ebuild b/dev-haskell/preprocessor-tools/preprocessor-tools-1.0.1.ebuild
new file mode 100644
index 000000000000..2087e0e0551e
--- /dev/null
+++ b/dev-haskell/preprocessor-tools/preprocessor-tools-1.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/preprocessor-tools/preprocessor-tools-1.0.1.ebuild,v 1.1 2015/02/18 21:07:43 slyfox Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="A framework for extending Haskell's syntax via quick-and-dirty preprocessors"
+HOMEPAGE="http://www.eecs.harvard.edu/~tov/pubs/haskell-session-types/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/mtl-1:=[profile?] <dev-haskell/mtl-3:=[profile?]
+ >=dev-haskell/parsec-3:=[profile?] <dev-haskell/parsec-4:=[profile?]
+ >=dev-haskell/syb-0:=[profile?] <dev-haskell/syb-1:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2.3
+"