1 |
commit: 18ae2fb979d32d516c7d76bc66b297b4c0c5d187 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 21 07:38:28 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 21 07:40:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ae2fb9 |
7 |
|
8 |
dev-haskell/hlint: bump up to 3.2.7 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-haskell/hlint/Manifest | 1 + |
14 |
dev-haskell/hlint/hlint-3.2.7.ebuild | 59 ++++++++++++++++++++++++++++++++++++ |
15 |
dev-haskell/hlint/metadata.xml | 7 ++--- |
16 |
3 files changed, 63 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/dev-haskell/hlint/Manifest b/dev-haskell/hlint/Manifest |
19 |
index 9874fd2d96f..17807ab457a 100644 |
20 |
--- a/dev-haskell/hlint/Manifest |
21 |
+++ b/dev-haskell/hlint/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST hlint-2.1.17.tar.gz 119243 BLAKE2B 09d70dffdaec25e8f574fb4dd1f6012828cc8032e38b9275a676b836bff0a86e331ac4e7780618001931622e985ad4a9bd799267b06dee059f3f1b28b33bdf16 SHA512 b0a78fa970bcf2b74d969e1825dee1c7382fb5cebc47f3c752f3b3d5915905943dff21e36f8c0158e3bd10696c4785a2c86a2e1abfcf72b610ab2b564f3be5f3 |
24 |
+DIST hlint-3.2.7.tar.gz 159088 BLAKE2B 5fde93d35093aff4c56dd2b39f2f2318872b6d85cfa1d8ee21aaa7c970ecbd013eb5cac3b9d8742139fe3fa1e5c251364ea479facbc54338adcec5717e31dfaa SHA512 5db66f671d18279d5f4da8b158c9947e95804eff97b2efe1b53a2e3f0f5e23d7560c8085a253031e57d20bb77da0c266f2143b3b03899bfaa1a311d3ace2985b |
25 |
|
26 |
diff --git a/dev-haskell/hlint/hlint-3.2.7.ebuild b/dev-haskell/hlint/hlint-3.2.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a66d7032890 |
29 |
--- /dev/null |
30 |
+++ b/dev-haskell/hlint/hlint-3.2.7.ebuild |
31 |
@@ -0,0 +1,59 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+# ebuild generated by hackport 0.6.7.9999 |
38 |
+#hackport: flags: -ghc-lib |
39 |
+ |
40 |
+CABAL_FEATURES="lib profile haddock hoogle hscolour" |
41 |
+inherit haskell-cabal |
42 |
+ |
43 |
+DESCRIPTION="Source code suggestions" |
44 |
+HOMEPAGE="https://github.com/ndmitchell/hlint#readme" |
45 |
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0/${PV}" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="+gpl hsyaml +threaded test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND=">=dev-haskell/aeson-1.1.2.0:=[profile?] |
54 |
+ >=dev-haskell/ansi-terminal-0.8.1:=[profile?] |
55 |
+ >=dev-haskell/cmdargs-0.10:=[profile?] |
56 |
+ >=dev-haskell/cpphs-1.20.1:=[profile?] |
57 |
+ >=dev-haskell/data-default-0.3:=[profile?] |
58 |
+ >=dev-haskell/extra-1.7.3:=[profile?] |
59 |
+ dev-haskell/file-embed:=[profile?] |
60 |
+ >=dev-haskell/filepattern-0.1.1:=[profile?] |
61 |
+ >=dev-haskell/ghc-lib-parser-8.10:=[profile?] <dev-haskell/ghc-lib-parser-8.11:=[profile?] |
62 |
+ >=dev-haskell/ghc-lib-parser-ex-8.10.0.17:=[profile?] <dev-haskell/ghc-lib-parser-ex-8.10.1:=[profile?] |
63 |
+ >=dev-haskell/refact-0.3:=[profile?] |
64 |
+ dev-haskell/text:=[profile?] |
65 |
+ >=dev-haskell/uniplate-1.5:=[profile?] |
66 |
+ dev-haskell/unordered-containers:=[profile?] |
67 |
+ dev-haskell/utf8-string:=[profile?] |
68 |
+ dev-haskell/vector:=[profile?] |
69 |
+ >=dev-lang/ghc-8.4.3:= |
70 |
+ gpl? ( >=dev-haskell/hscolour-1.21:=[profile?] ) |
71 |
+ hsyaml? ( >=dev-haskell/hsyaml-0.2:=[profile?] |
72 |
+ >=dev-haskell/hsyaml-aeson-0.2:=[profile?] ) |
73 |
+ !hsyaml? ( >=dev-haskell/yaml-0.5.0:=[profile?] ) |
74 |
+" |
75 |
+DEPEND="${RDEPEND} |
76 |
+ >=dev-haskell/cabal-2.2.0.1 |
77 |
+" |
78 |
+ |
79 |
+src_configure() { |
80 |
+ haskell-cabal_src_configure \ |
81 |
+ --flag=-ghc-lib \ |
82 |
+ $(cabal_flag gpl gpl) \ |
83 |
+ $(cabal_flag hsyaml hsyaml) \ |
84 |
+ $(cabal_flag threaded threaded) |
85 |
+} |
86 |
+ |
87 |
+src_test() { |
88 |
+ export LD_LIBRARY_PATH="${S}/dist/build${LD_LIBRARY_PATH+:}:${LD_LIBRARY_PATH}" |
89 |
+ "${S}"/dist/build/hlint/hlint --datadir="${S}"/data --test || die |
90 |
+} |
91 |
|
92 |
diff --git a/dev-haskell/hlint/metadata.xml b/dev-haskell/hlint/metadata.xml |
93 |
index bea62cfa583..a33e9d0bc4b 100644 |
94 |
--- a/dev-haskell/hlint/metadata.xml |
95 |
+++ b/dev-haskell/hlint/metadata.xml |
96 |
@@ -6,9 +6,8 @@ |
97 |
<name>Gentoo Haskell</name> |
98 |
</maintainer> |
99 |
<use> |
100 |
- <flag name="gpl">Use GPL libraries, specifically hscolour.</flag> |
101 |
+ <flag name="gpl">Use GPL libraries, specifically hscolour</flag> |
102 |
+ <flag name="hsyaml">Use HsYAML instead of yaml</flag> |
103 |
+ <flag name="threaded">Build with support for multithreaded execution</flag> |
104 |
</use> |
105 |
- <upstream> |
106 |
- <remote-id type="github">ndmitchell/hlint</remote-id> |
107 |
- </upstream> |
108 |
</pkgmetadata> |