diff options
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/language-bash/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/language-bash/files/language-bash-0.6.1-ghc-8.patch | 8 | ||||
-rw-r--r-- | dev-haskell/language-bash/language-bash-0.6.1.ebuild | 38 | ||||
-rw-r--r-- | dev-haskell/language-bash/metadata.xml | 12 |
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-haskell/language-bash/Manifest b/dev-haskell/language-bash/Manifest new file mode 100644 index 000000000000..db910010b433 --- /dev/null +++ b/dev-haskell/language-bash/Manifest @@ -0,0 +1 @@ +DIST language-bash-0.6.1.tar.gz 20224 SHA256 7fb4fb293aec5f3c9b0e7ca2b99f895115d1bbe13f8dbfe02003560e3c063c8d SHA512 2dfb3344a0bd15051f2d3f8bdb7185154b019141473e7f56b0decc1b840880bcccf69a910b16ef1958f149c5df5e90a4e7b6035b75b52c21d5829b018f66c143 WHIRLPOOL eee6a2d737c23c26f5f3349010dbca8e3724f273a72f4c0b1fbf7e13d63c3b7c9fbf897eaf4c550003f6f76720c3e0fea1376ead766f15b720a1d6f6e51d0314 diff --git a/dev-haskell/language-bash/files/language-bash-0.6.1-ghc-8.patch b/dev-haskell/language-bash/files/language-bash-0.6.1-ghc-8.patch new file mode 100644 index 000000000000..be5f6dc49a1e --- /dev/null +++ b/dev-haskell/language-bash/files/language-bash-0.6.1-ghc-8.patch @@ -0,0 +1,8 @@ +diff --git a/src/Language/Bash/Word.hs b/src/Language/Bash/Word.hs +index ce36c4a..b9392a9 100644 +--- a/src/Language/Bash/Word.hs ++++ b/src/Language/Bash/Word.hs +@@ -7,2 +7,3 @@ + , TypeSynonymInstances ++ , OverlappingInstances + #-} diff --git a/dev-haskell/language-bash/language-bash-0.6.1.ebuild b/dev-haskell/language-bash/language-bash-0.6.1.ebuild new file mode 100644 index 000000000000..381c0623328a --- /dev/null +++ b/dev-haskell/language-bash/language-bash-0.6.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Parsing and pretty-printing Bash shell scripts" +HOMEPAGE="https://github.com/knrafto/language-bash/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/parsec-3.0:=[profile?] <dev-haskell/parsec-4.0:=[profile?] + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 + test? ( dev-haskell/quickcheck + dev-haskell/tasty + dev-haskell/tasty-quickcheck ) +" + +PATCHES=("${FILESDIR}"/${P}-ghc-8.patch) + +src_prepare() { + default + + cabal_chdeps \ + 'transformers >= 0.2 && < 0.5' 'transformers >= 0.2' +} diff --git a/dev-haskell/language-bash/metadata.xml b/dev-haskell/language-bash/metadata.xml new file mode 100644 index 000000000000..d83233f04ef3 --- /dev/null +++ b/dev-haskell/language-bash/metadata.xml @@ -0,0 +1,12 @@ +<?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> + A library for parsing, pretty-printing, and manipulating + Bash shell scripts. + </longdescription> +</pkgmetadata> |