summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-12-02 11:24:50 +0000
committeradam <adam@pkgsrc.org>2021-12-02 11:24:50 +0000
commit1ff943434851417f367b250c68014c4e8b590ecb (patch)
treec9bd2efcbf8e5228a7b81a67257c09c831a424f8 /archivers
parent23c657500bf4c93e5ff7ced5917c47a46a8489c0 (diff)
downloadpkgsrc-1ff943434851417f367b250c68014c4e8b590ecb.tar.gz
py-zstandard: updated to 0.16.0
0.16.0 Backwards Compatibility Notes Support for Python 3.5 has been dropped. Python 3.6 is now the minimum required Python version. Changes Bundled zstd library upgraded from 1.4.8 to 1.5.0. manylinux2014_aarch64 wheels are now being produced for CPython 3.6+. Wheels are now being produced for CPython 3.10. Arguments to ZstdCompressor() and ZstdDecompressor() are now all optional in the C backend and an explicit None value is accepted. Before, the C backend wouldn't accept an explicit None value (but the CFFI backend would). The new behavior should be consistent between the backends
Diffstat (limited to 'archivers')
-rw-r--r--archivers/py-zstandard/Makefile6
-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, 10 deletions
diff --git a/archivers/py-zstandard/Makefile b/archivers/py-zstandard/Makefile
index e6ecfa04411..146ad3eb88f 100644
--- a/archivers/py-zstandard/Makefile
+++ b/archivers/py-zstandard/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2021/02/28 18:35:32 adam Exp $
+# $NetBSD: Makefile,v 1.20 2021/12/02 11:24:50 adam Exp $
-DISTNAME= zstandard-0.15.2
+DISTNAME= zstandard-0.16.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= archivers python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zstandard/}
@@ -17,7 +17,7 @@ PYSETUPBUILDARGS+= --system-zstd
PYTHON_VERSIONS_INCOMPATIBLE= 27
-BUILDLINK_API_DEPENDS.zstd+= zstd>=1.4.8
+BUILDLINK_API_DEPENDS.zstd+= zstd>=1.5.0
.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 f13870d526d..5152cdc243b 100644
--- a/archivers/py-zstandard/distinfo
+++ b/archivers/py-zstandard/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2021/10/26 09:57:15 nia Exp $
+$NetBSD: distinfo,v 1.21 2021/12/02 11:24:50 adam Exp $
-BLAKE2s (zstandard-0.15.2.tar.gz) = aa61f1e2ee1ef549bb1f6ee55c4da1d58124e314a67c680714834e35cdf52643
-SHA512 (zstandard-0.15.2.tar.gz) = 0102f3522145c80ec096e9dfac34a5bdd2a98b43b50b8c1e99bcfb0057904c551ababeeb82ced5f8b65945d42b39479cbc29472058679af1f8f91b68ae79f70f
-Size (zstandard-0.15.2.tar.gz) = 1012864 bytes
-SHA1 (patch-c-ext_backend__c.c) = 0f8d95683b857bc1960d06a818bc6bee665354ab
+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
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 aa7d365457b..31510e9c5e6 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.1 2021/05/04 12:24:33 adam Exp $
+$NetBSD: patch-c-ext_backend__c.c,v 1.2 2021/12/02 11:24:50 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 = 10408;
+- unsigned our_hardcoded_version = 10500;
- if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
- zstd_ver_no != our_hardcoded_version) {
+ if (ZSTD_VERSION_NUMBER != zstd_ver_no) {