[Git][haskell-team/DHG_packages][master] postgresql-simple: Upgrading from 0.6.2 to 0.6.4

Ilias Tsitsimpis (@iliastsi) gitlab at salsa.debian.org
Tue Jul 26 13:42:46 BST 2022



Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
1ef0b48d by Ilias Tsitsimpis at 2022-07-26T15:40:31+03:00
postgresql-simple: Upgrading from 0.6.2 to 0.6.4

- - - - -


4 changed files:

- p/haskell-postgresql-simple/debian/changelog
- p/haskell-postgresql-simple/debian/control
- p/haskell-postgresql-simple/debian/patches/newer-deps
- p/haskell-postgresql-simple/debian/patches/no-bytestring-builder


Changes:

=====================================
p/haskell-postgresql-simple/debian/changelog
=====================================
@@ -1,8 +1,9 @@
-haskell-postgresql-simple (0.6.2-4) UNRELEASED; urgency=medium
+haskell-postgresql-simple (0.6.4-1) unstable; urgency=medium
 
   * Declare compliance with Debian policy 4.6.1
+  * New upstream release
 
- -- Ilias Tsitsimpis <iliastsi at debian.org>  Tue, 28 Jun 2022 15:32:55 +0300
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Tue, 26 Jul 2022 15:29:17 +0300
 
 haskell-postgresql-simple (0.6.2-3) unstable; urgency=medium
 


=====================================
p/haskell-postgresql-simple/debian/control
=====================================
@@ -12,40 +12,33 @@ Build-Depends:
  haskell-devscripts (>= 0.15),
  libghc-only-dev (>= 0.1),
  libghc-only-dev (<< 0.1.1),
- libghc-only-prof (>= 0.1),
- libghc-only-prof (<< 0.1.1),
- libghc-aeson-dev (>= 1.4.1.0),
- libghc-aeson-dev (<< 1.6),
- libghc-aeson-prof (>= 1.4.1.0),
- libghc-aeson-prof (<< 1.6),
+ libghc-only-prof,
+ libghc-aeson-dev,
+ libghc-aeson-prof,
  libghc-attoparsec-dev (>= 0.13.2.2),
- libghc-attoparsec-dev (<< 0.14),
- libghc-attoparsec-prof (>= 0.13.2.2),
- libghc-attoparsec-prof (<< 0.14),
+ libghc-attoparsec-dev (<< 0.15),
+ libghc-attoparsec-prof,
  libghc-case-insensitive-dev (>= 1.2.0.11),
  libghc-case-insensitive-dev (<< 1.3),
- libghc-case-insensitive-prof (>= 1.2.0.11),
- libghc-case-insensitive-prof (<< 1.3),
+ libghc-case-insensitive-prof,
  libghc-hashable-dev (>= 1.2.7.0),
- libghc-hashable-dev (<< 1.4),
- libghc-hashable-prof (>= 1.2.7.0),
- libghc-hashable-prof (<< 1.4),
- libghc-postgresql-libpq-dev (>= 0.9.4.2),
+ libghc-hashable-dev (<< 1.5),
+ libghc-hashable-prof,
+ libghc-postgresql-libpq-dev (>= 0.9.4.3),
  libghc-postgresql-libpq-dev (<< 0.10),
- libghc-postgresql-libpq-prof (>= 0.9.4.2),
- libghc-postgresql-libpq-prof (<< 0.10),
+ libghc-postgresql-libpq-prof,
  libghc-scientific-dev (>= 0.3.6.2),
  libghc-scientific-dev (<< 0.4),
- libghc-scientific-prof (>= 0.3.6.2),
- libghc-scientific-prof (<< 0.4),
+ libghc-scientific-prof,
+ libghc-time-compat-dev (>= 1.9.5),
+ libghc-time-compat-dev (<< 1.12),
+ libghc-time-compat-prof,
  libghc-uuid-types-dev (>= 1.0.3),
  libghc-uuid-types-dev (<< 1.1),
- libghc-uuid-types-prof (>= 1.0.3),
- libghc-uuid-types-prof (<< 1.1),
+ libghc-uuid-types-prof,
  libghc-vector-dev (>= 0.12.0.1),
