commit ghc-path-io for openSUSE:Factory

2020-10-27 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2020-10-27 19:03:03

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.3463 (New)


Package is "ghc-path-io"

Tue Oct 27 19:03:03 2020 rev:20 rq:844308 version:1.6.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2020-10-23 
15:14:31.254139261 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.3463/ghc-path-io.changes
2020-10-27 19:03:15.542931573 +0100
@@ -1,0 +2,8 @@
+Fri Oct 23 19:25:51 UTC 2020 - psim...@suse.com
+
+- Update path-io to version 1.6.2.
+  ## Path IO 1.6.2
+
+  * Fixed a bug in the `findFilesWith` and based on it `findFiles` functions.
+
+---

Old:

  path-io-1.6.1.tar.gz

New:

  path-io-1.6.2.tar.gz



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.bSGZSa/_old  2020-10-27 19:03:16.298932123 +0100
+++ /var/tmp/diff_new_pack.bSGZSa/_new  2020-10-27 19:03:16.298932123 +0100
@@ -19,7 +19,7 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.1
+Version:1.6.2
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 License:BSD-3-Clause

++ path-io-1.6.1.tar.gz -> path-io-1.6.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.6.1/CHANGELOG.md 
new/path-io-1.6.2/CHANGELOG.md
--- old/path-io-1.6.1/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
+++ new/path-io-1.6.2/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,7 @@
+## Path IO 1.6.2
+
+* Fixed a bug in the `findFilesWith` and based on it `findFiles` functions.
+
 ## Path IO 1.6.1
 
 * Fixed a space leak in `walkDirAccum`. [Issue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.6.1/Path/IO.hs new/path-io-1.6.2/Path/IO.hs
--- old/path-io-1.6.1/Path/IO.hs2001-09-09 03:46:40.0 +0200
+++ new/path-io-1.6.2/Path/IO.hs2001-09-09 03:46:40.0 +0200
@@ -1242,7 +1242,7 @@
 findFilesWith _ [] _ = return []
 findFilesWith f (d : ds) file = do
   bfile <- ( file) <$> makeAbsolute d
-  exist <- doesFileExist file
+  exist <- doesFileExist bfile
   b <- if exist then f bfile else return False
   if b
 then (bfile :) <$> findFilesWith f ds file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.6.1/path-io.cabal 
new/path-io-1.6.2/path-io.cabal
--- old/path-io-1.6.1/path-io.cabal 2001-09-09 03:46:40.0 +0200
+++ new/path-io-1.6.2/path-io.cabal 2001-09-09 03:46:40.0 +0200
@@ -1,6 +1,6 @@
 cabal-version:   1.18
 name:path-io
-version: 1.6.1
+version: 1.6.2
 license: BSD3
 license-file:LICENSE.md
 maintainer:  Mark Karpov 




commit ghc-path-io for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2020-10-23 15:14:29

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.3463 (New)


Package is "ghc-path-io"

Fri Oct 23 15:14:29 2020 rev:19 rq:842759 version:1.6.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2020-09-07 
22:03:18.738098578 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.3463/ghc-path-io.changes
2020-10-23 15:14:31.254139261 +0200
@@ -1,0 +2,9 @@
+Sun Oct 18 02:01:23 UTC 2020 - psim...@suse.com
+
+- Update path-io to version 1.6.1.
+  ## Path IO 1.6.1
+
+  * Fixed a space leak in `walkDirAccum`. [Issue
+55](https://github.com/mrkkrp/path-io/issues/55).
+
+---

Old:

  path-io-1.6.0.tar.gz
  path-io.cabal

New:

  path-io-1.6.1.tar.gz



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.V90IvA/_old  2020-10-23 15:14:31.870139558 +0200
+++ /var/tmp/diff_new_pack.V90IvA/_new  2020-10-23 15:14:31.870139558 +0200
@@ -19,13 +19,12 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.6.0
+Version:1.6.1
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 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/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-directory-devel
@@ -57,7 +56,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ path-io-1.6.0.tar.gz -> path-io-1.6.1.tar.gz ++
 2188 lines of diff (skipped)




commit ghc-path-io for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2020-09-07 22:03:17

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.3399 (New)


Package is "ghc-path-io"

Mon Sep  7 22:03:17 2020 rev:18 rq:832302 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2020-08-28 
21:42:33.584913373 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.3399/ghc-path-io.changes
2020-09-07 22:03:18.738098578 +0200
@@ -1,0 +2,6 @@
+Mon Aug 31 09:34:30 UTC 2020 - psim...@suse.com
+
+- Update path-io to version 1.6.0 revision 3.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---



Other differences:
--



commit ghc-path-io for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2020-08-28 21:42:31

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.3399 (New)


Package is "ghc-path-io"

Fri Aug 28 21:42:31 2020 rev:17 rq:829817 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2020-01-03 
17:36:00.667265689 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.3399/ghc-path-io.changes
2020-08-28 21:42:33.584913373 +0200
@@ -1,0 +2,5 @@
+Tue Aug 25 10:16:31 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.dPOyXm/_old  2020-08-28 21:42:34.732913796 +0200
+++ /var/tmp/diff_new_pack.dPOyXm/_new  2020-08-28 21:42:34.736913797 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-path-io
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-directory-devel
@@ -56,7 +56,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build

++ path-io.cabal ++
--- /var/tmp/diff_new_pack.dPOyXm/_old  2020-08-28 21:42:34.772913811 +0200
+++ /var/tmp/diff_new_pack.dPOyXm/_new  2020-08-28 21:42:34.772913811 +0200
@@ -1,6 +1,6 @@
 name: path-io
 version:  1.6.0
-x-revision: 1
+x-revision: 3
 cabal-version:1.18
 tested-with:  GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
 license:  BSD3
@@ -25,12 +25,12 @@
   build-depends:  base >= 4.11&& < 5.0
 , containers
 , directory>= 1.3.2.0 && < 1.4
-, dlist>= 0.8 && < 0.9
+, dlist>= 0.8 && < 2.0
 , exceptions   >= 0.8 && < 0.11
 , filepath >= 1.2 && < 1.5
-, path >= 0.6 && < 0.8
+, path >= 0.6 && < 0.9
 , temporary>= 1.1 && < 1.4
-, time >= 1.4 && < 1.10
+, time >= 1.4 && < 1.11
 , transformers >= 0.3 && < 0.6
 , unix-compat
   exposed-modules:Path.IO
@@ -58,7 +58,7 @@
 , exceptions   >= 0.8 && < 0.11
 , hspec>= 2.0 && < 3.0
 , filepath >= 1.2 && < 1.5
-, path >= 0.6 && < 0.8
+, path >= 0.6 && < 0.9
 , path-io
 , transformers >= 0.3 && < 0.6
 , unix-compat




commit ghc-path-io for openSUSE:Factory

2020-01-03 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2020-01-03 17:35:40

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.6675 (New)


Package is "ghc-path-io"

Fri Jan  3 17:35:40 2020 rev:16 rq:760293 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2019-12-27 
13:56:12.172740477 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.6675/ghc-path-io.changes
2020-01-03 17:36:00.667265689 +0100
@@ -1,0 +2,5 @@
+Wed Jan  1 11:09:16 UTC 2020 - psim...@suse.com
+
+- Revise cabal build file to specify more accurate dependencies.
+
+---

New:

  path-io.cabal



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.I304bb/_old  2020-01-03 17:36:04.875267849 +0100
+++ /var/tmp/diff_new_pack.I304bb/_new  2020-01-03 17:36:04.879267851 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-path-io
 #
-# 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
@@ -25,6 +25,7 @@
 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-containers-devel
 BuildRequires:  ghc-directory-devel
@@ -56,6 +57,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ path-io.cabal ++
name: path-io
version:  1.6.0
x-revision: 1
cabal-version:1.18
tested-with:  GHC==8.4.4, GHC==8.6.5, GHC==8.8.1
license:  BSD3
license-file: LICENSE.md
author:   Mark Karpov 
maintainer:   Mark Karpov 
homepage: https://github.com/mrkkrp/path-io
bug-reports:  https://github.com/mrkkrp/path-io/issues
category: System, Filesystem
synopsis: Interface to ‘directory’ package for users of ‘path’
build-type:   Simple
description:  Interface to ‘directory’ package for users of ‘path’.
extra-doc-files:  CHANGELOG.md
, README.md

flag dev
  description:Turn on development settings.
  manual: True
  default:False

library
  build-depends:  base >= 4.11&& < 5.0
, containers
, directory>= 1.3.2.0 && < 1.4
, dlist>= 0.8 && < 0.9
, exceptions   >= 0.8 && < 0.11
, filepath >= 1.2 && < 1.5
, path >= 0.6 && < 0.8
, temporary>= 1.1 && < 1.4
, time >= 1.4 && < 1.10
, transformers >= 0.3 && < 0.6
, unix-compat
  exposed-modules:Path.IO
  if flag(dev)
ghc-options:  -Wall -Werror
  else
ghc-options:  -O2 -Wall
  if flag(dev)
ghc-options:  -Wcompat
  -Wincomplete-record-updates
  -Wincomplete-uni-patterns
  -Wnoncanonical-monad-instances
  default-language:   Haskell2010

test-suite tests
  main-is:Main.hs
  hs-source-dirs: tests
  type:   exitcode-stdio-1.0
  if flag(dev)
ghc-options:  -Wall -Werror
  else
ghc-options:  -O2 -Wall
  build-depends:  base >= 4.11&& < 5.0
, directory>= 1.3.2.0 && < 1.4
, exceptions   >= 0.8 && < 0.11
, hspec>= 2.0 && < 3.0
, filepath >= 1.2 && < 1.5
, path >= 0.6 && < 0.8
, path-io
, transformers >= 0.3 && < 0.6
, unix-compat
  default-language:   Haskell2010

source-repository head
  type:   git
  location:   https://github.com/mrkkrp/path-io.git



commit ghc-path-io for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2019-12-27 13:56:08

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.6675 (New)


Package is "ghc-path-io"

Fri Dec 27 13:56:08 2019 rev:15 rq:759472 version:1.6.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2019-10-18 
14:34:33.248064274 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.6675/ghc-path-io.changes
2019-12-27 13:56:12.172740477 +0100
@@ -1,0 +2,25 @@
+Fri Nov  8 16:14:25 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---
+Sun Oct 13 02:01:55 UTC 2019 - psim...@suse.com
+
+- Update path-io to version 1.6.0.
+  ## Path IO 1.6.0
+
+  * Changed how `copyDirRecur` and `copyDirRecur'` functions work. Previously,
+the functions created empty directories in the destination directory when
+the source directory contained directory symlinks. The symlinked
+directories were not recursively traversed. It also copied symlinked files
+creating normal regular files in the target directory as the result. This
+is fixed so that the function now behaves much like the `cp` utility, not
+traversing symlinked directories, but recreating symlinks in the target
+directory according to their targets in the source directory.
+
+  * Fixed a bug in `createDirLink` which would always fail complaining that
+its destination location does not exist.
+
+  * Dropped support for GHC 8.2.
+
+---

Old:

  path-io-1.5.0.tar.gz
  path-io.cabal

New:

  path-io-1.6.0.tar.gz



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.AJ67Hb/_old  2019-12-27 13:56:12.668740717 +0100
+++ /var/tmp/diff_new_pack.AJ67Hb/_new  2019-12-27 13:56:12.672740719 +0100
@@ -19,14 +19,12 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.5.0
+Version:1.6.0
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 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-containers-devel
 BuildRequires:  ghc-directory-devel
@@ -48,7 +46,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}
@@ -59,7 +56,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ path-io-1.5.0.tar.gz -> path-io-1.6.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.5.0/CHANGELOG.md 
new/path-io-1.6.0/CHANGELOG.md
--- old/path-io-1.5.0/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
+++ new/path-io-1.6.0/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,19 @@
+## Path IO 1.6.0
+
+* Changed how `copyDirRecur` and `copyDirRecur'` functions work. Previously,
+  the functions created empty directories in the destination directory when
+  the source directory contained directory symlinks. The symlinked
+  directories were not recursively traversed. It also copied symlinked files
+  creating normal regular files in the target directory as the result. This
+  is fixed so that the function now behaves much like the `cp` utility, not
+  traversing symlinked directories, but recreating symlinks in the target
+  directory according to their targets in the source directory.
+
+* Fixed a bug in `createDirLink` which would always fail complaining that
+  its destination location does not exist.
+
+* Dropped support for GHC 8.2.
+
 ## Path IO 1.5.0
 
 * Dropped support for GHC 8.0 and older.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.5.0/Path/IO.hs new/path-io-1.6.0/Path/IO.hs
--- old/path-io-1.5.0/Path/IO.hs2001-09-09 03:46:40.0 +0200
+++ new/path-io-1.6.0/Path/IO.hs2001-09-09 03:46:40.0 +0200
@@ -113,6 +113,7 @@
 import Control.Monad.Trans.Maybe (MaybeT (..), runMaybeT)
 import Control.Monad.Trans.Writer.Lazy (WriterT, execWriterT, tell)

commit ghc-path-io for openSUSE:Factory

2019-10-18 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2019-10-18 14:34:31

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.2352 (New)


Package is "ghc-path-io"

Fri Oct 18 14:34:31 2019 rev:14 rq:737209 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2019-02-24 
17:18:53.136413303 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.2352/ghc-path-io.changes
2019-10-18 14:34:33.248064274 +0200
@@ -1,0 +2,10 @@
+Thu Sep 19 07:47:10 UTC 2019 - psim...@suse.com
+
+- Update path-io to version 1.5.0.
+  ## Path IO 1.5.0
+
+  * Dropped support for GHC 8.0 and older.
+  * Added new functions: `getXdgDirList`, `createFileLink`, `createDirLink`,
+`removeDirLink`, `getSymlinkTarget`.
+
+---

Old:

  path-io-1.4.2.tar.gz

New:

  path-io-1.5.0.tar.gz
  path-io.cabal



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.pmOMMi/_old  2019-10-18 14:34:33.772062909 +0200
+++ /var/tmp/diff_new_pack.pmOMMi/_new  2019-10-18 14:34:33.780062888 +0200
@@ -19,13 +19,14 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.4.2
+Version:1.5.0
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 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-containers-devel
 BuildRequires:  ghc-directory-devel
@@ -58,6 +59,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ path-io-1.4.2.tar.gz -> path-io-1.5.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.4.2/CHANGELOG.md 
new/path-io-1.5.0/CHANGELOG.md
--- old/path-io-1.4.2/CHANGELOG.md  2019-02-13 23:28:38.0 +0100
+++ new/path-io-1.5.0/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,9 @@
+## Path IO 1.5.0
+
+* Dropped support for GHC 8.0 and older.
+* Added new functions: `getXdgDirList`, `createFileLink`, `createDirLink`,
+  `removeDirLink`, `getSymlinkTarget`.
+
 ## Path IO 1.4.2
 
 * Fixed various bugs in `listDirRecurRel`, `walkDirRel`, and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.4.2/LICENSE.md new/path-io-1.5.0/LICENSE.md
--- old/path-io-1.4.2/LICENSE.md2019-02-13 23:28:38.0 +0100
+++ new/path-io-1.5.0/LICENSE.md2001-09-09 03:46:40.0 +0200
@@ -1,4 +1,4 @@
-Copyright © 2016–2018 Mark Karpov
+Copyright © 2016–present Mark Karpov
 
 All rights reserved.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.4.2/Path/IO.hs new/path-io-1.5.0/Path/IO.hs
--- old/path-io-1.4.2/Path/IO.hs2019-02-13 23:28:38.0 +0100
+++ new/path-io-1.5.0/Path/IO.hs2001-09-09 03:46:40.0 +0200
@@ -1,6 +1,6 @@
 -- |
 -- Module  :  Path.IO
--- Copyright   :  © 2016–2019 Mark Karpov
+-- Copyright   :  © 2016–present Mark Karpov
 -- License :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov 
@@ -12,7 +12,6 @@
 -- scanning and copying of directories, working with temporary
 -- files\/directories, etc.
 
-{-# LANGUAGE CPP   #-}
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE TemplateHaskell   #-}
 {-# LANGUAGE TupleSections #-}
@@ -47,10 +46,10 @@
   , getAppUserDataDir
   , getUserDocsDir
   , getTempDir
-#if MIN_VERSION_directory(1,2,3)
-  , XdgDirectory (..)
+  , D.XdgDirectory (..)
   , getXdgDir
-#endif
+  , D.XdgDirectoryList (..)
+  , getXdgDirList
 -- * Path transformation
   , AnyPath (..)
   , resolveFile
@@ -66,6 +65,10 @@
   , findFiles
   , findFilesWith
 -- * Symbolic links
+  , createFileLink
+  , createDirLink
+  , removeDirLink
+  , getSymlinkTarget
   , isSymlink
 -- * Temporary files and directories
   , withTempFile
@@ -96,11 +99,9 @@
   , setPermissions
   , copyPermissions
 -- * Timestamps
-#if MIN_VERSION_directory(1,2,3)
   , getAccessTime
   , setAccessTime
   , setModificationTime
-#endif
   , getModificationTime )
 where
 
@@ -124,10 +125,6 @@
 import qualified System.IO.Temp   as T
 import qualified System.PosixCompat.Files as P
 
-#if MIN_VERSION_direc

commit ghc-path-io for openSUSE:Factory

2019-02-24 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2019-02-24 17:18:50

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.28833 (New)


Package is "ghc-path-io"

Sun Feb 24 17:18:50 2019 rev:13 rq:678031 version:1.4.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2019-02-17 
12:20:20.788216968 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.28833/ghc-path-io.changes   
2019-02-24 17:18:53.136413303 +0100
@@ -1,0 +2,9 @@
+Thu Feb 14 03:01:23 UTC 2019 - psim...@suse.com
+
+- Update path-io to version 1.4.2.
+  ## Path IO 1.4.2
+
+  * Fixed various bugs in `listDirRecurRel`, `walkDirRel`, and
+`walkDirAccumRel` and clarified their behavior in the docs.
+
+---

Old:

  path-io-1.4.1.tar.gz
  path-io.cabal

New:

  path-io-1.4.2.tar.gz



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.JHRvkh/_old  2019-02-24 17:18:54.360413084 +0100
+++ /var/tmp/diff_new_pack.JHRvkh/_new  2019-02-24 17:18:54.364413084 +0100
@@ -19,14 +19,13 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.4.1
+Version:1.4.2
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 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-containers-devel
 BuildRequires:  ghc-directory-devel
@@ -59,7 +58,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ path-io-1.4.1.tar.gz -> path-io-1.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.4.1/CHANGELOG.md 
new/path-io-1.4.2/CHANGELOG.md
--- old/path-io-1.4.1/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
+++ new/path-io-1.4.2/CHANGELOG.md  2019-02-13 23:28:38.0 +0100
@@ -1,3 +1,8 @@
+## Path IO 1.4.2
+
+* Fixed various bugs in `listDirRecurRel`, `walkDirRel`, and
+  `walkDirAccumRel` and clarified their behavior in the docs.
+
 ## Path IO 1.4.1
 
 * Fixed a bug in `walkDirRel` that resulted in `NotAProperPrefix` exception
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.4.1/Path/IO.hs new/path-io-1.4.2/Path/IO.hs
--- old/path-io-1.4.1/Path/IO.hs2001-09-09 03:46:40.0 +0200
+++ new/path-io-1.4.2/Path/IO.hs2019-02-13 23:28:38.0 +0100
@@ -1,6 +1,6 @@
 -- |
 -- Module  :  Path.IO
--- Copyright   :  © 2016–2018 Mark Karpov
+-- Copyright   :  © 2016–2019 Mark Karpov
 -- License :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov 
@@ -351,37 +351,33 @@
 listDirRecur :: MonadIO m
   => Path b Dir  -- ^ Directory to list
   -> m ([Path Abs Dir], [Path Abs File]) -- ^ Sub-directories and files
-listDirRecur = listDirRecurWith walkDirAccum
+listDirRecur dir = (DList.toList *** DList.toList)
+  <$> walkDirAccum (Just excludeSymlinks) writer dir
+  where
+excludeSymlinks _ subdirs _ =
+  WalkExclude <$> filterM isSymlink subdirs
+writer _ ds fs = return
+  ( DList.fromList ds
+  , DList.fromList fs
+  )
 
--- | The same as 'listDirRecur' but returns relative paths.
+-- | The same as 'listDirRecur' but returns paths that are relative to the
+-- given directory.
 --
--- @since 1.4.0
+-- @since 1.4.2
 
 listDirRecurRel :: MonadIO m
   => Path b Dir  -- ^ Directory to list
   -> m ([Path Rel Dir], [Path Rel File]) -- ^ Sub-directories and files
-listDirRecurRel = listDirRecurWith walkDirAccumRel
-
--- | A non-public helper function used to define 'listDirRecur' and
--- 'listDirRecurRel'.
-
-listDirRecurWith :: MonadIO m
-  => (  Maybe (Path b Dir -> [Path b Dir] -> [Path b File] -> m (WalkAction b))
- -> (  Path b Dir
--> [Path b Dir]
--> [Path b File]
--> m (DList.DList (Path b Dir), DList.DList (Path b File)))
- -> Path b' Dir
- -> m (DList.DList (Path b Dir), DList.DList (Path b File)))
- -- ^ The walk function to use
-  -> Path b' Dir -- ^ Directory to list
-  -> m ([Path b Dir], [Path b File]) -- ^ Sub-directories and files
-listDirRecurWith walkF dir = (DList.toList *** DList.toList)
-  <$> walk

commit ghc-path-io for openSUSE:Factory

2019-02-17 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2019-02-17 12:20:20

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.28833 (New)


Package is "ghc-path-io"

Sun Feb 17 12:20:20 2019 rev:12 rq:674303 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2018-12-28 
12:35:27.239957941 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.28833/ghc-path-io.changes   
2019-02-17 12:20:20.788216968 +0100
@@ -1,0 +2,5 @@
+Sat Jan 19 12:33:34 UTC 2019 - Peter Simons 
+
+- Update Cabal build instructions for more accurate dependencies.
+
+---

New:

  path-io.cabal



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.GvRnwo/_old  2019-02-17 12:20:21.700216717 +0100
+++ /var/tmp/diff_new_pack.GvRnwo/_new  2019-02-17 12:20:21.712216714 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-path-io
 #
-# 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
@@ -26,6 +26,7 @@
 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-containers-devel
 BuildRequires:  ghc-directory-devel
@@ -58,6 +59,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ path-io.cabal ++
name: path-io
version:  1.4.1
x-revision: 1
cabal-version:1.18
tested-with:  GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, 
GHC==8.6.3
license:  BSD3
license-file: LICENSE.md
author:   Mark Karpov 
maintainer:   Mark Karpov 
homepage: https://github.com/mrkkrp/path-io
bug-reports:  https://github.com/mrkkrp/path-io/issues
category: System, Filesystem
synopsis: Interface to ‘directory’ package for users of ‘path’
build-type:   Simple
description:  Interface to ‘directory’ package for users of ‘path’.
extra-doc-files:  CHANGELOG.md
, README.md

flag dev
  description:Turn on development settings.
  manual: True
  default:False

library
  build-depends:  base >= 4.8 && < 5.0
, containers
, directory>= 1.2.2   && < 1.4
, dlist>= 0.8 && < 0.9
, exceptions   >= 0.8 && < 0.11
, filepath >= 1.2 && < 1.5
, path >= 0.6 && < 0.7
, temporary>= 1.1 && < 1.4
, time >= 1.4 && < 1.9
, transformers >= 0.3 && < 0.6
, unix-compat
  exposed-modules:Path.IO
  if flag(dev)
ghc-options:  -Wall -Werror
  else
ghc-options:  -O2 -Wall
 if flag(dev) && impl(ghc >= 8.0)
ghc-options:  -Wcompat
  -Wincomplete-record-updates
  -Wincomplete-uni-patterns
  -Wnoncanonical-monad-instances
  -Wnoncanonical-monadfail-instances
  default-language:   Haskell2010

test-suite tests
  main-is:Main.hs
  hs-source-dirs: tests
  type:   exitcode-stdio-1.0
  if flag(dev)
ghc-options:  -Wall -Werror
  else
ghc-options:  -O2 -Wall
  build-depends:  base >= 4.8 && < 5.0
, directory>= 1.2.2   && < 1.4
, exceptions   >= 0.8 && < 0.11
, hspec>= 2.0 && < 3.0
, path >= 0.5 && < 0.7
, path-io
, transformers >= 0.3 && < 0.6
, unix-compat
  default-language:   Haskell2010

source-repository head
  type:   git
  location:   https://github.com/mrkkrp/path-io.git



commit ghc-path-io for openSUSE:Factory

2018-12-28 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2018-12-28 12:35:16

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new.28833 (New)


Package is "ghc-path-io"

Fri Dec 28 12:35:16 2018 rev:11 rq:661499 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2018-10-25 
09:01:58.594665041 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new.28833/ghc-path-io.changes   
2018-12-28 12:35:27.239957941 +0100
@@ -1,0 +2,9 @@
+Fri Dec 21 03:02:43 UTC 2018 - psim...@suse.com
+
+- Update path-io to version 1.4.1.
+  ## Path IO 1.4.1
+
+  * Fixed a bug in `walkDirRel` that resulted in `NotAProperPrefix` exception
+every time the function was called.
+
+---

Old:

  path-io-1.4.0.tar.gz

New:

  path-io-1.4.1.tar.gz



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.avFUiv/_old  2018-12-28 12:35:27.687957627 +0100
+++ /var/tmp/diff_new_pack.avFUiv/_new  2018-12-28 12:35:27.691957625 +0100
@@ -19,7 +19,7 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.4.0
+Version:1.4.1
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 License:BSD-3-Clause

++ path-io-1.4.0.tar.gz -> path-io-1.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.4.0/CHANGELOG.md 
new/path-io-1.4.1/CHANGELOG.md
--- old/path-io-1.4.0/CHANGELOG.md  2018-07-21 19:41:24.0 +0200
+++ new/path-io-1.4.1/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,8 @@
+## Path IO 1.4.1
+
+* Fixed a bug in `walkDirRel` that resulted in `NotAProperPrefix` exception
+  every time the function was called.
+
 ## Path IO 1.4.0
 
 * Added relative versions of some actions: `listDirRel`, `listDirRecurRel`,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.4.0/Path/IO.hs new/path-io-1.4.1/Path/IO.hs
--- old/path-io-1.4.0/Path/IO.hs2018-07-21 19:41:24.0 +0200
+++ new/path-io-1.4.1/Path/IO.hs2001-09-09 03:46:40.0 +0200
@@ -14,6 +14,7 @@
 
 {-# LANGUAGE CPP   #-}
 {-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE TemplateHaskell   #-}
 {-# LANGUAGE TupleSections #-}
 {-# LANGUAGE TypeFamilies  #-}
 
@@ -126,9 +127,6 @@
 #if MIN_VERSION_directory(1,2,3)
 import System.Directory (XdgDirectory)
 #endif
-#if !MIN_VERSION_base(4,8,0)
-import Data.Monoid (Monoid)
-#endif
 
 
 -- Actions on directories
@@ -564,8 +562,9 @@
 stripDir topdir
 #endif
   handler curdir subdirs files = do
--- These should not ever fail.
-curdirRel  <- stripTopdir curdir
+curdirRel  <- if curdir == topdir
+  then return $(mkRelDir ".")
+  else stripTopdir curdir
 subdirsRel <- mapM stripTopdir subdirs
 filesRel   <- mapM stripTopdir files
 action <- handler' curdirRel subdirsRel filesRel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.4.0/path-io.cabal 
new/path-io-1.4.1/path-io.cabal
--- old/path-io-1.4.0/path-io.cabal 2018-07-21 19:41:24.0 +0200
+++ new/path-io-1.4.1/path-io.cabal 2001-09-09 03:46:40.0 +0200
@@ -1,7 +1,7 @@
 name: path-io
-version:  1.4.0
+version:  1.4.1
 cabal-version:1.18
-tested-with:  GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3
+tested-with:  GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, 
GHC==8.6.3
 license:  BSD3
 license-file: LICENSE.md
 author:   Mark Karpov 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.4.0/tests/Main.hs 
new/path-io-1.4.1/tests/Main.hs
--- old/path-io-1.4.0/tests/Main.hs 2018-07-21 19:41:24.0 +0200
+++ new/path-io-1.4.1/tests/Main.hs 2001-09-09 03:46:40.0 +0200
@@ -36,6 +36,7 @@
   describe "getCurrentDir"getCurrentDirSpec
   describe "setCurrentDir"setCurrentDirSpec
   describe "withCurrentDir"   withCurrentDirSpec
+  describe "walkDirRel"   walkDirRelSpec
 #ifndef mingw32_HOST_OS
   -- NOTE We can't quite test this on Windows as well, because the
   -- environmental variables HOME and TMPDIR do not exist there.
@@ -160,6 +161,15 @@
 getCurrentDir `shouldReturn` dir
   getCurrentDir `shouldNotReturn` dir
 
+walkDirRelSpec :: SpecWith 

commit ghc-path-io for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2018-10-25 09:01:57

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new (New)


Package is "ghc-path-io"

Thu Oct 25 09:01:57 2018 rev:10 rq:643436 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2018-08-04 
21:54:08.729360793 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new/ghc-path-io.changes 
2018-10-25 09:01:58.594665041 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:31:50 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.lkMCJ9/_old  2018-10-25 09:01:59.14691 +0200
+++ /var/tmp/diff_new_pack.lkMCJ9/_new  2018-10-25 09:01:59.14691 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-path-io for openSUSE:Factory

2018-08-04 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2018-08-04 21:54:07

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new (New)


Package is "ghc-path-io"

Sat Aug  4 21:54:07 2018 rev:9 rq:627279 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2018-07-21 
10:22:22.086998770 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new/ghc-path-io.changes 
2018-08-04 21:54:08.729360793 +0200
@@ -1,0 +2,11 @@
+Sun Jul 29 09:05:06 UTC 2018 - psim...@suse.com
+
+- Update path-io to version 1.4.0.
+  ## Path IO 1.4.0
+
+  * Added relative versions of some actions: `listDirRel`, `listDirRecurRel`,
+`walkDirRel`, and `walkDirAccumRel`.
+
+  * Dropped support for GHC 7.8.
+
+---

Old:

  path-io-1.3.3.tar.gz
  path-io.cabal

New:

  path-io-1.4.0.tar.gz



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.eimpZk/_old  2018-08-04 21:54:09.197361669 +0200
+++ /var/tmp/diff_new_pack.eimpZk/_new  2018-08-04 21:54:09.197361669 +0200
@@ -19,14 +19,13 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.3.3
+Version:1.4.0
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 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/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-directory-devel
@@ -59,7 +58,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ path-io-1.3.3.tar.gz -> path-io-1.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.3.3/CHANGELOG.md 
new/path-io-1.4.0/CHANGELOG.md
--- old/path-io-1.3.3/CHANGELOG.md  2017-07-31 07:19:49.0 +0200
+++ new/path-io-1.4.0/CHANGELOG.md  2018-07-21 19:41:24.0 +0200
@@ -1,3 +1,10 @@
+## Path IO 1.4.0
+
+* Added relative versions of some actions: `listDirRel`, `listDirRecurRel`,
+  `walkDirRel`, and `walkDirAccumRel`.
+
+* Dropped support for GHC 7.8.
+
 ## Path IO 1.3.3
 
 * (Hopefully) fixed test suite failure with Cabal 2.0 and GHC 8.2.1.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.3.3/LICENSE.md new/path-io-1.4.0/LICENSE.md
--- old/path-io-1.3.3/LICENSE.md2017-06-02 17:36:37.0 +0200
+++ new/path-io-1.4.0/LICENSE.md2018-07-21 19:41:24.0 +0200
@@ -1,4 +1,4 @@
-Copyright © 2016–2017 Mark Karpov
+Copyright © 2016–2018 Mark Karpov
 
 All rights reserved.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.3.3/Path/IO.hs new/path-io-1.4.0/Path/IO.hs
--- old/path-io-1.3.3/Path/IO.hs2017-07-12 16:01:50.0 +0200
+++ new/path-io-1.4.0/Path/IO.hs2018-07-21 19:41:24.0 +0200
@@ -1,6 +1,6 @@
 -- |
 -- Module  :  Path.IO
--- Copyright   :  © 2016–2017 Mark Karpov
+-- Copyright   :  © 2016–2018 Mark Karpov
 -- License :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov 
@@ -26,13 +26,17 @@
   , removeDirRecur
   , renameDir
   , listDir
+  , listDirRel
   , listDirRecur
+  , listDirRecurRel
   , copyDirRecur
   , copyDirRecur'
 -- ** Walking directory trees
   , WalkAction (..)
   , walkDir
+  , walkDirRel
   , walkDirAccum
+  , walkDirAccumRel
 -- ** Current working directory
   , getCurrentDir
   , setCurrentDir
@@ -105,7 +109,7 @@
 import Control.Monad.IO.Class (MonadIO (..))
 import Control.Monad.Trans.Class (lift)
 import Control.Monad.Trans.Maybe (MaybeT (..), runMaybeT)
-import Control.Monad.Trans.Writer.Lazy (execWriterT, tell)
+import Control.Monad.Trans.Writer.Lazy (WriterT, execWriterT, tell)
 import Data.Either (lefts, rights)
 import Data.List ((\\))
 import Data.Time (UTCTime)
@@ -317,15 +321,27 @@
 listDir :: MonadIO m
   => Path b Dir-- ^ Directory to list
   -> m ([Path Abs Dir], [Path Abs File]) -- ^ Sub-directories and files
-listDir path = liftIO $ do
+listDir path = do
   bpath <- makeAbsolute path
-  raw   <- liftD D.getDirectoryContents bpath
+  (subdirs, files) <- listDirRel bpath
+  return ( (bpath ) <$> subdirs
+ , (bpath ) <$> files
+ )
+
+-- | The same as 'listDir

commit ghc-path-io for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2018-07-21 10:21:59

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new (New)


Package is "ghc-path-io"

Sat Jul 21 10:21:59 2018 rev:8 rq:623826 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2018-05-30 
12:26:41.519547431 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new/ghc-path-io.changes 
2018-07-21 10:22:22.086998770 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:35 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -57 +62,0 @@
-



Other differences:
--



commit ghc-path-io for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2018-05-30 12:11:29

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new (New)


Package is "ghc-path-io"

Wed May 30 12:11:29 2018 rev:7 rq:607853 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2017-09-15 
22:03:30.586460993 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new/ghc-path-io.changes 
2018-05-30 12:26:41.519547431 +0200
@@ -1,0 +2,17 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update path-io to version 1.3.3 revision 3.
+  * (Hopefully) fixed test suite failure with Cabal 2.0 and GHC 8.2.1.
+  * Reduce a number of `(MonadIO m, MonadThrow m)` constraints to just
+`MonadIO m` [#27](https://github.com/mrkkrp/path-io/issues/27)
+  * Made `listDirRecur` faster for deep directory trees.
+  * Change the default behavior of recursive traversal APIs to not follow
+symbolic links. The change affects the following functions:
+`listDirRecur`, `copyDirRecur`, and `copyDirRecur'`.
+  * Add `isSymlink` which allows to test whether a path is a symbolic link.
+  * Move the type functions `AbsPath` and `RelPath` to the `AnyPath` type
+class (previously they were standalone closed type families, now they are
+associated types of `AnyPath`).
+  * Improved the documentation and metadata.
+
+---

Old:

  path-io-1.2.2.tar.gz

New:

  path-io-1.3.3.tar.gz



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.fpW20D/_old  2018-05-30 12:26:42.703507003 +0200
+++ /var/tmp/diff_new_pack.fpW20D/_new  2018-05-30 12:26:42.707506866 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-path-io
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,17 +19,18 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.2
+Version:1.3.3
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 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
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-dlist-devel
 BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-path-devel
@@ -76,7 +77,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE.md
+%license LICENSE.md
 
 %files devel -f %{name}-devel.files
 %doc CHANGELOG.md README.md

++ path-io-1.2.2.tar.gz -> path-io-1.3.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.2.2/CHANGELOG.md 
new/path-io-1.3.3/CHANGELOG.md
--- old/path-io-1.2.2/CHANGELOG.md  2017-01-06 17:25:46.0 +0100
+++ new/path-io-1.3.3/CHANGELOG.md  2017-07-31 07:19:49.0 +0200
@@ -1,3 +1,34 @@
+## Path IO 1.3.3
+
+* (Hopefully) fixed test suite failure with Cabal 2.0 and GHC 8.2.1.
+
+## Path IO 1.3.2
+
+* Reduce a number of `(MonadIO m, MonadThrow m)` constraints to just
+  `MonadIO m` [#27](https://github.com/mrkkrp/path-io/issues/27)
+
+## Path IO 1.3.1
+
+* Made `listDirRecur` faster for deep directory trees.
+
+## Path IO 1.3.0
+
+* Change the default behavior of recursive traversal APIs to not follow
+  symbolic links. The change affects the following functions:
+  `listDirRecur`, `copyDirRecur`, and `copyDirRecur'`.
+
+* Add `isSymlink` which allows to test whether a path is a symbolic link.
+
+* Move the type functions `AbsPath` and `RelPath` to the `AnyPath` type
+  class (previously they were standalone closed type families, now they are
+  associated types of `AnyPath`).
+
+* Improved the documentation and metadata.
+
+## Path IO 1.2.3
+
+* Allowed `time-1.7`.
+
 ## Path IO 1.2.2
 
 * Fixed a bug in `setModificationTime` function that previously called
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.2.2/Path/IO.hs new/path-io-1.3.3/Path

commit ghc-path-io for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2017-09-15 22:03:29

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new (New)


Package is "ghc-path-io"

Fri Sep 15 22:03:29 2017 rev:6 rq:525132 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2017-05-16 
14:47:00.971440903 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new/ghc-path-io.changes 
2017-09-15 22:03:30.586460993 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.fluKPj/_old  2017-09-15 22:03:31.498332506 +0200
+++ /var/tmp/diff_new_pack.fluKPj/_new  2017-09-15 22:03:31.502331942 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+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
@@ -38,7 +38,6 @@
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-unix-compat-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
@@ -48,7 +47,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -77,11 +76,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE.md
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md
 
 %changelog




commit ghc-path-io for openSUSE:Factory

2017-05-16 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2017-05-16 14:46:11

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new (New)


Package is "ghc-path-io"

Tue May 16 14:46:11 2017 rev:5 rq:495002 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2017-03-18 
20:49:59.698600785 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new/ghc-path-io.changes 
2017-05-16 14:47:00.971440903 +0200
@@ -1,0 +2,5 @@
+Fri May  5 07:40:07 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.2 revision 1 with cabal2obs.
+
+---

New:

  path-io.cabal



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.Mk2xOk/_old  2017-05-16 14:47:01.475370104 +0200
+++ /var/tmp/diff_new_pack.Mk2xOk/_new  2017-05-16 14:47:01.475370104 +0200
@@ -26,6 +26,7 @@
 Group:  Development/Languages/Other
 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-containers-devel
 BuildRequires:  ghc-directory-devel
@@ -58,6 +59,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ path-io.cabal ++
--
-- Cabal configuration for ‘path-io’.
--
-- Copyright © 2016–2017 Mark Karpov
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
-- met:
--
-- * Redistributions of source code must retain the above copyright notice,
--   this list of conditions and the following disclaimer.
--
-- * Redistributions in binary form must reproduce the above copyright
--   notice, this list of conditions and the following disclaimer in the
--   documentation and/or other materials provided with the distribution.
--
-- * Neither the name Mark Karpov nor the names of contributors may be used
--   to endorse or promote products derived from this software without
--   specific prior written permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS “AS IS” AND ANY
-- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
-- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
-- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
-- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-- POSSIBILITY OF SUCH DAMAGE.

name: path-io
version:  1.2.2
x-revision: 1
cabal-version:>= 1.10
license:  BSD3
license-file: LICENSE.md
author:   Mark Karpov 
maintainer:   Mark Karpov 
homepage: https://github.com/mrkkrp/path-io
bug-reports:  https://github.com/mrkkrp/path-io/issues
category: System, Filesystem
synopsis: Interface to ‘directory’ package for users of ‘path’
build-type:   Simple
description:  Interface to ‘directory’ package for users of ‘path’.
extra-doc-files:  CHANGELOG.md
, README.md

flag dev
  description:Turn on development settings.
  manual: True
  default:False

library
  build-depends:  base >= 4.7 && < 5.0
, containers
, directory>= 1.2.2   && < 1.4
, exceptions   >= 0.8 && < 0.9
, filepath >= 1.2 && < 1.5
, path >= 0.5 && < 0.6
, temporary>= 1.1 && < 1.3
, time >= 1.4 && < 1.9
, transformers >= 0.3 && < 0.6
, unix-compat
  exposed-modules:Path.IO
  if flag(dev)
ghc-options:  -Wall -Werror
  else
ghc-options:  -O2 -Wall
  default-language:   Haskell2010

test-suite tests
  main-is:Main.hs
  hs-source-dirs: tests
  type:   exitcode-stdio-1.0
  if flag(dev)
ghc-options:  -Wall -Werror
  else
ghc-options:  -O2

commit ghc-path-io for openSUSE:Factory

2017-03-18 Thread root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2017-03-18 20:49:58

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new (New)


Package is "ghc-path-io"

Sat Mar 18 20:49:58 2017 rev:4 rq:450613 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2016-10-23 
12:50:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new/ghc-path-io.changes 
2017-03-18 20:49:59.698600785 +0100
@@ -1,0 +2,10 @@
+Sun Jan  8 21:13:46 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.2 with cabal2obs.
+
+---
+Wed Jan  4 21:25:00 UTC 2017 - psim...@suse.com
+
+- Update to version 1.2.0 revision 1 with cabal2obs.
+
+---

Old:

  path-io-1.2.0.tar.gz

New:

  path-io-1.2.2.tar.gz



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.D44c9a/_old  2017-03-18 20:50:00.198529962 +0100
+++ /var/tmp/diff_new_pack.D44c9a/_new  2017-03-18 20:50:00.202529396 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-path-io
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,7 +19,7 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.2.0
+Version:1.2.2
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 License:BSD-3-Clause

++ path-io-1.2.0.tar.gz -> path-io-1.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.2.0/CHANGELOG.md 
new/path-io-1.2.2/CHANGELOG.md
--- old/path-io-1.2.0/CHANGELOG.md  2016-07-18 09:53:36.0 +0200
+++ new/path-io-1.2.2/CHANGELOG.md  2017-01-06 17:25:46.0 +0100
@@ -1,3 +1,20 @@
+## Path IO 1.2.2
+
+* Fixed a bug in `setModificationTime` function that previously called
+  `setAccessTime` instead of `setModificationTime` from `directory`.
+
+* Added notes to all pieces of API that are conditional (some functions are
+  only available if `directory-1.2.3.0` or later is used, now it's mentioned
+  for every such function explicitely).
+
+## Path IO 1.2.1
+
+* Allowed `directory-1.3.0.0`.
+
+* Added `getXdgDir`. Only available of `directory-1.2.3.0` or later is used.
+
+* Various cosmetic improvements.
+
 ## Path IO 1.2.0
 
 * Added `walkDir` function to traverse a directory tree with a handler.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.2.0/LICENSE.md new/path-io-1.2.2/LICENSE.md
--- old/path-io-1.2.0/LICENSE.md2016-01-03 14:37:56.0 +0100
+++ new/path-io-1.2.2/LICENSE.md2017-01-01 12:40:24.0 +0100
@@ -1,4 +1,4 @@
-Copyright © 2016 Mark Karpov
+Copyright © 2016–2017 Mark Karpov
 
 All rights reserved.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.2.0/Path/IO.hs new/path-io-1.2.2/Path/IO.hs
--- old/path-io-1.2.0/Path/IO.hs2016-07-18 09:52:24.0 +0200
+++ new/path-io-1.2.2/Path/IO.hs2017-01-06 17:24:50.0 +0100
@@ -1,6 +1,6 @@
 -- |
 -- Module  :  Path.IO
--- Copyright   :  © 2016 Mark Karpov
+-- Copyright   :  © 2016–2017 Mark Karpov
 -- License :  BSD 3 clause
 --
 -- Maintainer  :  Mark Karpov 
@@ -29,7 +29,7 @@
   , copyDirRecur
   , copyDirRecur'
 -- ** Walking directory trees
-  , WalkAction(..)
+  , WalkAction (..)
   , walkDir
   , walkDirAccum
 -- ** Current working directory
@@ -41,6 +41,10 @@
   , getAppUserDataDir
   , getUserDocsDir
   , getTempDir
+#if MIN_VERSION_directory(1,2,3)
+  , XdgDirectory (..)
+  , getXdgDir
+#endif
 -- * Path transformation
   , AbsPath
   , RelPath
@@ -99,7 +103,7 @@
 import Control.Monad.IO.Class (MonadIO (..))
 import Control.Monad.Trans.Class (lift)
 import Control.Monad.Trans.Maybe (MaybeT (..), runMaybeT)
-import Control.Monad.Trans.Writer.Lazy (runWriterT, tell)
+import Control.Monad.Trans.Writer.Lazy (execWriterT, tell)
 import Data.Either (lefts, rights)
 import Data.List ((\\))
 import Data.Time (UTCTime)
@@ -107,6 +111,9 @@
 import System.IO (Handle)
 import System.IO.Error (isDoesNotExistError)
 import System.PosixCompat.Files (deviceID, fileID, getFileStatus)
+#if MIN_VERSION_directory(1,2,3)
+import System.Directory (XdgDirectory)
+#endif
 import qualified Data.Set as S
 impo

commit ghc-path-io for openSUSE:Factory

2016-10-23 Thread h_root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2016-10-23 12:50:55

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new (New)


Package is "ghc-path-io"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2016-07-20 
09:29:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new/ghc-path-io.changes 
2016-10-23 12:50:56.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep 15 06:37:17 UTC 2016 - psim...@suse.com
+
+- Update to version 1.2.0 revision 0 with cabal2obs.
+
+---

Old:

  path-io-1.1.0.tar.gz

New:

  path-io-1.2.0.tar.gz



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.Ld5Z5j/_old  2016-10-23 12:50:57.0 +0200
+++ /var/tmp/diff_new_pack.Ld5Z5j/_new  2016-10-23 12:50:57.0 +0200
@@ -19,15 +19,15 @@
 %global pkg_name path-io
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.1.0
+Version:1.2.0
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
 License:BSD-3-Clause
-Group:  System/Libraries
+Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
+BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-filepath-devel
@@ -36,11 +36,11 @@
 BuildRequires:  ghc-temporary-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-transformers-devel
+BuildRequires:  ghc-unix-compat-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Interface to ‘directory’ package for users of ‘path’.
@@ -59,20 +59,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++ path-io-1.1.0.tar.gz -> path-io-1.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.1.0/CHANGELOG.md 
new/path-io-1.2.0/CHANGELOG.md
--- old/path-io-1.1.0/CHANGELOG.md  2016-03-05 08:51:10.0 +0100
+++ new/path-io-1.2.0/CHANGELOG.md  2016-07-18 09:53:36.0 +0200
@@ -1,10 +1,22 @@
+## Path IO 1.2.0
+
+* Added `walkDir` function to traverse a directory tree with a handler.
+
+* Added `walkDirAccum` function which is like `walkDir` but also accepts an
+  output writer and returns the accumulated output.
+
+* All recursive traversal functions (existing and new) now safely handle
+  directory loops due to symbolic or hard links.
+
+* Added “since” notes to public functions in API.
+
 ## Path IO 1.1.0
 
-* Fixed bug in `copyDirRecur` when it was unable to full copy read-only
+* Fixed bug in `copyDirRecur` when it was unable to fully copy read-only
   directories.
 
 * Added `copyDirRecur'` function that works just like `copyDirRecur`, but
-  does not preserve permissions.
+  does not preserve directory permissions.
 
 ## Path IO 1.0.1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/path-io-1.1.0/Path/IO.hs new/path-io-1.2.0/Path/IO.hs
--- old/path-io-1.1.0/Path/IO.hs2016-03-05 09:24:42.0 +0100
+++ new/path-io-1.2.0/Path/IO.hs2016-07-18 09:52:24.0 +0200
@@ -28,6 +28,10 @@
   , listDirRecur
   , copyDirRecur
   , copyDirRecur'
+-- ** Walking directory trees
+  , WalkAction(..)
+  , walkDir
+  , walkDirAccum
 -- ** Current working directory
   , getCurrentDir
   , setCurrentDir
@@ -93,19 +97,23 @@
 import Control.Monad
 import Control.Monad.Catch
 import Control.Monad.IO.Class (MonadIO (..))
+import Control.Monad.Trans.Class (lift)
+import Control.Monad.Trans.Maybe (MaybeT (..), runMaybeT)
+import Control.Monad.Trans.Writer.Lazy (runWriterT, tell)
 import Data.Either (lefts, rights)
-import Data.Foldable (foldl')
 import Data.List ((\\))
 import Data.Time (UTCTime)
 import Path
 import System.IO (Handle)
 import System.IO.Error (isDoesNotExistError)
+import System.PosixCompat.Files (deviceID, fileID, getFileStatus)
+import qualified Data.Set as S
 import qualified System.Directory as D
 import qualified System.FilePath  as F
 import qualified System.IO.Temp   as T
 
 #if !MIN_VERSION_base(4,8,0)
-import Data.Monoid (mappend)
+import Data.Monoid (M

commit ghc-path-io for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-path-io for openSUSE:Factory 
checked in at 2016-07-20 09:29:22

Comparing /work/SRC/openSUSE:Factory/ghc-path-io (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-path-io.new (New)


Package is "ghc-path-io"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-path-io/ghc-path-io.changes  2016-06-07 
23:46:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-path-io.new/ghc-path-io.changes 
2016-07-20 09:29:24.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:12:42 UTC 2016 - psim...@suse.com
+
+- Update to version 1.1.0 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-path-io.spec ++
--- /var/tmp/diff_new_pack.ce6oCb/_old  2016-07-20 09:29:24.0 +0200
+++ /var/tmp/diff_new_pack.ce6oCb/_new  2016-07-20 09:29:24.0 +0200
@@ -15,31 +15,28 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%global pkg_name path-io
 
+%global pkg_name path-io
 %bcond_with tests
-
 Name:   ghc-%{pkg_name}
 Version:1.1.0
 Release:0
 Summary:Interface to ‘directory’ package for users of ‘path’
-Group:  System/Libraries
-
 License:BSD-3-Clause
+Group:  System/Libraries
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-exceptions-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-path-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-temporary-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-transformers-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
@@ -48,19 +45,17 @@
 %description
 Interface to ‘directory’ package for users of ‘path’.
 
-
 %package devel
 Summary:Haskell %{pkg_name} library development files
 Group:  Development/Libraries/Other
+Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:   %{name} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
@@ -75,26 +70,22 @@
 
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
 
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE.md
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
-
+%doc CHANGELOG.md README.md
 
 %changelog