pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/py-zstandard



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jun 14 13:53:06 UTC 2020

Modified Files:
        pkgsrc/archivers/py-zstandard: Makefile distinfo
        pkgsrc/archivers/py-zstandard/patches: patch-zstd.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/archivers/py-zstandard/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/archivers/py-zstandard/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/archivers/py-zstandard/patches/patch-zstd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/py-zstandard/Makefile
diff -u pkgsrc/archivers/py-zstandard/Makefile:1.14 pkgsrc/archivers/py-zstandard/Makefile:1.15
--- pkgsrc/archivers/py-zstandard/Makefile:1.14 Sun Dec 29 16:53:13 2019
+++ pkgsrc/archivers/py-zstandard/Makefile      Sun Jun 14 13:53:06 2020
@@ -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
 
 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"

Index: pkgsrc/archivers/py-zstandard/distinfo
diff -u pkgsrc/archivers/py-zstandard/distinfo:1.13 pkgsrc/archivers/py-zstandard/distinfo:1.14
--- pkgsrc/archivers/py-zstandard/distinfo:1.13 Sun Dec 29 16:53:13 2019
+++ pkgsrc/archivers/py-zstandard/distinfo      Sun Jun 14 13:53:06 2020
@@ -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

Index: pkgsrc/archivers/py-zstandard/patches/patch-zstd.c
diff -u pkgsrc/archivers/py-zstandard/patches/patch-zstd.c:1.4 pkgsrc/archivers/py-zstandard/patches/patch-zstd.c:1.5
--- pkgsrc/archivers/py-zstandard/patches/patch-zstd.c:1.4      Sun Dec 29 16:53:13 2019
+++ pkgsrc/archivers/py-zstandard/patches/patch-zstd.c  Sun Jun 14 13:53:06 2020
@@ -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;
 -      }



Home | Main Index | Thread Index | Old Index