Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/py-zstandard py-zstandard: updated to 0.14.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/da7aa25273f4
branches: trunk
changeset: 434326:da7aa25273f4
user: adam <adam%pkgsrc.org@localhost>
date: Sun Jun 14 13:53:06 2020 +0000
description:
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.
diffstat:
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(-)
diffs (56 lines):
diff -r 478446a55755 -r da7aa25273f4 archivers/py-zstandard/Makefile
--- a/archivers/py-zstandard/Makefile Sun Jun 14 13:51:55 2020 +0000
+++ b/archivers/py-zstandard/Makefile Sun Jun 14 13:53:06 2020 +0000
@@ -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 @@
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 -r 478446a55755 -r da7aa25273f4 archivers/py-zstandard/distinfo
--- a/archivers/py-zstandard/distinfo Sun Jun 14 13:51:55 2020 +0000
+++ b/archivers/py-zstandard/distinfo Sun Jun 14 13:53:06 2020 +0000
@@ -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 -r 478446a55755 -r da7aa25273f4 archivers/py-zstandard/patches/patch-zstd.c
--- a/archivers/py-zstandard/patches/patch-zstd.c Sun Jun 14 13:51:55 2020 +0000
+++ b/archivers/py-zstandard/patches/patch-zstd.c Sun Jun 14 13:53:06 2020 +0000
@@ -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 @@
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;
- }
Home |
Main Index |
Thread Index |
Old Index