From bba5f2059cb483f415ecd2558a2ada4fc85f2635 Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 14 Jun 2020 13:53:06 +0000 Subject: py-zstandard: updated to 0.14.0 0.14.0: Backwards Compatibility Notes ----------------------------- * This will likely be the final version supporting Python 2.7. Future releases will likely only work on Python 3.5+. * There is a significant possibility that future versions will use Rust - instead of C - for compiled code. Bug Fixes --------- * Some internal fields of C structs are now explicitly initialized. * The ``make_cffi.py`` script used to build the CFFI bindings now calls ``distutils.sysconfig.customize_compiler()`` so compiler customizations (such as honoring the ``CC`` environment variable) are performed. * The ``make_cffi.py`` script now sets ``LC_ALL=C`` when invoking the preprocessor in an attempt to normalize output to ASCII. Changes ------- * Bundled zstandard library upgraded from 1.4.4 to 1.4.5. * ``setup.py`` is now executable. * Python code reformatted with black using 80 character line lengths. --- archivers/py-zstandard/Makefile | 6 +++--- archivers/py-zstandard/distinfo | 12 ++++++------ archivers/py-zstandard/patches/patch-zstd.c | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'archivers') diff --git a/archivers/py-zstandard/Makefile b/archivers/py-zstandard/Makefile index 43ad37a63f9..af2af4e58e8 100644 --- a/archivers/py-zstandard/Makefile +++ b/archivers/py-zstandard/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.14 2019/12/29 16:53:13 adam Exp $ +# $NetBSD: Makefile,v 1.15 2020/06/14 13:53:06 adam Exp $ -DISTNAME= zstandard-0.13.0 +DISTNAME= zstandard-0.14.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= archivers python MASTER_SITES= ${MASTER_SITE_PYPI:=z/zstandard/} @@ -15,7 +15,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis PYSETUPBUILDARGS+= --system-zstd -BUILDLINK_API_DEPENDS.zstd+= zstd>=1.4.0 +BUILDLINK_API_DEPENDS.zstd+= zstd>=1.4.5 .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 b7eac764730..5ead4ac4d6c 100644 --- a/archivers/py-zstandard/distinfo +++ b/archivers/py-zstandard/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.13 2019/12/29 16:53:13 adam Exp $ +$NetBSD: distinfo,v 1.14 2020/06/14 13:53:06 adam Exp $ -SHA1 (zstandard-0.13.0.tar.gz) = a2956e6f75ab1c182b0d6b63b97fcc8c44981494 -RMD160 (zstandard-0.13.0.tar.gz) = 0aa7feac7dd5d2a906d150999d13ba44e9c0dcbc -SHA512 (zstandard-0.13.0.tar.gz) = 3a6151de640515f21626d150e1295c1f2e524d377b3b1ccabf2719fae6da89f95480a50ec80eac4d07d317c7abe50ed7a26162b3291169e139c4ddd71b6ada98 -Size (zstandard-0.13.0.tar.gz) = 659422 bytes -SHA1 (patch-zstd.c) = 5a104e264605b6ce03721b84b56ae20c49684a89 +SHA1 (zstandard-0.14.0.tar.gz) = f395bc02e63a6d9b124e3634737d91a052902a57 +RMD160 (zstandard-0.14.0.tar.gz) = 9a810de9c786ced38ac7169621f4ae3d9c281b93 +SHA512 (zstandard-0.14.0.tar.gz) = 57c62eb7dedde2a2178f79a5658b87b5c5f176b282311273953003824272afa03e126a79b57fc8b75e9e15585d44d6b9931318a8ea5e7c75ec0feebbd7eb6cf0 +Size (zstandard-0.14.0.tar.gz) = 676761 bytes +SHA1 (patch-zstd.c) = d6566abae99231175401ce130cb2260b040d72e8 diff --git a/archivers/py-zstandard/patches/patch-zstd.c b/archivers/py-zstandard/patches/patch-zstd.c index 48f060ad038..0038b204e24 100644 --- a/archivers/py-zstandard/patches/patch-zstd.c +++ b/archivers/py-zstandard/patches/patch-zstd.c @@ -1,4 +1,4 @@ -$NetBSD: patch-zstd.c,v 1.4 2019/12/29 16:53:13 adam Exp $ +$NetBSD: patch-zstd.c,v 1.5 2020/06/14 13:53:06 adam Exp $ Allow newer zstd. @@ -8,7 +8,7 @@ Allow newer zstd. We detect this mismatch here and refuse to load the module if this scenario is detected. */ -- if (ZSTD_VERSION_NUMBER != 10404 || ZSTD_versionNumber() != 10404) { +- if (ZSTD_VERSION_NUMBER != 10405 || ZSTD_versionNumber() != 10405) { - PyErr_SetString(PyExc_ImportError, "zstd C API mismatch; Python bindings not compiled against expected zstd version"); - return; - } -- cgit v1.2.3