diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-09-11 14:07:20 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-09-11 14:17:43 +0100 |
commit | 91238e04f1c881821c1ff6349fa5d37aa5d820ce (patch) | |
tree | 39d99e1547541c418e0cc035d4da6ddb9bd29630 /dev-haskell/hlint | |
parent | dev-haskell/refact: apply refactors, a depend of dev-haskell/hlint (diff) | |
download | gentoo-91238e04f1c881821c1ff6349fa5d37aa5d820ce.tar.gz gentoo-91238e04f1c881821c1ff6349fa5d37aa5d820ce.tar.bz2 gentoo-91238e04f1c881821c1ff6349fa5d37aa5d820ce.zip |
dev-haskell/hlint: bump up to 1.9.35
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-haskell/hlint')
-rw-r--r-- | dev-haskell/hlint/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/hlint/hlint-1.9.35.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/dev-haskell/hlint/Manifest b/dev-haskell/hlint/Manifest index 0db3b7dc9ee2..e3db2ce0ce01 100644 --- a/dev-haskell/hlint/Manifest +++ b/dev-haskell/hlint/Manifest @@ -1,2 +1,3 @@ DIST hlint-1.8.57.tar.gz 79071 SHA256 a47e1cccf84ecd1fc61f1c63447725d4a917f530e7ddd6954b0ad6d1a4bf4e18 SHA512 1fca029067cf34f9d024640fbacfc455e733adb239e339471131b014c3d5cab671e5c267d855d1df7dd76440dab45a8981502dd840073005a4e5c50d177f91da WHIRLPOOL 81d94af7396cbbe447a5b7ea7669c7819947445fa7d4519670476968e3ad7d74c072c2f849e2b2ecca62a13777ebfad51c82ccc02b6c17f85889883bcc754f9e DIST hlint-1.9.21.tar.gz 88802 SHA256 8694a193e0f55b9a74ddd4fb44a242872f91e36ea59dd96ab489562a65cb6393 SHA512 e7e87aba3905bb577d952a960a92038816bf057ed19aa85cff0deaa653a9c248b6a4b44b907024ad271abf615ab94ebac6f4801c77f545cadbddf0db57f13ad8 WHIRLPOOL 2e29f48bb96a58161a2b09392c8a2f253656f300adaf7346cea7dac1e8035abd95a0bedd7ea744668c5333e6328cfa9a144e758966075cdc207d7777dcdef162 +DIST hlint-1.9.35.tar.gz 97402 SHA256 5e6289dadc77a0862ee12ec09136059011fd779c96ff6ffeec899170a97d7a8a SHA512 14daa5ad5652f93b3e3c4d5cff1df3735755c1561c2eb6c7ae3d05401d4a253ccba87d0cb5d09e690ce1a30f0352a26839856dd648bb10a13013cb43aed28606 WHIRLPOOL 722cc23bcb796ee077313b19f8cba7c1d22ed4a55f2da9d93f704b941e5dcc7795dbbf6b6820237f81e4012cebd312cf2bceda5df5c6f85b2a1a505a95c3b93d diff --git a/dev-haskell/hlint/hlint-1.9.35.ebuild b/dev-haskell/hlint/hlint-1.9.35.ebuild new file mode 100644 index 000000000000..9ca244d7f1f2 --- /dev/null +++ b/dev-haskell/hlint/hlint-1.9.35.ebuild @@ -0,0 +1,76 @@ +# 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.7.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal elisp-common + +DESCRIPTION="Source code suggestions" +HOMEPAGE="https://github.com/ndmitchell/hlint#readme" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="emacs +gpl" + +RDEPEND=">=dev-haskell/ansi-terminal-0.6.2:=[profile?] + >=dev-haskell/cmdargs-0.10:=[profile?] + >=dev-haskell/cpphs-1.20.1:=[profile?] + >=dev-haskell/extra-1.4.9:2=[profile?] + >=dev-haskell/haskell-src-exts-1.17:=[profile?] <dev-haskell/haskell-src-exts-1.18:=[profile?] + >=dev-haskell/refact-0.3:=[profile?] + dev-haskell/transformers:=[profile?] + >=dev-haskell/uniplate-1.5:=[profile?] + >=dev-lang/ghc-7.4.1:= + gpl? ( >=dev-haskell/hscolour-1.21:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 +" + +SITEFILE="60${PN}-gentoo.el" + +src_configure() { + local threaded_flag="" + if $(ghc-supports-threaded-runtime); then + threaded_flag="--flags=threaded" + else + threaded_flag="--flags=-threaded" + fi + + haskell-cabal_src_configure \ + $(cabal_flag gpl gpl) \ + $threaded_flag +} + +src_compile() { + cabal_src_compile + + use emacs && elisp-compile data/hs-lint.el +} + +src_install() { + cabal_src_install + + if use emacs; then + elisp-install ${PN} data/*.el data/*.elc || die "elisp-install failed." + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + + doman data/hlint.1 +} + +pkg_postinst() { + haskell-cabal_pkg_postinst + use emacs && elisp-site-regen +} + +pkg_postrm() { + haskell-cabal_pkg_postrm + use emacs && elisp-site-regen +} |