Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-haskell/hlint: metadata.xml hlint-1.8.55.ebuild ChangeLog
Date: Wed, 29 Jan 2014 21:57:45
Message-Id: 20140129215740.AEC752004C@flycatcher.gentoo.org
1 slyfox 14/01/29 21:57:40
2
3 Added: metadata.xml hlint-1.8.55.ebuild ChangeLog
4 Log:
5 Initiali import of library and tool for source code suggestions from gentoo-haskell overlay (asked by asgar).
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
8
9 Revision Changes Path
10 1.1 dev-haskell/hlint/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>haskell</herd>
21 <maintainer>
22 <email>haskell@g.o</email>
23 </maintainer>
24 <longdescription>
25 HLint gives suggestions on how to improve your source code.
26 </longdescription>
27 </pkgmetadata>
28
29
30
31 1.1 dev-haskell/hlint/hlint-1.8.55.ebuild
32
33 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/hlint-1.8.55.ebuild?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/hlint-1.8.55.ebuild?rev=1.1&content-type=text/plain
35
36 Index: hlint-1.8.55.ebuild
37 ===================================================================
38 # Copyright 1999-2014 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/hlint-1.8.55.ebuild,v 1.1 2014/01/29 21:57:40 slyfox Exp $
41
42 EAPI=5
43
44 # ebuild generated by hackport 0.3.4.9999
45
46 CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
47 inherit haskell-cabal elisp-common
48
49 DESCRIPTION="Source code suggestions"
50 HOMEPAGE="http://community.haskell.org/~ndm/hlint/"
51 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
52
53 LICENSE="BSD"
54 SLOT="0/${PV}"
55 KEYWORDS="~amd64 ~x86"
56 IUSE="emacs"
57
58 RDEPEND=">=dev-haskell/cpphs-1.11:=[profile?]
59 >=dev-haskell/haskell-src-exts-1.14:=[profile?] <dev-haskell/haskell-src-exts-1.15:=[profile?]
60 >=dev-haskell/hscolour-1.17:=[profile?]
61 >=dev-haskell/transformers-0.0:=[profile?]
62 >=dev-haskell/uniplate-1.5:=[profile?]
63 >=dev-lang/ghc-6.10.4:=
64 "
65 DEPEND="${RDEPEND}
66 >=dev-haskell/cabal-1.6.0.3
67 "
68
69 SITEFILE="60${PN}-gentoo.el"
70
71 src_configure() {
72 local threaded_flag=""
73 if $(ghc-supports-threaded-runtime); then
74 threaded_flag="--flags=threaded"
75 else
76 threaded_flag="--flags=-threaded"
77 fi
78 cabal_src_configure \
79 $threaded_flag
80 }
81
82 src_compile() {
83 cabal_src_compile
84
85 use emacs && elisp-compile data/hs-lint.el
86 }
87
88 src_install() {
89 cabal_src_install
90
91 if use emacs; then
92 elisp-install ${PN} data/*.el data/*.elc || die "elisp-install failed."
93 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
94 fi
95
96 dodoc hlint.htm
97 }
98
99 pkg_postinst() {
100 ghc-package_pkg_postinst
101 use emacs && elisp-site-regen
102 }
103
104 pkg_postrm() {
105 use emacs && elisp-site-regen
106 }
107
108
109
110 1.1 dev-haskell/hlint/ChangeLog
111
112 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/ChangeLog?rev=1.1&view=markup
113 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/ChangeLog?rev=1.1&content-type=text/plain
114
115 Index: ChangeLog
116 ===================================================================
117 # ChangeLog for dev-haskell/hlint
118 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
119 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/ChangeLog,v 1.1 2014/01/29 21:57:40 slyfox Exp $
120
121 *hlint-1.8.55 (29 Jan 2014)
122
123 29 Jan 2014; Sergei Trofimovich <slyfox@g.o> +files/60hlint-gentoo.el,
124 +hlint-1.8.55.ebuild, +metadata.xml:
125 Initiali import of library and tool for source code suggestions from gentoo-
126 haskell overlay (asked by asgar).