commit ghc-turtle for openSUSE:Leap:15.2

2020-05-21 Thread root
Hello community,

here is the log from the commit of package ghc-turtle for openSUSE:Leap:15.2 
checked in at 2020-05-21 12:58:09

Comparing /work/SRC/openSUSE:Leap:15.2/ghc-turtle (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.ghc-turtle.new.2738 (New)


Package is "ghc-turtle"

Thu May 21 12:58:09 2020 rev:15 rq:802882 version:1.5.19

Changes:

--- /work/SRC/openSUSE:Leap:15.2/ghc-turtle/ghc-turtle.changes  2020-03-13 
10:57:12.160427299 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.ghc-turtle.new.2738/ghc-turtle.changes
2020-05-21 12:58:10.810643587 +0200
@@ -1,0 +2,18 @@
+Wed May  6 06:52:11 UTC 2020 - psim...@suse.com
+
+- Update turtle to version 1.5.19.
+  1.5.19
+
+  * Add pattern synonyms for `Size`
+
+  1.5.18
+
+  * Fix space leak
+
+  1.5.17
+
+  * Add `optionsExt`: Extended version of `options` with header, footer,
+porgram-description and version information in `--help` flag
+  * Add `readlink`
+
+---

Old:

  turtle-1.5.16.tar.gz

New:

  turtle-1.5.19.tar.gz



Other differences:
--
++ ghc-turtle.spec ++
--- /var/tmp/diff_new_pack.TSMxU7/_old  2020-05-21 12:58:11.182644397 +0200
+++ /var/tmp/diff_new_pack.TSMxU7/_new  2020-05-21 12:58:11.186644405 +0200
@@ -19,7 +19,7 @@
 %global pkg_name turtle
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.5.16
+Version:1.5.19
 Release:0
 Summary:Shell programming, Haskell-style
 License:BSD-3-Clause

++ turtle-1.5.16.tar.gz -> turtle-1.5.19.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.16/CHANGELOG.md 
new/turtle-1.5.19/CHANGELOG.md
--- old/turtle-1.5.16/CHANGELOG.md  2020-01-20 18:52:57.0 +0100
+++ new/turtle-1.5.19/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,17 @@
+1.5.19
+
+* Add pattern synonyms for `Size`
+
+1.5.18
+
+* Fix space leak
+
+1.5.17
+
+* Add `optionsExt`: Extended version of `options` with header, footer,
+  porgram-description and version information in `--help` flag
+* Add `readlink`
+
 1.5.16
 
 * Add `cptreeL`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.16/src/Turtle/Options.hs 
new/turtle-1.5.19/src/Turtle/Options.hs
--- old/turtle-1.5.16/src/Turtle/Options.hs 2020-01-20 18:52:57.0 
+0100
+++ new/turtle-1.5.19/src/Turtle/Options.hs 2001-09-09 03:46:40.0 
+0200
@@ -71,6 +71,7 @@
 , subcommand
 , subcommandGroup
 , options
+, optionsExt
 
 ) where
 
@@ -107,6 +108,30 @@
 prefs = Opts.showHelpOnError
 #endif
 
