summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-10-23 10:24:18 +0000
committeradam <adam@pkgsrc.org>2017-10-23 10:24:18 +0000
commite797a366a7fce121af78a2445ee3c20a2e3eb4e1 (patch)
tree1a46926a1b344be77d87154aed593e0e94fc5408 /archivers
parentd956ddd827447d1e2a1ee90c7722ee5bc04fe94c (diff)
downloadpkgsrc-e797a366a7fce121af78a2445ee3c20a2e3eb4e1.tar.gz
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 (limited to 'archivers')
-rw-r--r--archivers/py-zstandard/Makefile6
-rw-r--r--archivers/py-zstandard/PLIST4
-rw-r--r--archivers/py-zstandard/distinfo11
-rw-r--r--archivers/py-zstandard/patches/patch-setup.py14
4 files changed, 12 insertions, 23 deletions
diff --git a/archivers/py-zstandard/Makefile b/archivers/py-zstandard/Makefile
index 5c42c6cf944..fee52141c85 100644
--- a/archivers/py-zstandard/Makefile
+++ b/archivers/py-zstandard/Makefile
@@ -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 @@ HOMEPAGE= https://github.com/indygreg/python-zstandard
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 --git a/archivers/py-zstandard/PLIST b/archivers/py-zstandard/PLIST
index a537cf9bd96..2c625558c83 100644
--- a/archivers/py-zstandard/PLIST
+++ b/archivers/py-zstandard/PLIST
@@ -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 --git a/archivers/py-zstandard/distinfo b/archivers/py-zstandard/distinfo
index 1bdce37ee45..9c9d909a685 100644
--- a/archivers/py-zstandard/distinfo
+++ b/archivers/py-zstandard/distinfo
@@ -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 --git a/archivers/py-zstandard/patches/patch-setup.py b/archivers/py-zstandard/patches/patch-setup.py
deleted file mode 100644
index 84edb3ad560..00000000000
--- a/archivers/py-zstandard/patches/patch-setup.py
+++ /dev/null
@@ -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())
-