pkgsrc/archivers
adam 7006adbcf0 py-zstandard: updated to 0.11.0
0.11.0 (released 2019-02-24)
============================

Backwards Compatibility Nodes
-----------------------------

* ZstdDecompressor.read() now allows reading sizes of -1 or 0
  and defaults to -1, per the documented behavior of
  io.RawIOBase.read(). Previously, we required an argument that was
  a positive value.
* The readline(), readlines(), __iter__, and __next__ methods
  of ZstdDecompressionReader() now raise io.UnsupportedOperation
  instead of NotImplementedError.
* ZstdDecompressor.stream_reader() now accepts a read_across_frames
  argument. The default value will likely be changed in a future release
  and consumers are advised to pass the argument to avoid unwanted change
  of behavior in the future.
* setup.py now always disables the CFFI backend if the installed
  CFFI package does not meet the minimum version requirements. Before, it was
  possible for the CFFI backend to be generated and a run-time error to
  occur.
* In the CFFI backend, CompressionReader and DecompressionReader
  were renamed to ZstdCompressionReader and ZstdDecompressionReader,
  respectively so naming is identical to the C extension. This should have
  no meaningful end-user impact, as instances aren't meant to be
  constructed directly.
* ZstdDecompressor.stream_writer() now accepts a write_return_read
  argument to control whether write() returns the number of bytes
  read from the source / written to the decompressor. It defaults to off,
  which preserves the existing behavior of returning the number of bytes
  emitted from the decompressor. The default will change in a future release
  so behavior aligns with the specified behavior of io.RawIOBase.
* ZstdDecompressionWriter.__exit__ now calls self.close(). This
  will result in that stream plus the underlying stream being closed as
  well. If this behavior is not desirable, do not use instances as
  context managers.
* ZstdCompressor.stream_writer() now accepts a write_return_read
  argument to control whether write() returns the number of bytes read
  from the source / written to the compressor. It defaults to off, which
  preserves the existing behavior of returning the number of bytes emitted
  from the compressor. The default will change in a future release so
  behavior aligns with the specified behavior of io.RawIOBase.
* ZstdCompressionWriter.__exit__ now calls self.close(). This will
  result in that stream plus any underlying stream being closed as well. If
  this behavior is not desirable, do not use instances as context managers.
* ZstdDecompressionWriter no longer requires being used as a context
  manager.
* ZstdCompressionWriter no longer requires being used as a context
  manager.
* The overlap_size_log attribute on CompressionParameters instances
  has been deprecated and will be removed in a future release. The
  overlap_log attribute should be used instead.
* The overlap_size_log argument to CompressionParameters has been
  deprecated and will be removed in a future release. The overlap_log
  argument should be used instead.
* The ldm_hash_every_log attribute on CompressionParameters instances
  has been deprecated and will be removed in a future release. The
  ldm_hash_rate_log attribute should be used instead.
* The ldm_hash_every_log argument to CompressionParameters has been
  deprecated and will be removed in a future release. The ldm_hash_rate_log
  argument should be used instead.
* The compression_strategy argument to CompressionParameters has been
  deprecated and will be removed in a future release. The strategy
  argument should be used instead.
* The SEARCHLENGTH_MIN and SEARCHLENGTH_MAX constants are deprecated
  and will be removed in a future release. Use MINMATCH_MIN and
  MINMATCH_MAX instead.
* The zstd_cffi module has been renamed to zstandard.cffi. As had
  been documented in the README file since the 0.9.0 release, the
  module should not be imported directly at its new location. Instead,
  import zstandard to cause an appropriate backend module to be loaded
  automatically.

Bug Fixes
---------

* CFFI backend could encounter a failure when sending an empty chunk into
  ZstdDecompressionObj.decompress(). The issue has been fixed.
* CFFI backend could encounter an error when calling
  ZstdDecompressionReader.read() if there was data remaining in an
  internal buffer. The issue has been fixed.

Changes
-------

* ZstDecompressionObj.decompress() now properly handles empty inputs in
  the CFFI backend.
* ZstdCompressionReader now implements read1() and readinto1().
  These are part of the io.BufferedIOBase interface.
