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: hlint-1.9.21.ebuild ChangeLog
Date: Sat, 01 Aug 2015 16:42:12
Message-Id: 20150801164204.0B9B8ED@oystercatcher.gentoo.org
1 slyfox 15/08/01 16:42:04
2
3 Modified: ChangeLog
4 Added: hlint-1.9.21.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
9
10 Revision Changes Path
11 1.6 dev-haskell/hlint/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-haskell/hlint/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 14 Dec 2014 11:00:39 -0000 1.5
24 +++ ChangeLog 1 Aug 2015 16:42:03 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-haskell/hlint
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/ChangeLog,v 1.5 2014/12/14 11:00:39 gienah Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/ChangeLog,v 1.6 2015/08/01 16:42:03 slyfox Exp $
31 +
32 +*hlint-1.9.21 (01 Aug 2015)
33 +
34 + 01 Aug 2015; Sergei Trofimovich <slyfox@g.o> +hlint-1.9.21.ebuild:
35 + Version bump.
36
37 *hlint-1.9.10 (14 Dec 2014)
38
39
40
41
42 1.1 dev-haskell/hlint/hlint-1.9.21.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/hlint-1.9.21.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/hlint/hlint-1.9.21.ebuild?rev=1.1&content-type=text/plain
46
47 Index: hlint-1.9.21.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/hlint/hlint-1.9.21.ebuild,v 1.1 2015/08/01 16:42:03 slyfox Exp $
52
53 EAPI=5
54
55 # ebuild generated by hackport 0.4.4.9999
56
57 CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
58 inherit haskell-cabal elisp-common
59
60 DESCRIPTION="Source code suggestions"
61 HOMEPAGE="http://community.haskell.org/~ndm/hlint/"
62 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
63
64 LICENSE="BSD"
65 SLOT="0/${PV}"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="emacs +gpl"
68
69 RDEPEND=">=dev-haskell/ansi-terminal-0.6.2:=[profile?]
70 >=dev-haskell/cmdargs-0.10:=[profile?]
71 >=dev-haskell/cpphs-1.18.1:=[profile?]
72 >=dev-haskell/extra-0.5:2=[profile?]
73 >=dev-haskell/haskell-src-exts-1.16:=[profile?] <dev-haskell/haskell-src-exts-1.17:=[profile?]
74 >=dev-haskell/transformers-0.0:=[profile?]
75 >=dev-haskell/uniplate-1.5:=[profile?]
76 >=dev-lang/ghc-7.4.1:=
77 gpl? ( >=dev-haskell/hscolour-1.21:=[profile?] )
78 "
79 DEPEND="${RDEPEND}
80 >=dev-haskell/cabal-1.6
81 "
82
83 SITEFILE="60${PN}-gentoo.el"
84
85 src_configure() {
86 local threaded_flag=""
87 if $(ghc-supports-threaded-runtime); then
88 threaded_flag="--flags=threaded"
89 else
90 threaded_flag="--flags=-threaded"
91 fi
92
93 haskell-cabal_src_configure \
94 $(cabal_flag gpl gpl) \
95 $threaded_flag
96 }
97
98 src_compile() {
99 cabal_src_compile
100
101 use emacs && elisp-compile data/hs-lint.el
102 }
103
104 src_install() {
105 cabal_src_install
106
107 if use emacs; then
108 elisp-install ${PN} data/*.el data/*.elc || die "elisp-install failed."
109 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
110 fi
111
112 doman data/hlint.1
113 }
114
115 pkg_postinst() {
116 ghc-package_pkg_postinst
117 use emacs && elisp-site-regen
118 }
119
120 pkg_postrm() {
121 use emacs && elisp-site-regen
122 }