summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-01-29 21:57:45 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2014-01-29 21:57:45 +0000
commit194158c5b17730da55053a470b110530aa1ebad1 (patch)
tree4c776d6aae2538570d2e4a7b379c81c18b431f8f /dev-haskell
parentInitial import. Help writing simple, concise and fast generic operations in h... (diff)
downloadhistorical-194158c5b17730da55053a470b110530aa1ebad1.tar.gz
historical-194158c5b17730da55053a470b110530aa1ebad1.tar.bz2
historical-194158c5b17730da55053a470b110530aa1ebad1.zip
Initiali import of library and tool for source code suggestions from gentoo-haskell overlay (asked by asgar).
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x611FF3AA
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/hlint/ChangeLog10
-rw-r--r--dev-haskell/hlint/Manifest15
-rw-r--r--dev-haskell/hlint/files/60hlint-gentoo.el7
-rw-r--r--dev-haskell/hlint/hlint-1.8.55.ebuild69
-rw-r--r--dev-haskell/hlint/metadata.xml11
5 files changed, 112 insertions, 0 deletions
diff --git a/dev-haskell/hlint/ChangeLog b/dev-haskell/hlint/ChangeLog
new file mode 100644
index 000000000000..22febbb5a954
--- /dev/null
+++ b/dev-haskell/hlint/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-haskell/hlint
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/ChangeLog,v 1.1 2014/01/29 21:57:40 slyfox Exp $
+
+*hlint-1.8.55 (29 Jan 2014)
+
+ 29 Jan 2014; Sergei Trofimovich <slyfox@gentoo.org> +files/60hlint-gentoo.el,
+ +hlint-1.8.55.ebuild, +metadata.xml:
+ Initiali import of library and tool for source code suggestions from gentoo-
+ haskell overlay (asked by asgar).
diff --git a/dev-haskell/hlint/Manifest b/dev-haskell/hlint/Manifest
new file mode 100644
index 000000000000..a73aaa379bc5
--- /dev/null
+++ b/dev-haskell/hlint/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX 60hlint-gentoo.el 231 SHA256 34ec3d7cce19b1f5a86ff1d7f2a85125e476373ea18a78102ea7b60c160d458a SHA512 1e83147144fb72a9e98fd405116baa2ff10532bdfb954fd86486f1abc3a6df7db54f90875dfe325f827546c03cc6c1d9980003fa839857f8c6b4410cfe8cccd4 WHIRLPOOL 71ff2aaa317a57fa782040c2575d533c1513b03ff28071f07d08c07de92d99e73db497b5087229f75fd9015ec599606a98fcdc3e6951f04df57595bdf395b7da
+DIST hlint-1.8.55.tar.gz 70955 SHA256 32133739752825b16ff25947d7f9f1c5b577397ffb2722f7085bf35ce0069ea0 SHA512 e49e51c596eaebfa7a138b1373cd14ceb22f7410e2e114259cc3e42f438290c553870260866ee6835a80dcd3fccf5b97fa79591fe501dcd58ffb11a182d4d27b WHIRLPOOL 50c6195a2ca87da57bf33561b39f0c41007adb5261e81ec28f773f393a797015ab344ef55e5c5fe42111686a82f7c03f6e0f83bb14a35bead3b14f592d463540
+EBUILD hlint-1.8.55.ebuild 1588 SHA256 284f9350e2e98b03f5cf2eb36d13537f85f2320604f031402627a528de849c6d SHA512 148b2fccc2ce7d098938c238a56d9c43f64b7e63a610b833bbd86ca1295679d0c075e4c059a9024cdf50f47ff697b491f2506dce556af32c6b71a61568f61b2b WHIRLPOOL 56fcb203758e0e33115dec913076993dcbe366ce5174d4dd6c63fd2c2c5f41b66196560d7dd6b692cd6e32ec4a5b2330079992ac19da39f3397b313a22d8ad1a
+MISC ChangeLog 470 SHA256 cfbda61b04056ca7717e1e412d6b9f247415bfa8888a5c4d1fead069ac93d465 SHA512 4d269a3b138d888311eea07b214a34525d68b100cd866797e921a5ee66fb603dc3f93437e66ea8fd24f566d7d88cb6ef2cf09210500121f291e0038f06b6f319 WHIRLPOOL b3e1d04bb285041afa662b07650c761cd99880a55ae732d924c7868fc1a55b6c2662ab6849febbbb1404eec1ca5cc702bb617097707395d5c038f0a16a4c27f7
+MISC metadata.xml 327 SHA256 6e285a173f34ac8f3dab58c0c89bb89a5e439edb5134363db2d965848a2fc51d SHA512 b1a885aa3c9f387861b555d43a06822c031eb14ccd35dc1d6f8c9185b859b4042574377c559bfcfd4aff21dd6600f36ff97e1412634b0085c76ddaaeb7d0f539 WHIRLPOOL fc0d32f7cd31f694b7adf40aaa5b89a351f0c15601d232e423b72b6d43e5847905a48cbb97d719b9673ac7f1df0bfa0cecfe9128fe4750aa747be2c99bfa7cac
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iEYEAREIAAYFAlLpd84ACgkQcaHudmEf86ozcACeNIy0WD5Qs7hMyaZGHv14kJ7I
+a8gAn0pNjltu9tAFCHGbdRLeq53e3n1r
+=Re5l
+-----END PGP SIGNATURE-----
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.55.ebuild b/dev-haskell/hlint/hlint-1.8.55.ebuild
new file mode 100644
index 000000000000..f23fc6945aeb
--- /dev/null
+++ b/dev-haskell/hlint/hlint-1.8.55.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/hlint-1.8.55.ebuild,v 1.1 2014/01/29 21:57:40 slyfox Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.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"
+
+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
+
+ dodoc hlint.htm
+}
+
+pkg_postinst() {
+ ghc-package_pkg_postinst
+ use emacs && elisp-site-regen
+}
+
+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..e31b571f3ae3
--- /dev/null
+++ b/dev-haskell/hlint/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ HLint gives suggestions on how to improve your source code.
+ </longdescription>
+</pkgmetadata>