* ZstdCompressionReader has gained a readinto(b) method for reading
  compressed output into an existing buffer.
* ZstdCompressionReader.read() now defaults to size=-1 and accepts
  read sizes of -1 and 0. The new behavior aligns with the documented
  behavior of io.RawIOBase.
* ZstdCompressionReader now implements readall(). Previously, this
  method raised NotImplementedError.
* ZstdDecompressionReader now implements read1() and readinto1().
  These are part of the io.BufferedIOBase interface.
* ZstdDecompressionReader.read() now defaults to size=-1 and accepts
  read sizes of -1 and 0. The new behavior aligns with the documented
  behavior of io.RawIOBase.
* ZstdDecompressionReader() now implements readall(). Previously, this
  method raised NotImplementedError.
* The readline(), readlines(), __iter__, and __next__ methods
  of ZstdDecompressionReader() now raise io.UnsupportedOperation
  instead of NotImplementedError. This reflects a decision to never
  implement text-based I/O on (de)compressors and keep the low-level API
  operating in the binary domain.
* README.rst now documented how to achieve linewise iteration using
  an io.TextIOWrapper with a ZstdDecompressionReader.
* ZstdDecompressionReader has gained a readinto(b) method for
  reading decompressed output into an existing buffer. This allows chaining
  to an io.TextIOWrapper on Python 3 without using an io.BufferedReader.
* ZstdDecompressor.stream_reader() now accepts a read_across_frames
  argument to control behavior when the input data has multiple zstd
  *frames*. When False (the default for backwards compatibility), a
  read() will stop when the end of a zstd *frame* is encountered. When
  True, read() can potentially return data spanning multiple zstd
  *frames*. The default will likely be changed to True in a future
  release.
* setup.py now performs CFFI version sniffing and disables the CFFI
  backend if CFFI is too old. Previously, we only used install_requires
  to enforce the CFFI version and not all build modes would properly enforce
  the minimum CFFI version.
* CFFI's ZstdDecompressionReader.read() now properly handles data
  remaining in any internal buffer. Before, repeated read() could
  result in *random* errors.
* Upgraded various Python packages in CI environment.
* Upgrade to hypothesis 4.5.11.
* In the CFFI backend, CompressionReader and DecompressionReader
  were renamed to ZstdCompressionReader and ZstdDecompressionReader,
  respectively.
* ZstdDecompressor.stream_writer() now accepts a write_return_read
  argument to control whether write() returns the number of bytes read
  from the source. It defaults to False to preserve backwards
  compatibility.
* ZstdDecompressor.stream_writer() now implements the io.RawIOBase
  interface and behaves as a proper stream object.
* ZstdCompressor.stream_writer() now accepts a write_return_read
  argument to control whether write() returns the number of bytes read
  from the source. It defaults to False to preserve backwards
  compatibility.
* ZstdCompressionWriter now implements the io.RawIOBase interface and
  behaves as a proper stream object. close() will now close the stream
  and the underlying stream (if possible). __exit__ will now call
  close(). Methods like writable() and fileno() are implemented.
* ZstdDecompressionWriter no longer must be used as a context manager.
* ZstdCompressionWriter no longer must be used as a context manager.
  When not using as a context manager, it is important to call
  flush(FRAME_FRAME) or the compression stream won't be properly
  terminated and decoders may complain about malformed input.
* ZstdCompressionWriter.flush() (what is returned from
  ZstdCompressor.stream_writer()) now accepts an argument controlling the
  flush behavior. Its value can be one of the new constants
  FLUSH_BLOCK or FLUSH_FRAME.
* ZstdDecompressionObj instances now have a flush([length=None]) method.
  This provides parity with standard library equivalent types.
* CompressionParameters no longer redundantly store individual compression
  parameters on each instance. Instead, compression parameters are stored inside
  the underlying ZSTD_CCtx_params instance. Attributes for obtaining
  parameters are now properties rather than instance variables.
* Exposed the STRATEGY_BTULTRA2 constant.
* CompressionParameters instances now expose an overlap_log attribute.
  This behaves identically to the overlap_size_log attribute.
