17
0

8 Commits

Author SHA256 Message Date
d247223765 Accepting request 1297799 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1297799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-postgresql-simple?expand=0&rev=22
2025-08-06 12:33:59 +00:00
088263b073 osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-postgresql-simple revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-postgresql-simple?expand=0&rev=56
2025-08-04 15:10:21 +00:00
1694fc092e Accepting request 1296533 from devel:languages:haskell
Fix build with ghc-9.12.x.

OBS-URL: https://build.opensuse.org/request/show/1296533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-postgresql-simple?expand=0&rev=21
2025-07-31 15:45:58 +00:00
ab55db0114 osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-postgresql-simple revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-postgresql-simple?expand=0&rev=54
2025-07-30 10:32:24 +00:00
06094e2376 osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-postgresql-simple revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-postgresql-simple?expand=0&rev=53
2025-07-29 21:00:57 +00:00
5a28529f42 osc copypac from project:devel:languages:haskell:ghc-9.12.x package:ghc-postgresql-simple revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-postgresql-simple?expand=0&rev=52
2025-07-28 20:00:07 +00:00
76f9ba185e osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-postgresql-simple revision:3, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-postgresql-simple?expand=0&rev=51
2025-07-15 17:44:56 +00:00
d73b6f5759 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-postgresql-simple revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-postgresql-simple?expand=0&rev=50
2025-07-14 21:01:23 +00:00
5 changed files with 17 additions and 185 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Aug 2 19:12:35 UTC 2025 - Peter Simons <psimons@suse.com>
- Update postgresql-simple to version 0.7.0.1.
Upstream has not updated the file "CHANGES.md" since the last
release.
-------------------------------------------------------------------
Tue Jul 29 14:08:24 UTC 2025 - Peter Simons <psimons@suse.com>
- Jailbreak over-specified constraints to fix build with ghc-9.12.x.
-------------------------------------------------------------------
Sat Aug 24 19:25:31 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ghc-postgresql-simple
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.7.0.0
Version: 0.7.0.1
Release: 0
Summary: Mid-Level PostgreSQL client library
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-Only-devel
BuildRequires: ghc-Only-prof
@@ -63,8 +62,6 @@ BuildRequires: ghc-vector-devel
BuildRequires: ghc-vector-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-HUnit-prof
BuildRequires: ghc-base16-bytestring-devel
BuildRequires: ghc-base16-bytestring-prof
BuildRequires: ghc-cryptohash-md5-devel
@@ -113,7 +110,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8cb81bb55100715e590d3215d0f0eb6f6c39cc070c070ab621b00cfcc5e4a13e
size 98221

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:597cf320650318d6033ee538b19eb28e43f02b88590baae7272bc21275f3ab99
size 98300

View File

@@ -1,176 +0,0 @@
cabal-version: 1.12
name: postgresql-simple
version: 0.7.0.0
x-revision: 3
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@iki.fi>
copyright:
(c) 2011 MailRank, Inc.
(c) 2011-2018 Leon P Smith
(c) 2018-2020 Oleg Grenrus
category: Database
build-type: Simple
extra-source-files:
CHANGES.md
CONTRIBUTORS
test/results/malformed-input.expected
test/results/unique-constraint-violation.expected
tested-with:
GHC ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.8
|| ==9.6.6
|| ==9.8.2
|| ==9.10.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.Errors
Database.PostgreSQL.Simple.FromField
Database.PostgreSQL.Simple.FromRow
Database.PostgreSQL.Simple.HStore
Database.PostgreSQL.Simple.HStore.Internal
Database.PostgreSQL.Simple.Internal
Database.PostgreSQL.Simple.LargeObjects
Database.PostgreSQL.Simple.Newtypes
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.Vector
Database.PostgreSQL.Simple.Vector.Unboxed
-- 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
-- GHC bundled libs
build-depends:
base >=4.12.0.0 && <4.21
, bytestring >=0.10.8.2 && <0.13
, containers >=0.6.0.1 && <0.8
, template-haskell >=2.14.0.0 && <2.23
, text >=1.2.3.0 && <1.3 || >=2.0 && <2.2
, time-compat >=1.9.5 && <1.12
, transformers >=0.5.6.2 && <0.7
-- Other dependencies
build-depends:
aeson >=2.1.2.1 && <2.3
, attoparsec >=0.14.4 && <0.15
, case-insensitive >=1.2.1.0 && <1.3
, hashable >=1.4.3.0 && <1.6
, Only >=0.1 && <0.1.1
, postgresql-libpq >=0.10.0.0 && <0.12
, scientific >=0.3.7.0 && <0.4
, uuid-types >=1.0.5 && <1.1
, vector >=0.13.0.0 && <0.14
default-extensions:
BangPatterns
DoAndIfThenElse
OverloadedStrings
TypeOperators
ViewPatterns
ghc-options: -Wall -fno-warn-name-shadowing
source-repository head
type: git
location: http://github.com/haskellari/postgresql-simple
test-suite inspection
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Inspection.hs
build-depends:
base
, inspection-testing >=0.4.1.1 && <0.6
, postgresql-libpq
, postgresql-simple
, tasty
, tasty-hunit
test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules:
Common
Exception
Interval
Notify
Serializable
Time
ghc-options: -threaded
ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind
default-extensions:
NamedFieldPuns
OverloadedStrings
PatternGuards
Rank2Types
RecordWildCards
ScopedTypeVariables
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-compat
, vector
benchmark select
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Select.hs
build-depends:
base
, postgresql-simple
, vector