- libghc-vector-dev (<< 0.13),
- libghc-vector-prof (>= 0.12.0.1),
- libghc-vector-prof (<< 0.13),
+ libghc-vector-dev (<< 0.14),
+ libghc-vector-prof,
 Build-Depends-Indep: ghc-doc,
  libghc-only-doc,
  libghc-aeson-doc,
@@ -54,6 +47,7 @@ Build-Depends-Indep: ghc-doc,
  libghc-hashable-doc,
  libghc-postgresql-libpq-doc,
  libghc-scientific-doc,
+ libghc-time-compat-doc,
  libghc-uuid-types-doc,
  libghc-vector-doc,
 Standards-Version: 4.6.1


=====================================
p/haskell-postgresql-simple/debian/patches/newer-deps
=====================================
@@ -1,321 +1,73 @@
+Index: b/postgresql-simple.cabal
+===================================================================
 --- a/postgresql-simple.cabal
 +++ b/postgresql-simple.cabal
-@@ -1,20 +1,22 @@
--Cabal-version:       1.12
--Name:                postgresql-simple
--Version:             0.6.2
--
--Synopsis:            Mid-Level PostgreSQL client library
--Description:
--    Mid-Level PostgreSQL client library, forked from mysql-simple.
--License:             BSD3
--License-file:        LICENSE
--Author:              Bryan O'Sullivan, Leon P Smith
--Maintainer:          Oleg Grenrus <oleg.grenrus at iki.fi>
--Copyright:           (c) 2011 MailRank, Inc.
--                     (c) 2011-2018 Leon P Smith
--                     (c) 2018-2019 Oleg Grenrus
--Category:            Database
--Build-type:          Simple
-+cabal-version:      1.12
-+name:               postgresql-simple
-+version:            0.6.2
-+x-revision:         4
-+synopsis:           Mid-Level PostgreSQL client library
-+description:
-+  Mid-Level PostgreSQL client library, forked from mysql-simple.
-+
-+license:            BSD3
-+license-file:       LICENSE
-+author:             Bryan O'Sullivan, Leon P Smith
-+maintainer:         Oleg Grenrus <oleg.grenrus at iki.fi>
-+copyright:
-+  (c) 2011 MailRank, Inc.
-+  (c) 2011-2018 Leon P Smith
-+  (c) 2018-2019 Oleg Grenrus
+@@ -1,6 +1,7 @@
+ cabal-version:      1.12
+ name:               postgresql-simple
+ version:            0.6.4
++x-revision:         8
+ synopsis:           Mid-Level PostgreSQL client library
+ description:
+   Mid-Level PostgreSQL client library, forked from mysql-simple.
+@@ -31,7 +32,9 @@ tested-with:
+    || ==8.4.4
+    || ==8.6.5
+    || ==8.8.4
+-   || ==8.10.3
++   || ==8.10.7
++   || ==9.0.1
++   || ==9.2.1
  
