Accepting request 1008472 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1008472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-hslogger?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2022-10-13 13:42:09 +00:00 committed by Git OBS Bridge
commit 4c17a5c5fe
3 changed files with 120 additions and 100 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 15 07:24:14 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hslogger to version 1.3.1.0 revision 6.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 20 17:30:31 UTC 2021 - psimons@suse.com Sat Nov 20 17:30:31 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-hslogger # spec file for package ghc-hslogger
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ Summary: Versatile logging framework
License: BSD-3-Clause License: BSD-3-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/5.cabal#/%{pkg_name}.cabal Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/6.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel BuildRequires: ghc-containers-devel

View File

@ -1,98 +1,112 @@
cabal-version: 1.12 cabal-version: 1.12
build-type: Simple build-type: Simple
name: hslogger name: hslogger
version: 1.3.1.0 version: 1.3.1.0
x-revision: 5 x-revision: 6
maintainer: hvr@gnu.org maintainer: https://github.com/haskell-hvr/hslogger
author: John Goerzen author: John Goerzen
copyright: Copyright (c) 2004-2018 John Goerzen copyright: Copyright (c) 2004-2018 John Goerzen
, (c) 2019 Herbert Valerio Riedel , (c) 2019 Herbert Valerio Riedel
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
homepage: https://github.com/hvr/hslogger/wiki homepage: https://github.com/haskell-hvr/hslogger/wiki
bug-reports: https://github.com/hvr/hslogger/issues bug-reports: https://github.com/haskell-hvr/hslogger/issues
category: Interfaces category: Interfaces
synopsis: Versatile logging framework synopsis: Versatile logging framework
description: description:
@hslogger@ is a logging framework for Haskell, roughly similar @hslogger@ is a logging framework for Haskell, roughly similar
to [Python's logging module](https://docs.python.org/2/library/logging.html). to [Python's logging module](https://docs.python.org/2/library/logging.html).
. .
@hslogger@ lets each log message have a priority and source be associated @hslogger@ lets each log message have a priority and source be associated
with it. The programmer can then define global handlers that route with it. The programmer can then define global handlers that route
or filter messages based on the priority and source. @hslogger@ also or filter messages based on the priority and source. @hslogger@ also
has a [Syslog](https://tools.ietf.org/html/rfc5424) handler built in. has a [Syslog](https://tools.ietf.org/html/rfc5424) handler built in.
extra-source-files: extra-source-files:
LICENSE LICENSE
CHANGELOG.md CHANGELOG.md
contrib/java/build.xml contrib/java/build.xml
contrib/java/hslogger4j.jar contrib/java/hslogger4j.jar
contrib/java/hslogger4j-plugins.xml contrib/java/hslogger4j-plugins.xml
contrib/java/org/haskell/hslogger/HsloggerLevel.java contrib/java/org/haskell/hslogger/HsloggerLevel.java
contrib/java/org/haskell/hslogger/LogFileXMLReceiver.java contrib/java/org/haskell/hslogger/LogFileXMLReceiver.java
contrib/java/org/haskell/hslogger/XMLDecoder.java contrib/java/org/haskell/hslogger/XMLDecoder.java
testsrc/Tests.hs testsrc/Tests.hs
testsrc/runtests.hs testsrc/runtests.hs
tested-with: tested-with:
GHC ==7.0.4 || ==7.2.2 || ==7.4.2 || ==7.6.3 || ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.4 GHC == 9.4.1
GHC == 9.2.4
source-repository head GHC == 9.0.2
type: git GHC == 8.10.7
location: http://github.com/hvr/hslogger.git GHC == 8.8.4
GHC == 8.6.5
flag network--GT-3_0_0 GHC == 8.4.4
description: [network](http://hackage.haskell.org/package/network) ≥ 3.0.0 GHC == 8.2.2
default: True GHC == 8.0.2
manual: False GHC == 7.10.3
GHC == 7.8.4
library GHC == 7.6.3
hs-source-dirs: src GHC == 7.4.2
exposed-modules: GHC == 7.2.2
System.Log GHC == 7.0.4
System.Log.Handler
System.Log.Formatter source-repository head
System.Log.Handler.Simple type: git
System.Log.Handler.Syslog location: http://github.com/haskell-hvr/hslogger.git
System.Log.Handler.Growl
System.Log.Handler.Log4jXML flag network--GT-3_0_0
System.Log.Logger description: [network](http://hackage.haskell.org/package/network) ≥ 3.0.0
other-modules: default: True
UTF8 manual: False
default-language: Haskell2010 library
other-extensions: CPP ExistentialQuantification DeriveDataTypeable hs-source-dirs: src
exposed-modules:
build-depends: System.Log
base >= 4.3 && < 4.17 System.Log.Handler
, bytestring >= 0.9 && < 0.12 System.Log.Formatter
, containers >= 0.4 && < 0.7 System.Log.Handler.Simple
, deepseq >= 1.1 && < 1.5 System.Log.Handler.Syslog
, time >= 1.2 && < 1.13 System.Log.Handler.Growl
, old-locale >= 1.0 && < 1.1 System.Log.Handler.Log4jXML
System.Log.Logger
if flag(network--GT-3_0_0) other-modules:
build-depends: network-bsd >= 2.8.1 && <2.9, UTF8
network >= 3.0 && <3.2
else default-language: Haskell2010
build-depends: network >= 2.6 && <2.9 other-extensions: CPP ExistentialQuantification DeriveDataTypeable
if !os(windows) build-depends:
Build-Depends: unix >= 2.4.2 && < 2.8 base >= 4.3 && < 4.18
, bytestring >= 0.9 && < 0.12
if !impl(ghc >= 7.6) , containers >= 0.4 && < 0.7
build-depends: ghc-prim , deepseq >= 1.1 && < 1.5
, time >= 1.2 && < 1.13
test-suite runtests , old-locale >= 1.0 && < 1.1
type: exitcode-stdio-1.0
if flag(network--GT-3_0_0)
hs-source-dirs: testsrc build-depends: network-bsd >= 2.8.1 && <2.9,
main-is: runtests.hs network >= 3.0 && <3.2
other-modules: Tests else
build-depends: network >= 2.6 && <2.9
default-language: Haskell2010
build-depends: if !os(windows)
base Build-Depends: unix >= 2.4.2 && < 2.9
, HUnit == 1.3.* || == 1.6.*
, hslogger if !impl(ghc >= 7.6)
build-depends: ghc-prim
test-suite runtests
type: exitcode-stdio-1.0
hs-source-dirs: testsrc
main-is: runtests.hs
other-modules: Tests
default-language: Haskell2010
build-depends:
base
, HUnit == 1.3.* || == 1.6.*
, hslogger