commit ghc-http-api-data for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2020-09-07 21:32:22

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new.3399 (New)


Package is "ghc-http-api-data"

Mon Sep  7 21:32:22 2020 rev:19 rq:832284 version:0.4.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2020-08-28 21:33:36.344673423 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-api-data.new.3399/ghc-http-api-data.changes
2020-09-07 21:32:26.793300397 +0200
@@ -1,0 +2,9 @@
+Sun Aug 30 02:00:37 UTC 2020 - psim...@suse.com
+
+- Update http-api-data to version 0.4.2.
+  0.4.2
+  -
+
+  * Add instances for `Const` and `Identity`
+
+---

Old:

  http-api-data-0.4.1.1.tar.gz
  http-api-data.cabal

New:

  http-api-data-0.4.2.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.ZzSa5a/_old  2020-09-07 21:32:27.641300786 +0200
+++ /var/tmp/diff_new_pack.ZzSa5a/_new  2020-09-07 21:32:27.645300788 +0200
@@ -19,13 +19,12 @@
 %global pkg_name http-api-data
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.4.1.1
+Version:0.4.2
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-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-attoparsec-devel
 BuildRequires:  ghc-attoparsec-iso8601-devel
@@ -39,6 +38,7 @@
 BuildRequires:  ghc-tagged-devel
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-compat-devel
+BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-uuid-types-devel
 %if %{with tests}
@@ -67,7 +67,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ http-api-data-0.4.1.1.tar.gz -> http-api-data-0.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.4.1.1/CHANGELOG.md 
new/http-api-data-0.4.2/CHANGELOG.md
--- old/http-api-data-0.4.1.1/CHANGELOG.md  2001-09-09 03:46:40.0 
+0200
+++ new/http-api-data-0.4.2/CHANGELOG.md2001-09-09 03:46:40.0 
+0200
@@ -1,3 +1,8 @@
+0.4.2
+-
+
+* Add instances for `Const` and `Identity`
+
 0.4.1.1
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.4.1.1/http-api-data.cabal 
new/http-api-data-0.4.2/http-api-data.cabal
--- old/http-api-data-0.4.1.1/http-api-data.cabal   2001-09-09 
03:46:40.0 +0200
+++ new/http-api-data-0.4.2/http-api-data.cabal 2001-09-09 03:46:40.0 
+0200
@@ -1,6 +1,6 @@
 cabal-version:   >= 1.10
 name:http-api-data
-version: 0.4.1.1
+version: 0.4.2
 
 synopsis:Converting to/from HTTP API data like URL pieces, headers and 
query parameters.
 category:Web
@@ -30,7 +30,8 @@
   GHC==8.2.2,
   GHC==8.4.4,
   GHC==8.6.5,
-  GHC==8.8.1
+  GHC==8.8.4,
+  GHC==8.10.2
 
 flag use-text-show
   description: Use text-show library for efficient ToHttpApiData 
implementations.
@@ -42,10 +43,11 @@
 include-dirs:   include/
 
 -- GHC bundled
-build-depends:   base  >= 4.7  && < 4.14
+build-depends:   base  >= 4.7  && < 4.15
, bytestring>= 0.10.4.0 && < 0.11
, containers>= 0.5.5.1  && < 0.7
, text  >= 1.2.3.0  && < 1.3
+   , transformers  >= 0.3  && < 0.6
 
 -- so Semigroup Builder exists
 if impl(ghc >= 8.0)
@@ -110,7 +112,7 @@
 
 build-depends:   HUnit>= 1.6.0.0 && <1.7
, hspec>= 2.7.1   && <2.8
-   , QuickCheck   >= 2.13.1  && <2.14
+   , QuickCheck   >= 2.13.1  && <2.15
, quickcheck-instances >= 0.3.21  && <0.4
 
 source-repository head
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/http-api-data-0.4.1.1/src/Web/Internal/FormUrlEncoded.hs 
new/http-api-data-0.4.2/src/Web/Internal/FormUrlEncoded.hs
--- old/http-api-data-0.4.1.1/src/Web/Internal/FormUrlEncode

commit ghc-http-api-data for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2020-08-28 21:33:34

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new.3399 (New)


Package is "ghc-http-api-data"

Fri Aug 28 21:33:34 2020 rev:18 rq:829307 version:0.4.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2020-06-19 17:13:24.754156675 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-api-data.new.3399/ghc-http-api-data.changes
2020-08-28 21:33:36.344673423 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:45:06 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.gTGq3V/_old  2020-08-28 21:33:36.820673648 +0200
+++ /var/tmp/diff_new_pack.gTGq3V/_new  2020-08-28 21:33:36.824673650 +0200
@@ -66,7 +66,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




commit ghc-http-api-data for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2020-06-19 17:13:24

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new.3606 (New)


Package is "ghc-http-api-data"

Fri Jun 19 17:13:24 2020 rev:17 rq:815107 version:0.4.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2020-05-11 13:35:39.512401259 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-api-data.new.3606/ghc-http-api-data.changes
2020-06-19 17:13:24.754156675 +0200
@@ -2 +2 @@
-Thu May  7 08:38:40 UTC 2020 - Peter Simons 
+Tue Jun  9 09:26:13 UTC 2020 - psim...@suse.com
@@ -4 +4 @@
-- Update Cabal file to get more accurate dependency information.
+- Add http-api-data at version 0.4.1.1.
@@ -6,135 +5,0 @@

-Tue Nov 12 09:57:07 UTC 2019 - psim...@suse.com
-
-- Update http-api-data to version 0.4.1.1.
-  0.4.1.1
-  ---
-
-  * Allow cookie <0.5
-  * Change to `build-type: Simple`
-

-Fri Nov  8 16:13:57 UTC 2019 - Peter Simons 
-
-- Drop obsolete group attributes.
-

-Sun May 26 09:27:02 UTC 2019 - psim...@suse.com
-
-- Update http-api-data to version 0.4.1.
-  Upstream has edited the change log file since the last release in
-  a non-trivial way, i.e. they did more than just add a new entry
-  at the top. You can review the file at:
-  http://hackage.haskell.org/package/http-api-data-0.4.1/src/CHANGELOG.md
-

-Wed Nov 14 03:01:49 UTC 2018 - psim...@suse.com
-
-- Update http-api-data to version 0.4.
-  0.4
-  ---
-
-  * `NominalDiffTime` instances preserve precision (roundtrip)
-  * Add `Semigroup.Min`, `Max`, `First`, `Last` instances
-  * Add `Tagged b a` instances
-