+{-| Parse the given options from the command line and add additional 
information
+
+Extended version of @options@ with program version header and footer 
information
+-}
+optionsExt :: MonadIO io => Header -> Footer  -> Description ->  Version -> 
Parser a -> io a
+optionsExt header footer desc version parser = liftIO
+$ Opts.customExecParser (Opts.prefs prefs)
+$ Opts.info (Opts.helper <*> versionOption <*> parser)
+(Opts.headerDoc (Just (getHeader header)) <>
+ Opts.footerDoc (Just (getFooter footer)) <>
+ Opts.progDescDoc (Just (getDescription desc)))
+  where
+versionOption =
+  Opts.infoOption
+(Text.unpack version)
+(Opts.long "version" <> Opts.help "Show version")
+prefs :: Opts.PrefsMod
+#if MIN_VERSION_optparse_applicative(0,13,0)
+prefs = Opts.showHelpOnError <> Opts.showHelpOnEmpty
+#else
+prefs = Opts.showHelpOnError
+#endif
+
+
 {-| The name of a command-line argument
 
 This is used to infer the long name and metavariable for the command line
@@ -135,6 +160,21 @@
 newtype Description = Description { getDescription :: Doc }
 deriving (IsString)
 
+{-| Header of the program
+
+This description will appear in the header of the @--help@ output
+-}
+newtype Header = Header { getHeader :: Doc }
+deriving (IsString)
+{-| Footer of the program
+
+This description will appear in the footer of the @--help@ output
+-}
+newtype Footer = Fotter { getFooter :: Doc }
+deriving (IsString)
+
+-- | Program Version
+type Version = Text
 {-| A helpful message explaining what a flag does
 
 This will appear in the @--help@ output
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.16/src/Turtle/Prelude.hs 
new/turtle-1.5.19/src/Turtle/Prelude.hs
--- old/turtle-1.5.16/src/Turtle/Prelude.hs 2020-01-20 18:52:57.0 
+0100
+++ new/turtle-1.5.19/src/Turtle/Prelude.hs 2001-09-09 03:46:40.0 
+0200
@@ -4,6 +4,8 @@
 {-# LANGUAGE GeneralizedNewtypeDeriving #-}

commit ghc-turtle for openSUSE:Leap:15.2

2020-03-13 Thread root
Hello community,

here is the log from the commit of package ghc-turtle for openSUSE:Leap:15.2 
checked in at 2020-03-13 10:57:11

Comparing /work/SRC/openSUSE:Leap:15.2/ghc-turtle (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.ghc-turtle.new.3160 (New)


Package is "ghc-turtle"

Fri Mar 13 10:57:11 2020 rev:14 rq:783455 version:1.5.16

Changes:

--- /work/SRC/openSUSE:Leap:15.2/ghc-turtle/ghc-turtle.changes  2020-02-19 
18:41:54.786249889 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.ghc-turtle.new.3160/ghc-turtle.changes
2020-03-13 10:57:12.160427299 +0100
@@ -1,0 +2,8 @@
+Tue Jan 21 03:08:25 UTC 2020 - psim...@suse.com
+
+- Update turtle to version 1.5.16.
+  1.5.16
+
+  * Add `cptreeL`
+
+---

Old:

  turtle-1.5.15.tar.gz
  turtle.cabal

New:

  turtle-1.5.16.tar.gz



Other differences:
--
++ ghc-turtle.spec ++
--- /var/tmp/diff_new_pack.ntB1kX/_old  2020-03-13 10:57:12.504427545 +0100
+++ /var/tmp/diff_new_pack.ntB1kX/_new  2020-03-13 10:57:12.508427548 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-turtle
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
 %global pkg_name turtle
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.5.15
+Version:1.5.16
 Release:0
 Summary:Shell programming, Haskell-style
 License:BSD-3-Clause
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-ansi-wl-pprint-devel
 BuildRequires:  ghc-async-devel
@@ -99,7 +98,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ turtle-1.5.15.tar.gz -> turtle-1.5.16.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.15/CHANGELOG.md 
new/turtle-1.5.16/CHANGELOG.md
--- old/turtle-1.5.15/CHANGELOG.md  2019-09-19 15:36:21.0 +0200
+++ new/turtle-1.5.16/CHANGELOG.md  2020-01-20 18:52:57.0 +0100
@@ -1,3 +1,7 @@
+1.5.16
+
+* Add `cptreeL`
+
 1.5.15
 
 * Add `toLines`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.15/src/Turtle/Bytes.hs 
new/turtle-1.5.16/src/Turtle/Bytes.hs
--- old/turtle-1.5.15/src/Turtle/Bytes.hs   2019-09-19 15:36:21.0 
+0200
+++ new/turtle-1.5.16/src/Turtle/Bytes.hs   2020-01-20 18:52:57.0 
+0100
@@ -49,6 +49,7 @@
 import Control.Monad.IO.Class (MonadIO(..))
 import Control.Monad.Managed (MonadManaged(..))
 import Data.ByteString (ByteString)
+import Data.Monoid
 import Data.Streaming.Zlib (Inflate, Popper, PopperRes(..), WindowBits(..))
 import Data.Text (Text)
 import Data.Text.Encoding (Decoding(..))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.15/src/Turtle/Prelude.hs 
new/turtle-1.5.16/src/Turtle/Prelude.hs
--- old/turtle-1.5.15/src/Turtle/Prelude.hs 2019-09-19 15:36:21.0 
+0200
+++ new/turtle-1.5.16/src/Turtle/Prelude.hs 2020-01-20 18:52:57.0 
+0100
@@ -127,6 +127,7 @@
 , mktree
 , cp
 , cptree
+, cptreeL
 #if !defined(mingw32_HOST_OS)
 , symlink
 #endif
@@ -1108,7 +1109,7 @@
 isNotSymbolicLink :: MonadIO io => FilePath -> io Bool
 isNotSymbolicLink = fmap (not . PosixCompat.isSymbolicLink) . lstat
 
--- | Copy a directory tree
+-- | Copy a directory tree and preserve symbolic links
 cptree :: MonadIO io => FilePath -> FilePath -> io ()
 cptree oldTree newTree = sh (do
 oldPath <- lsif isNotSymbolicLink oldTree
@@ -1140,6 +1141,18 @@
 else do
 mktree newPath )
 
+-- | Copy a directory tree and dereference symbolic links
+cptreeL :: MonadIO io => FilePath -> FilePath -> io ()
+cptreeL oldTree newTree = sh (do
+oldPath <- lstree oldTree
+Just suffix <- return (Filesystem.stripPrefix (oldTree  "") oldPath)
+let newPath = newTree  suffix
+isFile <- testfile oldPath
+if isFile
+then mktree (Filesystem.directory newPath) >> cp oldPath newPath
+else mktree newPath )
+
+
 -- | Remove a file
 rm :: MonadIO io => FilePath -> io ()
 rm path = liftIO (Filesystem.removeFile path)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' 

commit ghc-turtle for openSUSE:Leap:15.2

2020-02-19 Thread root
Hello community,

here is the log from the commit of package ghc-turtle for openSUSE:Leap:15.2 
checked in at 2020-02-19 18:41:54

Comparing /work/SRC/openSUSE:Leap:15.2/ghc-turtle (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.ghc-turtle.new.26092 (New)


Package is "ghc-turtle"

Wed Feb 19 18:41:54 2020 rev:13 rq:771506 version:1.5.15

Changes:

--- /work/SRC/openSUSE:Leap:15.2/ghc-turtle/ghc-turtle.changes  2020-01-15 
15:02:42.761819101 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.ghc-turtle.new.26092/ghc-turtle.changes   
2020-02-19 18:41:54.786249889 +0100
@@ -1,0 +2,42 @@
+Fri Nov  8 16:15:04 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---
+Fri Sep 20 02:02:13 UTC 2019 - psim...@suse.com
+
+- Update turtle to version 1.5.15.
+  1.5.15
+
+  * Add `toLines`
+  * Add `Turtle.Bytes.{fromUTF8,toUTF8}`
+  * Add `Turtle.Bytes.{compress,decompress}`
+  * Always expose a `MonadFail` instance, relying on the `fail` package
+where needed. Related GHC 8.8 preparedness.
+
+---
+Sun Jul 28 08:15:57 UTC 2019 - Peter Simons 
+
+- Update Cabal file for more accurate build dependencies.
+
+---
+Fri May 17 08:26:56 UTC 2019 - Peter Simons 
+
+- Update Cabal file for more accurate build dependencies.
+
+---
+Fri May  3 19:02:57 UTC 2019 - Peter Simons 
+
+- Update Cabal build instructions for more accurate dependencies.
+
+---
+Sat Apr 20 09:17:06 UTC 2019 - psim...@suse.com
+
+- Update turtle to version 1.5.14.
+  1.5.14
+
+  * Fix `cptree` to copy symlinks instead of descending into them
+  * See: https://github.com/Gabriel439/Haskell-Turtle-Library/pull/344
+  * Build against newer versions of `Win32` package
+
+---

Old:

  turtle-1.5.13.tar.gz

New:

  turtle-1.5.15.tar.gz
  turtle.cabal



Other differences:
--
++ ghc-turtle.spec ++
--- /var/tmp/diff_new_pack.vcIQG7/_old  2020-02-19 18:41:55.242250845 +0100
+++ /var/tmp/diff_new_pack.vcIQG7/_new  2020-02-19 18:41:55.246250854 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-turtle
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,13 @@
 %global pkg_name turtle
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.5.13
+Version:1.5.15
 Release:0
 Summary:Shell programming, Haskell-style
 License:BSD-3-Clause
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-ansi-wl-pprint-devel
 BuildRequires:  ghc-async-devel
@@ -43,6 +43,7 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-semigroups-devel
 BuildRequires:  ghc-stm-devel
+BuildRequires:  ghc-streaming-commons-devel
 BuildRequires:  ghc-system-fileio-devel
 BuildRequires:  ghc-system-filepath-devel
 BuildRequires:  ghc-temporary-devel
@@ -53,6 +54,7 @@
 BuildRequires:  ghc-unix-devel
 %if %{with tests}
 BuildRequires:  ghc-doctest-devel
+BuildRequires:  ghc-fail-devel
 %endif
 
 %description
@@ -87,7 +89,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -98,6 +99,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ turtle-1.5.13.tar.gz -> turtle-1.5.15.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turtle-1.5.13/CHANGELOG.md 
new/turtle-1.5.15/CHANGELOG.md
--- old/turtle-1.5.13/CHANGELOG.md  2018-12-20 17:51:10.0 +0100
+++ new/turtle-1.5.15/CHANGELOG.md  2019-09-19 15:36:21.0 +0200
@@ -1,3 +1,17 @@
+1.5.15
+
+* Add `toLines`
+* Add `Turtle.Bytes.{fromUTF8,toUTF8}`
+* Add `Turtle.Bytes.{compress,decompress}`
+* Always expose a `MonadFail` instance, relying on the