Accepting request 1121514 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1121514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-zlib?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2023-11-01 21:10:06 +00:00 committed by Git OBS Bridge
commit 231c648c3b
3 changed files with 147 additions and 138 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 24 08:59:49 UTC 2023 - Peter Simons <psimons@suse.com>
- Update zlib to version 0.6.3.0 revision 4.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 10 19:26:25 UTC 2023 - Peter Simons <psimons@suse.com> Thu Aug 10 19:26:25 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -26,7 +26,7 @@ Summary: Compression and decompression in the gzip and zlib formats
License: BSD-2-Clause License: BSD-2-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz 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 Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof BuildRequires: ghc-base-prof

View File

@ -1,137 +1,140 @@
cabal-version: >= 1.10 cabal-version: >= 1.10
name: zlib name: zlib
version: 0.6.3.0 version: 0.6.3.0
x-revision: 3 x-revision: 4
copyright: (c) 2006-2016 Duncan Coutts copyright: (c) 2006-2016 Duncan Coutts
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
author: Duncan Coutts <duncan@community.haskell.org> author: Duncan Coutts <duncan@community.haskell.org>
maintainer: Duncan Coutts <duncan@community.haskell.org>, Andrew Lelechenko <andrew.lelechenko@gmail.com>, Emily Pillmore <emilypi@cohomolo.gy>, Herbert Valerio Riedel <hvr@gnu.org> maintainer: Duncan Coutts <duncan@community.haskell.org>, Andrew Lelechenko <andrew.lelechenko@gmail.com>, Emily Pillmore <emilypi@cohomolo.gy>, Herbert Valerio Riedel <hvr@gnu.org>
bug-reports: https://github.com/haskell/zlib/issues bug-reports: https://github.com/haskell/zlib/issues
category: Codec category: Codec
synopsis: Compression and decompression in the gzip and zlib formats synopsis: Compression and decompression in the gzip and zlib formats
description: This package provides a pure interface for compressing and description: This package provides a pure interface for compressing and
decompressing streams of data represented as lazy decompressing streams of data represented as lazy
'ByteString's. It uses the 'ByteString's. It uses the
<https://en.wikipedia.org/wiki/Zlib zlib C library> <https://en.wikipedia.org/wiki/Zlib zlib C library>
so it has high performance. It supports the \"zlib\", so it has high performance. It supports the \"zlib\",
\"gzip\" and \"raw\" compression formats. \"gzip\" and \"raw\" compression formats.
. .
It provides a convenient high level API suitable for most It provides a convenient high level API suitable for most
tasks and for the few cases where more control is needed it tasks and for the few cases where more control is needed it
provides access to the full zlib feature set. provides access to the full zlib feature set.
build-type: Simple build-type: Simple
tested-with: GHC == 7.0.4 tested-with: GHC == 7.0.4
, GHC == 7.2.2 , GHC == 7.2.2
, GHC == 7.4.2 , GHC == 7.4.2
, GHC == 7.6.3 , GHC == 7.6.3
, GHC == 7.8.4 , GHC == 7.8.4
, GHC == 7.10.3 , GHC == 7.10.3
, GHC == 8.0.2 , GHC == 8.0.2
, GHC == 8.2.2 , GHC == 8.2.2
, GHC == 8.4.4 , GHC == 8.4.4
, GHC == 8.6.5 , GHC == 8.6.5
, GHC == 8.8.4 , GHC == 8.8.4
, GHC == 8.10.7 , GHC == 8.10.7
, GHC == 9.0.2 , GHC == 9.0.2
, GHC == 9.2.2 , GHC == 9.2.8
, GHC == 9.4.7
extra-source-files: changelog , GHC == 9.6.3
README.md , GHC == 9.8.1
-- zlib C sources (for Windows)
cbits/crc32.h cbits/inffast.h cbits/inflate.h extra-source-files: changelog
cbits/trees.h cbits/deflate.h cbits/inffixed.h README.md
cbits/inftrees.h cbits/zutil.h cbits/gzguts.h -- zlib C sources (for Windows)
-- test data files cbits/crc32.h cbits/inffast.h cbits/inflate.h
test/data/bad-crc.gz test/data/custom-dict.zlib cbits/trees.h cbits/deflate.h cbits/inffixed.h
test/data/custom-dict.zlib-dict test/data/hello.gz cbits/inftrees.h cbits/zutil.h cbits/gzguts.h
test/data/not-gzip test/data/two-files.gz -- test data files
-- demo programs: test/data/bad-crc.gz test/data/custom-dict.zlib
examples/gzip.hs examples/gunzip.hs test/data/custom-dict.zlib-dict test/data/hello.gz
test/data/not-gzip test/data/two-files.gz
source-repository head -- demo programs:
type: git examples/gzip.hs examples/gunzip.hs
location: https://github.com/haskell/zlib.git
source-repository head
flag non-blocking-ffi type: git
default: False location: https://github.com/haskell/zlib.git
manual: True
description: The (de)compression calls can sometimes take a long time, which flag non-blocking-ffi
prevents other Haskell threads running. Enabling this flag default: False
avoids this unfairness, but with greater overall cost. manual: True
description: The (de)compression calls can sometimes take a long time, which
flag pkg-config prevents other Haskell threads running. Enabling this flag
default: False avoids this unfairness, but with greater overall cost.
manual: True
description: Use @pkg-config(1)@ to locate foreign @zlib@ library. flag pkg-config
default: False
flag bundled-c-zlib manual: True
default: False description: Use @pkg-config(1)@ to locate foreign @zlib@ library.
manual: True
description: Use the bundled zlib C sources. Requires pkg-config to be False. flag bundled-c-zlib
For windows, this is the default. default: False
manual: True
description: Use the bundled zlib C sources. Requires pkg-config to be False.
library For windows, this is the default.
exposed-modules: Codec.Compression.GZip,
Codec.Compression.Zlib,
Codec.Compression.Zlib.Raw, library
Codec.Compression.Zlib.Internal exposed-modules: Codec.Compression.GZip,
other-modules: Codec.Compression.Zlib.Stream, Codec.Compression.Zlib,
Codec.Compression.Zlib.ByteStringCompat Codec.Compression.Zlib.Raw,
Codec.Compression.Zlib.Internal
if impl(ghc < 7) other-modules: Codec.Compression.Zlib.Stream,
default-language: Haskell98 Codec.Compression.Zlib.ByteStringCompat
default-extensions: PatternGuards
else if impl(ghc < 7)
default-language: Haskell2010 default-language: Haskell98
default-extensions: PatternGuards
other-extensions: CPP, ForeignFunctionInterface, RankNTypes, BangPatterns, else
DeriveDataTypeable default-language: Haskell2010
if impl(ghc >= 7.2)
other-extensions: DeriveGeneric other-extensions: CPP, ForeignFunctionInterface, RankNTypes, BangPatterns,
if impl(ghc >= 7.6) DeriveDataTypeable
other-extensions: CApiFFI if impl(ghc >= 7.2)
other-extensions: DeriveGeneric
build-depends: base >= 4 && < 4.20, if impl(ghc >= 7.6)
bytestring >= 0.9 && < 0.13 other-extensions: CApiFFI
if impl(ghc >= 7.0 && < 8.0.3)
build-depends: ghc-prim build-depends: base >= 4 && < 4.20,
bytestring >= 0.9 && < 0.13
includes: zlib.h if impl(ghc >= 7.0 && < 8.0.3)
ghc-options: -Wall -fwarn-tabs build-depends: ghc-prim
if flag(non-blocking-ffi)
cpp-options: -DNON_BLOCKING_FFI includes: zlib.h
if flag(pkg-config) && !impl(ghcjs) && !os(ghcjs) ghc-options: -Wall -fwarn-tabs
-- NB: pkg-config is available on windows as well when using msys2 if flag(non-blocking-ffi)
pkgconfig-depends: zlib cpp-options: -DNON_BLOCKING_FFI
else if flag(pkg-config) && !impl(ghcjs) && !os(ghcjs)
-- don't use pkg-config -- NB: pkg-config is available on windows as well when using msys2
if !os(windows) && !flag(bundled-c-zlib) && !impl(ghcjs) && !os(ghcjs) pkgconfig-depends: zlib
-- Normally we use the the standard system zlib. else
extra-libraries: z -- don't use pkg-config
else if !os(windows) && !flag(bundled-c-zlib) && !impl(ghcjs) && !os(ghcjs)
-- However for the benefit of users of Windows (which does not have zlib -- Normally we use the the standard system zlib.
-- by default) we bundle a complete copy of the C sources of zlib-1.2.11 extra-libraries: z
c-sources: cbits/adler32.c cbits/compress.c cbits/crc32.c else
cbits/deflate.c cbits/infback.c -- However for the benefit of users of Windows (which does not have zlib
cbits/inffast.c cbits/inflate.c cbits/inftrees.c -- by default) we bundle a complete copy of the C sources of zlib-1.2.11
cbits/trees.c cbits/uncompr.c cbits/zutil.c c-sources: cbits/adler32.c cbits/compress.c cbits/crc32.c
include-dirs: cbits cbits/deflate.c cbits/infback.c
install-includes: zlib.h zconf.h cbits/inffast.c cbits/inflate.c cbits/inftrees.c
cbits/trees.c cbits/uncompr.c cbits/zutil.c
test-suite tests include-dirs: cbits
type: exitcode-stdio-1.0 install-includes: zlib.h zconf.h
main-is: Test.hs
other-modules: Utils, test-suite tests
Test.Codec.Compression.Zlib.Internal, type: exitcode-stdio-1.0
Test.Codec.Compression.Zlib.Stream main-is: Test.hs
hs-source-dirs: test other-modules: Utils,
default-language: Haskell2010 Test.Codec.Compression.Zlib.Internal,
build-depends: base, bytestring, zlib, Test.Codec.Compression.Zlib.Stream
QuickCheck == 2.*, hs-source-dirs: test
tasty >= 0.8 && < 1.5, default-language: Haskell2010
tasty-quickcheck >= 0.8 && < 0.11 build-depends: base, bytestring, zlib,
ghc-options: -Wall QuickCheck == 2.*,
tasty >= 0.8 && < 1.6,
tasty-quickcheck >= 0.8 && < 0.11
ghc-options: -Wall