pkgsrc-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: update to 0.8.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/9a8d772361e1
branches: trunk
changeset: 370704:9a8d772361e1
user: adam <adam%pkgsrc.org@localhost>
date: Mon Oct 23 10:24:18 2017 +0000
description:
py-zstandard: update to 0.8.1
0.8.1:
Add #includes so compilation on OS X and BSDs works.
0.8.0:
CompressionParameters now has a estimated_compression_context_size() method. zstd.estimate_compression_context_size() is now deprecated and slated for removal.
Implemented a lot of fuzzing tests.
CompressionParameters instances now perform extra validation by calling ZSTD_checkCParams() at construction time.
multi_compress_to_buffer() API for compressing multiple inputs as a single operation, as efficiently as possible.
ZSTD_CStream instances are now used across multiple operations on ZstdCompressor instances, resulting in much better performance for APIs that do streaming.
ZSTD_DStream instances are now used across multiple operations on ZstdDecompressor instances, resulting in much better performance for APIs that do streaming.
train_dictionary() now releases the GIL.
Support for training dictionaries using the COVER algorithm.
multi_decompress_to_buffer() API for decompressing multiple frames as a single operation, as efficiently as possible.
Support for multi-threaded compression.
Disable deprecation warnings when compiling CFFI module.
Fixed memory leak in train_dictionary().
Removed DictParameters type.
train_dictionary() now accepts keyword arguments instead of a DictParameters instance to control dictionary generation.
diffstat:
archivers/py-zstandard/Makefile | 6 ++++--
archivers/py-zstandard/PLIST | 4 +++-
archivers/py-zstandard/distinfo | 11 +++++------
archivers/py-zstandard/patches/patch-setup.py | 14 --------------
4 files changed, 12 insertions(+), 23 deletions(-)
diffs (67 lines):
diff -r cb50cb1eb585 -r 9a8d772361e1 archivers/py-zstandard/Makefile
--- a/archivers/py-zstandard/Makefile Mon Oct 23 10:17:39 2017 +0000
+++ b/archivers/py-zstandard/Makefile Mon Oct 23 10:24:18 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2017/09/23 18:25:50 wiedi Exp $
+# $NetBSD: Makefile,v 1.3 2017/10/23 10:24:18 adam Exp $
-DISTNAME= zstandard-0.7.0
+DISTNAME= zstandard-0.8.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= archivers python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zstandard/}
@@ -10,5 +10,7 @@
COMMENT= Zstandard bindings for Python
LICENSE= modified-bsd
+DEPENDS+= ${PYPKGPREFIX}-cffi>=1.8:../../devel/py-cffi
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r cb50cb1eb585 -r 9a8d772361e1 archivers/py-zstandard/PLIST
--- a/archivers/py-zstandard/PLIST Mon Oct 23 10:17:39 2017 +0000
+++ b/archivers/py-zstandard/PLIST Mon Oct 23 10:24:18 2017 +0000
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/08 14:54:26 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/10/23 10:24:18 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/_zstd_cffi.so
${PYSITELIB}/zstd.so
diff -r cb50cb1eb585 -r 9a8d772361e1 archivers/py-zstandard/distinfo
--- a/archivers/py-zstandard/distinfo Mon Oct 23 10:17:39 2017 +0000
+++ b/archivers/py-zstandard/distinfo Mon Oct 23 10:24:18 2017 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2017/09/23 18:25:50 wiedi Exp $
+$NetBSD: distinfo,v 1.3 2017/10/23 10:24:18 adam Exp $
-SHA1 (zstandard-0.7.0.tar.gz) = 36b19fe3b531cb8498869283278ff84bf0ef9a99
-RMD160 (zstandard-0.7.0.tar.gz) = a61b531afb7ffd8d143fa1a51044efe45b2b2427
-SHA512 (zstandard-0.7.0.tar.gz) = 016a8142a504757beb99b681386e7d8ea81b91a3a10b44894fa16443c21b567fce1101283e1967a2895e504045d84173b512fe7144a6a962ef64a509fcd83a4a
-Size (zstandard-0.7.0.tar.gz) = 427288 bytes
-SHA1 (patch-setup.py) = 4655e24415b98dfcf7c3b9978270b8af7530b180
+SHA1 (zstandard-0.8.1.tar.gz) = 879ee10c0d28bb01d8d7e258e86d40a4f59dd50c
+RMD160 (zstandard-0.8.1.tar.gz) = f7811f2282b62d5ef7ff31359f5767f799a4b30d
+SHA512 (zstandard-0.8.1.tar.gz) = 0ddbe22381397443c6c9f84e64f9358160bede104c4f48351119d880ac4f88994739b0b3915454567d2b2b04930c6ead5aa290a40323ba4b0bacf5e97809793c
+Size (zstandard-0.8.1.tar.gz) = 463785 bytes
diff -r cb50cb1eb585 -r 9a8d772361e1 archivers/py-zstandard/patches/patch-setup.py
--- a/archivers/py-zstandard/patches/patch-setup.py Mon Oct 23 10:17:39 2017 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2017/09/23 18:25:51 wiedi Exp $
-
-Don't pick up cffi by accident
---- setup.py.orig 2017-01-28 05:19:11.000000000 +0000
-+++ setup.py
-@@ -25,7 +25,7 @@ if "--legacy" in sys.argv:
- # facilitate reuse in other projects.
- extensions = [setup_zstd.get_c_extension(SUPPORT_LEGACY, 'zstd')]
-
--if cffi:
-+if None:
- import make_cffi
- extensions.append(make_cffi.ffi.distutils_extension())
-
Home |
Main Index |
Thread Index |
Old Index