diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/hlint |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/hlint')
-rw-r--r-- | dev-haskell/hlint/Manifest | 10 | ||||
-rw-r--r-- | dev-haskell/hlint/files/60hlint-gentoo.el | 7 | ||||
-rw-r--r-- | dev-haskell/hlint/hlint-1.8.57.ebuild | 68 | ||||
-rw-r--r-- | dev-haskell/hlint/hlint-1.9.21.ebuild | 73 | ||||
-rw-r--r-- | dev-haskell/hlint/hlint-1.9.35.ebuild | 75 | ||||
-rw-r--r-- | dev-haskell/hlint/metadata.xml | 17 |
6 files changed, 250 insertions, 0 deletions
diff --git a/dev-haskell/hlint/Manifest b/dev-haskell/hlint/Manifest new file mode 100644 index 000000000000..f36ac49fa8c4 --- /dev/null +++ b/dev-haskell/hlint/Manifest @@ -0,0 +1,10 @@ +AUX 60hlint-gentoo.el 231 SHA256 34ec3d7cce19b1f5a86ff1d7f2a85125e476373ea18a78102ea7b60c160d458a SHA512 1e83147144fb72a9e98fd405116baa2ff10532bdfb954fd86486f1abc3a6df7db54f90875dfe325f827546c03cc6c1d9980003fa839857f8c6b4410cfe8cccd4 WHIRLPOOL 71ff2aaa317a57fa782040c2575d533c1513b03ff28071f07d08c07de92d99e73db497b5087229f75fd9015ec599606a98fcdc3e6951f04df57595bdf395b7da +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 +EBUILD hlint-1.8.57.ebuild 1479 SHA256 2a40e98934a051d64e3c18932205d320b0daf12f1b47350365d934d0d2cf9d52 SHA512 b7aac6a6acf6132f8ca844df4ef723d5ae827c64f2176ab9c0c08937c1acaea70cec115efe526fb297bb406add5131a9378006e3392e688c6850b10d50d8c4e5 WHIRLPOOL d92d88a185156009b1a29b8f91d2e527463ad4b2aedefd8f31a7b7fa9d79773baa11cfcd431d20023934a34c5b8f1cab86e770e2b1d496533cb3141402f145cd +EBUILD hlint-1.9.21.ebuild 1648 SHA256 dd62486aaa16542c07c7ea1f74ccc426005544ba76dab301b2e7ed867f50101b SHA512 7f1b3517bf00907c0b401c16d7b1f770a90dc846c234a36fe43851f58378818bef0e7740efb9545b300743c5903e6927ba95d4892e5f0a59fd680ed86ca3213b WHIRLPOOL b5024f49f06b42d82a10da608a22f4a86f536f131eaca9fe8dca1f83a464ee1bdd2ddece9987178e4891ef1feab2bd1284c1f2c96072a64a5fe88aabd64856b7 +EBUILD hlint-1.9.35.ebuild 1714 SHA256 fb0ddd54cc83a5522d32cba1538aba370febd47a949b7a5189ac7e0bfcbf75cb SHA512 40b549a30d2fb9f9e1eb75f2b118657bbae0d8b1f2a211dfebf4357d4d2d8fc53a425b3acabed0f1e41361bb8a2a9bf8a88cdb753cb5b74690c46fd8201231c1 WHIRLPOOL 69ae17798777fa4aa0a89d36990c49f95b3ffee721e39f52f2fc01deb74f8885959bfa8f7aaa7531852b53a007e5640fca9a41d61c23ad23852b379368582dd9 +MISC ChangeLog 3118 SHA256 239f9e30bbc2447e9adc3f447ca5d40f188fb68f2081a145b6058371dd91ef88 SHA512 d5aa82eaa3eb26358d4d38947da74144ffc3945e42ca821188128188912ea276e0825d97db8f508d22fc5cae33c48d065fc36d09933d05585bff8695e62ebb4c WHIRLPOOL 335c96bf88d26470a341ac73fcbea6eb94a968d06d81efd7e5f6f3c988d3ede8e54985a3e3610f1ce4f8fb9613325740d3b456372be4a775e9ed17d673791257 +MISC ChangeLog-2015 1103 SHA256 be96ee6dbc4f8bcb976fc6594a0a48cff260518fbe016b7150b936a0b2773d5b SHA512 4f98062458fa21a907e40c574bf4ed8fd48864dab6cb53700aed22af39808800b53142a9066dbf94a6100f4a5333a4a96f3247246fcc9c1d574ebe18d7bbe6af WHIRLPOOL ec39ce455e2e6d137af236cbcc7caae4c8a3c5ee7990703439a45eb0b9e338dd255fcf29cbc0d676c7fc839e704614da8baea8dd1686cc5e3adc27cb67cae5e4 +MISC metadata.xml 514 SHA256 432948cefa894cab41f6bf7e18291513c2e4e255f7648b99f40c825defb82b37 SHA512 09783e5f456c5e5f7c9b4cc0b61d5d45d9a77ba4e582368f75e17fb8cd3b7a94ac56c6acbe1a5eee4a65a53fce1c72bf7ce3d0a00e736aaa249c0211b76926c5 WHIRLPOOL fe598d6f33bb6cf4fe9a090fad5cfcd71231ea6eb0f65c9464bdf5b0b67966d56d85690099fdca033cca67ae9d13fcb813ca26d65ae74d0fbadf2d837b9b0f44 diff --git a/dev-haskell/hlint/files/60hlint-gentoo.el b/dev-haskell/hlint/files/60hlint-gentoo.el new file mode 100644 index 000000000000..990d5a89b5fb --- /dev/null +++ b/dev-haskell/hlint/files/60hlint-gentoo.el @@ -0,0 +1,7 @@ + +;; hlint emacs integration site initialisation +(add-to-list 'load-path "@SITELISP@") +(require 'hs-lint) +(defun hlint-haskell-mode-hook () + (local-set-key "\C-cl" 'hs-lint)) +(add-hook 'haskell-mode-hook 'hlint-haskell-mode-hook) diff --git a/dev-haskell/hlint/hlint-1.8.57.ebuild b/dev-haskell/hlint/hlint-1.8.57.ebuild new file mode 100644 index 000000000000..09ef9f412f3a --- /dev/null +++ b/dev-haskell/hlint/hlint-1.8.57.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.6.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal elisp-common + +DESCRIPTION="Source code suggestions" +HOMEPAGE="http://community.haskell.org/~ndm/hlint/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="emacs" + +RDEPEND=">=dev-haskell/cpphs-1.11:=[profile?] + >=dev-haskell/haskell-src-exts-1.14:=[profile?] <dev-haskell/haskell-src-exts-1.15:=[profile?] + >=dev-haskell/hscolour-1.17:=[profile?] + >=dev-haskell/transformers-0.0:=[profile?] + >=dev-haskell/uniplate-1.5:=[profile?] + >=dev-lang/ghc-6.10.4:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6.0.3 +" + +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 + cabal_src_configure \ + $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() { + ghc-package_pkg_postinst + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-haskell/hlint/hlint-1.9.21.ebuild b/dev-haskell/hlint/hlint-1.9.21.ebuild new file mode 100644 index 000000000000..2d5630a9754a --- /dev/null +++ b/dev-haskell/hlint/hlint-1.9.21.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal elisp-common + +DESCRIPTION="Source code suggestions" +HOMEPAGE="http://community.haskell.org/~ndm/hlint/" +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.18.1:=[profile?] + >=dev-haskell/extra-0.5:2=[profile?] + >=dev-haskell/haskell-src-exts-1.16:=[profile?] <dev-haskell/haskell-src-exts-1.17:=[profile?] + >=dev-haskell/transformers-0.0:=[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.6 +" + +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() { + ghc-package_pkg_postinst + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} 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..df5bd496ce4b --- /dev/null +++ b/dev-haskell/hlint/hlint-1.9.35.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} diff --git a/dev-haskell/hlint/metadata.xml b/dev-haskell/hlint/metadata.xml new file mode 100644 index 000000000000..d9589665f744 --- /dev/null +++ b/dev-haskell/hlint/metadata.xml @@ -0,0 +1,17 @@ +<?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> + HLint gives suggestions on how to improve your source code. + </longdescription> + <use> + <flag name="gpl">Use GPL libraries, specifically hscolour.</flag> + </use> + <upstream> + <remote-id type="github">ndmitchell/hlint</remote-id> + </upstream> +</pkgmetadata> |