pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/hs-blaze-builder



Module Name:    pkgsrc
Committed By:   pho
Date:           Wed Jan  1 06:44:06 UTC 2020

Modified Files:
        pkgsrc/devel/hs-blaze-builder: DESCR Makefile buildlink3.mk distinfo
Added Files:
        pkgsrc/devel/hs-blaze-builder/patches: patch-blaze-builder.cabal
Removed Files:
        pkgsrc/devel/hs-blaze-builder: PLIST

Log Message:
Update to blaze-builder-0.4.1.0

* 0.4.1.0
- Gain compatibility with the Semigroup/Monoid proposal
- Add Word8 HTML escaping builders
- Speed up `fromHtmlEscapedText` and `fromHtmlEscapedLazyText`

* 0.4.0.2
- Fixed warnings on GHC 7.10, courtesy of Mikhail Glushenkov.

* 0.4.0.1
- Tightened the version constraints on the bytestring package for GHC
  7.8

* 0.4.0.0
- This is now a compatibility shim for the new bytestring builder.
  Most of the old internal modules are gone.  See this blog post for
  more information:

  <http://blog.melding-monads.com/2015/02/12/announcing-blaze-builder-0-4/>

- The 'Blaze.ByteString.Builder.Html.Utf8.fromHtmlEscaped*' functions
  now strip out any ASCII control characters present in their inputs.
  See <https://github.com/lpsmith/blaze-builder/issues/1> for more
  information.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/hs-blaze-builder/DESCR
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/hs-blaze-builder/Makefile
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/hs-blaze-builder/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/hs-blaze-builder/buildlink3.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/hs-blaze-builder/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hs-blaze-builder/patches/patch-blaze-builder.cabal

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/hs-blaze-builder/DESCR
diff -u pkgsrc/devel/hs-blaze-builder/DESCR:1.1 pkgsrc/devel/hs-blaze-builder/DESCR:1.2
--- pkgsrc/devel/hs-blaze-builder/DESCR:1.1     Mon May 26 22:01:41 2014
+++ pkgsrc/devel/hs-blaze-builder/DESCR Wed Jan  1 06:44:06 2020
@@ -1,8 +1,13 @@
-This library provides an abstraction of buffered output of byte
-streams and several convenience functions to exploit it. For example,
-it 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 sytem call overhead when writing
-the resulting lazy bytestring to a file or sending it over the
-network.
+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 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.

Index: pkgsrc/devel/hs-blaze-builder/Makefile
diff -u pkgsrc/devel/hs-blaze-builder/Makefile:1.8 pkgsrc/devel/hs-blaze-builder/Makefile:1.9
--- pkgsrc/devel/hs-blaze-builder/Makefile:1.8  Sun Jan 10 11:49:09 2016
+++ pkgsrc/devel/hs-blaze-builder/Makefile      Wed Jan  1 06:44:06 2020
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2016/01/10 11:49:09 szptvlfn Exp $
+# $NetBSD: Makefile,v 1.9 2020/01/01 06:44:06 pho Exp $
 
-DISTNAME=      blaze-builder-0.3.3.3
-PKGREVISION=   5
+DISTNAME=      blaze-builder-0.4.1.0
 CATEGORIES=    devel
 
 MAINTAINER=    pho%cielonegro.org@localhost
@@ -10,4 +9,5 @@ LICENSE=       modified-bsd
 
 .include "../../mk/haskell.mk"
 .include "../../devel/hs-text/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/hs-blaze-builder/buildlink3.mk
diff -u pkgsrc/devel/hs-blaze-builder/buildlink3.mk:1.9 pkgsrc/devel/hs-blaze-builder/buildlink3.mk:1.10
--- pkgsrc/devel/hs-blaze-builder/buildlink3.mk:1.9     Sun Jan  7 13:04:03 2018
+++ pkgsrc/devel/hs-blaze-builder/buildlink3.mk Wed Jan  1 06:44:06 2020
@@ -1,15 +1,16 @@
-# $NetBSD: buildlink3.mk,v 1.9 2018/01/07 13:04:03 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2020/01/01 06:44:06 pho Exp $
 
 BUILDLINK_TREE+=       hs-blaze-builder
 
 .if !defined(HS_BLAZE_BUILDER_BUILDLINK3_MK)
 HS_BLAZE_BUILDER_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-blaze-builder+=       hs-blaze-builder>=0.3.3
