Hello community, here is the log from the commit of package ghc-b9 for openSUSE:Factory checked in at 2017-07-23 12:14:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-b9 (Old) and /work/SRC/openSUSE:Factory/.ghc-b9.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-b9" Sun Jul 23 12:14:13 2017 rev:3 rq:511908 version:0.5.32 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-b9/ghc-b9.changes 2017-04-26 21:44:35.532310302 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-b9.new/ghc-b9.changes 2017-07-23 12:14:17.084720431 +0200 @@ -1,0 +2,5 @@ +Mon Jul 17 03:01:34 UTC 2017 - [email protected] + +- Update to version 0.5.32. + +------------------------------------------------------------------- Old: ---- b9-0.5.31.tar.gz New: ---- b9-0.5.32.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-b9.spec ++++++ --- /var/tmp/diff_new_pack.fIWVHE/_old 2017-07-23 12:14:17.604646988 +0200 +++ /var/tmp/diff_new_pack.fIWVHE/_new 2017-07-23 12:14:17.604646988 +0200 @@ -19,7 +19,7 @@ %global pkg_name b9 %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.5.31 +Version: 0.5.32 Release: 0 Summary: A tool and library for building virtual machine images License: MIT ++++++ b9-0.5.31.tar.gz -> b9-0.5.32.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/b9-0.5.31/b9.cabal new/b9-0.5.32/b9.cabal --- old/b9-0.5.31/b9.cabal 2017-01-17 21:45:26.000000000 +0100 +++ new/b9-0.5.32/b9.cabal 2017-07-12 16:56:53.000000000 +0200 @@ -1,5 +1,5 @@ name: b9 -version: 0.5.31 +version: 0.5.32 cabal-version: >=1.22 build-type: Simple license: MIT @@ -88,33 +88,33 @@ build-depends: ConfigFile >=1.1.4, QuickCheck >=2.5, - aeson >=0.11.2.1, - async >=2.1.0, + aeson >=1.0.2.1, + async >=2.1.1.1, base >=4.8 && <5, binary >=0.8.3.0, bytestring >=0.10.8.1, - conduit >=1.2.8, - conduit-extra >=1.1.15, - directory >=1.2.6.2, - filepath >=1.4.1.0, - hashable >=1.2.4.0, + conduit >=1.2.11, + conduit-extra >=1.1.16, + directory >=1.3.0.0, + filepath >=1.4.1.1, + hashable >=1.2.6.1, mtl >=2.2.1, time >=1.6.0.1, - parallel >=3.2.1.0, + parallel >=3.2.1.1, parsec >=3.1.11, - pretty-show >=1.6.12, + pretty-show >=1.6.13, pretty >=1.1.3.3, - process >=1.4.2.0, + process >=1.4.3.0, random >=1.1, semigroups >=0.18.2, syb >=0.6, template >=0.2.0.10, text >=1.2.2.1, transformers >=0.5.2.0, - unordered-containers >=0.2.7.1, + unordered-containers >=0.2.8.0, vector >=0.11.0.0, - yaml >=0.8.20, - bifunctors >=5.4.1, + yaml >=0.8.23.1, + bifunctors >=5.4.2, free >=4.12.4, boxes >=0.1.4 default-language: Haskell2010 @@ -133,11 +133,11 @@ ghc-options: -fno-warn-amp main-is: Main.hs build-depends: - b9 >=0.5.31, + b9 >=0.5.32, base >=4.8 && <5, - directory >=1.2.6.2, + directory >=1.3.0.0, bytestring >=0.10.8.1, - optparse-applicative >=0.12.1.0 + optparse-applicative >=0.13.2.0 default-language: Haskell2010 default-extensions: TupleSections GeneralizedNewtypeDeriving DeriveDataTypeable RankNTypes FlexibleContexts GADTs DataKinds @@ -153,14 +153,14 @@ main-is: Spec.hs build-depends: base >=4.8 && <5, - b9 >=0.5.31, - hspec >=2.2.4, - hspec-expectations >=0.7.2, - QuickCheck >=2.8.2, - aeson >=0.11.2.1, - yaml >=0.8.20, + b9 >=0.5.32, + hspec >=2.4.3, + hspec-expectations >=0.8.2, + QuickCheck >=2.5, + aeson >=1.0.2.1, + yaml >=0.8.23.1, vector >=0.11.0.0, - unordered-containers >=0.2.7.1, + unordered-containers >=0.2.8.0, bytestring >=0.10.8.1, text >=1.2.2.1, semigroups >=0.18.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/b9-0.5.31/src/lib/B9/Content/ErlTerms.hs new/b9-0.5.32/src/lib/B9/Content/ErlTerms.hs --- old/b9-0.5.31/src/lib/B9/Content/ErlTerms.hs 2017-01-17 21:09:14.000000000 +0100 +++ new/b9-0.5.32/src/lib/B9/Content/ErlTerms.hs 2017-07-12 16:52:41.000000000 +0200 @@ -67,10 +67,14 @@ prettyPrintErlTerm (ErlAtom a) = PP.text quotedAtom where quotedAtom = - if all (`elem` (['a'..'z']++['A'..'Z']++['0'..'9']++"@_")) a' - then a' - else "'"++a'++"'" - a' = toErlAtomString a + case toErlAtomString a of + "" -> "''" + a'@(firstChar:rest) + | firstChar `elem` ['a' .. 'z'] && + all (`elem` atomCharsThatDontNeedQuoting) rest -> a' + a' -> "'" ++ a' ++ "'" + atomCharsThatDontNeedQuoting = + ['a' .. 'z'] ++ ['A' .. 'Z'] ++ ['0' .. '9'] ++ "@_" prettyPrintErlTerm (ErlBinary []) = PP.text "<<>>" prettyPrintErlTerm (ErlBinary b) = PP.text ("<<\"" ++ toErlStringString b ++ "\">>") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/b9-0.5.31/src/tests/B9/Content/ErlTermsSpec.hs new/b9-0.5.32/src/tests/B9/Content/ErlTermsSpec.hs --- old/b9-0.5.31/src/tests/B9/Content/ErlTermsSpec.hs 2017-01-17 21:09:10.000000000 +0100 +++ new/b9-0.5.32/src/tests/B9/Content/ErlTermsSpec.hs 2017-07-12 16:42:50.000000000 +0200 @@ -122,6 +122,14 @@ (renderErlTerm (ErlAtom " $s\"<\\.0_=@\ESC'") `shouldBe` "' $s\"<\\\\.0_=@\\x{1b}\\''.") + it "renders _ correctly as '_'" + (renderErlTerm (ErlAtom "_") + `shouldBe` "'_'.") + + it "renders an empty string correctly as ''" + (renderErlTerm (ErlAtom "") + `shouldBe` "''.") + it "renders a string and escapes special characters" (renderErlTerm (ErlString "' $s\"<\\.0_=@\ESC''") `shouldBe` "\"' $s\\\"<\\\\.0_=@\\x{1b}''\".") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/b9-0.5.31/stack.yaml new/b9-0.5.32/stack.yaml --- old/b9-0.5.31/stack.yaml 2017-01-17 21:09:14.000000000 +0100 +++ new/b9-0.5.32/stack.yaml 2017-07-12 16:35:05.000000000 +0200 @@ -2,5 +2,5 @@ packages: - '.' extra-deps: [] -resolver: lts-7.9 +resolver: lts-8.22 pvp-bounds: lower