-Wed Oct 10 19:24:02 UTC 2018 - psim...@suse.com
-
-- Update http-api-data to version 0.3.10.
-  0.3.10
-  ---
-
-  * Fix 'SetCookie' instances
-(see [#86](https://github.com/fizruk/http-api-data/pull/86))
-  * Add support for `Fixed`
-(see [#78](https://github.com/fizruk/http-api-data/pull/87))
-
-  0.3.9
-  ---
-
-  * GHC-8.6 support
-  * Remove dependency on `uri-bytestring` and use functions from `http-types` 
instead
-(see [#75](https://github.com/fizruk/http-api-data/pull/78))
-  * Add support for `SetCookie`
-(see [#74](https://github.com/fizruk/http-api-data/pull/74))
-

-Wed Jul 18 14:26:28 UTC 2018 - psim...@suse.com
-
-- Cosmetic: replace tabs with blanks, strip trailing white space,
-  and update copyright headers with spec-cleaner.
-

-Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
-
-- Update http-api-data to version 0.3.8.1.
-  * GHC-8.4.1 support
-  * Stable URL-encoding for `Form`s (see 
[#67](https://github.com/fizruk/http-api-data/pull/67)):
-  * Introduce `urlEncodeParams` and `urlDecodeParams`;
-  * Introduce `urlEncodeAsFormStable` and use stable encoding for doctests;
-  * Add `toEntriesByKeyStable` and `toListStable`;
-  * Add `Semigroup` instance for `Form` (see 
[#69](https://github.com/fizruk/http-api-data/pull/69));
-  * Relax upper bound on Cabal (see 
[#73](https://github.com/fizruk/http-api-data/pull/73)).
-

-Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
-
-- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
-

-Thu May 18 09:52:26 UTC 2017 - psim...@suse.com
-
-- Update to version 0.3.7.1 with cabal2obs.
-

-Mon Apr 24 12:26:17 UTC 2017 - psim...@suse.com
-
-- Update to version 0.3.7 with cabal2obs.
-

-Wed Apr 19 13:32:14 UTC 2017 - psim...@suse.com
-
-- Update to version 0.3.6 with cabal2obs.
-

-Fri Mar 31 14:57:24 UTC 2017 - psim...@suse.com
-
-- Improve package description.
-

-Sun Feb 12 14:17:23 UTC 2017 - psim...@suse.com
-
-- Update to version 0.3.5 with cabal2obs.
-

-Mon Jul 25 11:25:03 UTC 2016 - psim...@suse.com
-
-- Update to version 0.2.4 revision 0 with cabal2obs.
-

commit ghc-http-api-data for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2020-05-11 13:35:12

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new.2738 (New)


Package is "ghc-http-api-data"

Mon May 11 13:35:12 2020 rev:16 rq:801025 version:0.4.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2019-12-27 13:54:14.544683640 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-api-data.new.2738/ghc-http-api-data.changes
2020-05-11 13:35:39.512401259 +0200
@@ -1,0 +2,5 @@
+Thu May  7 08:38:40 UTC 2020 - Peter Simons 
+
+- Update Cabal file to get more accurate dependency information.
+
+---

New:

  http-api-data.cabal



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.SUMm9M/_old  2020-05-11 13:35:40.240402785 +0200
+++ /var/tmp/diff_new_pack.SUMm9M/_new  2020-05-11 13:35:40.240402785 +0200
@@ -25,6 +25,7 @@
 License:BSD-2-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-attoparsec-devel
 BuildRequires:  ghc-attoparsec-iso8601-devel
@@ -66,6 +67,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ http-api-data.cabal ++
cabal-version:   >= 1.10
name:http-api-data
version: 0.4.1.1
x-revision:  1

synopsis:Converting to/from HTTP API data like URL pieces, headers and 
query parameters.
category:Web
description:
  This package defines typeclasses used for converting Haskell data types to 
and from HTTP API data.
  .
  Please see README.md

license: BSD3
license-file:LICENSE
author:  Nickolay Kudasov 
maintainer:  Nickolay Kudasov 
homepage:http://github.com/fizruk/http-api-data
stability:   unstable
build-type:  Simple

extra-source-files:
  include/overlapping-compat.h
  test/*.hs
  CHANGELOG.md
  README.md

tested-with:
  GHC==7.8.4,
  GHC==7.10.3,
  GHC==8.0.2,
  GHC==8.2.2,
  GHC==8.4.4,
  GHC==8.6.5,
  GHC==8.8.3,
  GHC==8.10.1

flag use-text-show
  description: Use text-show library for efficient ToHttpApiData 
implementations.
  default: False
  manual: True

library
hs-source-dirs: src/
include-dirs:   include/

-- GHC bundled
build-depends:   base  >= 4.7  && < 4.15
   , bytestring>= 0.10.4.0 && < 0.11
   , containers>= 0.5.5.1  && < 0.7
   , text  >= 1.2.3.0  && < 1.3

-- so Semigroup Builder exists
if impl(ghc >= 8.0)
  build-depends: bytestring >= 0.10.8.1

-- other-dependencies
build-depends:
 attoparsec>= 0.13.2.2 && < 0.14
   , attoparsec-iso8601>= 1.0.1.0  && < 1.1
   , base-compat   >= 0.10.5   && < 0.12
   , cookie>= 0.4.3&& < 0.5
   , hashable  >= 1.2.7.0  && < 1.4
   , http-types>= 0.12.3   && < 0.13
   , tagged>= 0.8.5&& < 0.9
   , time-compat   >= 1.9.2&& < 1.10
   , unordered-containers  >= 0.2.10.0  && < 0.3
   , uuid-types>= 1.0.3&& <1.1

if !impl(ghc >= 7.10)
  build-depends:
nats >= 1.1.2 && < 1.2,
void >= 0.7.3 && < 0.8

if !impl(ghc >= 8.0)
  build-depends: semigroups>= 0.18.5   && < 0.20

if flag(use-text-show)
  cpp-options: -DUSE_TEXT_SHOW
  build-depends: text-show>= 3.8.2 && <3.9

exposed-modules:
  Web.HttpApiData
  Web.FormUrlEncoded
  Web.Internal.FormUrlEncoded
  Web.Internal.HttpApiData
ghc-options: -Wall
default-language: Haskell2010

test-suite spec
type:  exitcode-stdio-1.0
main-is:   Spec.hs
other-modules:
  Web.Internal.FormUrlEncodedSpec
  Web.Internal.HttpApiDataSpec
  Web.Internal.TestInstances
hs-source-dirs: test
ghc-options:   -Wall
default-language: Haskell2010
build-tool-depends: hspec-discover:hspec-discover >= 2.7.1 && <2.8
-- inherited  depndencies
build-depends:
 base
   , base-compat
   , bytest

commit ghc-http-api-data for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2019-12-27 13:54:11

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new.6675 (New)


Package is "ghc-http-api-data"

Fri Dec 27 13:54:11 2019 rev:15 rq:759420 version:0.4.1.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2019-06-12 13:17:57.732588292 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-api-data.new.6675/ghc-http-api-data.changes
2019-12-27 13:54:14.544683640 +0100
@@ -1,0 +2,15 @@
+Tue Nov 12 09:57:07 UTC 2019 - psim...@suse.com
+
+- Update http-api-data to version 0.4.1.1.
+  0.4.1.1
+  ---
+
+  * Allow cookie <0.5
+  * Change to `build-type: Simple`
+
+---
+Fri Nov  8 16:13:57 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---

Old:

  http-api-data-0.4.1.tar.gz

New:

  http-api-data-0.4.1.1.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.dspvdW/_old  2019-12-27 13:54:15.088683903 +0100
+++ /var/tmp/diff_new_pack.dspvdW/_new  2019-12-27 13:54:15.088683903 +0100
@@ -19,11 +19,10 @@
 %global pkg_name http-api-data
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.4.1
+Version:0.4.1.1
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-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
 BuildRequires:  ghc-Cabal-devel
@@ -31,7 +30,6 @@
 BuildRequires:  ghc-attoparsec-iso8601-devel
 BuildRequires:  ghc-base-compat-devel
 BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-cabal-doctest-devel
 BuildRequires:  ghc-containers-devel
 BuildRequires:  ghc-cookie-devel
 BuildRequires:  ghc-hashable-devel
@@ -45,9 +43,6 @@
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
-BuildRequires:  ghc-directory-devel
-BuildRequires:  ghc-doctest-devel
-BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-nats-devel
 BuildRequires:  ghc-quickcheck-instances-devel
@@ -61,7 +56,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}

++ http-api-data-0.4.1.tar.gz -> http-api-data-0.4.1.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.4.1/CHANGELOG.md 
new/http-api-data-0.4.1.1/CHANGELOG.md
--- old/http-api-data-0.4.1/CHANGELOG.md2001-09-09 03:46:40.0 
+0200
+++ new/http-api-data-0.4.1.1/CHANGELOG.md  2001-09-09 03:46:40.0 
+0200
@@ -1,3 +1,9 @@
+0.4.1.1
+---
+
+* Allow cookie <0.5
+* Change to `build-type: Simple`
+
 0.4.1
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.4.1/Setup.hs 
new/http-api-data-0.4.1.1/Setup.hs
--- old/http-api-data-0.4.1/Setup.hs1970-01-01 01:00:00.0 +0100
+++ new/http-api-data-0.4.1.1/Setup.hs  2001-09-09 03:46:40.0 +0200
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.4.1/Setup.lhs 
new/http-api-data-0.4.1.1/Setup.lhs
--- old/http-api-data-0.4.1/Setup.lhs   2001-09-09 03:46:40.0 +0200
+++ new/http-api-data-0.4.1.1/Setup.lhs 1970-01-01 01:00:00.0 +0100
@@ -1,36 +0,0 @@
-\begin{code}
-{-# LANGUAGE CPP #-}
-{-# OPTIONS_GHC -Wall #-}
-module Main (main) where
-
-#ifndef MIN_VERSION_cabal_doctest
-#define MIN_VERSION_cabal_doctest(x,y,z) 0
-#endif
-
-#if MIN_VERSION_cabal_doctest(1,0,0)
-
-import Distribution.Extra.Doctest ( defaultMainWithDoctests )
-main :: IO ()
-main = defaultMainWithDoctests "doctests"
-
-#else
-
-#ifdef MIN_VERSION_Cabal
--- If the macro is defined, we have new cabal-install,
--- but for some reason we don't have cabal-doctest in package-db
---
--- Probably we are running cabal sdist, when otherwise using new-build
--- workflow
-#warning You are configuring this package without cabal-doctest installed. \
- The doctests test-suite will not work as a result. \
- To fix

commit ghc-http-api-data for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2019-06-12 13:17:55

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new.4811 (New)


Package is "ghc-http-api-data"

Wed Jun 12 13:17:55 2019 rev:14 rq:709187 version:0.4.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2018-12-06 12:16:25.853576892 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-api-data.new.4811/ghc-http-api-data.changes
2019-06-12 13:17:57.732588292 +0200
@@ -1,0 +2,9 @@
+Sun May 26 09:27:02 UTC 2019 - psim...@suse.com
+
+- Update http-api-data to version 0.4.1.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/http-api-data-0.4.1/src/CHANGELOG.md
+
+---

Old:

  http-api-data-0.4.tar.gz

New:

  http-api-data-0.4.1.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.gyPSP6/_old  2019-06-12 13:17:58.416587980 +0200
+++ /var/tmp/diff_new_pack.gyPSP6/_new  2019-06-12 13:17:58.416587980 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-api-data
 #
-# 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,7 +19,7 @@
 %global pkg_name http-api-data
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.4
+Version:0.4.1
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-Clause
@@ -39,8 +39,7 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-tagged-devel
 BuildRequires:  ghc-text-devel
-BuildRequires:  ghc-time-devel
-BuildRequires:  ghc-time-locale-compat-devel
+BuildRequires:  ghc-time-compat-devel
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-uuid-types-devel
 %if %{with tests}

++ http-api-data-0.4.tar.gz -> http-api-data-0.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.4/CHANGELOG.md 
new/http-api-data-0.4.1/CHANGELOG.md
--- old/http-api-data-0.4/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
+++ new/http-api-data-0.4.1/CHANGELOG.md2001-09-09 03:46:40.0 
+0200
@@ -1,3 +1,8 @@
+0.4.1
+-
+
+* Use `time-compat` to provide instances for `DayOfWeek`.
+
 0.4
 ---
 
@@ -18,7 +23,7 @@
 
 * GHC-8.6 support
 * Remove dependency on `uri-bytestring` and use functions from `http-types` 
instead
-  (see [#75](https://github.com/fizruk/http-api-data/pull/78))
+  (see [#75](https://github.com/fizruk/http-api-data/pull/75))
 * Add support for `SetCookie`
   (see [#74](https://github.com/fizruk/http-api-data/pull/74))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.4/http-api-data.cabal 
new/http-api-data-0.4.1/http-api-data.cabal
--- old/http-api-data-0.4/http-api-data.cabal   2001-09-09 03:46:40.0 
+0200
+++ new/http-api-data-0.4.1/http-api-data.cabal 2001-09-09 03:46:40.0 
+0200
@@ -1,6 +1,6 @@
 cabal-version:   >= 1.10
 name:http-api-data
-version: 0.4
+version: 0.4.1
 
 synopsis:Converting to/from HTTP API data like URL pieces, headers and 
query parameters.
 category:Web
@@ -29,7 +29,8 @@
   GHC==8.0.2,
   GHC==8.2.2,
   GHC==8.4.4,
-  GHC==8.6.2
+  GHC==8.6.5,
+  GHC==8.8.1
 
 custom-setup
   setup-depends:
@@ -51,7 +52,10 @@
, bytestring>= 0.10.4.0 && < 0.11
, containers>= 0.5.5.1  && < 0.7
, text  >= 1.2.3.0  && < 1.3
-   , time  >= 1.4.2&& < 1.9
+
+-- so Semigroup Builder exists
+if impl(ghc >= 8.0)
+  build-depends: bytestring >= 0.10.8.1
 
 -- other-dependencies
 build-depends:
@@ -59,24 +63,24 @@
, attoparsec-iso8601>= 1.0.1.0  && < 1.1
, base-compat   >= 0.10.5   && < 0.11
, cookie>= 0.4.3&& < 0.4.5
-   , hashable  >= 1.2.7.0  && < 1.3
-   , http-types>= 0.12.2   && < 0.13
+   , hashable  >= 1.2.7.0  && < 1.4
+   , htt

commit ghc-http-api-data for openSUSE:Factory

2018-12-06 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2018-12-06 12:16:23

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new.19453 (New)


Package is "ghc-http-api-data"

Thu Dec  6 12:16:23 2018 rev:13 rq:650504 version:0.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2018-10-25 08:17:22.388043687 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-http-api-data.new.19453/ghc-http-api-data.changes
   2018-12-06 12:16:25.853576892 +0100
@@ -1,0 +2,11 @@
+Wed Nov 14 03:01:49 UTC 2018 - psim...@suse.com
+
+- Update http-api-data to version 0.4.
+  0.4
+  ---
+
+  * `NominalDiffTime` instances preserve precision (roundtrip)
+  * Add `Semigroup.Min`, `Max`, `First`, `Last` instances
+  * Add `Tagged b a` instances
+
+---

Old:

  http-api-data-0.3.10.tar.gz

New:

  http-api-data-0.4.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.Hbde66/_old  2018-12-06 12:16:26.309576402 +0100
+++ /var/tmp/diff_new_pack.Hbde66/_new  2018-12-06 12:16:26.309576402 +0100
@@ -19,7 +19,7 @@
 %global pkg_name http-api-data
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.10
+Version:0.4
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-Clause
@@ -29,6 +29,7 @@
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-attoparsec-devel
 BuildRequires:  ghc-attoparsec-iso8601-devel
+BuildRequires:  ghc-base-compat-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-cabal-doctest-devel
 BuildRequires:  ghc-containers-devel
@@ -36,6 +37,7 @@
 BuildRequires:  ghc-hashable-devel
 BuildRequires:  ghc-http-types-devel
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-tagged-devel
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-time-locale-compat-devel
@@ -48,6 +50,7 @@
 BuildRequires:  ghc-doctest-devel
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-hspec-devel
+BuildRequires:  ghc-nats-devel
 BuildRequires:  ghc-quickcheck-instances-devel
 %endif
 

++ http-api-data-0.3.10.tar.gz -> http-api-data-0.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.3.10/CHANGELOG.md 
new/http-api-data-0.4/CHANGELOG.md
--- old/http-api-data-0.3.10/CHANGELOG.md   2018-10-05 13:27:14.0 
+0200
+++ new/http-api-data-0.4/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,10 @@
+0.4
+---
+
+* `NominalDiffTime` instances preserve precision (roundtrip)
+* Add `Semigroup.Min`, `Max`, `First`, `Last` instances
+* Add `Tagged b a` instances
+
 0.3.10
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.3.10/http-api-data.cabal 
new/http-api-data-0.4/http-api-data.cabal
--- old/http-api-data-0.3.10/http-api-data.cabal2018-10-05 
13:27:14.0 +0200
+++ new/http-api-data-0.4/http-api-data.cabal   2001-09-09 03:46:40.0 
+0200
@@ -1,6 +1,6 @@
 cabal-version:   >= 1.10
 name:http-api-data
-version: 0.3.10
+version: 0.4
 
 synopsis:Converting to/from HTTP API data like URL pieces, headers and 
query parameters.
 category:Web
@@ -22,13 +22,14 @@
   test/*.hs
   CHANGELOG.md
   README.md
+
 tested-with:
   GHC==7.8.4,
   GHC==7.10.3,
   GHC==8.0.2,
   GHC==8.2.2,
-  GHC==8.4.3,
-  GHC==8.6.1
+  GHC==8.4.4,
+  GHC==8.6.2
 
 custom-setup
   setup-depends:
@@ -55,14 +56,21 @@
 -- other-dependencies
 build-depends:
  attoparsec>= 0.13.2.2 && < 0.14
-   , attoparsec-iso8601>= 1.0.0.0  && < 1.1
+   , attoparsec-iso8601>= 1.0.1.0  && < 1.1
+   , base-compat   >= 0.10.5   && < 0.11
, cookie>= 0.4.3&& < 0.4.5
, hashable  >= 1.2.7.0  && < 1.3
-   , http-types>= 0.12.1   && < 0.13
+   , http-types>= 0.12.2   && < 0.13
+   , tagged>= 0.8.5&& < 0.9
, time-locale-compat>= 0.1.1.5  && < 0.2
, unordered-containers  >= 0.2.9.0  && < 0.3
, uuid-types>= 1.0.3&& <1.1
 
+if !impl(ghc >= 7.10)
+  build-depends:
+nats >= 1.1.2 && < 1.2,
+void >= 0.7.2 && < 0.8
+
 if !impl(ghc >= 8.0)
   build-depends: s

commit ghc-http-api-data for openSUSE:Factory

2018-10-24 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2018-10-25 08:16:50

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Thu Oct 25 08:16:50 2018 rev:12 rq:642867 version:0.3.10

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2018-07-21 10:21:54.763005331 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2018-10-25 08:17:22.388043687 +0200
@@ -1,0 +2,21 @@
+Wed Oct 10 19:24:02 UTC 2018 - psim...@suse.com
+
+- Update http-api-data to version 0.3.10.
+  0.3.10
+  ---
+
+  * Fix 'SetCookie' instances
+(see [#86](https://github.com/fizruk/http-api-data/pull/86))
+  * Add support for `Fixed`
+(see [#78](https://github.com/fizruk/http-api-data/pull/87))
+
+  0.3.9
+  ---
+
+  * GHC-8.6 support
+  * Remove dependency on `uri-bytestring` and use functions from `http-types` 
instead
+(see [#75](https://github.com/fizruk/http-api-data/pull/78))
+  * Add support for `SetCookie`
+(see [#74](https://github.com/fizruk/http-api-data/pull/74))
+
+---

Old:

  http-api-data-0.3.8.1.tar.gz

New:

  http-api-data-0.3.10.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.Umdt9S/_old  2018-10-25 08:17:22.988043426 +0200
+++ /var/tmp/diff_new_pack.Umdt9S/_new  2018-10-25 08:17:22.992043424 +0200
@@ -12,14 +12,14 @@
 # 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/
 #
 
 
 %global pkg_name http-api-data
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.8.1
+Version:0.3.10
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-Clause
@@ -32,6 +32,7 @@
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-cabal-doctest-devel
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-cookie-devel
 BuildRequires:  ghc-hashable-devel
 BuildRequires:  ghc-http-types-devel
 BuildRequires:  ghc-rpm-macros
@@ -39,7 +40,6 @@
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-time-locale-compat-devel
 BuildRequires:  ghc-unordered-containers-devel
-BuildRequires:  ghc-uri-bytestring-devel
 BuildRequires:  ghc-uuid-types-devel
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel

++ http-api-data-0.3.8.1.tar.gz -> http-api-data-0.3.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.3.8.1/CHANGELOG.md 
new/http-api-data-0.3.10/CHANGELOG.md
--- old/http-api-data-0.3.8.1/CHANGELOG.md  2018-03-15 00:11:02.0 
+0100
+++ new/http-api-data-0.3.10/CHANGELOG.md   2018-10-05 13:27:14.0 
+0200
@@ -1,3 +1,20 @@
+0.3.10
+---
+
+* Fix 'SetCookie' instances
+  (see [#86](https://github.com/fizruk/http-api-data/pull/86))
+* Add support for `Fixed`
+  (see [#78](https://github.com/fizruk/http-api-data/pull/87))
+
+0.3.9
+---
+
+* GHC-8.6 support
+* Remove dependency on `uri-bytestring` and use functions from `http-types` 
instead
+  (see [#75](https://github.com/fizruk/http-api-data/pull/78))
+* Add support for `SetCookie`
+  (see [#74](https://github.com/fizruk/http-api-data/pull/74))
+
 0.3.8.1
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.3.8.1/http-api-data.cabal 
new/http-api-data-0.3.10/http-api-data.cabal
--- old/http-api-data-0.3.8.1/http-api-data.cabal   2018-03-15 
00:11:02.0 +0100
+++ new/http-api-data-0.3.10/http-api-data.cabal2018-10-05 
13:27:14.0 +0200
@@ -1,19 +1,22 @@
+cabal-version:   >= 1.10
 name:http-api-data
-version: 0.3.8.1
-license: BSD3
-license-file:LICENSE
-author:  Nickolay Kudasov 
-maintainer:  Nickolay Kudasov 
+version: 0.3.10
+
 synopsis:Converting to/from HTTP API data like URL pieces, headers and 
query parameters.
+category:Web
 description:
   This package defines typeclasses used for converting Haskell data types to 
and from HTTP API data.
   .
   Please see README.md
+
+license: BSD3
+license-file:LICENSE
+author:  Nickolay Kudasov 
+maintainer:  Nickolay Kudasov 
 homepage:http://github.com/fizruk/http-api-data
-category:Web
 stability:   unstable
-cabal-version:   >= 1.10

commit ghc-http-api-data for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2018-07-21 10:20:00

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Sat Jul 21 10:20:00 2018 rev:11 rq:623792 version:0.3.8.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2018-05-30 12:26:02.780857700 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2018-07-21 10:21:54.763005331 +0200
@@ -1,0 +2,6 @@
+Wed Jul 18 14:26:28 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
@@ -74 +79,0 @@
-



Other differences:
--



commit ghc-http-api-data for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2018-05-30 12:09:28

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Wed May 30 12:09:28 2018 rev:10 rq:607819 version:0.3.8.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2017-09-15 21:50:29.396551735 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2018-05-30 12:26:02.780857700 +0200
@@ -1,0 +2,12 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update http-api-data to version 0.3.8.1.
+  * GHC-8.4.1 support
+  * Stable URL-encoding for `Form`s (see 
[#67](https://github.com/fizruk/http-api-data/pull/67)):
+  * Introduce `urlEncodeParams` and `urlDecodeParams`;
+  * Introduce `urlEncodeAsFormStable` and use stable encoding for doctests;
+  * Add `toEntriesByKeyStable` and `toListStable`;
+  * Add `Semigroup` instance for `Form` (see 
[#69](https://github.com/fizruk/http-api-data/pull/69));
+  * Relax upper bound on Cabal (see 
[#73](https://github.com/fizruk/http-api-data/pull/73)).
+
+---

Old:

  http-api-data-0.3.7.1.tar.gz

New:

  http-api-data-0.3.8.1.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.rjfCTh/_old  2018-05-30 12:26:03.528832637 +0200
+++ /var/tmp/diff_new_pack.rjfCTh/_new  2018-05-30 12:26:03.532832502 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-api-data
 #
-# 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,7 +19,7 @@
 %global pkg_name http-api-data
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.7.1
+Version:0.3.8.1
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-Clause
@@ -49,11 +49,13 @@
 BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-quickcheck-instances-devel
-BuildRequires:  ghc-uuid-devel
 %endif
 
 %description
-Converting to/from HTTP API data like URL pieces, headers and query parameters.
+This package defines typeclasses used for converting Haskell data types to and
+from HTTP API data.
+
+Please see README.md.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
@@ -85,7 +87,7 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
 %doc CHANGELOG.md README.md

++ http-api-data-0.3.7.1.tar.gz -> http-api-data-0.3.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.3.7.1/CHANGELOG.md 
new/http-api-data-0.3.8.1/CHANGELOG.md
--- old/http-api-data-0.3.7.1/CHANGELOG.md  2017-05-15 14:30:30.0 
+0200
+++ new/http-api-data-0.3.8.1/CHANGELOG.md  2018-03-15 00:11:02.0 
+0100
@@ -1,3 +1,25 @@
+0.3.8.1
+---
+
+* GHC-8.4.1 support
+
+0.3.8
+---
+
+* Minor changes:
+* Stable URL-encoding for `Form`s (see 
[#67](https://github.com/fizruk/http-api-data/pull/67)):
+* Introduce `urlEncodeParams` and `urlDecodeParams`;
+* Introduce `urlEncodeAsFormStable` and use stable encoding for 
doctests;
+* Add `toEntriesByKeyStable` and `toListStable`;
+* Add `Semigroup` instance for `Form` (see 
[#69](https://github.com/fizruk/http-api-data/pull/69));
+* Relax upper bound on Cabal (see 
[#73](https://github.com/fizruk/http-api-data/pull/73)).
+
+0.3.7.2
+---
+
+* Allow http-types-0.12
+* .cabal file adjustments
+
 0.3.7.1
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.3.7.1/http-api-data.cabal 
new/http-api-data-0.3.8.1/http-api-data.cabal
--- old/http-api-data-0.3.7.1/http-api-data.cabal   2017-05-15 
14:28:55.0 +0200
+++ new/http-api-data-0.3.8.1/http-api-data.cabal   2018-03-15 
00:11:02.0 +0100
@@ -1,11 +1,14 @@
 name:http-api-data
-version: 0.3.7.1
+version: 0.3.8.1
 license: BSD3
 license-file:LICENSE
 author:  Nickolay Kudasov 
 maintainer:  Nickolay Kudasov 
 synopsis:Converting to/from HTTP API data like URL pieces, headers and 
query parameters.
-description: Please see README.md
+description:
+  This package defines typeclasses u

commit ghc-http-api-data for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2017-09-15 21:50:28

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Fri Sep 15 21:50:28 2017 rev:9 rq:524814 version:0.3.7.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2017-06-12 15:28:32.169325342 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2017-09-15 21:50:29.396551735 +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-http-api-data.spec ++
--- /var/tmp/diff_new_pack.YIkhr9/_old  2017-09-15 21:50:29.980469431 +0200
+++ /var/tmp/diff_new_pack.YIkhr9/_new  2017-09-15 21:50:29.980469431 +0200
@@ -23,8 +23,8 @@
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-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
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-attoparsec-devel
@@ -41,7 +41,6 @@
 BuildRequires:  ghc-unordered-containers-devel
 BuildRequires:  ghc-uri-bytestring-devel
 BuildRequires:  ghc-uuid-types-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
@@ -58,7 +57,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}
@@ -86,11 +85,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md
 
 %changelog




commit ghc-http-api-data for openSUSE:Factory

2017-06-12 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2017-06-12 15:28:31

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Mon Jun 12 15:28:31 2017 rev:8 rq:499707 version:0.3.7.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2017-04-14 13:36:28.817912678 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2017-06-12 15:28:32.169325342 +0200
@@ -1,0 +2,15 @@
+Thu May 18 09:52:26 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.7.1 with cabal2obs.
+
+---
+Mon Apr 24 12:26:17 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.7 with cabal2obs.
+
+---
+Wed Apr 19 13:32:14 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.6 with cabal2obs.
+
+---

Old:

  http-api-data-0.3.5.tar.gz

New:

  http-api-data-0.3.7.1.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.9rSPcx/_old  2017-06-12 15:28:33.029204073 +0200
+++ /var/tmp/diff_new_pack.9rSPcx/_new  2017-06-12 15:28:33.033203508 +0200
@@ -19,7 +19,7 @@
 %global pkg_name http-api-data
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.3.5
+Version:0.3.7.1
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-Clause
@@ -27,11 +27,13 @@
 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
+BuildRequires:  ghc-attoparsec-devel
+BuildRequires:  ghc-attoparsec-iso8601-devel
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-cabal-doctest-devel
 BuildRequires:  ghc-containers-devel
-BuildRequires:  ghc-directory-devel
-BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-hashable-devel
+BuildRequires:  ghc-http-types-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
@@ -43,7 +45,9 @@
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-doctest-devel
+BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-hspec-devel
 BuildRequires:  ghc-quickcheck-instances-devel
 BuildRequires:  ghc-uuid-devel

++ http-api-data-0.3.5.tar.gz -> http-api-data-0.3.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.3.5/CHANGELOG.md 
new/http-api-data-0.3.7.1/CHANGELOG.md
--- old/http-api-data-0.3.5/CHANGELOG.md2017-01-19 21:50:10.0 
+0100
+++ new/http-api-data-0.3.7.1/CHANGELOG.md  2017-05-15 14:30:30.0 
+0200
@@ -1,3 +1,25 @@
+0.3.7.1
+---
+
+* GHC-8.2 support (see [#55](https://github.com/fizruk/http-api-data/pull/55)).
+
+0.3.7
+---
+
+* Minor changes:
+* Use 
[`attoparsec-iso8601`](http://hackage.haskell.org/package/attoparsec-iso8601)
+  for parsing of time types. Now the accepted formats are the same as by 
`aeson`,
+  i.e. parsers are more lenient
+  (see [#41](https://github.com/fizruk/http-api-data/pull/41));
+* Preserve fractions of a second in `ToHttpApiData` instances (see 
[#53](https://github.com/fizruk/http-api-data/pull/53));
+* Add `ToHttpApiData` and `FromHttpApiData` instances for `TimeOfDay` (see 
[#53](https://github.com/fizruk/http-api-data/pull/53)).
+
+0.3.6
+---
+
+* Minor change:
+* Add `toEncodedUrlPiece` class method for URL-encoded path segments (see 
[#50](https://github.com/fizruk/http-api-data/pull/50)); use efficient encoding 
for types whose values don't need URL-encoding.
+
 0.3.5
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.3.5/Setup.lhs 
new/http-api-data-0.3.7.1/Setup.lhs
--- old/http-api-data-0.3.5/Setup.lhs   2017-01-17 16:20:22.0 +0100
+++ new/http-api-data-0.3.7.1/Setup.lhs 2017-05-15 14:28:55.0 +0200
@@ -1,165 +1,36 @@
 \begin{code}
 {-# LANGUAGE CPP #-}
-#ifndef MIN_VERSION_Cabal
-#define MIN_VERSION_Cabal(x,y,z) 0
-#endif
-#ifndef MIN_VERSION_directory
-#define MIN_VERSION_directory(x,y,z) 0
-#endif
-#if MIN_VERSION_Cabal(1,24,0)
-#define InstalledPackageId UnitId
-#endif
+{-# OPTIONS_GHC -Wall #-}
 module Main (main) where
 
-import Control.Monad ( when )
-import D

commit ghc-http-api-data for openSUSE:Factory

2017-04-14 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2017-04-14 13:36:26

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Fri Apr 14 13:36:26 2017 rev:7 rq:484195 version:0.3.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2017-03-03 17:50:29.402653149 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2017-04-14 13:36:28.817912678 +0200
@@ -1,0 +2,5 @@
+Fri Mar 31 14:57:24 UTC 2017 - psim...@suse.com
+
+- Improve package description.
+
+---



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.jFOixn/_old  2017-04-14 13:36:29.325840893 +0200
+++ /var/tmp/diff_new_pack.jFOixn/_new  2017-04-14 13:36:29.325840893 +0200
@@ -50,7 +50,7 @@
 %endif
 
 %description
-Please see README.md.
+Converting to/from HTTP API data like URL pieces, headers and query parameters.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files




commit ghc-http-api-data for openSUSE:Factory

2017-03-03 Thread root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2017-03-03 17:50:28

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Fri Mar  3 17:50:28 2017 rev:6 rq:461640 version:0.3.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2016-09-05 21:20:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2017-03-03 17:50:29.402653149 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:17:23 UTC 2017 - psim...@suse.com
+
+- Update to version 0.3.5 with cabal2obs.
+
+---

Old:

  http-api-data-0.2.4.tar.gz

New:

  http-api-data-0.3.5.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.89KDVt/_old  2017-03-03 17:50:29.930578588 +0100
+++ /var/tmp/diff_new_pack.89KDVt/_new  2017-03-03 17:50:29.934578024 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-api-data
 #
-# 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 http-api-data
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.4
+Version:0.3.5
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-Clause
@@ -28,18 +28,25 @@
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-hashable-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-time-locale-compat-devel
+BuildRequires:  ghc-unordered-containers-devel
+BuildRequires:  ghc-uri-bytestring-devel
+BuildRequires:  ghc-uuid-types-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
-BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-doctest-devel
-BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-hspec-devel
+BuildRequires:  ghc-quickcheck-instances-devel
+BuildRequires:  ghc-uuid-devel
 %endif
 
 %description

++ http-api-data-0.2.4.tar.gz -> http-api-data-0.3.5.tar.gz ++
 2832 lines of diff (skipped)




commit ghc-http-api-data for openSUSE:Factory

2016-09-05 Thread h_root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2016-09-05 21:20:03

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2016-07-21 08:10:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2016-09-05 21:20:07.0 +0200
@@ -1,0 +2,5 @@
+Mon Jul 25 11:25:03 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.4 revision 0 with cabal2obs.
+
+---

Old:

  http-api-data-0.2.3.tar.gz

New:

  http-api-data-0.2.4.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.ODIj10/_old  2016-09-05 21:20:09.0 +0200
+++ /var/tmp/diff_new_pack.ODIj10/_new  2016-09-05 21:20:09.0 +0200
@@ -19,15 +19,14 @@
 %global pkg_name http-api-data
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.2.3
+Version:0.2.4
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-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-bytestring-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
@@ -35,13 +34,13 @@
 BuildRequires:  ghc-time-locale-compat-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
-BuildRequires:  ghc-Glob-devel
 BuildRequires:  ghc-HUnit-devel
 BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-doctest-devel
+BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-hspec-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Please see README.md.
@@ -60,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

++ http-api-data-0.2.3.tar.gz -> http-api-data-0.2.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.2.3/CHANGELOG.md 
new/http-api-data-0.2.4/CHANGELOG.md
--- old/http-api-data-0.2.3/CHANGELOG.md2016-06-10 02:17:37.0 
+0200
+++ new/http-api-data-0.2.4/CHANGELOG.md2016-07-23 23:33:12.0 
+0200
@@ -1,3 +1,7 @@
+0.2.4
+---
+* Make `parseHeader` total (instead of throwing exceptions on invalid Unicode, 
see [#30](https://github.com/fizruk/http-api-data/pull/30)).
+
 0.2.3
 ---
 * Add more parser helpers for `Bounded` `Enum` types.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.2.3/Setup.lhs 
new/http-api-data-0.2.4/Setup.lhs
--- old/http-api-data-0.2.3/Setup.lhs   2015-10-03 22:49:41.0 +0200
+++ new/http-api-data-0.2.4/Setup.lhs   2016-07-23 23:33:12.0 +0200
@@ -1,7 +1,48 @@
-#!/usr/bin/env runhaskell
+#!/usr/bin/runhaskell
+\begin{code}
+{-# OPTIONS_GHC -Wall #-}
+module Main (main) where
 
-> module Main where
-> import Distribution.Simple
+import Data.List ( nub )
+import Data.Version ( showVersion )
+import Distribution.Package ( PackageName(PackageName), PackageId, 
InstalledPackageId, packageVersion, packageName )
+import Distribution.PackageDescription ( PackageDescription(), TestSuite(..) )
+import Distribution.Simple ( defaultMainWithHooks, UserHooks(..), 
simpleUserHooks )
+import Distribution.Simple.Utils ( rewriteFile, 
createDirectoryIfMissingVerbose )
+import Distribution.Simple.BuildPaths ( autogenModulesDir )
+import Distribution.Simple.Setup ( BuildFlags(buildVerbosity), fromFlag )
+import Distribution.Simple.LocalBuildInfo ( withLibLBI, withTestLBI, 
LocalBuildInfo(), ComponentLocalBuildInfo(componentPackageDeps) )
+import Distribution.Verbosity ( Verbosity )
+import System.FilePath ( () )
 
-> main :: IO ()
-> main = defaultMain
+main :: IO ()
+main = defaultMainWithHooks simpleUserHooks
+  { buildHook = \pkg lbi hooks flags -> do
+ generateBuildModule (fromFlag (buildVerbosity flags)) pkg lbi
+ buildHook simpleUserHooks pkg lbi hooks flags
+  }
+
+generateBuildModule :: Verbosity -> PackageDescription -> LocalBuildInfo -> IO 
()
+generateBuildModule verbosity pkg lbi = do
+  let dir = autogenMo

commit ghc-http-api-data for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2016-07-21 08:10:12

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2016-06-14 23:08:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2016-07-21 08:10:18.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 10 17:31:34 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.3 revision 0 with cabal2obs.
+
+---



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.7nAQiY/_old  2016-07-21 08:10:19.0 +0200
+++ /var/tmp/diff_new_pack.7nAQiY/_new  2016-07-21 08:10:19.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-http-api-data
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,27 +17,23 @@
 
 
 %global pkg_name http-api-data
-
 %bcond_with tests
-
-Name:   ghc-http-api-data
+Name:   ghc-%{pkg_name}
 Version:0.2.3
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-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-bytestring-devel
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-time-locale-compat-devel
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-Glob-devel
 BuildRequires:  ghc-HUnit-devel
@@ -50,33 +46,35 @@
 %description
 Please see README.md.
 
-
 %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}
 
+
 %build
 %ghc_lib_build
 
+
 %install
 %ghc_lib_install
 
+
 %check
 %if %{with tests}
-%cabal test
+%{cabal} test
 %endif
 
+
 %post devel
 %ghc_pkg_recache
 
@@ -89,6 +87,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README.md
+%doc CHANGELOG.md README.md
 
 %changelog




commit ghc-http-api-data for openSUSE:Factory

2016-06-14 Thread h_root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2016-06-14 23:08:26

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2015-12-23 08:49:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2016-06-14 23:08:27.0 +0200
@@ -1,0 +2,6 @@
+Sat Jun 11 11:30:24 UTC 2016 - mimi...@gmail.com
+
+- update to 0.2.3
+* Add more parser helpers for Bounded Enum types.
+
+---

Old:

  http-api-data-0.2.2.tar.gz

New:

  http-api-data-0.2.3.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.S2KMz8/_old  2016-06-14 23:08:28.0 +0200
+++ /var/tmp/diff_new_pack.S2KMz8/_new  2016-06-14 23:08:28.0 +0200
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:   ghc-http-api-data
-Version:0.2.2
+Version:0.2.3
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-Clause

++ http-api-data-0.2.2.tar.gz -> http-api-data-0.2.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.2.2/CHANGELOG.md 
new/http-api-data-0.2.3/CHANGELOG.md
--- old/http-api-data-0.2.2/CHANGELOG.md2015-12-10 11:34:51.0 
+0100
+++ new/http-api-data-0.2.3/CHANGELOG.md2016-06-10 02:17:37.0 
+0200
@@ -1,3 +1,7 @@
+0.2.3
+---
+* Add more parser helpers for `Bounded` `Enum` types.
+
 0.2.2
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.2.2/Web/HttpApiData/Internal.hs 
new/http-api-data-0.2.3/Web/HttpApiData/Internal.hs
--- old/http-api-data-0.2.2/Web/HttpApiData/Internal.hs 2015-12-10 
11:08:55.0 +0100
+++ new/http-api-data-0.2.3/Web/HttpApiData/Internal.hs 2016-06-10 
01:42:14.0 +0200
@@ -44,6 +44,9 @@
 #endif
 
 -- | Convert value to HTTP API data.
+--
+-- __WARNING__: Do not derive this using @DeriveAnyClass@ as the generated
+-- instance will loop indefinitely.
 class ToHttpApiData a where
   {-# MINIMAL toUrlPiece | toQueryParam #-}
   -- | Convert to URL path piece.
@@ -59,6 +62,9 @@
   toQueryParam = toUrlPiece
 
 -- | Parse value from HTTP API data.
+--
+-- __WARNING__: Do not derive this using @DeriveAnyClass@ as the generated
+-- instance will loop indefinitely.
 class FromHttpApiData a where
   {-# MINIMAL parseUrlPiece | parseQueryParam #-}
   -- | Parse URL path piece.
@@ -280,9 +286,53 @@
 -- Right Foo
 parseBoundedTextData :: (Show a, Bounded a, Enum a) => Text -> Either Text a
 #endif
-parseBoundedTextData = parseMaybeTextData (flip lookup values . T.toLower)
-  where
-values = map (showTextData &&& id) [minBound..maxBound]
+parseBoundedTextData = parseBoundedEnumOfI showTextData
+
+-- | Lookup values based on a precalculated mapping of their representations.
+lookupBoundedEnumOf :: (Bounded a, Enum a, Eq b) => (a -> b) -> b -> Maybe a
+lookupBoundedEnumOf f = flip lookup (map (f &&& id) [minBound..maxBound])
+
+-- | Parse values based on a precalculated mapping of their @'Text'@ 
representation.
+--
+-- >>> parseBoundedEnumOf toUrlPiece "true" :: Either Text Bool
+-- Right True
+--
+-- For case sensitive parser see 'parseBoundedEnumOfI'.
+parseBoundedEnumOf :: (Bounded a, Enum a) => (a -> Text) -> Text -> Either 
Text a
+parseBoundedEnumOf = parseMaybeTextData . lookupBoundedEnumOf
+
+-- | /Case insensitive/.
+--
+-- Parse values case insensitively based on a precalculated mapping
+-- of their @'Text'@ representations.
+--
+-- >>> parseBoundedEnumOfI toUrlPiece "FALSE" :: Either Text Bool
+-- Right False
+--
+-- For case sensitive parser see 'parseBoundedEnumOf'.
+parseBoundedEnumOfI :: (Bounded a, Enum a) => (a -> Text) -> Text -> Either 
Text a
+parseBoundedEnumOfI f = parseBoundedEnumOf (T.toLower . f) . T.toLower
+
+-- | /Case insensitive/.
+--
+-- Parse values case insensitively based on @'ToHttpApiData'@ instance.
+-- Uses @'toUrlPiece'@ to get possible values.
+parseBoundedUrlPiece :: (ToHttpApiData a, Bounded a, Enum a) => Text -> Either 
Text a
+parseBoundedUrlPiece = parseBoundedEnumOfI toUrlPiece
+
+-- | /Case insensitive/.
+--
+-- Parse values case insensitively based on @'ToHttpApiData'@ instance.
+-- Uses @'toQueryParam'@ to get possible values.
+parseBoundedQueryParam :: (ToHttpApiData a, Bounded a, Enum a) => Text -> 
Either Text a
+parseBoundedQueryParam = pars

commit ghc-http-api-data for openSUSE:Factory

2015-12-22 Thread h_root
Hello community,

here is the log from the commit of package ghc-http-api-data for 
openSUSE:Factory checked in at 2015-12-23 08:49:19

Comparing /work/SRC/openSUSE:Factory/ghc-http-api-data (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-http-api-data.new (New)


Package is "ghc-http-api-data"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-http-api-data/ghc-http-api-data.changes  
2015-11-26 17:03:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-http-api-data.new/ghc-http-api-data.changes 
2015-12-23 08:49:20.0 +0100
@@ -1,0 +2,6 @@
+Sun Dec 13 16:38:11 UTC 2015 - mimi...@gmail.com
+
+- update to 0.2.2
+* Add instances for more time types: LocalTime, ZonedTime, UTCTime and 
NominalDiffTime
+
+---

Old:

  http-api-data-0.2.1.tar.gz

New:

  http-api-data-0.2.2.tar.gz



Other differences:
--
++ ghc-http-api-data.spec ++
--- /var/tmp/diff_new_pack.NKfQjk/_old  2015-12-23 08:49:21.0 +0100
+++ /var/tmp/diff_new_pack.NKfQjk/_new  2015-12-23 08:49:21.0 +0100
@@ -21,7 +21,7 @@
 %bcond_with tests
 
 Name:   ghc-http-api-data
-Version:0.2.1
+Version:0.2.2
 Release:0
 Summary:Converting to/from HTTP API data like URL pieces, headers and 
query parameters
 License:BSD-2-Clause
@@ -37,6 +37,7 @@
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
+BuildRequires:  ghc-time-locale-compat-devel
 %if %{with tests}
 BuildRequires:  ghc-Glob-devel
 BuildRequires:  ghc-HUnit-devel

++ http-api-data-0.2.1.tar.gz -> http-api-data-0.2.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.2.1/CHANGELOG.md 
new/http-api-data-0.2.2/CHANGELOG.md
--- old/http-api-data-0.2.1/CHANGELOG.md2015-10-12 18:00:56.0 
+0200
+++ new/http-api-data-0.2.2/CHANGELOG.md2015-12-10 11:34:51.0 
+0100
@@ -1,3 +1,8 @@
+0.2.2
+---
+
+* Add instances for more `time` types: `LocalTime`, `ZonedTime`, `UTCTime` and 
`NominalDiffTime`
+
 0.2.1
 ---
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/http-api-data-0.2.1/Web/HttpApiData/Internal.hs 
new/http-api-data-0.2.2/Web/HttpApiData/Internal.hs
--- old/http-api-data-0.2.1/Web/HttpApiData/Internal.hs 2015-10-12 
18:00:09.0 +0200
+++ new/http-api-data-0.2.2/Web/HttpApiData/Internal.hs 2015-12-10 
11:08:55.0 +0100
@@ -28,6 +28,7 @@
 import qualified Data.Text as T
 import qualified Data.Text.Lazy as L
 
+import Data.Time.Locale.Compat
 import Data.Time
 import Data.Version
 
@@ -364,6 +365,26 @@
 -- "2015-10-03"
 instance ToHttpApiData Day  where toUrlPiece = T.pack . show
 
+timeToUrlPiece :: FormatTime t => String -> t -> Text
+timeToUrlPiece fmt = T.pack . formatTime defaultTimeLocale (iso8601DateFormat 
(Just fmt))
+
+-- |
+-- >>> toUrlPiece $ LocalTime (fromGregorian 2015 10 03) (TimeOfDay 14 55 01)
+-- "2015-10-03T14:55:01"
+instance ToHttpApiData LocalTime where toUrlPiece = timeToUrlPiece "%H:%M:%S"
+
+-- |
+-- >>> toUrlPiece $ ZonedTime (LocalTime (fromGregorian 2015 10 03) (TimeOfDay 
14 55 01)) utc
+-- "2015-10-03T14:55:01+"
+instance ToHttpApiData ZonedTime where toUrlPiece = timeToUrlPiece "%H:%M:%S%z"
+
+-- |
+-- >>> toUrlPiece $ UTCTime (fromGregorian 2015 10 03) 864
+-- "2015-10-03T00:14:24Z"
+instance ToHttpApiData UTCTime   where toUrlPiece = timeToUrlPiece "%H:%M:%SZ"
+
+instance ToHttpApiData NominalDiffTime where toUrlPiece = toUrlPiece . (floor 
:: NominalDiffTime -> Integer)
+
 instance ToHttpApiData String   where toUrlPiece = T.pack
 instance ToHttpApiData Text where toUrlPiece = id
 instance ToHttpApiData L.Text   where toUrlPiece = L.toStrict
@@ -445,6 +466,28 @@
 -- Right (2016,12,1)
 instance FromHttpApiData Day  where parseUrlPiece = readTextData
 
+timeParseUrlPiece :: ParseTime t => String -> Text -> Either Text t
+timeParseUrlPiece fmt = parseMaybeTextData (timeParseUrlPieceMaybe . T.unpack)
+  where
+timeParseUrlPieceMaybe = parseTime defaultTimeLocale (iso8601DateFormat 
(Just fmt))
+
+-- |
+-- >>> parseUrlPiece "2015-10-03T14:55:01" :: Either Text LocalTime
+-- Right 2015-10-03 14:55:01
+instance FromHttpApiData LocalTime where parseUrlPiece = timeParseUrlPiece 
"%H:%M:%S"
+
+-- |
+-- >>> parseUrlPiece "2015-10-03T14:55:01+" :: Either Text ZonedTime
+-- Right 2015-10-03 14:55:01 +
+instance FromHttpApiData ZonedTime where parseUrlPiece = timeParseUrlPiece 
"%H:%M:%S%z"
+
+-- |
+-- >>> parseUrlPiece "2015-10-03T00:14:24Z" :: Either Text UTCTime
+-- Right 2015-10-03 00:14:24 UTC
+instance FromHttpApiData UTCTime   where parseUrlPiece = ti