* CompressionParameters() now accepts an overlap_log argument that
  behaves identically to the overlap_size_log argument. An error will be
  raised if both arguments are specified.
* CompressionParameters instances now expose an ldm_hash_rate_log
  attribute. This behaves identically to the ldm_hash_every_log attribute.
* CompressionParameters() now accepts a ldm_hash_rate_log argument that
  behaves identically to the ldm_hash_every_log argument. An error will be
  raised if both arguments are specified.
* CompressionParameters() now accepts a strategy argument that behaves
  identically to the compression_strategy argument. An error will be raised
  if both arguments are specified.
* The MINMATCH_MIN and MINMATCH_MAX constants were added. They are
  semantically equivalent to the old SEARCHLENGTH_MIN and
  SEARCHLENGTH_MAX constants.
* Bundled zstandard library upgraded from 1.3.7 to 1.3.8.
* setup.py denotes support for Python 3.7 (Python 3.7 was supported and
  tested in the 0.10 release).
* zstd_cffi module has been renamed to zstandard.cffi.
* ZstdCompressor.stream_writer() now reuses a buffer in order to avoid
  allocating a new buffer for every operation. This should result in faster
  performance in cases where write() or flush() are being called
  frequently.
* Bundled zstandard library upgraded from 1.3.6 to 1.3.7.
2019-02-26 06:42:27 +00:00
..
9e Replace non-working HOMEPAGE. 2017-07-30 22:40:34 +00:00
advancecomp Avoid type conflicts with compiler builtins by including the correct 2017-04-14 17:48:56 +00:00
afio Remove manual addition of MAKE_FLAGS to OPSYSVARS, it's now in by default. 2016-02-26 11:40:29 +00:00
arc Follow some http -> https redirects. 2017-08-01 14:58:51 +00:00
archangel Comment out dead sites (DNS problems). 2017-08-01 16:47:35 +00:00
arj Whitespace. 2015-12-29 04:54:34 +00:00
ark revbump for boost 1.69.0 2018-12-13 19:51:31 +00:00
atool Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
bicom Extend SHA512 checksums to various files I have on my local distfile 2017-03-23 17:06:45 +00:00
bmap-tools Instead of build dependency on setuptools just use egg.mk. 2016-06-03 14:38:03 +00:00
brotli brotli: update to 1.0.7. 2018-12-01 17:22:04 +00:00
bsdtar Fix build with OpenSSL 1.1 under NetBSD 8.99.12 2018-02-13 12:50:40 +00:00
bunzip Comment out dead sites (DNS problems). 2017-08-01 16:47:35 +00:00
bzip2 Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
cabextract cabextract: update to 1.9. 2018-12-01 05:57:08 +00:00
dact Changes 0.8.42: 2017-04-05 15:58:31 +00:00
dar *: Move SUBST_STAGE from post-patch to pre-configure 2018-07-04 13:40:07 +00:00
engrampa engrampa: Update to 1.21.0: 2019-01-16 14:56:54 +00:00
fastjar Extend SHA512 checksums to various files I have on my local distfile 2017-03-23 17:06:45 +00:00
fcrackzip Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
file-roller Revbump after cairo 1.16.0 update. 2018-11-14 22:20:58 +00:00
freeze *: Move SUBST_STAGE from post-patch to pre-configure 2018-07-04 13:40:07 +00:00
gcpio Remove charset.alias from PLIST. Bump PKGREVISION. 2016-09-18 11:17:41 +00:00
go-xz Revbump Go packages after lang/go111 update. 2019-01-24 10:00:33 +00:00
gsharutils Version 4.15.2: 2017-04-05 17:23:07 +00:00
gtar gtar: update to 1.32 2019-02-24 15:18:45 +00:00
gtar-base gtar: update to 1.32 2019-02-24 15:18:45 +00:00
gtar-info
gzip archivers/gzip: update to release 1.10 2019-01-10 06:47:42 +00:00
gzrecover Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
ha Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
heirloom-tar
hpack Remove traces of crypto restrictions from packages. 2018-01-02 05:37:22 +00:00
hs-zlib Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
innoextract revbump for boost 1.69.0 2018-12-13 19:51:31 +00:00
jamjar Comment out dead sites (DNS problems). 2017-08-01 16:47:35 +00:00
karchive revbump after updating textproc/icu 2018-12-09 18:51:58 +00:00
lbrate Comment out dead sites. 2017-08-16 20:45:30 +00:00
lcab Comment out dead sites. 2017-08-16 20:45:30 +00:00
lha Use OPSYSVARS. 2016-02-25 09:28:36 +00:00
lhasa Updated lhasa to 0.3.1. Security update. 2016-06-22 10:30:18 +00:00
libarchive Fix build with LibreSSL 2.7 2018-10-01 00:37:51 +00:00
libcomprex revbump for boost 1.69.0 2018-12-13 19:51:31 +00:00
liblzo Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
libmspack libmspack: update to 0.9.1alpha. 2018-12-01 06:01:12 +00:00
libunrar libunrar: add a buildlink3.mk file. 2018-12-14 16:02:55 +00:00
libzip Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
lrzip lrzip: Update MAINTAINERship to tm@NetBSD.org email address 2018-12-11 08:45:30 +00:00
lz4 *: update email for fhajny 2018-12-15 21:12:18 +00:00
lz4json Honor LDFLAGS. 2017-07-06 14:11:29 +00:00
lzip lzip: updated to 1.21 2019-01-18 10:03:40 +00:00
lziprecover lziprecover: updated to 1.21 2019-01-18 10:05:39 +00:00
lzma Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
lzmalib Ensure we append to LDFLAGS, fixes rpath issues that were only exposed after 2016-03-10 18:42:25 +00:00
lzo Fix indentation in buildlink3.mk files. 2018-01-07 13:03:53 +00:00
lzop Updated archivers/lzop to 1.04 2018-01-29 14:47:53 +00:00
macutil Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
makeself Update makeself to 2.4.0. 2019-01-18 22:08:16 +00:00
mousetar Use OPSYSVARS. 2016-02-25 09:28:36 +00:00
mscompress Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
nomarch Comment out dead MASTER_SITES/HOMEPAGEs. 2017-09-03 08:36:49 +00:00
nulib2 Honour LDFLAGS. 2017-05-15 13:53:26 +00:00
ocaml-bz2 Revbumps associated with update of lang/ocaml. 2018-11-12 16:10:16 +00:00
ocaml-zip Revbumps associated with update of lang/ocaml. 2018-11-12 16:10:16 +00:00
p5-Archive-Any Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
p5-Archive-Any-Lite Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
p5-Archive-Extract Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
p5-Archive-Peek Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
p5-Archive-Tar Update to 2.32 2018-11-24 03:30:00 +00:00
p5-Archive-Tar-Wrapper Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
p5-Archive-Zip Update to 1.64 2018-11-24 03:44:18 +00:00
p5-Compress-Bzip2 Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
p5-Compress-LZMA-Simple Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
p7zip *: Move SUBST_STAGE from post-patch to pre-configure 2018-07-04 13:40:07 +00:00
par2 Add archivers to CATEGORY 2018-01-24 17:02:15 +00:00
pax pax: add <sys/sysmacros.h> for Linux 2018-10-29 20:18:02 +00:00
pbzip2 Mark packages that require C++03 (or the GNU variants) if they fail with 2018-07-18 00:06:10 +00:00
pdbar Comment out dead MASTER_SITES/HOMEPAGEs. 2017-09-03 08:36:49 +00:00
php-bz2
php-zip lang/php: reset PKGREVISION 2018-07-20 13:33:02 +00:00
php-zlib Reset PKGREVISION after all PHP language packages. 2016-04-02 09:05:22 +00:00
pigz Update archivers/pigz to 2.4. 2018-01-02 09:24:08 +00:00
ppmd Mark packages that require C++03 (or the GNU variants) if they fail with 2018-07-18 00:06:10 +00:00
ppunpack Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
py-brotlipy 0.7.0: 2017-06-21 09:41:38 +00:00
py-bz2file py-bz2file: added version 0.98 2019-01-09 10:28:19 +00:00
py-czipfile extend PYTHON_VERSIONS_ for Python 3.7 2018-07-03 05:03:01 +00:00
py-lhafile Removed unused line 2018-02-08 16:44:11 +00:00
py-libarchive-c py-libarchive-c: updated to 2.8 2018-06-15 08:08:18 +00:00
py-lz4 py-lz4: updated to 2.1.6 2018-12-21 21:07:46 +00:00
py-rarfile Import py-rarfile-3.0 as archivers/py-rarfile 2017-04-14 14:01:02 +00:00
py-yuicompressor Reset maintainer 2017-09-16 19:26:41 +00:00
py-zstandard py-zstandard: updated to 0.11.0 2019-02-26 06:42:27 +00:00
rar Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
rox-archive *: Move SUBST_STAGE from post-patch to pre-configure 2018-07-04 13:40:07 +00:00
ruby-archive-tar-minitar Sort PLIST files. 2018-01-01 22:29:15 +00:00
ruby-bz2 Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
ruby-libarchive Recursive revision bump for archivers/libarchive. 2017-05-29 11:09:45 +00:00
ruby-minitar Add ruby-minitar 0.6.1. 2017-03-13 16:05:01 +00:00
ruby-minitar-cli Add ruby-minitar-cli 0.6.1. 2017-03-13 16:05:58 +00:00
ruby-mixlib-archive archivers/ruby-mixlib-archive: update to 1.0.1 2019-02-03 16:20:52 +00:00
ruby-xz Allow Ruby 2.6 to build. 2019-02-03 13:45:06 +00:00
ruby-zip archivers/ruby-zip: update to 1.2.2 2018-09-23 13:49:00 +00:00
rzip update MASTER_SITES url 2016-01-23 05:47:38 +00:00
sarab *: Move SUBST_STAGE from post-patch to pre-configure 2018-07-04 13:40:07 +00:00
squsq Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
star star: add MESSAGE file 2018-11-10 19:56:17 +00:00
szip Follow some redirects. 2017-09-04 18:08:18 +00:00
torrentzip Follow some redirects. 2017-09-06 09:02:59 +00:00
unace Comment out dead sites. 2017-09-06 10:40:25 +00:00
unace-bin Comment out dead sites. 2017-09-06 10:40:25 +00:00
unalz Fix building with newer zlib; clean-up 2017-06-26 09:48:34 +00:00
unarj Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
undms update MASTER_SITES url 2016-01-23 03:37:31 +00:00
unlzx update MASTER_SITES 2016-01-23 03:35:22 +00:00
unrar unrar: updated to 5.7.1 2019-01-31 09:57:44 +00:00
unshield Fix indentation in buildlink3.mk files. 2018-01-07 13:03:53 +00:00
unzip Add patches for CVE-2014-9913 and CVE-2016-9844. 2017-02-04 23:25:59 +00:00
unzoo Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
upx Recursive bump for perl5-5.28.0 2018-08-22 09:42:51 +00:00
xbin Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
xfce4-thunar-archive Revbump after cairo 1.16.0 update. 2018-11-14 22:20:58 +00:00
xmill Extend SHA512 checksums to various files I have on my local distfile 2017-03-23 17:06:45 +00:00
xpk Extend SHA512 checksums to various files I have on my local distfile 2017-03-23 17:06:45 +00:00
xz xz: add test target, omit old GCC_REQD. 2018-09-02 21:03:22 +00:00
zip Add SHA512 digests for distfiles for archivers category 2015-11-03 00:56:19 +00:00
zoo Don't list possibly nonexistent headers like /usr/include/sys/signal.h 2016-03-09 21:20:51 +00:00
zopfli Import zopfli-1.0.1 as archivers/zopfli. 2015-11-13 16:20:32 +00:00
zstd zstd: updated to 1.3.8 2019-01-02 14:27:36 +00:00
zutils *: Move SUBST_STAGE from post-patch to pre-configure 2018-07-04 13:40:07 +00:00
zziplib zziplib: Update to 0.13.69. 2018-08-06 12:55:38 +00:00
Makefile py-bz2file: added version 0.98 2019-01-09 10:28:19 +00:00