Hello community,
here is the log from the commit of package ghc-yi-mode-haskell for
openSUSE:Factory checked in at 2017-08-31 21:02:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yi-mode-haskell (Old)
and /work/SRC/openSUSE:Factory/.ghc-yi-mode-haskell.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-yi-mode-haskell"
Thu Aug 31 21:02:42 2017 rev:3 rq:513560 version:0.14.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-yi-mode-haskell/ghc-yi-mode-haskell.changes
2017-07-06 00:00:23.699694794 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-yi-mode-haskell.new/ghc-yi-mode-haskell.changes
2017-08-31 21:02:46.602195191 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:12 UTC 2017 - [email protected]
+
+- Update to version 0.14.0.
+
+-------------------------------------------------------------------
Old:
----
yi-mode-haskell-0.13.7.tar.gz
New:
----
yi-mode-haskell-0.14.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-yi-mode-haskell.spec ++++++
--- /var/tmp/diff_new_pack.75am7O/_old 2017-08-31 21:02:48.001998516 +0200
+++ /var/tmp/diff_new_pack.75am7O/_new 2017-08-31 21:02:48.041992896 +0200
@@ -17,9 +17,8 @@
%global pkg_name yi-mode-haskell
-%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.13.7
+Version: 0.14.0
Release: 0
Summary: Yi editor haskell mode
License: GPL-2.0+
@@ -31,6 +30,7 @@
BuildRequires: ghc-array-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-data-default-devel
+BuildRequires: ghc-filepath-devel
BuildRequires: ghc-microlens-platform-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-text-devel
@@ -38,19 +38,6 @@
BuildRequires: ghc-yi-language-devel
BuildRequires: ghc-yi-rope-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if %{with tests}
-BuildRequires: ghc-QuickCheck-devel
-BuildRequires: ghc-containers-devel
-BuildRequires: ghc-filepath-devel
-BuildRequires: ghc-hashable-devel
-BuildRequires: ghc-hspec-devel
-BuildRequires: ghc-pointedlist-devel
-BuildRequires: ghc-regex-base-devel
-BuildRequires: ghc-regex-tdfa-devel
-BuildRequires: ghc-template-haskell-devel
-BuildRequires: ghc-transformers-base-devel
-BuildRequires: ghc-unordered-containers-devel
-%endif
%description
Yi editor haskell mode.
@@ -76,9 +63,6 @@
%install
%ghc_lib_install
-%check
-%cabal_test
-
%post devel
%ghc_pkg_recache
++++++ yi-mode-haskell-0.13.7.tar.gz -> yi-mode-haskell-0.14.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yi-mode-haskell-0.13.7/test/Spec.hs
new/yi-mode-haskell-0.14.0/test/Spec.hs
--- old/yi-mode-haskell-0.13.7/test/Spec.hs 2017-06-14 18:26:30.000000000
+0200
+++ new/yi-mode-haskell-0.14.0/test/Spec.hs 1970-01-01 01:00:00.000000000
+0100
@@ -1 +0,0 @@
-{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yi-mode-haskell-0.13.7/test/Yi/Lexer/HaskellSpec.hs
new/yi-mode-haskell-0.14.0/test/Yi/Lexer/HaskellSpec.hs
--- old/yi-mode-haskell-0.13.7/test/Yi/Lexer/HaskellSpec.hs 2017-06-14
18:26:30.000000000 +0200
+++ new/yi-mode-haskell-0.14.0/test/Yi/Lexer/HaskellSpec.hs 1970-01-01
01:00:00.000000000 +0100
@@ -1,64 +0,0 @@
-{-# LANGUAGE OverloadedStrings, FlexibleInstances #-}
-{-# LANGUAGE IncoherentInstances, UndecidableInstances #-}
-{-# LANGUAGE StandaloneDeriving, QuasiQuotes #-}
-{-# OPTIONS_GHC -fno-warn-orphans #-}
-
-module Yi.Lexer.HaskellSpec (main, spec) where
-
-
-import Control.Applicative ((<$>))
-import Prelude hiding (lex)
-import System.FilePath ((</>))
-import Test.Hspec
-import Yi.Buffer.Basic (Point(..))
-import Yi.Lexer.Alex
-import Yi.Lexer.Haskell
-import Yi.Lexer.Helpers.TH
-
-
-deriving instance Read OpType
-deriving instance Read ReservedType
-deriving instance Read CommentType
-deriving instance Read Token
-deriving instance Read Posn
-deriving instance Read Size
-deriving instance Read Point
-deriving instance Read a => Read (Tok a)
-
-newState :: AlexState HlState
-newState = AlexState initState 0 startPosn
-
-mkIndx :: String -> IndexedStr
-mkIndx = zip [1 ..]
-
-newInput :: String -> AlexInput
-newInput s = ('\n', [], mkIndx s)
-
-lex :: String -> [(AlexState HlState, TT)]
-lex s = unfoldLexer alexScanToken (newState, newInput s)
-
-lexTok :: String -> [TT]
-lexTok = map snd . lex
-
-lexToks :: String -> [Token]
-lexToks = map tokT . lexTok
-
-shouldLexToS :: FilePath -> [Token] -> Expectation
-shouldLexToS fp t = lexToks <$> readSample fp `shouldReturn` t
-
-lexesToS :: String -> [Token] -> Spec
-lexesToS s tt = it s $ s `shouldLexToS` tt
-
-readSample :: FilePath -> IO String
-readSample x = readFile $ "test" </> "test_data" </> x
-
-main :: IO ()
-main = hspec spec
-
-spec :: Spec
-spec = do
- describe "lexer tests" $ do
- it "fill me in" pending
- -- "Simple1.hs" `lexesToS` [ritFile|test/test_data/Simple1.hs_Token|]
- -- "Simple1Unicode.hs" `lexesToS`
[ritFile|test/test_data/Simple1Unicode.hs_Token|]
- -- "UnicodeLiteral.hs" `lexesTo`
[ritFile|test/test_data/UnicodeLiteral.hs_TToken|]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yi-mode-haskell-0.13.7/test/Yi/Lexer/Helpers/TH.hs
new/yi-mode-haskell-0.14.0/test/Yi/Lexer/Helpers/TH.hs
--- old/yi-mode-haskell-0.13.7/test/Yi/Lexer/Helpers/TH.hs 2017-06-14
18:26:30.000000000 +0200
+++ new/yi-mode-haskell-0.14.0/test/Yi/Lexer/Helpers/TH.hs 1970-01-01
01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
-module Yi.Lexer.Helpers.TH where
-
-import Language.Haskell.TH
-import Language.Haskell.TH.Quote
-
-literally :: String -> Q Exp
-literally = return . LitE . StringL
-
-withRead :: String -> Q Exp
-withRead s = return $ AppE (VarE $ mkName "read") (LitE $ StringL s)
-
-lit :: QuasiQuoter
-lit = QuasiQuoter { quoteExp = literally
- , quotePat = \s -> error s $ "quotePat: " ++ s
- , quoteType = \s -> error $ "quoteType: " ++ s
- , quoteDec = \s -> error $ "quoteDec: " ++ s}
-
-rlit :: QuasiQuoter
-rlit = QuasiQuoter { quoteExp = withRead
- , quotePat = \s -> error s $ "quotePat: " ++ s
- , quoteType = \s -> error $ "quoteType: " ++ s
- , quoteDec = \s -> error $ "quoteDec: " ++ s}
-
-
--- | Read file as-is.
-litFile :: QuasiQuoter
-litFile = quoteFile lit
-
-ritFile :: QuasiQuoter
-ritFile = quoteFile rlit
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yi-mode-haskell-0.13.7/test/Yi/Lexer/Helpers.hs
new/yi-mode-haskell-0.14.0/test/Yi/Lexer/Helpers.hs
--- old/yi-mode-haskell-0.13.7/test/Yi/Lexer/Helpers.hs 2017-06-14
18:26:30.000000000 +0200
+++ new/yi-mode-haskell-0.14.0/test/Yi/Lexer/Helpers.hs 1970-01-01
01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-{-# LANGUAGE QuasiQuotes #-}
-module Yi.Lexer.Helpers where
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yi-mode-haskell-0.13.7/yi-mode-haskell.cabal
new/yi-mode-haskell-0.14.0/yi-mode-haskell.cabal
--- old/yi-mode-haskell-0.13.7/yi-mode-haskell.cabal 2017-06-17
19:57:23.000000000 +0200
+++ new/yi-mode-haskell-0.14.0/yi-mode-haskell.cabal 2017-06-19
21:18:28.000000000 +0200
@@ -3,7 +3,7 @@
-- see: https://github.com/sol/hpack
name: yi-mode-haskell
-version: 0.13.7
+version: 0.14.0
synopsis: Yi editor haskell mode
category: Yi
homepage: https://github.com/yi-editor/yi#readme
@@ -31,6 +31,7 @@
, array
, binary >= 0.7
, data-default
+ , filepath
, microlens-platform
, text
, yi-core
@@ -51,42 +52,3 @@
other-modules:
Paths_yi_mode_haskell
default-language: Haskell2010
-
-test-suite spec
- type: exitcode-stdio-1.0
- main-is: Spec.hs
- hs-source-dirs:
- test
- ghc-options: -Wall -ferror-spans
- include-dirs:
- src/Yi/Lexer
- build-depends:
- base >= 4.8 && < 5
- , array
- , binary >= 0.7
- , data-default
- , microlens-platform
- , text
- , yi-core
- , yi-language
- , yi-rope
- , base
- , array
- , binary
- , containers
- , data-default
- , filepath
- , hashable >=1.1.2.5
- , hspec
- , microlens-platform
- , pointedlist >= 0.5
- , regex-base ==0.93.*
- , regex-tdfa >= 1.1 && <1.3
- , template-haskell >= 2.4
- , transformers-base
- , unordered-containers >= 0.1.3 && < 0.3
- , QuickCheck == 2.*
- , yi-mode-haskell
- other-modules:
- Yi.Lexer.HaskellSpec Yi.Lexer.Helpers Yi.Lexer.Helpers.TH
- default-language: Haskell2010