-+category:           Database
-+build-type:         Simple
- extra-source-files:
-   CONTRIBUTORS
-   CHANGES.md
-@@ -22,88 +24,87 @@
-   test/results/unique-constraint-violation.expected
- 
- tested-with:
--  GHC == 7.6.3
--   || == 7.8.4
--   || == 7.10.3
--   || == 8.0.2
--   || == 8.2.2
--   || == 8.4.4
--   || == 8.6.5
--   || == 8.8.1
-+  GHC ==7.6.3
-+   || ==7.8.4
-+   || ==7.10.3
-+   || ==8.0.2
-+   || ==8.2.2
-+   || ==8.4.4
-+   || ==8.6.5
-+   || ==8.8.1
-+
-+library
-+  default-language:   Haskell2010
-+  hs-source-dirs:     src
-+  exposed-modules:
-+    Database.PostgreSQL.Simple
-+    Database.PostgreSQL.Simple.Arrays
-+    Database.PostgreSQL.Simple.Copy
-+    Database.PostgreSQL.Simple.Cursor
-+    Database.PostgreSQL.Simple.FromField
-+    Database.PostgreSQL.Simple.FromRow
-+    Database.PostgreSQL.Simple.LargeObjects
-+    Database.PostgreSQL.Simple.HStore
-+    Database.PostgreSQL.Simple.HStore.Internal
-+    Database.PostgreSQL.Simple.Notification
-+    Database.PostgreSQL.Simple.Ok
-+    Database.PostgreSQL.Simple.Range
-+    Database.PostgreSQL.Simple.SqlQQ
-+    Database.PostgreSQL.Simple.Time
-+    Database.PostgreSQL.Simple.Time.Internal
-+    Database.PostgreSQL.Simple.ToField
-+    Database.PostgreSQL.Simple.ToRow
-+    Database.PostgreSQL.Simple.Transaction
-+    Database.PostgreSQL.Simple.TypeInfo
-+    Database.PostgreSQL.Simple.TypeInfo.Macro
-+    Database.PostgreSQL.Simple.TypeInfo.Static
-+    Database.PostgreSQL.Simple.Types
-+    Database.PostgreSQL.Simple.Errors
-+    Database.PostgreSQL.Simple.Vector
-+    Database.PostgreSQL.Simple.Vector.Unboxed
- 
--Library
--  default-language: Haskell2010
--  hs-source-dirs: src
--  Exposed-modules:
--     Database.PostgreSQL.Simple
--     Database.PostgreSQL.Simple.Arrays
--     Database.PostgreSQL.Simple.Copy
--     Database.PostgreSQL.Simple.Cursor
--     Database.PostgreSQL.Simple.FromField
--     Database.PostgreSQL.Simple.FromRow
--     Database.PostgreSQL.Simple.LargeObjects
--     Database.PostgreSQL.Simple.HStore
--     Database.PostgreSQL.Simple.HStore.Internal
--     Database.PostgreSQL.Simple.Notification
--     Database.PostgreSQL.Simple.Ok
--     Database.PostgreSQL.Simple.Range
--     Database.PostgreSQL.Simple.SqlQQ
--     Database.PostgreSQL.Simple.Time
--     Database.PostgreSQL.Simple.Time.Internal
--     Database.PostgreSQL.Simple.ToField
--     Database.PostgreSQL.Simple.ToRow
--     Database.PostgreSQL.Simple.Transaction
--     Database.PostgreSQL.Simple.TypeInfo
--     Database.PostgreSQL.Simple.TypeInfo.Macro
--     Database.PostgreSQL.Simple.TypeInfo.Static
--     Database.PostgreSQL.Simple.Types
--     Database.PostgreSQL.Simple.Errors
--     Database.PostgreSQL.Simple.Vector
--     Database.PostgreSQL.Simple.Vector.Unboxed
--
---- Other-modules:
--     Database.PostgreSQL.Simple.Internal
--
--  Other-modules:
--     Database.PostgreSQL.Simple.Compat
--     Database.PostgreSQL.Simple.HStore.Implementation
--     Database.PostgreSQL.Simple.Internal.PQResultUtils
--     Database.PostgreSQL.Simple.Time.Implementation
--     Database.PostgreSQL.Simple.Time.Internal.Parser
--     Database.PostgreSQL.Simple.Time.Internal.Printer
--     Database.PostgreSQL.Simple.TypeInfo.Types
-+    Database.PostgreSQL.Simple.Internal
-+
-+  -- Other-modules:
-+  other-modules:
-+    Database.PostgreSQL.Simple.Compat
-+    Database.PostgreSQL.Simple.HStore.Implementation
-+    Database.PostgreSQL.Simple.Internal.PQResultUtils
-+    Database.PostgreSQL.Simple.Time.Implementation
-+    Database.PostgreSQL.Simple.Time.Internal.Parser
-+    Database.PostgreSQL.Simple.Time.Internal.Printer
-+    Database.PostgreSQL.Simple.TypeInfo.Types
+ library
+   default-language:   Haskell2010
+@@ -77,31 +80,31 @@ library
  
    -- GHC bundled libs
