summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-01-19 06:04:35 +0000
committeradam <adam@pkgsrc.org>2022-01-19 06:04:35 +0000
commit5331dc2e195aa9a67b237f37c7930669e6a557aa (patch)
tree3c713e26b54c4479c1f8d92f0c57e228171503d5 /archivers
parentc354f239218f7c825c6a1b1ed7ce47305621e34a (diff)
downloadpkgsrc-5331dc2e195aa9a67b237f37c7930669e6a557aa.tar.gz
py-zstandard: updated to 0.17.0
0.17.0 (released 2021-01-18) Backwards Compatibility Notes ZstdCompressionWriter and ZstdDecompressionWriter now implement __iter__() and __next__(). The methods always raise io.UnsupportedOperation. The added methods are part of the io.IOBase abstract base class / interface and help ensure instances look like other I/O types. The HASHLOG3_MAX constant has been removed since it is no longer defined in zstd 1.5.1. Bug Fixes The ZstdCompressionReader, ZstdCompressionWriter, ZstdDecompressionReader, and ZstdDecompressionWriter types in the C backend now tracks their closed attribute using the proper C type. Before, due to a mismatch between the C struct type and the type declared to Python, Python could read the wrong bits on platforms like s390x and incorrectly report the value of the closed attribute to Python. Changes Bundled zstd library upgraded from 1.5.0 to 1.5.1. The C backend now exposes the symbols ZstdCompressionReader, ZstdCompressionWriter, ZstdDecompressionReader, and ZstdDecompressionWriter. This should match the behavior of the CFFI backend. ZstdCompressionWriter and ZstdDecompressionWriter now implement __iter__ and __next__, which always raise io.UnsupportedOperation. Documentation on thread safety has been updated to note that derived objects like ZstdCompressionWriter have the same thread unsafety as the contexts they were derived from.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/py-zstandard/Makefile7
-rw-r--r--archivers/py-zstandard/distinfo10
-rw-r--r--archivers/py-zstandard/patches/patch-c-ext_backend__c.c4
3 files changed, 10 insertions, 11 deletions
diff --git a/archivers/py-zstandard/Makefile b/archivers/py-zstandard/Makefile
index 4a51f92fb20..0916d759d4c 100644
--- a/archivers/py-zstandard/Makefile
+++ b/archivers/py-zstandard/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2022/01/04 20:52:32 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2022/01/19 06:04:35 adam Exp $
-DISTNAME= zstandard-0.16.0
+DISTNAME= zstandard-0.17.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= archivers python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zstandard/}
@@ -18,7 +17,7 @@ PYSETUPBUILDARGS+= --system-zstd
PYTHON_VERSIONS_INCOMPATIBLE= 27
-BUILDLINK_API_DEPENDS.zstd+= zstd>=1.5.0
+BUILDLINK_API_DEPENDS.zstd+= zstd>=1.5.1
.include "../../archivers/zstd/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/py-zstandard/distinfo b/archivers/py-zstandard/distinfo
index 5152cdc243b..2da393fe5ae 100644
--- a/archivers/py-zstandard/distinfo
+++ b/archivers/py-zstandard/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2021/12/02 11:24:50 adam Exp $
+$NetBSD: distinfo,v 1.22 2022/01/19 06:04:35 adam Exp $
-BLAKE2s (zstandard-0.16.0.tar.gz) = 88c934f4127cf2bf215266856fad41a2171075aeb0838427d94e979b33badac8
-SHA512 (zstandard-0.16.0.tar.gz) = f528cace58c1f1ec0fbea96e1646d92b05077ab6f5919eec07dc7b4fcfadf97dc848238928276fdb4333fb2cd035509af472ee352608661c3de681bc8dbed318
-Size (zstandard-0.16.0.tar.gz) = 563633 bytes
-SHA1 (patch-c-ext_backend__c.c) = 205801c19412c6d4b43fb3fac76db7990f97ee74
+BLAKE2s (zstandard-0.17.0.tar.gz) = 2de7fb51d6844b307bbff7e1f46369ad781b68cf454e73104f641a68cdcc6e82
+SHA512 (zstandard-0.17.0.tar.gz) = 312aa02c7309fac64cf70ca901942118d4b3f12f27d20cc18dcaba5ce155ad81ea8d7657501a33a5fb6cdc8bcca11f91141ea9d6c3fc09c28a84d698b9050391
+Size (zstandard-0.17.0.tar.gz) = 629456 bytes
+SHA1 (patch-c-ext_backend__c.c) = e66030166a04c355b941e0d524af59882ec70bb4
diff --git a/archivers/py-zstandard/patches/patch-c-ext_backend__c.c b/archivers/py-zstandard/patches/patch-c-ext_backend__c.c
index 31510e9c5e6..e0f00e5924a 100644
--- a/archivers/py-zstandard/patches/patch-c-ext_backend__c.c
+++ b/archivers/py-zstandard/patches/patch-c-ext_backend__c.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-c-ext_backend__c.c,v 1.2 2021/12/02 11:24:50 adam Exp $
+$NetBSD: patch-c-ext_backend__c.c,v 1.3 2022/01/19 06:04:35 adam Exp $
Do not use hardcoded version number.
@@ -8,7 +8,7 @@ Do not use hardcoded version number.
PyObject *features = NULL;
PyObject *feature = NULL;
unsigned zstd_ver_no = ZSTD_versionNumber();
-- unsigned our_hardcoded_version = 10500;
+- unsigned our_hardcoded_version = 10501;
- if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
- zstd_ver_no != our_hardcoded_version) {
+ if (ZSTD_VERSION_NUMBER != zstd_ver_no) {