update to 1.4.10

This commit is contained in:
Jens Petersen 2021-01-28 20:26:41 +08:00
parent a27089a021
commit 5348e61de1
4 changed files with 97 additions and 5 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/foldl-1.3.7.tar.gz
/foldl-1.4.5.tar.gz
/foldl-1.4.6.tar.gz
/foldl-1.4.10.tar.gz

88
foldl-1.4.10.cabal Normal file
View File

@ -0,0 +1,88 @@
Name: foldl
Version: 1.4.10
x-revision: 1
Cabal-Version: >=1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: 2013 Gabriel Gonzalez
Author: Gabriel Gonzalez
Maintainer: Gabriel439@gmail.com
Bug-Reports: https://github.com/Gabriel439/Haskell-Foldl-Library/issues
Synopsis: Composable, streaming, and efficient left folds
Description: This library provides strict left folds that stream in constant
memory, and you can combine folds using @Applicative@ style to derive new
folds. Derived folds still traverse the container just once and are often as
efficient as hand-written folds.
Category: Control
Extra-Source-Files:
CHANGELOG.md
README.md
Source-Repository head
Type: git
Location: https://github.com/Gabriel439/Haskell-Foldl-Library
Library
HS-Source-Dirs: src
Build-Depends:
base >= 4.8 && < 5 ,
bytestring >= 0.9.2.1 && < 0.12,
mwc-random >= 0.13.1.0 && < 0.16,
primitive < 0.8 ,
text >= 0.11.2.0 && < 1.3 ,
transformers >= 0.2.0.0 && < 0.6 ,
vector >= 0.7 && < 0.13,
containers >= 0.5.0.0 && < 0.7 ,
unordered-containers < 0.3 ,
hashable < 1.4 ,
contravariant < 1.6 ,
profunctors < 5.7 ,
semigroupoids >= 1.0 && < 5.4 ,
comonad >= 4.0 && < 6
if impl(ghc < 8.0)
Build-Depends:
semigroups >= 0.17 && < 1.20
Exposed-Modules:
Control.Foldl,
Control.Foldl.ByteString,
Control.Foldl.Text,
Control.Scanl
Other-Modules:
Control.Foldl.Optics
Control.Foldl.Internal
Control.Foldl.Util.Vector
Control.Foldl.Util.MVector
GHC-Options: -O2 -Wall
Default-Language: Haskell2010
Benchmark Foldl
Type: exitcode-stdio-1.0
HS-Source-Dirs: bench
Main-Is: Foldl.hs
Build-Depends:
base,
criterion,
foldl
GHC-Options: -O2 -Wall -rtsopts -with-rtsopts=-T
Default-Language: Haskell2010
Benchmark Scanl
Type: exitcode-stdio-1.0
HS-Source-Dirs: bench
Main-Is: Scanl.hs
Build-Depends:
base,
criterion,
foldl
GHC-Options: -O2 -Wall -rtsopts -with-rtsopts=-T
Default-Language: Haskell2010
Test-Suite doctest
Type: exitcode-stdio-1.0
HS-Source-Dirs: test
Main-Is: doctest.hs
Build-Depends:
base,
doctest >= 0.16
GHC-Options: -threaded
Default-Language: Haskell2010

View File

@ -10,14 +10,15 @@
%endif
Name: ghc-%{pkg_name}
Version: 1.4.6
Release: 5%{?dist}
Version: 1.4.10
Release: 1%{?dist}
Summary: Composable, streaming, and efficient left folds
License: BSD
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:
@ -33,12 +34,10 @@ BuildRequires: ghc-mwc-random-prof
BuildRequires: ghc-primitive-prof
BuildRequires: ghc-profunctors-prof
BuildRequires: ghc-semigroupoids-prof
BuildRequires: ghc-semigroups-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-vector-prof
BuildRequires: ghc-vector-builder-prof
%if %{with tests}
BuildRequires: ghc-doctest-devel
%endif
@ -88,6 +87,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
chmod a-x CHANGELOG.md README.md
# End cabal-rpm setup
@ -130,6 +130,9 @@ chmod a-x CHANGELOG.md README.md
%changelog
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 1.4.10-1
- update to 1.4.10
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (foldl-1.4.6.tar.gz) = 14e708da0ffb4e4720ae181c0209d706278d6652390214f7c6bae791d25e16baffbb56c65293db21f84aaa721ee383927e8498461d037f16813be374b6799d3b
SHA512 (foldl-1.4.10.tar.gz) = cdd989e0d9e8cf32aff9c818c25bdc384e812fa2363e52ea573707db8c3db73e048a0919e2e33c13a3f41262bf5e45431204569df158fc4391a76466625d4b4a