--  Build-depends:
--      base               >=4.6.0.0  && <4.13
--    , bytestring         >=0.10.0.0 && <0.11
--    , containers         >=0.5.0.0  && <0.7
--    , time               >=1.4.0.1  && <1.9
--    , transformers       >=0.3.0.0  && <0.6
--    , template-haskell   >=2.8.0.0  && <2.15
--    , text               >=1.2.3.0  && <1.3
-+  build-depends:
-+      base              >=4.6.0.0  && <4.15
-+    , bytestring        >=0.10.0.0 && <0.11
-+    , containers        >=0.5.0.0  && <0.7
-+    , template-haskell  >=2.8.0.0  && <2.17
-+    , text              >=1.2.3.0  && <1.3
-+    , time              >=1.4.0.1  && <1.10
-+    , transformers      >=0.3.0.0  && <0.6
+   build-depends:
+-      base              >=4.6.0.0  && <4.15
++      base              >=4.6.0.0  && <4.17
+     , bytestring        >=0.10.0.0 && <0.12
+     , containers        >=0.5.0.0  && <0.7
+-    , template-haskell  >=2.8.0.0  && <2.17
+-    , text              >=1.2.3.0  && <1.3
++    , template-haskell  >=2.8.0.0  && <2.19
++    , text              >=1.2.3.0  && <1.3 || >=2.0 && <2.1
+     , time-compat       >=1.9.5    && <1.12
+-    , transformers      >=0.3.0.0  && <0.6
++    , transformers      >=0.3.0.0  && <0.7
  
    -- Other dependencies
--  Build-depends:
--      aeson              >=1.4.1.0     && <1.5
--    , attoparsec         >=0.13.2.2    && <0.14
--    , bytestring-builder >=0.10.8.1.0  && <0.11
--    , case-insensitive   >=1.2.0.11    && <1.3
--    , hashable           >=1.2.7.0     && <1.3
--    , Only               >=0.1         && <0.1.1
--    , postgresql-libpq   >=0.9.4.2     && < 0.10
--    , uuid-types         >=1.0.3       && <1.1
--    , scientific         >=0.3.6.2     && <0.4
--    , vector             >=0.12.0.1    && <0.13
--
--  if !impl(ghc >= 8.0)
--    Build-depends:
--      fail       >=4.9.0.0 && <4.10,
--      semigroups >=0.18.5  && <0.19
--
--  if !impl(ghc >= 7.6)
--    Build-depends:
--      ghc-prim
-+  build-depends:
-+      aeson               >=1.4.1.0    && <1.6
-+    , attoparsec          >=0.13.2.2   && <0.14
-+    , bytestring-builder  >=0.10.8.1.0 && <0.11
-+    , case-insensitive    >=1.2.0.11   && <1.3
-+    , hashable            >=1.2.7.0    && <1.4
-+    , Only                >=0.1        && <0.1.1
-+    , postgresql-libpq    >=0.9.4.2    && <0.10
-+    , scientific          >=0.3.6.2    && <0.4
-+    , uuid-types          >=1.0.3      && <1.1
-+    , vector              >=0.12.0.1   && <0.13
-+
-+  if !impl(ghc >=8.0)
-+    build-depends:
-+        fail        >=4.9.0.0 && <4.10
-+      , semigroups  >=0.18.5  && <0.20
-+
-+  if !impl(ghc >=7.6)
-+    build-depends: ghc-prim
- 
-   default-extensions:
-     DoAndIfThenElse
-@@ -112,7 +113,7 @@
-     ViewPatterns
-     TypeOperators
- 
--  ghc-options: -Wall -fno-warn-name-shadowing
-+  ghc-options:        -Wall -fno-warn-name-shadowing
- 
- source-repository head
-   type:     git
-@@ -124,35 +125,33 @@
-   tag:      v0.6
+   build-depends:
+-      aeson               >=1.4.1.0    && <1.6
+-    , attoparsec          >=0.13.2.2   && <0.14
++      aeson               >=1.4.1.0    && <1.6 || >=2.0.0.0 && <2.2
++    , attoparsec          >=0.13.2.2   && <0.15
+     , bytestring-builder  >=0.10.8.1.0 && <0.11
+     , case-insensitive    >=1.2.0.11   && <1.3
+-    , hashable            >=1.2.7.0    && <1.4
++    , hashable            >=1.2.7.0    && <1.5
+     , Only                >=0.1        && <0.1.1
+     , postgresql-libpq    >=0.9.4.3    && <0.10
+     , scientific          >=0.3.6.2    && <0.4
+     , uuid-types          >=1.0.3      && <1.1
+-    , vector              >=0.12.0.1   && <0.13
++    , vector              >=0.12.0.1   && <0.14
  
