SHA256
1
0
forked from pool/ghc-katip

Accepting request 953491 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/953491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-katip?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2022-02-11 22:09:14 +00:00 committed by Git OBS Bridge
commit 3ba0a689e5
3 changed files with 162 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 19 07:31:48 UTC 2022 - Peter Simons <psimons@suse.com>
- Update katip to version 0.8.7.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 6 20:34:01 UTC 2021 - psimons@suse.com Sat Nov 6 20:34:01 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-katip # spec file for package ghc-katip
# #
# 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,6 +25,7 @@ Summary: A structured 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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel BuildRequires: ghc-aeson-devel
BuildRequires: ghc-async-devel BuildRequires: ghc-async-devel
@ -81,6 +82,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build %build
%ghc_lib_build %ghc_lib_build

153
katip.cabal Normal file
View File

@ -0,0 +1,153 @@
name: katip
version: 0.8.7.0
x-revision: 1
synopsis: A structured logging framework.
description:
Katip is a structured logging framework. See README.md for more details.
license: BSD3
license-file: LICENSE
author: Ozgun Ataman, Michael Xavier
maintainer: michael.xavier@soostone.com
copyright: Soostone Inc, 2015-2017
category: Data, Text, Logging
homepage: https://github.com/Soostone/katip
bug-reports: https://github.com/Soostone/katip/issues
build-type: Simple
cabal-version: >=1.10
extra-source-files:
README.md
changelog.md
examples/example.hs
examples/example_lens.hs
bench/Main.hs
test/Main.hs
test/Katip/Tests.hs
test/Katip/Tests/Scribes/Handle.hs
test/Katip/Tests/Scribes/Handle-text.golden
test/Katip/Tests/Format/Time.hs
tested-with: GHC == 8.0.1, GHC == 8.2.2, GHC == 8.4.3
source-repository head
type: git
location: https://github.com/Soostone/katip.git
flag lib-Werror
default: False
manual: True
library
exposed-modules:
Katip
Katip.Core
Katip.Format.Time
Katip.Monadic
Katip.Scribes.Handle
default-extensions:
DeriveGeneric
FlexibleContexts
GeneralizedNewtypeDeriving
MultiParamTypeClasses
RankNTypes
RecordWildCards
TemplateHaskell
OverloadedStrings
build-depends: base >=4.9.0.0 && <5
, aeson >=0.6
, async >=2.1.0 && < 3.0.0.0
, auto-update >= 0.1
, bytestring >= 0.9
, containers >=0.4
, either >= 4
, safe-exceptions >= 0.1.0.0
, hostname >=1.0
, old-locale >= 1.0
, string-conv >= 0.1
, template-haskell >= 2.8
, text >= 1.2.4.0 && <1.3
, time >= 1
, transformers >= 0.3
, transformers-compat
, unordered-containers >= 0.2
, monad-control >= 1.0
, mtl >= 2.0
, transformers-base >= 0.3
, resourcet >= 1.2.0
, scientific >= 0.3.3.0
, microlens >= 0.2.0.0
, microlens-th >= 0.1.0.0
, semigroups
, unliftio-core >= 0.1
, stm >= 2.4.4.1
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
if flag(lib-Werror)
ghc-options: -Werror
if os(windows)
build-depends: Win32 >=2.3 && <2.9
exposed-modules: Katip.Compat
else
build-depends: unix >= 2.5 && <2.8
test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules:
Katip.Tests.Format.Time
Katip.Tests.Scribes.Handle
Katip.Tests
default-language: Haskell2010
build-depends: base
, katip
, aeson
, bytestring
, tasty >= 0.10.1.2
, tasty-golden
, tasty-hunit
, tasty-quickcheck
, quickcheck-instances
, template-haskell
, text
, time
, time-locale-compat >= 0.1.0.1
, directory
, regex-tdfa
, unordered-containers
, microlens
, containers
, stm
, safe-exceptions
ghc-options: -Wall
if flag(lib-Werror)
ghc-options: -Werror
benchmark bench
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
default-language: Haskell2010
ghc-options: -O2 -Wall -threaded -rtsopts -with-rtsopts=-N
if flag(lib-Werror)
ghc-options: -Werror
build-depends:
base
, aeson
, blaze-builder
, katip
, criterion >= 1.1.0.0
, unix
, text
, time
, transformers
, deepseq
, async
, filepath
, safe-exceptions
, directory