-BUILDLINK_ABI_DEPENDS.hs-blaze-builder+=       hs-blaze-builder>=0.3.3.3nb5
+BUILDLINK_API_DEPENDS.hs-blaze-builder+=       hs-blaze-builder>=0.4.1
+BUILDLINK_ABI_DEPENDS.hs-blaze-builder+=       hs-blaze-builder>=0.4.1.0
 BUILDLINK_PKGSRCDIR.hs-blaze-builder?=         ../../devel/hs-blaze-builder
 
 .include "../../devel/hs-text/buildlink3.mk"
+.include "../../math/hs-semigroups/buildlink3.mk"
 .endif # HS_BLAZE_BUILDER_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-blaze-builder

Index: pkgsrc/devel/hs-blaze-builder/distinfo
diff -u pkgsrc/devel/hs-blaze-builder/distinfo:1.3 pkgsrc/devel/hs-blaze-builder/distinfo:1.4
--- pkgsrc/devel/hs-blaze-builder/distinfo:1.3  Tue Nov  3 03:27:31 2015
+++ pkgsrc/devel/hs-blaze-builder/distinfo      Wed Jan  1 06:44:06 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:31 agc Exp $
+$NetBSD: distinfo,v 1.4 2020/01/01 06:44:06 pho Exp $
 
-SHA1 (blaze-builder-0.3.3.3.tar.gz) = ebf1db8bdef36376c1552406a595fc799df3ddc6
-RMD160 (blaze-builder-0.3.3.3.tar.gz) = 54bedeee30560c72356396c57b223d4abb5afa69
-SHA512 (blaze-builder-0.3.3.3.tar.gz) = 9a138bcb370a6432b89debc025e5fbbba80a7e6bb608cd5f7368478a7104f97d5066de6e9920498bed8bd0da18aa9bae4bc07782725abe9e1ff5517317705091
-Size (blaze-builder-0.3.3.3.tar.gz) = 67374 bytes
+SHA1 (blaze-builder-0.4.1.0.tar.gz) = c22e27bc3d25b9b03df1a485be2eb410da33b7fd
+RMD160 (blaze-builder-0.4.1.0.tar.gz) = 6c7be4e02aae77bfb3f5a59dd20634c6214a09fb
+SHA512 (blaze-builder-0.4.1.0.tar.gz) = 0962634113a19d39fb19a9df895a4e4e3e0fc5b2c17fd0d5c27e1cd9da128fd3af2f01d7b0ce894d3964b5b3bd874aeae205b126e069a6e5d964ad97c753da39
+Size (blaze-builder-0.4.1.0.tar.gz) = 61365 bytes
+SHA1 (patch-blaze-builder.cabal) = cb658c404044a9a1d8a6545f0c0297f6c27c6d69

Added files:

Index: pkgsrc/devel/hs-blaze-builder/patches/patch-blaze-builder.cabal
diff -u /dev/null pkgsrc/devel/hs-blaze-builder/patches/patch-blaze-builder.cabal:1.1
--- /dev/null   Wed Jan  1 06:44:06 2020
+++ pkgsrc/devel/hs-blaze-builder/patches/patch-blaze-builder.cabal     Wed Jan  1 06:44:06 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-blaze-builder.cabal,v 1.1 2020/01/01 06:44:06 pho Exp $
+
+Relax the upper bound on semigroups
+
+--- blaze-builder.cabal.orig   2018-03-14 21:11:24.000000000 +0000
++++ blaze-builder.cabal
+@@ -80,7 +80,7 @@ Library
+      build-depends:  bytestring >= 0.10.4 && < 1.0
+ 
+   if impl(ghc < 8.0)
+-     build-depends: semigroups >= 0.16 && < 0.19
++     build-depends: semigroups >= 0.16 && < 0.20
+ 
+ test-suite test
+   type:           exitcode-stdio-1.0



Home | Main Index | Thread Index | Old Index