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