Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/stack/
Date: Fri, 07 Aug 2020 06:37:44
Message-Id: 1596782254.00b98d42bf441379c37d337d41c325c8cf4ebdaa.slyfox@gentoo
1 commit: 00b98d42bf441379c37d337d41c325c8cf4ebdaa
2 Author: Jack Todaro <solpeth <AT> posteo <DOT> org>
3 AuthorDate: Thu Aug 6 22:52:34 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 7 06:37:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b98d42
7
8 dev-haskell/stack: bump up to 2.3.3
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Jack Todaro <solpeth <AT> posteo.org>
12 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
13
14 dev-haskell/stack/Manifest | 1 +
15 dev-haskell/stack/metadata.xml | 16 ++++-
16 dev-haskell/stack/stack-2.3.3.ebuild | 114 +++++++++++++++++++++++++++++++++++
17 3 files changed, 128 insertions(+), 3 deletions(-)
18
19 diff --git a/dev-haskell/stack/Manifest b/dev-haskell/stack/Manifest
20 index 0800360bb47..0ae4b4fe57c 100644
21 --- a/dev-haskell/stack/Manifest
22 +++ b/dev-haskell/stack/Manifest
23 @@ -1 +1,2 @@
24 DIST stack-2.3.1.tar.gz 570880 BLAKE2B 7bb2304f61ea58b0d76340a3f8a2b252b904a65ea709e5b0d376c79878a67e8e5e7456e6361143d1d687502b00bd0fdc12fdf98fbfd085b452174d2701c16b99 SHA512 b5bab09697d2be10445500911ff0b038adc0e9e27baa2b015de9dd3c7d18dbac8d813c20451ac660c43d3ed2c2f587b4dfffd759653ce9c23b159a936e345aa5
25 +DIST stack-2.3.3.tar.gz 572406 BLAKE2B 4b88614ede72ea3704e3bfad433a7931860c1c098bb65aeabca46d3abc5364ea132b8a7f0f559f1b07463d4b753b5501081841fa388a5d817389d91371214236 SHA512 cb93e3bcb8f92e01f374806f07f366ca318d66e3b7bd3cfa3fe3b72dce954d2bb371f51e3f79fca8aec19d1d3adef370bb09237bf29340a1bc851a9a103d77a3
26
27 diff --git a/dev-haskell/stack/metadata.xml b/dev-haskell/stack/metadata.xml
28 index d702142876f..530923816ff 100644
29 --- a/dev-haskell/stack/metadata.xml
30 +++ b/dev-haskell/stack/metadata.xml
31 @@ -5,10 +5,20 @@
32 <email>haskell@g.o</email>
33 <name>Gentoo Haskell</name>
34 </maintainer>
35 + <use>
36 + <flag name="developer-mode">By default, should extra developer information be output?</flag>
37 + </use>
38 <longdescription>
39 - Please see the README.md for usage information, and
40 - the wiki on Github for more details. Also, note that
41 - the API for the library is not currently stable, and may
42 + Please see the documentation at &lt;https://docs.haskellstack.org&gt;
43 + for usage information.
44 +
45 + If building a &#39;stack&#39; executable for distribution, please download the
46 + source code from &lt;https://github.com/commercialhaskell/stack/releases&gt;
47 + and build it using Stack itself in order to ensure identical behaviour
48 + to official binaries. This package on Hackage is provided for convenience
49 + and bootstrapping purposes.
50 +
51 + Note that the API for the library is not currently stable, and may
52 change significantly, even between minor releases. It is
53 currently only intended for use by the executable.
54 </longdescription>
55
56 diff --git a/dev-haskell/stack/stack-2.3.3.ebuild b/dev-haskell/stack/stack-2.3.3.ebuild
57 new file mode 100644
58 index 00000000000..3b0a49f834f
59 --- /dev/null
60 +++ b/dev-haskell/stack/stack-2.3.3.ebuild
61 @@ -0,0 +1,114 @@
62 +# Copyright 1999-2020 Gentoo Authors
63 +# Distributed under the terms of the GNU General Public License v2
64 +
65 +EAPI=7
66 +
67 +# ebuild generated by hackport 0.6.6.9999
68 +#hackport: flags: -disable-git-info,-hide-dependency-versions,-integration-tests,-static,-supported-build
69 +
70 +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
71 +inherit haskell-cabal
72 +
73 +DESCRIPTION="The Haskell Tool Stack"
74 +HOMEPAGE="https://haskellstack.org"
75 +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
76 +
77 +LICENSE="BSD"
78 +SLOT="0/${PV}"
79 +KEYWORDS="~amd64 ~x86"
80 +IUSE="developer-mode"
81 +
82 +RESTRICT=test # requires network access
83 +
84 +RDEPEND=">=dev-haskell/aeson-1.4.6.0:=[profile?]
85 + >=dev-haskell/annotated-wl-pprint-0.7.0:=[profile?]
86 + >=dev-haskell/ansi-terminal-0.9.1:=[profile?]
87 + >=dev-haskell/async-2.2.2:=[profile?]
88 + >=dev-haskell/attoparsec-0.13.2.3:=[profile?]
89 + >=dev-haskell/base64-bytestring-1.0.0.3:=[profile?]
90 + >=dev-haskell/cabal-3.0.0.0:=[profile?]
91 + >=dev-haskell/casa-client-0.0.1:=[profile?]
92 + >=dev-haskell/casa-types-0.0.1:=[profile?]
93 + >=dev-haskell/colour-2.3.5:=[profile?]
94 + >=dev-haskell/conduit-1.3.1.2:=[profile?]
95 + >=dev-haskell/conduit-extra-1.3.4:=[profile?]
96 + >=dev-haskell/cryptonite-0.25:=[profile?]
97 + >=dev-haskell/cryptonite-conduit-0.2.2:=[profile?]
98 + >=dev-haskell/echo-0.1.3:=[profile?]
99 + >=dev-haskell/exceptions-0.10.4:=[profile?]
100 + >=dev-haskell/extra-1.6.19:=[profile?]
101 + >=dev-haskell/file-embed-0.0.11.1:=[profile?]
102 + >=dev-haskell/filelock-0.1.1.5:=[profile?]
103 + >=dev-haskell/fsnotify-0.3.0.1:=[profile?]
104 + >=dev-haskell/generic-deriving-1.12.4:=[profile?]
105 + >=dev-haskell/githash-0.1.3.3:=[profile?]
106 + >=dev-haskell/hackage-security-0.5.3.0:=[profile?]
107 + >=dev-haskell/hashable-1.2.7.0:=[profile?]
108 + >=dev-haskell/hi-file-parser-0.1.0.0:=[profile?]
109 + >=dev-haskell/hpack-0.33.0:=[profile?]
110 + >=dev-haskell/http-client-0.6.4:=[profile?]
111 + >=dev-haskell/http-client-tls-0.3.5.3:=[profile?]
112 + >=dev-haskell/http-conduit-2.3.7.3:=[profile?]
113 + >=dev-haskell/http-download-0.2.0.0:=[profile?]
114 + >=dev-haskell/http-types-0.12.3:=[profile?]
115 + >=dev-haskell/memory-0.14.18:=[profile?]
116 + >=dev-haskell/microlens-0.4.10:=[profile?]
117 + >=dev-haskell/mintty-0.1.2:=[profile?]
118 + >=dev-haskell/mono-traversable-1.0.15.1:=[profile?]
119 + >=dev-haskell/mtl-2.2.2:=[profile?]
120 + >=dev-haskell/mustache-2.3.1:=[profile?]
121 + >=dev-haskell/neat-interpolation-0.3.2.6:=[profile?]
122 + >=dev-haskell/network-uri-2.6.2.0:=[profile?]
123 + >=dev-haskell/open-browser-0.2.1.0:=[profile?]
124 + >=dev-haskell/optparse-applicative-0.14.3.0:=[profile?]
125 + >=dev-haskell/optparse-simple-0.1.1.2:=[profile?]
126 + >=dev-haskell/pantry-0.4:=[profile?] <dev-haskell/pantry-0.5:=[profile?]
127 + >=dev-haskell/path-0.6.1:=[profile?]
128 + >=dev-haskell/path-io-1.4.2:=[profile?]
129 + >=dev-haskell/persistent-2.9.2:=[profile?]
130 + >=dev-haskell/persistent-sqlite-2.9.3:=[profile?]
131 + >=dev-haskell/persistent-template-2.6.0:=[profile?]
132 + >=dev-haskell/primitive-0.6.4.0:=[profile?]
133 + >=dev-haskell/project-template-0.2.0.1:=[profile?]
134 + >=dev-haskell/regex-applicative-text-0.1.0.1:=[profile?]
135 + >=dev-haskell/retry-0.8.1.0:=[profile?]
136 + >=dev-haskell/rio-0.1.14.0:=[profile?]
137 + >=dev-haskell/rio-prettyprint-0.1.0.0:=[profile?]
138 + >=dev-haskell/semigroups-0.18.5:=[profile?]
139 + >=dev-haskell/split-0.2.3.3:=[profile?]
140 + >=dev-haskell/stm-2.5.0.0:=[profile?]
141 + >=dev-haskell/streaming-commons-0.2.1.2:=[profile?]
142 + >=dev-haskell/tar-0.5.1.1:=[profile?]
143 + >=dev-haskell/temporary-1.3:=[profile?]
144 + >=dev-haskell/text-1.2.3.1:=[profile?]
145 + >=dev-haskell/text-metrics-0.3.0:=[profile?]
146 + >=dev-haskell/th-reify-many-0.1.9:=[profile?]
147 + >=dev-haskell/tls-1.4.1:=[profile?]
148 + >=dev-haskell/typed-process-0.2.6.0:=[profile?]
149 + >=dev-haskell/unicode-transforms-0.3.6:=[profile?]
150 + >=dev-haskell/unix-compat-0.5.2:=[profile?]
151 + >=dev-haskell/unliftio-0.2.12:=[profile?]
152 + >=dev-haskell/unordered-containers-0.2.10.0:=[profile?]
153 + >=dev-haskell/vector-0.12.1.2:=[profile?]
154 + >=dev-haskell/yaml-0.11.2.0:=[profile?]
155 + >=dev-haskell/zip-archive-0.4.1:=[profile?]
156 + >=dev-haskell/zlib-0.6.2.1:=[profile?]
157 + >=dev-lang/ghc-8.6.5:=
158 +"
159 +DEPEND="${RDEPEND}
160 + >=dev-haskell/cabal-2.4.0.1
161 + test? ( >=dev-haskell/hspec-2.7.1
162 + >=dev-haskell/quickcheck-2.13.2
163 + >=dev-haskell/raw-strings-qq-1.1
164 + >=dev-haskell/smallcheck-1.1.5 )
165 +"
166 +
167 +src_configure() {
168 + haskell-cabal_src_configure \
169 + $(cabal_flag developer-mode developer-mode) \
170 + --flag=-disable-git-info \
171 + --flag=-hide-dependency-versions \
172 + --flag=-integration-tests \
173 + --flag=-static \
174 + --flag=-supported-build
175 +}