summaryrefslogtreecommitdiff
path: root/dev-haskell/hlint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-haskell/hlint
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-haskell/hlint')
-rw-r--r--dev-haskell/hlint/Manifest2
-rw-r--r--dev-haskell/hlint/hlint-2.1.17-r1.ebuild82
2 files changed, 84 insertions, 0 deletions
diff --git a/dev-haskell/hlint/Manifest b/dev-haskell/hlint/Manifest
index 053aaa8ef672..f403944818b8 100644
--- a/dev-haskell/hlint/Manifest
+++ b/dev-haskell/hlint/Manifest
@@ -2,7 +2,9 @@ AUX 60hlint-gentoo.el 231 BLAKE2B 2fef831bc7a3056d59e67dcfbb6cd5ca86a4ad4d46c872
DIST hlint-1.8.57.tar.gz 79071 BLAKE2B 5c538ecd36a22d879b0746fa0f3df3715e7d8f85407ff3375f4b850256eb125d0dd01d875fe6babe8c912b62402da7fd88df6d05194e5501c449f9230f33b500 SHA512 1fca029067cf34f9d024640fbacfc455e733adb239e339471131b014c3d5cab671e5c267d855d1df7dd76440dab45a8981502dd840073005a4e5c50d177f91da
DIST hlint-1.9.21.tar.gz 88802 BLAKE2B 08708331c50b73433c7fde7c826d976126f7bdd758722f6a8903d18d45da6d9ffcd32b883036f17c74165feb0245199e2e248fee9701c01153736d62f73b9494 SHA512 e7e87aba3905bb577d952a960a92038816bf057ed19aa85cff0deaa653a9c248b6a4b44b907024ad271abf615ab94ebac6f4801c77f545cadbddf0db57f13ad8
DIST hlint-1.9.35.tar.gz 97402 BLAKE2B ea3bb516769c496be4943ab57a37bde97e1a03fca56dd6c9bdc3da30ac86b1b0538796e868de85049d28fa8286bfd45e0f1fb960e15cf12294bdb74dab08f926 SHA512 14daa5ad5652f93b3e3c4d5cff1df3735755c1561c2eb6c7ae3d05401d4a253ccba87d0cb5d09e690ce1a30f0352a26839856dd648bb10a13013cb43aed28606
+DIST hlint-2.1.17.tar.gz 119243 BLAKE2B 09d70dffdaec25e8f574fb4dd1f6012828cc8032e38b9275a676b836bff0a86e331ac4e7780618001931622e985ad4a9bd799267b06dee059f3f1b28b33bdf16 SHA512 b0a78fa970bcf2b74d969e1825dee1c7382fb5cebc47f3c752f3b3d5915905943dff21e36f8c0158e3bd10696c4785a2c86a2e1abfcf72b610ab2b564f3be5f3
EBUILD hlint-1.8.57.ebuild 1510 BLAKE2B 301453bd59088ed714cccdb12d06c3778649bdd948cf58404d70f1fa78f927d90722533d2fe367bc4085130d0673a16f6d63ada4d94eaaf25b4232021574040b SHA512 4e3818c8778ff8ad917e5ffa83c38227d475328a5e4e6956304a22298fd30b8cc3f32f0319c90e2ebac27baeef7fc7f654b12072d96b9107fe51398feb2797e3
EBUILD hlint-1.9.21.ebuild 1681 BLAKE2B 077581279d68813acdced8a470aa835e7ad266ae874b23c9b54bd8a55a813180378825aa43c551bc7ce158f4a08742b474fbee85d34dd49ba7abf6b0332514f3 SHA512 8ac76c9a42da219ed3ac7ca22054346f82f0349d892411d85e8903c0d07b8ecfec0502f397d20e07bfaedd774fadc41893c6a12ffe227ec4d8decac87d0e83bf
EBUILD hlint-1.9.35.ebuild 1745 BLAKE2B 4cdf84877fbaaa17ab02e3e23b7427eb5ee405578faaac93c09cbc6b32640b5f9c5acf2d8d0d7e31cb28986c2cf1cf43981a895928095c2b3ad7178f35997a02 SHA512 24dcb66f37772594966ae025973e5a1d6c12f75e404794f727de13afc6ba39dc8750f5385e843678ef484c94b30e5de91f7fb43ec27547d7bde40fe8733d7786
+EBUILD hlint-2.1.17-r1.ebuild 1948 BLAKE2B c599034a9b4139ff21d8d493efb4ceae6b072eda74077c6c3e19129dc0fb63506db1c6d438b3117e866e5239a7688344c643941bd271a8296c9dc65b02185a80 SHA512 cda3327dc8192d7b00ff35d0a380ab5c923f1c04f2a9fde8c8adee988d9cdb16570a2053de29b52688febad57acfd8227bbf0dc28d15483e0f49455a55b182db
MISC metadata.xml 514 BLAKE2B 9d4466ded84b33d243146bf75ecc80aa920dd4d959ed661498d6bc8d51676bea2024441300a79a3c6f39bb94bfc4d9b3a5727f5f79c012ff8ea91ad5596bc0d7 SHA512 09783e5f456c5e5f7c9b4cc0b61d5d45d9a77ba4e582368f75e17fb8cd3b7a94ac56c6acbe1a5eee4a65a53fce1c72bf7ce3d0a00e736aaa249c0211b76926c5
diff --git a/dev-haskell/hlint/hlint-2.1.17-r1.ebuild b/dev-haskell/hlint/hlint-2.1.17-r1.ebuild
new file mode 100644
index 000000000000..e725b17cfa22
--- /dev/null
+++ b/dev-haskell/hlint/hlint-2.1.17-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal elisp-common
+
+DESCRIPTION="Source code suggestions"
+HOMEPAGE="https://github.com/ndmitchell/hlint#readme"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs +gpl"
+
+RDEPEND=">=dev-haskell/aeson-1.1.2.0:=[profile?]
+ >=dev-haskell/ansi-terminal-0.6.2:=[profile?]
+ >=dev-haskell/cmdargs-0.10:=[profile?]
+ >=dev-haskell/cpphs-1.20.1:=[profile?]
+ >=dev-haskell/data-default-0.3:=[profile?]
+ >=dev-haskell/extra-1.6.6:=[profile?]
+ dev-haskell/haskell-src-exts:1.21=[profile?]
+ >=dev-haskell/haskell-src-exts-util-0.2.5:=[profile?]
+ >=dev-haskell/refact-0.3:=[profile?]
+ >=dev-haskell/semigroups-0.18:=[profile?]
+ dev-haskell/text:=[profile?]
+ >=dev-haskell/uniplate-1.5:=[profile?]
+ dev-haskell/unordered-containers:=[profile?]
+ dev-haskell/vector:=[profile?]
+ >=dev-haskell/yaml-0.5.0:=[profile?]
+ >=dev-lang/ghc-7.10.1:=
+ gpl? ( >=dev-haskell/hscolour-1.21:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.22.2.0
+"
+
+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
+}