update to 0.11.1

epel9
Jens Petersen 5 years ago
parent 7db63fed03
commit f95e9c1c62

1
.gitignore vendored

@ -1,2 +1,3 @@
/base-compat-batteries-0.10.1.tar.gz
/base-compat-batteries-0.10.5.tar.gz
/base-compat-batteries-0.11.1.tar.gz

@ -1,239 +0,0 @@
name: base-compat-batteries
version: 0.10.5
x-revision: 1
license: MIT
license-file: LICENSE
copyright: (c) 2012-2018 Simon Hengel,
(c) 2014-2018 João Cristóvão,
(c) 2015-2018 Ryan Scott
author: Simon Hengel <sol@typeful.net>,
João Cristóvão <jmacristovao@gmail.com>,
Ryan Scott <ryan.gl.scott@gmail.com>
maintainer: Simon Hengel <sol@typeful.net>,
João Cristóvão <jmacristovao@gmail.com>,
Ryan Scott <ryan.gl.scott@gmail.com>
build-type: Simple
cabal-version: >= 1.8
category: Compatibility
synopsis: base-compat with extra batteries
description: Provides functions available in later versions of @base@ to
a wider range of compilers, without requiring you to use CPP
pragmas in your code.
.
This package provides the same API as the
@<http://hackage.haskell.org/package/base-compat base-compat>@
library, but depends on compatibility packages
(such as @semigroups@) to offer a wider support window than
@base-compat@, which has no dependencies. Most of the modules
in this library have the same names as in @base-compat@
to make it easier to switch between the two. There also exist
versions of each module with the suffix @.Repl.Batteries@,
which are distinct from anything in @base-compat@, to allow
for easier use in GHCi.
.
See
@<https://github.com/haskell-compat/base-compat/blob/master/base-compat/README.markdown#dependencies here>@
for a more comprehensive list of differences between
@base-compat@ and @base-compat-batteries@.
tested-with: GHC == 7.0.*
, GHC == 7.2.*
, GHC == 7.4.*
, GHC == 7.6.*
, GHC == 7.8.*
, GHC == 7.10.*
, GHC == 8.0.*
, GHC == 8.2.*
, GHC == 8.4.*
, GHC == 8.6.*
extra-source-files: CHANGES.markdown, README.markdown
source-repository head
type: git
location: https://github.com/haskell-compat/base-compat
subdir: base-compat-batteries
library
ghc-options:
-Wall
build-depends:
base >= 4.3 && < 5,
base-compat == 0.10.5
if !impl(ghc >= 7.8)
build-depends:
tagged >= 0.8.5 && < 0.9
if !impl(ghc >= 7.10)
build-depends:
nats >= 1.1.2 && < 1.2,
void >= 0.7.2 && < 0.8
if !impl(ghc >= 8.0)
build-depends:
fail >= 4.9.0.0 && < 4.10,
semigroups >= 0.18.4 && < 0.20,
transformers >= 0.2 && < 0.6,
transformers-compat >= 0.6 && < 0.7
if !impl(ghc >= 8.2)
build-depends:
bifunctors >= 5.5.2 && < 5.6
if !impl(ghc >= 8.6)
build-depends:
contravariant >= 1.5 && < 1.6
ghc-options:
-fno-warn-duplicate-exports
hs-source-dirs:
src
exposed-modules:
Control.Concurrent.Compat
Control.Concurrent.MVar.Compat
Control.Exception.Compat
Control.Monad.Compat
Control.Monad.Fail.Compat
Control.Monad.IO.Class.Compat
Control.Monad.ST.Lazy.Unsafe.Compat
Control.Monad.ST.Unsafe.Compat
Data.Bifoldable.Compat
Data.Bifunctor.Compat
Data.Bitraversable.Compat
Data.Bits.Compat
Data.Bool.Compat
Data.Complex.Compat
Data.Either.Compat
Data.Foldable.Compat
Data.Function.Compat
Data.Functor.Compat
Data.Functor.Compose.Compat
Data.Functor.Const.Compat
Data.Functor.Contravariant.Compat
Data.Functor.Identity.Compat
Data.Functor.Product.Compat
Data.Functor.Sum.Compat
Data.IORef.Compat
Data.List.Compat
Data.List.NonEmpty.Compat
Data.Monoid.Compat
Data.Proxy.Compat
Data.Ratio.Compat
Data.Semigroup.Compat
Data.STRef.Compat
Data.String.Compat
Data.Type.Coercion.Compat
Data.Version.Compat
Data.Void.Compat
Data.Word.Compat
Debug.Trace.Compat
Foreign.Compat
Foreign.ForeignPtr.Compat
Foreign.ForeignPtr.Safe.Compat
Foreign.ForeignPtr.Unsafe.Compat
Foreign.Marshal.Alloc.Compat
Foreign.Marshal.Array.Compat
Foreign.Marshal.Compat
Foreign.Marshal.Safe.Compat
Foreign.Marshal.Unsafe.Compat
Foreign.Marshal.Utils.Compat
Numeric.Compat
Numeric.Natural.Compat
Prelude.Compat
System.Environment.Compat
System.Exit.Compat
System.IO.Unsafe.Compat
Text.Read.Compat
Type.Reflection.Compat
Control.Concurrent.Compat.Repl.Batteries
Control.Concurrent.MVar.Compat.Repl.Batteries
Control.Exception.Compat.Repl.Batteries
Control.Monad.Compat.Repl.Batteries
Control.Monad.Fail.Compat.Repl.Batteries
Control.Monad.IO.Class.Compat.Repl.Batteries
Control.Monad.ST.Lazy.Unsafe.Compat.Repl.Batteries
Control.Monad.ST.Unsafe.Compat.Repl.Batteries
Data.Bifoldable.Compat.Repl.Batteries
Data.Bifunctor.Compat.Repl.Batteries
Data.Bitraversable.Compat.Repl.Batteries
Data.Bits.Compat.Repl.Batteries
Data.Bool.Compat.Repl.Batteries
Data.Complex.Compat.Repl.Batteries
Data.Either.Compat.Repl.Batteries
Data.Foldable.Compat.Repl.Batteries
Data.Function.Compat.Repl.Batteries
Data.Functor.Compat.Repl.Batteries
Data.Functor.Compose.Compat.Repl.Batteries
Data.Functor.Const.Compat.Repl.Batteries
Data.Functor.Identity.Compat.Repl.Batteries
Data.Functor.Contravariant.Compat.Repl.Batteries
Data.Functor.Product.Compat.Repl.Batteries
Data.Functor.Sum.Compat.Repl.Batteries
Data.IORef.Compat.Repl.Batteries
Data.List.Compat.Repl.Batteries
Data.List.NonEmpty.Compat.Repl.Batteries
Data.Monoid.Compat.Repl.Batteries
Data.Proxy.Compat.Repl.Batteries
Data.Ratio.Compat.Repl.Batteries
Data.Semigroup.Compat.Repl.Batteries
Data.STRef.Compat.Repl.Batteries
Data.String.Compat.Repl.Batteries
Data.Type.Coercion.Compat.Repl.Batteries
Data.Version.Compat.Repl.Batteries
Data.Void.Compat.Repl.Batteries
Data.Word.Compat.Repl.Batteries
Debug.Trace.Compat.Repl.Batteries
Foreign.Compat.Repl.Batteries
Foreign.ForeignPtr.Compat.Repl.Batteries
Foreign.ForeignPtr.Safe.Compat.Repl.Batteries
Foreign.ForeignPtr.Unsafe.Compat.Repl.Batteries
Foreign.Marshal.Alloc.Compat.Repl.Batteries
Foreign.Marshal.Array.Compat.Repl.Batteries
Foreign.Marshal.Compat.Repl.Batteries
Foreign.Marshal.Safe.Compat.Repl.Batteries
Foreign.Marshal.Unsafe.Compat.Repl.Batteries
Foreign.Marshal.Utils.Compat.Repl.Batteries
Numeric.Compat.Repl.Batteries
Numeric.Natural.Compat.Repl.Batteries
Prelude.Compat.Repl.Batteries
System.Environment.Compat.Repl.Batteries
System.Exit.Compat.Repl.Batteries
System.IO.Unsafe.Compat.Repl.Batteries
Text.Read.Compat.Repl.Batteries
Type.Reflection.Compat.Repl.Batteries
test-suite spec
type:
exitcode-stdio-1.0
ghc-options:
-Wall
hs-source-dirs:
test
main-is:
Spec.hs
other-modules:
Control.Monad.CompatSpec
Data.Bits.CompatSpec
Data.Bool.CompatSpec
Data.Either.CompatSpec
Data.Foldable.CompatSpec
Data.Function.CompatSpec
Data.Functor.CompatSpec
Data.IORef.CompatSpec
Data.List.CompatSpec
Data.Monoid.CompatSpec
Data.STRef.CompatSpec
Data.Version.CompatSpec
Data.Word.CompatSpec
Foreign.Marshal.Alloc.CompatSpec
Foreign.Marshal.Utils.CompatSpec
Numeric.CompatSpec
Prelude.CompatSpec
System.Environment.CompatSpec
Text.Read.CompatSpec
-- Other tests
SafeHaskellSpec
TestHspecTrustworthy
build-depends:
base >= 4.3 && < 5
, base-compat-batteries
, hspec >= 1.8
, QuickCheck
build-tool-depends:
hspec-discover:hspec-discover >= 1.8

@ -7,15 +7,14 @@
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 0.10.5
Release: 3%{?dist}
Version: 0.11.1
Release: 1%{?dist}
Summary: Base-compat with extra batteries
License: MIT
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -87,7 +86,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -139,6 +137,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jun 07 2020 Jens Petersen <petersen@redhat.com> - 0.11.1-1
- update to 0.11.1
* Thu Feb 20 2020 Jens Petersen <petersen@redhat.com> - 0.10.5-3
- enable tests

@ -1 +1 @@
SHA512 (base-compat-batteries-0.10.5.tar.gz) = 6f8ebbad8ca5ae54257e9637d36eec48887cfae2e34d0a78339993f63f68419cc86fb031f1d955f129416cf0913e34f243aafe272fcbc5b8b6b43835f898df7f
SHA512 (base-compat-batteries-0.11.1.tar.gz) = a0149db9fae3664507c715e569209a9b996084cfb1f4dc125914eea57c2142ba8ddad559257dbf405c2b91d78d10c570c25e5a3c80bf50eb6bf5d31dfe65c217

Loading…
Cancel
Save