update to 0.4.2.2

This commit is contained in:
Jens Petersen 2022-06-07 10:47:30 +08:00
parent 21a5619353
commit 335d91c702
4 changed files with 140 additions and 13 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
/blaze-builder-0.4.0.2.tar.gz
/blaze-builder-0.4.1.0.tar.gz
/blaze-builder-0.4.2.1.tar.gz
/blaze-builder-0.4.2.2.tar.gz

121
blaze-builder-0.4.2.2.cabal Normal file
View File

@ -0,0 +1,121 @@
Name: blaze-builder
Version: 0.4.2.2
x-revision: 1
Synopsis: Efficient buffered output.
Description:
This library allows to efficiently serialize Haskell values to lazy bytestrings
with a large average chunk size. The large average chunk size allows to make
good use of cache prefetching in later processing steps (e.g. compression) and
reduces the system call overhead when writing the resulting lazy bytestring to a
file or sending it over the network.
.
This library was inspired by the module Data.Binary.Builder provided by the
binary package. It was originally developed with the specific needs of the
blaze-html package in mind. Since then it has been restructured to serve as a
drop-in replacement for Data.Binary.Builder, which it improves upon both in
speed as well as expressivity.
Author: Jasper Van der Jeugt, Simon Meier, Leon P Smith
Copyright: (c) 2010-2014 Simon Meier
(c) 2010 Jasper Van der Jeugt
(c) 2013-2015 Leon P Smith
Maintainer: https://github.com/blaze-builder
License: BSD3
License-file: LICENSE
Homepage: https://github.com/blaze-builder/blaze-builder
Bug-Reports: https://github.com/blaze-builder/blaze-builder/issues
Stability: Stable
Category: Data
Build-type: Simple
Cabal-version: >= 1.10
Tested-with:
GHC == 9.2.1
GHC == 9.0.1
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
GHC == 7.10.3
GHC == 7.8.4
GHC == 7.6.3
GHC == 7.4.2
GHC == 7.0.4
Extra-source-files:
Makefile
README.markdown
TODO
CHANGES
benchmarks/*.hs
benchmarks/Throughput/*.hs
benchmarks/Throughput/*.h
benchmarks/Throughput/*.c
tests/*.hs
Source-repository head
Type: git
Location: https://github.com/blaze-builder/blaze-builder.git
Library
default-language: Haskell98
exposed-modules: Blaze.ByteString.Builder
Blaze.ByteString.Builder.Int
Blaze.ByteString.Builder.Word
Blaze.ByteString.Builder.ByteString
Blaze.ByteString.Builder.Char.Utf8
Blaze.ByteString.Builder.Char8
Blaze.ByteString.Builder.Html.Utf8
Blaze.ByteString.Builder.Html.Word
Blaze.ByteString.Builder.HTTP
Blaze.ByteString.Builder.Compat.Write
Blaze.ByteString.Builder.Internal.Write
build-depends:
base == 4.*
, bytestring >= 0.9 && < 1.0
, deepseq
, ghc-prim
, text >= 0.10 && < 2.1
if impl(ghc < 7.8)
build-depends: bytestring-builder
else
build-depends: bytestring >= 0.10.4
if impl(ghc < 8.0)
build-depends: semigroups >= 0.16 && < 0.20
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Tests.hs
default-language: Haskell98
ghc-options: -Wall -fno-warn-orphans
if impl(ghc >= 8.0)
ghc-options: -Wcompat
build-depends: base
, blaze-builder
, bytestring
, HUnit
, QuickCheck
, test-framework
, test-framework-hunit
, test-framework-quickcheck2
, text
, utf8-string

View File

@ -7,14 +7,15 @@
# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2
Name: ghc-%{pkg_name}
Version: 0.4.2.1
Release: 2%{?dist}
Version: 0.4.2.2
Release: 1%{?dist}
Summary: Efficient buffered output
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:
@ -27,17 +28,17 @@ BuildRequires: ghc-text-prof
# End cabal-rpm deps
%description
This library provides an implementation of the older blaze-builder interface in
terms of the new builder that shipped with bytestring-0.10.4.0
This library allows to efficiently serialize Haskell values to lazy bytestrings
with a large average chunk size. The large average chunk size allows to make
good use of cache prefetching in later processing steps (e.g.
compression) and reduces the system call overhead when writing the resulting
lazy bytestring to a file or sending it over the network.
This implementation is mostly intended as a bridge to the new builder, so that
code that uses the old interface can interoperate with code that uses the new
implementation. Note that no attempt has been made to preserve the old internal
modules, so code that has these dependencies cannot use this interface.
New code should, for the most part, use the new interface. However, this module
does implement a chunked HTTP encoding, which is not otherwise implemented
(yet?) with the new builder.
This library was inspired by the module Data.Binary.Builder provided by the
binary package. It was originally developed with the specific needs of the
blaze-html package in mind. Since then it has been restructured to serve as a
drop-in replacement for Data.Binary.Builder, which it improves upon both in
speed as well as expressivity.
%package devel
@ -78,6 +79,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
# End cabal-rpm setup
@ -115,6 +117,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%changelog
* Tue Jun 07 2022 Jens Petersen <petersen@redhat.com> - 0.4.2.2-1
- https://hackage.haskell.org/package/blaze-builder-0.4.2.2/changelog
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (blaze-builder-0.4.2.1.tar.gz) = 30f8d1d70a1aeb5b4c4e3170e40207c0f39933050e04bbdff49683a8b2e850921e80fa8e2d7f2b7a2a19fd6340bb65fad9c1d33999abf8a388d3f0ce921d0744
SHA512 (blaze-builder-0.4.2.2.tar.gz) = 4a0aeaa909a487c652103c5d68180fb34bd2a8be9d625b96056b632081c3f58b8588811f3f47fcf8b58c680ae1c38e4ba8d7066617cb1b660f1994520427d654