- test-suite inspection
--  if !impl(ghc >= 8.0)
-+  if !impl(ghc >=8.0)
-     buildable: False
+   if !impl(ghc >=8.0)
+     build-depends:
+         fail        >=4.9.0.0 && <4.10
+-      , semigroups  >=0.18.5  && <0.20
++      , semigroups  >=0.18.5  && <0.21
  
-   default-language: Haskell2010
--  type:           exitcode-stdio-1.0
--  hs-source-dirs: test
--  main-is:        Inspection.hs
-+  type:             exitcode-stdio-1.0
-+  hs-source-dirs:   test
-+  main-is:          Inspection.hs
+   if !impl(ghc >=7.6)
+     build-depends: ghc-prim
+@@ -134,7 +137,7 @@ test-suite inspection
+   main-is:          Inspection.hs
    build-depends:
        base
-     , inspection-testing  >=0.4.1.1 && <0.5
--    , postgresql-simple
+-    , inspection-testing  >=0.4.1.1 && <0.5
++    , inspection-testing  >=0.4.1.1 && <0.6
      , postgresql-libpq
-+    , postgresql-simple
+     , postgresql-simple
      , tasty
-     , tasty-hunit
- 
- test-suite test
--  default-language: Haskell2010
--  type:           exitcode-stdio-1.0
--
--  hs-source-dirs: test
--  main-is:        Main.hs
-+  default-language:   Haskell2010
-+  type:               exitcode-stdio-1.0
-+  hs-source-dirs:     test
-+  main-is:            Main.hs
-   other-modules:
-     Common
-     Notify
-     Serializable
-     Time
- 
--  ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind
--
-+  ghc-options:        -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind
-   default-extensions:
-     NamedFieldPuns
-     OverloadedStrings
-@@ -161,34 +160,33 @@
-     PatternGuards
-     ScopedTypeVariables
- 
--  build-depends: base
--               , aeson
--               , base16-bytestring
--               , bytestring
--               , containers
--               , cryptohash-md5 >= 0.11.100.1 && <0.12
--               , filepath
--               , tasty
--               , tasty-hunit
--               , tasty-golden
--               , HUnit
--               , postgresql-simple
--               , text
--               , time
--               , vector
--               , case-insensitive
-+  build-depends:
-+      aeson
-+    , base
-+    , base16-bytestring
-+    , bytestring
-+    , case-insensitive
-+    , containers
-+    , cryptohash-md5     >=0.11.100.1 && <0.12
-+    , filepath
-+    , HUnit
-+    , postgresql-simple
-+    , tasty
-+    , tasty-golden
-+    , tasty-hunit
-+    , text
-+    , time
-+    , vector
- 
--  if !impl(ghc >= 7.6)
--    build-depends:
--      ghc-prim
-+  if !impl(ghc >=7.6)
-+    build-depends: ghc-prim
- 
- benchmark select
-   default-language: Haskell2010
-   type:             exitcode-stdio-1.0
--
--  hs-source-dirs:  bench
--  main-is: Select.hs
--
--  build-depends: base
--               , postgresql-simple
--               , vector
-+  hs-source-dirs:   bench
-+  main-is:          Select.hs
-+  build-depends:
-+      base
-+    , postgresql-simple
-+    , vector


=====================================
p/haskell-postgresql-simple/debian/patches/no-bytestring-builder
=====================================
@@ -1,10 +1,12 @@
+Index: b/postgresql-simple.cabal
+===================================================================
 --- a/postgresql-simple.cabal
 +++ b/postgresql-simple.cabal
-@@ -89,7 +89,6 @@
+@@ -92,7 +92,6 @@ library
    build-depends:
-       aeson               >=1.4.1.0    && <1.6
-     , attoparsec          >=0.13.2.2   && <0.14
+       aeson               >=1.4.1.0    && <1.6 || >=2.0.0.0 && <2.2
+     , attoparsec          >=0.13.2.2   && <0.15
 -    , bytestring-builder  >=0.10.8.1.0 && <0.11
      , case-insensitive    >=1.2.0.11   && <1.3
-     , hashable            >=1.2.7.0    && <1.4
+     , hashable            >=1.2.7.0    && <1.5
      , Only                >=0.1        && <0.1.1



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/1ef0b48d26e4b4a128362c4848eda8af68427b75

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/1ef0b48d26e4b4a128362c4848eda8af68427b75
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20220726/c61b4a4f/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list