commit ghc-yi-language for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-yi-language for openSUSE:Factory checked in at 2017-08-31 21:02:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-yi-language (Old) and /work/SRC/openSUSE:Factory/.ghc-yi-language.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-yi-language" Thu Aug 31 21:02:38 2017 rev:3 rq:513558 version:0.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-yi-language/ghc-yi-language.changes 2017-07-06 00:00:17.340590617 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-yi-language.new/ghc-yi-language.changes 2017-08-31 21:02:40.962987511 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:07:40 UTC 2017 - psimons@suse.com + +- Update to version 0.14.0. + +------------------------------------------------------------------- Old: ---- yi-language-0.13.7.tar.gz New: ---- yi-language-0.14.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-yi-language.spec ++++++ --- /var/tmp/diff_new_pack.XmbD50/_old 2017-08-31 21:02:42.814727338 +0200 +++ /var/tmp/diff_new_pack.XmbD50/_new 2017-08-31 21:02:42.870719470 +0200 @@ -19,7 +19,7 @@ %global pkg_name yi-language %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.13.7 +Version: 0.14.0 Release: 0 Summary: Collection of language-related Yi libraries License: GPL-2.0+ ++++++ yi-language-0.13.7.tar.gz -> yi-language-0.14.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yi-language-0.13.7/src/Yi/Style/Library.hs new/yi-language-0.14.0/src/Yi/Style/Library.hs --- old/yi-language-0.13.7/src/Yi/Style/Library.hs 2017-06-14 18:26:30.000000000 +0200 +++ new/yi-language-0.14.0/src/Yi/Style/Library.hs 2017-06-19 21:00:18.000000000 +0200 @@ -3,7 +3,6 @@ import Yi.Style import Data.Prototype -import Data.Monoid type Theme = Proto UIStyle diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yi-language-0.13.7/src/Yi/Syntax.hs new/yi-language-0.14.0/src/Yi/Syntax.hs --- old/yi-language-0.13.7/src/Yi/Syntax.hs 2017-06-14 18:26:30.000000000 +0200 +++ new/yi-language-0.14.0/src/Yi/Syntax.hs 2017-06-19 21:00:18.000000000 +0200 @@ -33,8 +33,6 @@ import qualified Data.Map as M import Control.Arrow import Yi.Style -import Data.Foldable -import Data.Traversable import Yi.Buffer.Basic import Yi.Region diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yi-language-0.13.7/src/Yi/Utils.hs new/yi-language-0.14.0/src/Yi/Utils.hs --- old/yi-language-0.13.7/src/Yi/Utils.hs 2017-06-14 18:26:30.000000000 +0200 +++ new/yi-language-0.14.0/src/Yi/Utils.hs 2017-06-19 21:00:18.000000000 +0200 @@ -1,6 +1,7 @@ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FunctionalDependencies #-} {-# OPTIONS_HADDOCK show-extensions #-} +{-# OPTIONS_GHC -fno-warn-orphans #-} -- for Binary instance of Hashmap -- | -- Module : Yi.Utils @@ -15,12 +16,10 @@ module Yi.Utils where -import Control.Applicative import Lens.Micro.Platform import Control.Monad.Base import Data.Binary import Data.Char (toLower) -import Data.Foldable hiding (all,any) import qualified Data.HashMap.Strict as HashMap import Data.Hashable(Hashable) import qualified Data.List.PointedList as PL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yi-language-0.13.7/test/Spec.hs new/yi-language-0.14.0/test/Spec.hs --- old/yi-language-0.13.7/test/Spec.hs 2017-06-14 18:26:30.000000000 +0200 +++ new/yi-language-0.14.0/test/Spec.hs 2017-06-19 21:00:18.000000000 +0200 @@ -1,3 +1,6 @@ + +import Data.Bifunctor (first) + import Test.Tasty import Test.Tasty.Hspec import Test.Tasty.QuickCheck @@ -7,13 +10,13 @@ import Text.Regex.TDFA.Pattern ignoreDoPa :: Pattern -> Pattern -ignoreDoPa (PCarat dp ) = PCarat (DoPa 0) -ignoreDoPa (PDollar dp ) = PDollar (DoPa 0) -ignoreDoPa (PDot dp ) = PDot (DoPa 0) -ignoreDoPa (PAny dp ps) = PAny (DoPa 0) ps -ignoreDoPa (PAnyNot dp ps) = PAnyNot (DoPa 0) ps -ignoreDoPa (PEscape dp pc) = PEscape (DoPa 0) pc -ignoreDoPa (PChar dp pc) = PChar (DoPa 0) pc +ignoreDoPa (PCarat _dp ) = PCarat (DoPa 0) +ignoreDoPa (PDollar _dp ) = PDollar (DoPa 0) +ignoreDoPa (PDot _dp ) = PDot (DoPa 0) +ignoreDoPa (PAny _dp ps) = PAny (DoPa 0) ps +ignoreDoPa (PAnyNot _dp ps) = PAnyNot (DoPa 0) ps +ignoreDoPa (PEscape _dp pc) = PEscape (DoPa 0) pc +ignoreDoPa (PChar _dp pc) = PChar (DoPa 0) pc ignoreDoPa (PGroup m p ) = PGroup m (ignoreDoPa p) ignoreDoPa (POr l ) = POr (map ignoreDoPa l) ignoreDoPa (PConcat l ) = PConcat (map ignoreDoPa l) @@ -25,15 +28,15 @@ ignoreDoPa (PNonEmpty p) = PNonEmpty (ignoreDoPa p) ignoreDoPa p = p -mapFst f (a,b) = (f a,b) - +main :: IO () main = defaultMain =<< tests +tests :: IO TestTree tests = testSpec "(Hspec tests)" $ do describe "reversePattern" $ do it "reverses normal characters" $ - (mapFst ignoreDoPa . reversePattern <$> parseRegex "ab") - `shouldBe` (mapFst ignoreDoPa <$> parseRegex "ba") + (first ignoreDoPa . reversePattern <$> parseRegex "ab") + `shouldBe` (first ignoreDoPa <$> parseRegex "ba") it "changes carat to dollar" $ (reversePattern <$> parseRegex "^") `shouldBe` parseRegex "$" @@ -45,5 +48,5 @@ property $ \p -> (reversePattern . reversePattern <$> parseRegex p) `shouldBe` parseRegex p it "recursively reverses patterns" $ - (mapFst ignoreDoPa . reversePattern <$> parseRegex "foo|bar") - `shouldBe` (mapFst ignoreDoPa <$> parseRegex "oof|rab") \ No newline at end of file + (first ignoreDoPa . reversePattern <$> parseRegex "foo|bar") + `shouldBe` (first ignoreDoPa <$> parseRegex "oof|rab") \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yi-language-0.13.7/yi-language.cabal new/yi-language-0.14.0/yi-language.cabal --- old/yi-language-0.13.7/yi-language.cabal 2017-06-17 19:57:23.000000000 +0200 +++ new/yi-language-0.14.0/yi-language.cabal 2017-06-19 21:18:28.000000000 +0200 @@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack name: yi-language -version: 0.13.7 +version: 0.14.0 synopsis: Collection of language-related Yi libraries. category: Yi homepage: https://github.com/yi-editor/yi#readme @@ -34,13 +34,13 @@ , template-haskell >= 2.4 , containers , hashable >=1.1.2.5 - , oo-prototypes , pointedlist >= 0.5 , regex-base ==0.93.* , regex-tdfa >= 1.1 && <1.3 , transformers-base , unordered-containers >= 0.1.3 && < 0.3 , microlens-platform + , oo-prototypes build-tools: alex >= 3.0.3 && < 3.2.0 || >= 3.2.1 exposed-modules: @@ -71,7 +71,6 @@ , template-haskell >= 2.4 , containers , hashable >=1.1.2.5 - , oo-prototypes , pointedlist >= 0.5 , regex-base ==0.93.* , regex-tdfa >= 1.1 && <1.3
participants (1)
-
root@hilbert.suse.de