1 |
commit: b9154cdff3e9db5db2f0f8bbbba52aa8a4d3cfea |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 7 22:01:53 2017 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 7 22:03:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9154cdf |
7 |
|
8 |
dev-haskell/frown: drop old, bug #608534 |
9 |
|
10 |
Old version lacked Cabal depend. That caused |
11 |
unusual build failure: |
12 |
|
13 |
<command line>: cannot satisfy -package Cabal- |
14 |
(use -v for more information) |
15 |
|
16 |
Reported-by: Toralf Förster |
17 |
Bug: https://bugs.gentoo.org/608534 |
18 |
|
19 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
20 |
|
21 |
dev-haskell/frown/Manifest | 1 - |
22 |
dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch | 139 -------- |
23 |
dev-haskell/frown/files/frown-0.6.1-ghc74.patch | 396 --------------------- |
24 |
dev-haskell/frown/frown-0.6.1-r1.ebuild | 32 -- |
25 |
4 files changed, 568 deletions(-) |
26 |
|
27 |
diff --git a/dev-haskell/frown/Manifest b/dev-haskell/frown/Manifest |
28 |
index 2b89724..cf6d8d2 100644 |
29 |
--- a/dev-haskell/frown/Manifest |
30 |
+++ b/dev-haskell/frown/Manifest |
31 |
@@ -1,2 +1 @@ |
32 |
-DIST frown-0.6.1.tar.gz 1291807 SHA256 bfb5a7a84527624a605342cf739ebbef078a25721ca5af4fb7998590d76a9c05 SHA512 015f65afabde7061318bbd66c79ad064a44774afd9bcf161c842984128679f24c1e91e7de067a14833bd4b69d51906d825e453a02b9c0dd38b13b2a7432a9693 WHIRLPOOL fde918658a1664222b4b37953efabcdbf074c9280c898a39ca1ed0a08b740e2304760a2f08d6c1953f35cfb00a2cbb76690731c4e1a11ac591be93ac620658eb |
33 |
DIST frown-0.6.2.3.tar.gz 1269219 SHA256 fcca75244343a976a397f7d50687a80d41192e9eaa47d77799d11892f5fe400c SHA512 a9166dd723db2836214704f1837b9629af03bc1aa5bdeed8a58eedca7a91140ba21db8d7be2884bc13b9f35346704329980bec44d253fa53c33f71e68160a963 WHIRLPOOL 3f8dcbb9506a720cd5951ac65912f77da94c2dcd914a266da9171d06d5dd9864b03782ced69dcfbc7090d84c4d6dc2da2e782a3cff0369c9d0499dce7f0ad13d |
34 |
|
35 |
diff --git a/dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch b/dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch |
36 |
deleted file mode 100644 |
37 |
index 119f226..00000000 |
38 |
--- a/dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch |
39 |
+++ /dev/null |
40 |
@@ -1,139 +0,0 @@ |
41 |
-diff --git a/Base.lhs b/Base.lhs |
42 |
-index c26e048..46c68de 100644 |
43 |
---- a/Base.lhs |
44 |
-+++ b/Base.lhs |
45 |
-@@ -38,3 +38,4 @@ |
46 |
- > import Prettier |
47 |
--> import Control.Monad ( MonadPlus(..) ) |
48 |
-+> import Control.Applicative |
49 |
-+> import Control.Monad |
50 |
- > import System.IO |
51 |
-@@ -117,2 +118,9 @@ A simple exception monad. |
52 |
- |
53 |
-+> instance Functor Result where |
54 |
-+> fmap = liftM |
55 |
-+ |
56 |
-+> instance Applicative Result where |
57 |
-+> pure = return |
58 |
-+> (<*>) = ap -- defined in Control.Monad |
59 |
-+ |
60 |
- > instance Monad Result where |
61 |
-@@ -123,2 +131,6 @@ A simple exception monad. |
62 |
- |
63 |
-+> instance Alternative Result where |
64 |
-+> (<|>) = mplus |
65 |
-+> empty = mzero |
66 |
-+ |
67 |
- > instance MonadPlus Result where |
68 |
-diff --git a/Compact.lhs b/Compact.lhs |
69 |
-index 6886a6a..84f125c 100644 |
70 |
---- a/Compact.lhs |
71 |
-+++ b/Compact.lhs |
72 |
-@@ -54,3 +54,3 @@ |
73 |
- > import Data.Maybe |
74 |
--> import Prelude hiding ( lookup ) |
75 |
-+> import Prelude hiding ( lookup, (<$>) ) |
76 |
- |
77 |
-diff --git a/Convert.lhs b/Convert.lhs |
78 |
-index 01d2c32..d31f437 100644 |
79 |
---- a/Convert.lhs |
80 |
-+++ b/Convert.lhs |
81 |
-@@ -50,2 +50,3 @@ |
82 |
- > import Control.Monad |
83 |
-+> import Control.Applicative |
84 |
- > import System.IO hiding ( isEOF ) |
85 |
-@@ -235,2 +235,9 @@ Writer monad for collecting multiple error messages. |
86 |
- |
87 |
-+> instance Functor (Writer w) where |
88 |
-+> fmap = liftM |
89 |
-+ |
90 |
-+> instance Applicative (Writer w) where |
91 |
-+> pure = return |
92 |
-+> (<*>) = ap -- defined in Control.Monad |
93 |
-+ |
94 |
- > instance Monad (Writer w) where |
95 |
-diff --git a/GParser2.hs b/GParser2.hs |
96 |
-index 0cb4c21..1597acc 100644 |
97 |
---- a/GParser2.hs |
98 |
-+++ b/GParser2.hs |
99 |
-@@ -41,2 +41,5 @@ |
100 |
- where |
101 |
-+ import Prelude hiding ((<$>)) |
102 |
-+ import Control.Applicative hiding ((<$>)) |
103 |
-+ import Control.Monad hiding ( guard ) |
104 |
- import Lexer2 |
105 |
-@@ -2130,3 +2133,10 @@ |
106 |
- -> m Answer) } |
107 |
-- |
108 |
-+ |
109 |
-+ instance (Monad m) => Functor (Lex m) where |
110 |
-+ fmap = liftM |
111 |
-+ |
112 |
-+ instance (Monad m) => Applicative (Lex m) where |
113 |
-+ pure = return |
114 |
-+ (<*>) = ap -- defined in Control.Monad |
115 |
-+ |
116 |
- instance (Monad m) => Monad (Lex m) where |
117 |
-diff --git a/GParser2.lg b/GParser2.lg |
118 |
-index e036f8f..800e245 100644 |
119 |
---- a/GParser2.lg |
120 |
-+++ b/GParser2.lg |
121 |
-@@ -41,2 +41,5 @@ Compile me with |
122 |
- > where |
123 |
-+> import Prelude hiding ((<$>)) |
124 |
-+> import Control.Applicative hiding ((<$>)) |
125 |
-+> import Control.Monad hiding ( guard ) |
126 |
- > import Lexer2 |
127 |
-@@ -354,2 +357,10 @@ A continuation-based state monad. |
128 |
- > |
129 |
-+ |
130 |
-+> instance (Monad m) => Functor (Lex m) where |
131 |
-+> fmap = liftM |
132 |
-+ |
133 |
-+> instance (Monad m) => Applicative (Lex m) where |
134 |
-+> pure = return |
135 |
-+> (<*>) = ap -- defined in Control.Monad |
136 |
-+ |
137 |
- > instance (Monad m) => Monad (Lex m) where |
138 |
-diff --git a/GVStack.lhs b/GVStack.lhs |
139 |
-index acb5d96..3869493 100644 |
140 |
---- a/GVStack.lhs |
141 |
-+++ b/GVStack.lhs |
142 |
-@@ -51,3 +51,3 @@ |
143 |
- > import Data.List ( maximumBy ) |
144 |
--> import Prelude hiding ( lookup ) |
145 |
-+> import Prelude hiding ( lookup, (<$>) ) |
146 |
- |
147 |
-diff --git a/Lib/OrdUniqListSet.lhs b/Lib/OrdUniqListSet.lhs |
148 |
-index ddb8629..decf65d 100644 |
149 |
---- a/Lib/OrdUniqListSet.lhs |
150 |
-+++ b/Lib/OrdUniqListSet.lhs |
151 |
-@@ -63,2 +63,3 @@ |
152 |
- > import Control.Monad |
153 |
-+> import Control.Applicative (Applicative, pure, (<*>)) |
154 |
- |
155 |
-@@ -114,2 +114,6 @@ Yes, \tr{Set} is a functor and a monad. |
156 |
- > |
157 |
-+> instance Applicative Set where |
158 |
-+> pure = return |
159 |
-+> (<*>) = ap -- defined in Control.Monad |
160 |
-+> |
161 |
- > instance Monad Set where |
162 |
-diff --git a/Stackless.lhs b/Stackless.lhs |
163 |
-index 2fb1a97..dac8ef5 100644 |
164 |
---- a/Stackless.lhs |
165 |
-+++ b/Stackless.lhs |
166 |
-@@ -53,3 +53,3 @@ |
167 |
- > import Control.Monad |
168 |
--> import Prelude hiding ( lookup ) |
169 |
-+> import Prelude hiding ( lookup, (<$>) ) |
170 |
- |
171 |
-diff --git a/Standard.lhs b/Standard.lhs |
172 |
-index 9fb5305..c3fcbb0 100644 |
173 |
---- a/Standard.lhs |
174 |
-+++ b/Standard.lhs |
175 |
-@@ -52,3 +52,3 @@ |
176 |
- > import Data.Maybe |
177 |
--> import Prelude hiding ( lookup ) |
178 |
-+> import Prelude hiding ( lookup, (<$>) ) |
179 |
- |
180 |
|
181 |
diff --git a/dev-haskell/frown/files/frown-0.6.1-ghc74.patch b/dev-haskell/frown/files/frown-0.6.1-ghc74.patch |
182 |
deleted file mode 100644 |
183 |
index 0d4e2a1..00000000 |
184 |
--- a/dev-haskell/frown/files/frown-0.6.1-ghc74.patch |
185 |
+++ /dev/null |
186 |
@@ -1,396 +0,0 @@ |
187 |
-diff --git a/Base.lhs b/Base.lhs |
188 |
-index bbd9df5..c26e048 100644 |
189 |
---- a/Base.lhs |
190 |
-+++ b/Base.lhs |
191 |
-@@ -36,9 +36,9 @@ |
192 |
- > where |
193 |
- > |
194 |
- > import Prettier |
195 |
--> import Monad ( MonadPlus(..) ) |
196 |
--> import IO |
197 |
--> import System |
198 |
-+> import Control.Monad ( MonadPlus(..) ) |
199 |
-+> import System.IO |
200 |
-+> import System.Exit |
201 |
- |
202 |
- %------------------------------------------------------------------------------- |
203 |
- \subsection{List utilities} |
204 |
-diff --git a/Case.lhs b/Case.lhs |
205 |
-index 6558614..cbe87c0 100644 |
206 |
---- a/Case.lhs |
207 |
-+++ b/Case.lhs |
208 |
-@@ -45,10 +45,10 @@ |
209 |
- > import MergeSort |
210 |
- > import Base |
211 |
- > import Options |
212 |
--> import Maybe |
213 |
--> import IO |
214 |
--> import Monad |
215 |
--> import List ( partition ) |
216 |
-+> import Data.Maybe |
217 |
-+> import System.IO |
218 |
-+> import Control.Monad |
219 |
-+> import Data.List ( partition ) |
220 |
- > import Prelude hiding ( lookup ) |
221 |
- |
222 |
- %-------------------------------= -------------------------------------------- |
223 |
-@@ -347,4 +347,4 @@ More lookahead. |
224 |
- > actions' :: Symbol -> Past -> Past |
225 |
- > actions' x (Node es ts) = Node [ a{ future = f } | a <- es |
226 |
- > , Just f <- [lookup (future a) x] ] |
227 |
--> [ (e, actions' x t) | (e, t) <- ts ] |
228 |
-\ No newline at end of file |
229 |
-+> [ (e, actions' x t) | (e, t) <- ts ] |
230 |
-diff --git a/Compact.lhs b/Compact.lhs |
231 |
-index f878a06..6886a6a 100644 |
232 |
---- a/Compact.lhs |
233 |
-+++ b/Compact.lhs |
234 |
-@@ -49,9 +49,9 @@ |
235 |
- > import Base |
236 |
- > import Generate |
237 |
- > import MergeSort |
238 |
--> import Char |
239 |
--> import IO |
240 |
--> import Maybe |
241 |
-+> import Data.Char |
242 |
-+> import System.IO |
243 |
-+> import Data.Maybe |
244 |
- > import Prelude hiding ( lookup ) |
245 |
- |
246 |
- %-------------------------------= -------------------------------------------- |
247 |
-@@ -444,4 +444,4 @@ Names. |
248 |
- |
249 |
- > wrap s = prefix opts ++ s ++ suffix opts |
250 |
- > wrap_var s = var (wrap s) |
251 |
--> wrap_con s = con (wrap s) |
252 |
-\ No newline at end of file |
253 |
-+> wrap_con s = con (wrap s) |
254 |
-diff --git a/Convert.lhs b/Convert.lhs |
255 |
-index 6b7d836..01d2c32 100644 |
256 |
---- a/Convert.lhs |
257 |
-+++ b/Convert.lhs |
258 |
-@@ -42,13 +42,13 @@ |
259 |
- > import OrdUniqListSet ( Set, MinView(Empty, Min) ) -- for nhc98 |
260 |
- > import Atom hiding ( string ) |
261 |
- > import Haskell hiding ( Empty, Decl, guard ) |
262 |
--> import Maybe |
263 |
--> import List |
264 |
-+> import Data.Maybe |
265 |
-+> import Data.List |
266 |
- > import Base |
267 |
- > import Prettier hiding ( concat, intersperse ) |
268 |
- > import qualified Prettier as PP |
269 |
--> import Monad |
270 |
--> import IO hiding ( isEOF ) |
271 |
-+> import Control.Monad |
272 |
-+> import System.IO hiding ( isEOF ) |
273 |
- > import Options |
274 |
- |
275 |
- > newEOF :: Ident |
276 |
-@@ -361,4 +361,4 @@ Instance of a rule scheme. |
277 |
- > | terminal w = w |
278 |
- > | otherwise = case lookup w bindings of |
279 |
- > Just w' -> w' { attributes = attributes w } |
280 |
--> Nothing -> updateArgs w (map substitute (arguments w)) |
281 |
-\ No newline at end of file |
282 |
-+> Nothing -> updateArgs w (map substitute (arguments w)) |
283 |
-diff --git a/GParser2.hs b/GParser2.hs |
284 |
-index 9d04100..0cb4c21 100644 |
285 |
---- a/GParser2.hs |
286 |
-+++ b/GParser2.hs |
287 |
-@@ -47,9 +47,9 @@ |
288 |
- import qualified Base |
289 |
- import Prettier ( Pretty ) |
290 |
- import Options |
291 |
-- import Char |
292 |
-- import List |
293 |
-- import IO |
294 |
-+ import Data.Char hiding ( isSymbol ) |
295 |
-+ import Data.List |
296 |
-+ import System.IO |
297 |
- |
298 |
- |
299 |
- |
300 |
-@@ -2258,4 +2258,4 @@ |
301 |
- where verb = verbose opts |
302 |
- |
303 |
- run :: (Monad m) => Lex m Answer -> (String -> m Answer) |
304 |
-- run parser inp = unLex parser (\a _ _ _ _ -> return a) False inp 1 (take 1 (lines inp)) |
305 |
-\ No newline at end of file |
306 |
-+ run parser inp = unLex parser (\a _ _ _ _ -> return a) False inp 1 (take 1 (lines inp)) |
307 |
-diff --git a/GVStack.lhs b/GVStack.lhs |
308 |
-index f5968ad..acb5d96 100644 |
309 |
---- a/GVStack.lhs |
310 |
-+++ b/GVStack.lhs |
311 |
-@@ -45,10 +45,10 @@ |
312 |
- > import Options |
313 |
- > import Base |
314 |
- > import Generate |
315 |
--> import IO |
316 |
--> import Monad |
317 |
--> import Char |
318 |
--> import List ( maximumBy ) |
319 |
-+> import System.IO |
320 |
-+> import Control.Monad |
321 |
-+> import Data.Char |
322 |
-+> import Data.List ( maximumBy ) |
323 |
- > import Prelude hiding ( lookup ) |
324 |
- |
325 |
- %-------------------------------= -------------------------------------------- |
326 |
-diff --git a/Generate.lhs b/Generate.lhs |
327 |
-index 74d7335..3b7284f 100644 |
328 |
---- a/Generate.lhs |
329 |
-+++ b/Generate.lhs |
330 |
-@@ -43,7 +43,7 @@ |
331 |
- > import OrdUniqListSet ( Set ) |
332 |
- > import Base |
333 |
- > --import Char ( toLower, toUpper ) |
334 |
--> import List ( intersperse ) |
335 |
-+> import Data.List ( intersperse ) |
336 |
- |
337 |
- Symbols. |
338 |
- |
339 |
-diff --git a/Haskell.lhs b/Haskell.lhs |
340 |
-index aba2831..74f7bec 100644 |
341 |
---- a/Haskell.lhs |
342 |
-+++ b/Haskell.lhs |
343 |
-@@ -35,7 +35,7 @@ |
344 |
- > import Atom hiding ( string ) |
345 |
- > import qualified Atom |
346 |
- > import Prettier |
347 |
--> import Char |
348 |
-+> import Data.Char |
349 |
- > import Prelude hiding ( concat ) |
350 |
- |
351 |
- %-------------------------------= -------------------------------------------- |
352 |
-diff --git a/LR0.lhs b/LR0.lhs |
353 |
-index 0a16123..60bb002 100644 |
354 |
---- a/LR0.lhs |
355 |
-+++ b/LR0.lhs |
356 |
-@@ -45,7 +45,7 @@ |
357 |
- > import Base hiding ( list ) |
358 |
- > import qualified Base |
359 |
- > import Prelude hiding ( null ) |
360 |
--> import IO |
361 |
-+> import System.IO |
362 |
- > import Options |
363 |
- |
364 |
- %-------------------------------= -------------------------------------------- |
365 |
-@@ -269,4 +269,4 @@ State |0| is the error or trap state and the goto state for start |
366 |
- productions such as |Start# : Start, EOF;|. |
367 |
- |
368 |
- > errorState :: State |
369 |
--> errorState = State 0 (Set.empty :\/ Set.empty) |
370 |
-\ No newline at end of file |
371 |
-+> errorState = State 0 (Set.empty :\/ Set.empty) |
372 |
-diff --git a/Lexer2.lhs b/Lexer2.lhs |
373 |
-index af55186..3bb1e33 100644 |
374 |
---- a/Lexer2.lhs |
375 |
-+++ b/Lexer2.lhs |
376 |
-@@ -35,9 +35,9 @@ |
377 |
- > module Lexer2 |
378 |
- > where |
379 |
- > import Prelude |
380 |
--> import Char |
381 |
--> import IO |
382 |
--> import Monad |
383 |
-+> import Data.Char |
384 |
-+> import System.IO |
385 |
-+> import Control.Monad |
386 |
- > import Base |
387 |
- > import Options |
388 |
- |
389 |
-@@ -156,4 +156,4 @@ |
390 |
- |
391 |
- > isSymbol, isIdChar :: Char -> Bool |
392 |
- > isSymbol c = c `elem` "!@#$%&*+./<=>?\\^|:-~" |
393 |
--> isIdChar c = isAlphaNum c || c `elem` "_'" |
394 |
-\ No newline at end of file |
395 |
-+> isIdChar c = isAlphaNum c || c `elem` "_'" |
396 |
-diff --git a/Lib/OrdUniqListFM.lhs b/Lib/OrdUniqListFM.lhs |
397 |
-index 1419028..4e2eea5 100644 |
398 |
---- a/Lib/OrdUniqListFM.lhs |
399 |
-+++ b/Lib/OrdUniqListFM.lhs |
400 |
-@@ -64,8 +64,8 @@ |
401 |
- > import qualified OrdUniqList as OUL |
402 |
- > import MergeSort ( mergeSort ) |
403 |
- > import Prettier hiding ( empty ) |
404 |
--> import qualified List |
405 |
--> import Maybe ( fromMaybe ) |
406 |
-+> import qualified Data.List as List |
407 |
-+> import Data.Maybe ( fromMaybe ) |
408 |
- |
409 |
- > infixl 9 ! |
410 |
- > infixl 9 // |
411 |
-@@ -292,4 +292,4 @@ The list argument of |fromList_C| need not be functional. |
412 |
- @prefixLookup@ returns the list of all completions of the given list. |
413 |
- |
414 |
- prefixLookup :: Ord a => FM [a] b -> [a] -> [([a], b)] |
415 |
-- prefixLookup (FM f) s = [ b | Assoc b@(a, _)<-f, s `isPrefixOf` a ] |
416 |
-\ No newline at end of file |
417 |
-+ prefixLookup (FM f) s = [ b | Assoc b@(a, _)<-f, s `isPrefixOf` a ] |
418 |
-diff --git a/Lib/OrdUniqListSet.lhs b/Lib/OrdUniqListSet.lhs |
419 |
-index 66eba10..ddb8629 100644 |
420 |
---- a/Lib/OrdUniqListSet.lhs |
421 |
-+++ b/Lib/OrdUniqListSet.lhs |
422 |
-@@ -59,8 +59,8 @@ |
423 |
- > import qualified Prelude |
424 |
- > import qualified OrdUniqList as OUL |
425 |
- > import Prettier hiding ( empty ) |
426 |
--> import qualified List |
427 |
--> import Monad |
428 |
-+> import qualified Data.List as List |
429 |
-+> import Control.Monad |
430 |
- |
431 |
- %------------------------------------------------------------------------------- |
432 |
- \subsection{Type definitions and instance declarations} |
433 |
-diff --git a/Lookahead.lhs b/Lookahead.lhs |
434 |
-index ba23a5d..5c0fb31 100644 |
435 |
---- a/Lookahead.lhs |
436 |
-+++ b/Lookahead.lhs |
437 |
-@@ -42,9 +42,9 @@ |
438 |
- > import qualified Prettier as PP |
439 |
- > import Base |
440 |
- > import Options |
441 |
--> import IO |
442 |
--> import Maybe |
443 |
--> import Monad ( when ) |
444 |
-+> import System.IO |
445 |
-+> import Data.Maybe |
446 |
-+> import Control.Monad ( when ) |
447 |
- |
448 |
- %-------------------------------= -------------------------------------------- |
449 |
- \section{Grouping of actions} |
450 |
-diff --git a/Main.lhs b/Main.lhs |
451 |
-index b9b2a2e..98af968 100644 |
452 |
---- a/Main.lhs |
453 |
-+++ b/Main.lhs |
454 |
-@@ -53,11 +53,12 @@ Compile me with |
455 |
- > import Prettier hiding ( string, concat ) |
456 |
- > import qualified Prettier as PP |
457 |
- > import qualified SearchTree as ST |
458 |
--> import Monad ( when ) |
459 |
--> import Directory |
460 |
--> import IO |
461 |
--> import System |
462 |
-+> import Control.Monad ( when ) |
463 |
-+> import System.Directory |
464 |
- > import System.Console.GetOpt |
465 |
-+> import System.Exit |
466 |
-+> import System.Environment |
467 |
-+> import System.IO |
468 |
- |
469 |
- %-------------------------------= -------------------------------------------- |
470 |
- \section{The main program} |
471 |
-@@ -689,4 +690,4 @@ o Introduce abbreviations for patterns (as in Happy): |
472 |
- | let add op = ADDOP (op :: Addop) |
473 |
- | let id s = IDENT (s :: String); |
474 |
- |
475 |
-- |add op| serves as an abbreviation for |ADDOP op|. |
476 |
-\ No newline at end of file |
477 |
-+ |add op| serves as an abbreviation for |ADDOP op|. |
478 |
-diff --git a/Options.lhs b/Options.lhs |
479 |
-index a0e559f..ece780d 100644 |
480 |
---- a/Options.lhs |
481 |
-+++ b/Options.lhs |
482 |
-@@ -33,8 +33,8 @@ |
483 |
- > where |
484 |
- > import Base |
485 |
- > import System.Console.GetOpt |
486 |
--> import Char |
487 |
--> import IO |
488 |
-+> import Data.Char |
489 |
-+> import System.IO |
490 |
- |
491 |
- %-------------------------------= -------------------------------------------- |
492 |
- \section{Command line options} |
493 |
-@@ -149,4 +149,4 @@ |
494 |
- > | otherwise = Signature False |
495 |
- |
496 |
- > (<<) :: String -> String -> Bool |
497 |
--> s << t = map toLower s `isPrefix` map toLower t |
498 |
-\ No newline at end of file |
499 |
-+> s << t = map toLower s `isPrefix` map toLower t |
500 |
-diff --git a/SearchTree.lhs b/SearchTree.lhs |
501 |
-index 85755d4..d1c58ba 100644 |
502 |
---- a/SearchTree.lhs |
503 |
-+++ b/SearchTree.lhs |
504 |
-@@ -32,7 +32,7 @@ |
505 |
- > , length, lookup, unsafeLookup ) |
506 |
- > where |
507 |
- > import MergeSort ( mergeSortBy ) |
508 |
--> import Maybe ( fromMaybe ) |
509 |
-+> import Data.Maybe ( fromMaybe ) |
510 |
- > import Prelude hiding ( length, lookup ) |
511 |
- > import qualified Prelude |
512 |
- |
513 |
-@@ -99,4 +99,4 @@ Lookup. |
514 |
- |
515 |
- |
516 |
- > unsafeLookup :: (Ord a, Show a) => FM a v -> a -> v |
517 |
--> unsafeLookup fm a = fromMaybe (error ("unsafeLookup: key not found: " ++ show a)) (lookup fm a) |
518 |
-\ No newline at end of file |
519 |
-+> unsafeLookup fm a = fromMaybe (error ("unsafeLookup: key not found: " ++ show a)) (lookup fm a) |
520 |
-diff --git a/Stackless.lhs b/Stackless.lhs |
521 |
-index 106b8f3..2fb1a97 100644 |
522 |
---- a/Stackless.lhs |
523 |
-+++ b/Stackless.lhs |
524 |
-@@ -47,10 +47,10 @@ |
525 |
- > import Base |
526 |
- > import Generate |
527 |
- > import MergeSort |
528 |
--> import Char |
529 |
--> import Maybe |
530 |
--> import IO |
531 |
--> import Monad |
532 |
-+> import Data.Char |
533 |
-+> import Data.Maybe |
534 |
-+> import System.IO |
535 |
-+> import Control.Monad |
536 |
- > import Prelude hiding ( lookup ) |
537 |
- |
538 |
- Characteristics. |
539 |
-@@ -311,4 +311,4 @@ Names. |
540 |
- |
541 |
- > wrap s = prefix opts ++ s ++ suffix opts |
542 |
- > wrap_var s = var (wrap s) |
543 |
--> wrap_con s = con (wrap s) |
544 |
-\ No newline at end of file |
545 |
-+> wrap_con s = con (wrap s) |
546 |
-diff --git a/Standard.lhs b/Standard.lhs |
547 |
-index 18bce59..9fb5305 100644 |
548 |
---- a/Standard.lhs |
549 |
-+++ b/Standard.lhs |
550 |
-@@ -47,9 +47,9 @@ |
551 |
- > import Options |
552 |
- > import Base |
553 |
- > import Generate |
554 |
--> import Char |
555 |
--> import IO |
556 |
--> import Maybe |
557 |
-+> import Data.Char |
558 |
-+> import System.IO |
559 |
-+> import Data.Maybe |
560 |
- > import Prelude hiding ( lookup ) |
561 |
- |
562 |
- Characteristics. |
563 |
-@@ -293,4 +293,4 @@ Names. |
564 |
- |
565 |
- > wrap s = prefix opts ++ s ++ suffix opts |
566 |
- > wrap_var s = var (wrap s) |
567 |
--> wrap_con s = con (wrap s) |
568 |
-\ No newline at end of file |
569 |
-+> wrap_con s = con (wrap s) |
570 |
-diff --git a/frown.cabal b/frown.cabal |
571 |
-index 19448ed..5a44fdf 100644 |
572 |
---- a/frown.cabal |
573 |
-+++ b/frown.cabal |
574 |
-@@ -2,7 +2,7 @@ Name: Frown |
575 |
- Version: 0.6 |
576 |
- License: GPL |
577 |
- Author: Ralf Hinze |
578 |
--Build-Depends: base, haskell98 |
579 |
-+Build-Depends: base, directory |
580 |
- Synopsis: A parser generator for Haskell |
581 |
- |
582 |
- Executable: frown |
583 |
|
584 |
diff --git a/dev-haskell/frown/frown-0.6.1-r1.ebuild b/dev-haskell/frown/frown-0.6.1-r1.ebuild |
585 |
deleted file mode 100644 |
586 |
index 97114cf..00000000 |
587 |
--- a/dev-haskell/frown/frown-0.6.1-r1.ebuild |
588 |
+++ /dev/null |
589 |
@@ -1,32 +0,0 @@ |
590 |
-# Copyright 1999-2015 Gentoo Foundation |
591 |
-# Distributed under the terms of the GNU General Public License v2 |
592 |
-# $Id$ |
593 |
- |
594 |
-EAPI="4" |
595 |
- |
596 |
-CABAL_FEATURES="bin" |
597 |
-inherit haskell-cabal |
598 |
- |
599 |
-DESCRIPTION="A parser generator for Haskell" |
600 |
-HOMEPAGE="http://www.informatik.uni-bonn.de/~ralf/frown/" |
601 |
-SRC_URI="http://www.informatik.uni-bonn.de/~ralf/frown/${P}.tar.gz" |
602 |
-LICENSE="GPL-2" |
603 |
-SLOT="0" |
604 |
-KEYWORDS="amd64 ppc ppc64 sparc x86" |
605 |
-IUSE="" |
606 |
- |
607 |
-DEPEND=">=dev-lang/ghc-6.2.2" |
608 |
-RDEPEND="" |
609 |
- |
610 |
-S="${WORKDIR}/Frown-${PV}" |
611 |
- |
612 |
-src_prepare() { |
613 |
- epatch "${FILESDIR}/${P}-ghc74.patch" |
614 |
- epatch "${FILESDIR}"/${P}-ghc-7.10.patch |
615 |
-} |
616 |
- |
617 |
-src_install() { |
618 |
- cabal_src_install |
619 |
- dohtml -r Manual/html |
620 |
- dodoc COPYRIGHT Manual/Manual.ps |
621 |
-} |