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/shelly/files/, dev-haskell/shelly/
Date: Sat, 12 Sep 2020 19:45:29
Message-Id: 1599939908.879e8573075256241b5cae3988e9cb2985cf93c2.slyfox@gentoo
1 commit: 879e8573075256241b5cae3988e9cb2985cf93c2
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 12 19:42:30 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 12 19:45:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=879e8573
7
8 dev-haskell/shelly: drop old
9
10 Package-Manager: Portage-3.0.6, Repoman-3.0.1
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-haskell/shelly/Manifest | 4 -
14 .../files/shelly-1.5.6-monad-control-1.1.patch | 95 ----------------------
15 dev-haskell/shelly/files/shelly-1.6.5-ghc-8.patch | 16 ----
16 .../files/shelly-1.6.8.1-ghc-8.0.2_rc1.patch | 9 --
17 dev-haskell/shelly/shelly-1.5.6-r1.ebuild | 39 ---------
18 dev-haskell/shelly/shelly-1.6.5.ebuild | 45 ----------
19 dev-haskell/shelly/shelly-1.6.6.ebuild | 53 ------------
20 dev-haskell/shelly/shelly-1.6.8.1.ebuild | 55 -------------
21 8 files changed, 316 deletions(-)
22
23 diff --git a/dev-haskell/shelly/Manifest b/dev-haskell/shelly/Manifest
24 index 686e6e51a44..4f1c8ddb5d8 100644
25 --- a/dev-haskell/shelly/Manifest
26 +++ b/dev-haskell/shelly/Manifest
27 @@ -1,5 +1 @@
28 -DIST shelly-1.5.6.tar.gz 28264 BLAKE2B ec1a51e8799a7d0e37f31f737cfcf50bb780636094365991693b19f89ba5c72dbf7c40ed922352d76294ca8a07fcb73ba2359613ff2a244831b6fe82d6457b94 SHA512 522aa76454211b9f31dc92f052703e3f9f4a103c134da063ff5c4c04e209a1f881dc10c0f8589c557ad179a8dc319951b897b8ff401dd8f9a371f69f1def6022
29 -DIST shelly-1.6.5.tar.gz 97274 BLAKE2B 0cb2ef6482f509e9547dc6571b8d7e2eaf61fb0ceca2be5ed5ab423118ff69032205711b697a539e45c27551149ec79fc95e176f5b6afe7d8ccdf3c8b1f46208 SHA512 6a5b418987392d755e7faf60206a3e9283e98f56a4d9d9f956c0385074ff8909fb6bddceb050b00dbd0f8eda55eeb4897d9afd2f8dd2d510367567336a7a6770
30 -DIST shelly-1.6.6.tar.gz 97529 BLAKE2B a171ceba324ca8775604d7ddedb0bb26697d1161231f5b0fed5611fb9f035e2db61011891f4be9bf8fcc7df1b4d3d50b89f7fed15b48f5bc1a5bfb1c6b891802 SHA512 1b78cb84d126f6bb67db3a3d5e669759e71811e2770831af41a4867d094f89b32c3cf39363cc39c808e71019d6e7eca18d25e854bbf4160bd3388c6769a8665c
31 -DIST shelly-1.6.8.1.tar.gz 97802 BLAKE2B 08f0f5d7e86b803804f6fae7c66fccf2cd5ae044dd8cb164f49254e311644bee4d103cf04ca9c7b20fb4d29e742ed9480d6c714205bdebb07656b5f925491b4e SHA512 76ab37289a9b6c51ecb6d5326161b326a4015ed27f6c61cd889d4dbf8f6417e6629d0059fdf65ec40f4093cb921ea3b4871105ccd77c94f863c2a087e3c2fab6
32 DIST shelly-1.9.0.tar.gz 73344 BLAKE2B f12e8835be5dd648427ff92b73bc9a37215a47067e65456c4c3dc8e9c2e5bb610da171648aadf9759e9a91eb075fa74d06241f83977a5380f49bc861643707cc SHA512 7c1eb25439e08095187746d0101fd92ad56ebb5a706820bad7330667cfc806066d4675c677e5d267440d4af7b517f36449e8f5e75332521780b564edc1586254
33
34 diff --git a/dev-haskell/shelly/files/shelly-1.5.6-monad-control-1.1.patch b/dev-haskell/shelly/files/shelly-1.5.6-monad-control-1.1.patch
35 deleted file mode 100644
36 index a2ef39376c0..00000000000
37 --- a/dev-haskell/shelly/files/shelly-1.5.6-monad-control-1.1.patch
38 +++ /dev/null
39 @@ -1,95 +0,0 @@
40 -commit 33b32439e7ef1ba60cc8d72ae0f0c53b6d01ae90
41 -Merge: d3aec33 b70a308
42 -Author: Greg Weber <greg@×××××××××.info>
43 -Date: Mon Dec 22 10:32:40 2014 -0800
44 -
45 - Merge pull request #84 from yesodweb/monad-control-1.0
46 -
47 - monad-control 1.0
48 -
49 -commit d3aec338e23a03027c404aaf5a7b5790b3300ec5
50 -Author: Luite Stegeman <stegeman@×××××.com>
51 -Date: Mon Dec 22 16:21:01 2014 +0100
52 -
53 - bump time upper bound
54 -
55 -diff --git a/shelly.cabal b/shelly.cabal
56 -index ed0d086..3d3c46d 100644
57 ---- a/shelly.cabal
58 -+++ b/shelly.cabal
59 -@@ -39,7 +39,7 @@ Library
60 -
61 - Build-depends:
62 - containers >= 0.4.2.0,
63 -- time >= 1.3 && < 1.5,
64 -+ time >= 1.3 && < 1.6,
65 - directory >= 1.1.0.0 && < 1.3.0.0,
66 - mtl >= 2,
67 - process >= 1.0,
68 -
69 -commit c1da49fb0d59a56c9e4140a5cbf0700c9fc1ca5f
70 -Author: Luite Stegeman <stegeman@×××××.com>
71 -Date: Mon Dec 22 16:20:18 2014 +0100
72 -
73 - Add Alternative instance for Sh, since it's now a superclass of
74 - MonadPlus.
75 -
76 -diff --git a/src/Shelly/Pipe.hs b/src/Shelly/Pipe.hs
77 -index a8d0182..f0a64ec 100644
78 ---- a/src/Shelly/Pipe.hs
79 -+++ b/src/Shelly/Pipe.hs
80 -@@ -138,6 +138,10 @@ instance Applicative Sh where
81 - pure = return
82 - (<*>) = ap
83 -
84 -+instance Alternative Sh where
85 -+ empty = mzero
86 -+ (<|>) = mplus
87 -+
88 - instance MonadPlus Sh where
89 - mzero = Sh $ return []
90 - mplus a b = Sh $ liftA2 (++) (unSh a) (unSh b)
91 -
92 -commit b70a308ad14af0b57bbdd9cf8441bdc30ff65c36
93 -Author: Michael Snoyman <michael@×××××××.com>
94 -Date: Mon Dec 22 13:49:54 2014 +0200
95 -
96 - monad-control 1.0
97 -
98 -diff --git a/shelly.cabal b/shelly.cabal
99 -index ed0d086..99a85d3 100644
100 ---- a/shelly.cabal
101 -+++ b/shelly.cabal
102 -@@ -46,7 +46,7 @@ Library
103 - unix-compat < 0.5,
104 - system-filepath >= 0.4.7 && < 0.5,
105 - system-fileio < 0.4,
106 -- monad-control >= 0.3.2 && < 0.4,
107 -+ monad-control >= 0.3.2 && < 1.1,
108 - lifted-base,
109 - lifted-async,
110 - exceptions == 0.6.*,
111 -diff --git a/src/Shelly/Base.hs b/src/Shelly/Base.hs
112 -index e05ad43..3d6fe00 100644
113 ---- a/src/Shelly/Base.hs
114 -+++ b/src/Shelly/Base.hs
115 -@@ -71,11 +71,19 @@ instance MonadBase IO Sh where
116 - liftBase = Sh . ReaderT . const
117 -
118 - instance MonadBaseControl IO Sh where
119 -+#if MIN_VERSION_monad_control(1,0,0)
120 -+ type StM Sh a = StM (ReaderT (IORef State) IO) a
121 -+ liftBaseWith f =
122 -+ Sh $ liftBaseWith $ \runInBase -> f $ \k ->
123 -+ runInBase $ unSh k
124 -+ restoreM = Sh . restoreM
125 -+#else
126 - newtype StM Sh a = StMSh (StM (ReaderT (IORef State) IO) a)
127 - liftBaseWith f =
128 - Sh $ liftBaseWith $ \runInBase -> f $ \k ->
129 - liftM StMSh $ runInBase $ unSh k
130 - restoreM (StMSh m) = Sh . restoreM $ m
131 -+#endif
132 -
133 - instance Catch.MonadThrow Sh where
134 - throwM = liftIO . Catch.throwM
135
136 diff --git a/dev-haskell/shelly/files/shelly-1.6.5-ghc-8.patch b/dev-haskell/shelly/files/shelly-1.6.5-ghc-8.patch
137 deleted file mode 100644
138 index 75d56220e38..00000000000
139 --- a/dev-haskell/shelly/files/shelly-1.6.5-ghc-8.patch
140 +++ /dev/null
141 @@ -1,16 +0,0 @@
142 -diff --git a/src/Shelly/Lifted.hs b/src/Shelly/Lifted.hs
143 -index 825201d..cdca61b 100644
144 ---- a/src/Shelly/Lifted.hs
145 -+++ b/src/Shelly/Lifted.hs
146 -@@ -2,4 +2,4 @@
147 - FlexibleInstances, FlexibleContexts, IncoherentInstances,
148 -- TypeFamilies, ExistentialQuantification, RankNTypes,
149 -- ImpredicativeTypes #-}
150 -+ TypeFamilies, ExistentialQuantification, RankNTypes
151 -+ #-}
152 - {-# OPTIONS_GHC -fno-warn-orphans #-}
153 -@@ -299,3 +299,3 @@ instance (MonadShControl m, Monoid w)
154 - controlSh :: MonadShControl m => ((forall x. m x -> Sh (ShM m x)) -> Sh (ShM m a)) -> m a
155 --controlSh = liftShWith >=> restoreSh
156 -+controlSh r = liftShWith r >>= restoreSh
157 - {-# INLINE controlSh #-}
158
159 diff --git a/dev-haskell/shelly/files/shelly-1.6.8.1-ghc-8.0.2_rc1.patch b/dev-haskell/shelly/files/shelly-1.6.8.1-ghc-8.0.2_rc1.patch
160 deleted file mode 100644
161 index 078f979fd01..00000000000
162 --- a/dev-haskell/shelly/files/shelly-1.6.8.1-ghc-8.0.2_rc1.patch
163 +++ /dev/null
164 @@ -1,9 +0,0 @@
165 -diff --git a/src/Shelly/Pipe.hs b/src/Shelly/Pipe.hs
166 -index 7fe7d98..cc5668d 100644
167 ---- a/src/Shelly/Pipe.hs
168 -+++ b/src/Shelly/Pipe.hs
169 -@@ -121,3 +121,3 @@ import Data.Text as T hiding (concat, all, find, cons)
170 -
171 --default (T.Text)
172 -+-- default (T.Text)
173 -
174
175 diff --git a/dev-haskell/shelly/shelly-1.5.6-r1.ebuild b/dev-haskell/shelly/shelly-1.5.6-r1.ebuild
176 deleted file mode 100644
177 index 9620c6db8fd..00000000000
178 --- a/dev-haskell/shelly/shelly-1.5.6-r1.ebuild
179 +++ /dev/null
180 @@ -1,39 +0,0 @@
181 -# Copyright 1999-2019 Gentoo Authors
182 -# Distributed under the terms of the GNU General Public License v2
183 -
184 -EAPI=5
185 -
186 -# ebuild generated by hackport 0.4.4.9999
187 -
188 -CABAL_FEATURES="lib profile haddock hoogle hscolour"
189 -inherit base haskell-cabal
190 -
191 -DESCRIPTION="shell-like (systems) programming in Haskell"
192 -HOMEPAGE="https://github.com/yesodweb/Shelly.hs"
193 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
194 -
195 -LICENSE="BSD"
196 -SLOT="0/${PV}"
197 -KEYWORDS="~amd64 ~x86"
198 -IUSE=""
199 -
200 -RDEPEND="dev-haskell/async:=[profile?]
201 - dev-haskell/enclosed-exceptions:=[profile?]
202 - >=dev-haskell/exceptions-0.6:=[profile?] <dev-haskell/exceptions-0.7:=[profile?]
203 - dev-haskell/lifted-async:=[profile?]
204 - dev-haskell/lifted-base:=[profile?]
205 - >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
206 - >=dev-haskell/mtl-2:=[profile?]
207 - <dev-haskell/system-fileio-0.4:=[profile?]
208 - >=dev-haskell/system-filepath-0.4.7:=[profile?] <dev-haskell/system-filepath-0.5:=[profile?]
209 - dev-haskell/text:=[profile?]
210 - dev-haskell/transformers:=[profile?]
211 - dev-haskell/transformers-base:=[profile?]
212 - <dev-haskell/unix-compat-0.5:=[profile?]
213 - >=dev-lang/ghc-7.4.1:=
214 -"
215 -DEPEND="${RDEPEND}
216 - >=dev-haskell/cabal-1.8
217 -"
218 -
219 -PATCHES=("${FILESDIR}/${PN}-1.5.6-monad-control-1.1.patch")
220
221 diff --git a/dev-haskell/shelly/shelly-1.6.5.ebuild b/dev-haskell/shelly/shelly-1.6.5.ebuild
222 deleted file mode 100644
223 index 8f5f1da427b..00000000000
224 --- a/dev-haskell/shelly/shelly-1.6.5.ebuild
225 +++ /dev/null
226 @@ -1,45 +0,0 @@
227 -# Copyright 1999-2019 Gentoo Authors
228 -# Distributed under the terms of the GNU General Public License v2
229 -
230 -EAPI=5
231 -
232 -# ebuild generated by hackport 0.4.6.9999
233 -
234 -CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
235 -inherit haskell-cabal
236 -
237 -DESCRIPTION="shell-like (systems) programming in Haskell"
238 -HOMEPAGE="https://github.com/yesodweb/Shelly.hs"
239 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
240 -
241 -LICENSE="BSD"
242 -SLOT="0/${PV}"
243 -KEYWORDS="~amd64 ~x86"
244 -IUSE="lifted"
245 -
246 -RDEPEND="dev-haskell/async:=[profile?]
247 - dev-haskell/enclosed-exceptions:=[profile?]
248 - >=dev-haskell/exceptions-0.6:=[profile?] <dev-haskell/exceptions-0.9:=[profile?]
249 - dev-haskell/lifted-async:=[profile?]
250 - dev-haskell/lifted-base:=[profile?]
251 - >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
252 - >=dev-haskell/mtl-2:=[profile?]
253 - <dev-haskell/system-fileio-0.4:=[profile?]
254 - >=dev-haskell/system-filepath-0.4.7:=[profile?] <dev-haskell/system-filepath-0.5:=[profile?]
255 - dev-haskell/text:=[profile?]
256 - dev-haskell/transformers:=[profile?]
257 - dev-haskell/transformers-base:=[profile?]
258 - <dev-haskell/unix-compat-0.5:=[profile?]
259 - >=dev-lang/ghc-7.4.1:=
260 -"
261 -DEPEND="${RDEPEND}
262 - >=dev-haskell/cabal-1.8
263 - test? ( >=dev-haskell/hspec-1.5
264 - >=dev-haskell/hunit-1.2
265 - >=dev-haskell/text-0.11 )
266 -"
267 -
268 -src_configure() {
269 - haskell-cabal_src_configure \
270 - $(cabal_flag lifted lifted)
271 -}
272
273 diff --git a/dev-haskell/shelly/shelly-1.6.6.ebuild b/dev-haskell/shelly/shelly-1.6.6.ebuild
274 deleted file mode 100644
275 index fde63b69885..00000000000
276 --- a/dev-haskell/shelly/shelly-1.6.6.ebuild
277 +++ /dev/null
278 @@ -1,53 +0,0 @@
279 -# Copyright 1999-2019 Gentoo Authors
280 -# Distributed under the terms of the GNU General Public License v2
281 -
282 -EAPI=6
283 -
284 -# ebuild generated by hackport 0.4.7.9999
285 -
286 -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
287 -inherit haskell-cabal
288 -
289 -DESCRIPTION="shell-like (systems) programming in Haskell"
290 -HOMEPAGE="https://github.com/yesodweb/Shelly.hs"
291 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
292 -
293 -LICENSE="BSD"
294 -SLOT="0/${PV}"
295 -KEYWORDS="~amd64 ~x86"
296 -IUSE="lifted"
297 -
298 -RDEPEND="dev-haskell/async:=[profile?]
299 - dev-haskell/enclosed-exceptions:=[profile?]
300 - >=dev-haskell/exceptions-0.6:=[profile?] <dev-haskell/exceptions-0.9:=[profile?]
301 - dev-haskell/lifted-async:=[profile?]
302 - dev-haskell/lifted-base:=[profile?]
303 - >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
304 - >=dev-haskell/mtl-2:=[profile?]
305 - <dev-haskell/system-fileio-0.4:=[profile?]
306 - >=dev-haskell/system-filepath-0.4.7:=[profile?] <dev-haskell/system-filepath-0.5:=[profile?]
307 - dev-haskell/text:=[profile?]
308 - dev-haskell/transformers:=[profile?]
309 - dev-haskell/transformers-base:=[profile?]
310 - <dev-haskell/unix-compat-0.5:=[profile?]
311 - >=dev-lang/ghc-7.4.1:=
312 -"
313 -DEPEND="${RDEPEND}
314 - >=dev-haskell/cabal-1.8
315 - test? ( >=dev-haskell/hspec-1.5
316 - >=dev-haskell/hunit-1.2
317 - >=dev-haskell/text-0.11 )
318 -"
319 -
320 -PATCHES=("${FILESDIR}"/${PN}-1.6.5-ghc-8.patch)
321 -
322 -src_prepare() {
323 - cabal_chdeps \
324 - 'time >= 1.3 && < 1.6' 'time >= 1.3'
325 - default
326 -}
327 -
328 -src_configure() {
329 - haskell-cabal_src_configure \
330 - $(cabal_flag lifted lifted)
331 -}
332
333 diff --git a/dev-haskell/shelly/shelly-1.6.8.1.ebuild b/dev-haskell/shelly/shelly-1.6.8.1.ebuild
334 deleted file mode 100644
335 index 3a938c2007c..00000000000
336 --- a/dev-haskell/shelly/shelly-1.6.8.1.ebuild
337 +++ /dev/null
338 @@ -1,55 +0,0 @@
339 -# Copyright 1999-2019 Gentoo Authors
340 -# Distributed under the terms of the GNU General Public License v2
341 -
342 -EAPI=6
343 -
344 -# ebuild generated by hackport 0.5.9999
345 -#hackport: flags: build-examples:examples
346 -
347 -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
348 -inherit haskell-cabal
349 -
350 -DESCRIPTION="shell-like (systems) programming in Haskell"
351 -HOMEPAGE="https://github.com/yesodweb/Shelly.hs"
352 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
353 -
354 -LICENSE="BSD"
355 -SLOT="0/${PV}"
356 -KEYWORDS="~amd64 ~x86"
357 -IUSE="examples lifted"
358 -
359 -RDEPEND="dev-haskell/async:=[profile?]
360 - dev-haskell/enclosed-exceptions:=[profile?]
361 - >=dev-haskell/exceptions-0.6:=[profile?] <dev-haskell/exceptions-0.9:=[profile?]
362 - dev-haskell/lifted-async:=[profile?]
363 - dev-haskell/lifted-base:=[profile?]
364 - >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
365 - >=dev-haskell/mtl-2:=[profile?]
366 - <dev-haskell/system-fileio-0.4:=[profile?]
367 - >=dev-haskell/system-filepath-0.4.7:=[profile?] <dev-haskell/system-filepath-0.5:=[profile?]
368 - dev-haskell/text:=[profile?]
369 - dev-haskell/transformers-base:=[profile?]
370 - <dev-haskell/unix-compat-0.5:=[profile?]
371 - >=dev-lang/ghc-7.8.2:=
372 -"
373 -DEPEND="${RDEPEND}
374 - >=dev-haskell/cabal-1.18.1.3
375 - test? ( >=dev-haskell/hspec-1.5
376 - >=dev-haskell/hunit-1.2
377 - >=dev-haskell/text-0.11 )
378 -"
379 -
380 -PATCHES=("${FILESDIR}"/${P}-ghc-8.0.2_rc1.patch)
381 -
382 -src_prepare() {
383 - default
384 -
385 - cabal_chdeps \
386 - 'directory >= 1.1.0.0 && < 1.3.0.0' 'directory >= 1.1.0.0'
387 -}
388 -
389 -src_configure() {
390 - haskell-cabal_src_configure \
391 - $(cabal_flag examples build-examples) \
392 - $(cabal_flag lifted lifted)
393 -}