pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/py-lz4 py-lz4: updated to 0.17.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70e32ebd8294
branches:  trunk
changeset: 373380:70e32ebd8294
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 31 18:48:57 2017 +0000

description:
py-lz4: updated to 0.17.0

0.17.0:
This release fixes a pathological case where compressing and decompressing a zero length bytes object could result in the resulting bytes object causing False to be returned from val == 'b'.

diffstat:

 archivers/py-lz4/Makefile               |   7 +++++--
 archivers/py-lz4/PLIST                  |   9 ++-------
 archivers/py-lz4/distinfo               |  11 ++++++-----
 archivers/py-lz4/patches/patch-setup.py |  14 ++++++++++++++
 4 files changed, 27 insertions(+), 14 deletions(-)

diffs (87 lines):

diff -r 2377d03c38da -r 70e32ebd8294 archivers/py-lz4/Makefile
--- a/archivers/py-lz4/Makefile Sun Dec 31 18:47:08 2017 +0000
+++ b/archivers/py-lz4/Makefile Sun Dec 31 18:48:57 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2017/12/21 08:00:03 adam Exp $
+# $NetBSD: Makefile,v 1.6 2017/12/31 18:48:57 adam Exp $
 
-DISTNAME=      lz4-0.12.0
+DISTNAME=      lz4-0.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    archivers python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lz4/}
@@ -10,7 +10,10 @@
 COMMENT=       Python LZ4 binding
 LICENSE=       modified-bsd
 
+DEPENDS+=      ${PYPKGPREFIX}-deprecation-[0-9]*:../../devel/py-deprecation
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+# TEST_DEPENDS
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 .include "../../archivers/lz4/buildlink3.mk"
 .include "../../lang/python/egg.mk"
diff -r 2377d03c38da -r 70e32ebd8294 archivers/py-lz4/PLIST
--- a/archivers/py-lz4/PLIST    Sun Dec 31 18:47:08 2017 +0000
+++ b/archivers/py-lz4/PLIST    Sun Dec 31 18:48:57 2017 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2017/09/30 12:38:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/12/31 18:48:57 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}/lz4/__init__.py
 ${PYSITELIB}/lz4/__init__.pyc
@@ -11,16 +12,10 @@
 ${PYSITELIB}/lz4/block/__init__.pyc
 ${PYSITELIB}/lz4/block/__init__.pyo
 ${PYSITELIB}/lz4/block/_block.so
-${PYSITELIB}/lz4/deprecated.py
-${PYSITELIB}/lz4/deprecated.pyc
-${PYSITELIB}/lz4/deprecated.pyo
 ${PYSITELIB}/lz4/frame/__init__.py
 ${PYSITELIB}/lz4/frame/__init__.pyc
 ${PYSITELIB}/lz4/frame/__init__.pyo
 ${PYSITELIB}/lz4/frame/_frame.so
-${PYSITELIB}/lz4/lz4version.py
-${PYSITELIB}/lz4/lz4version.pyc
-${PYSITELIB}/lz4/lz4version.pyo
 ${PYSITELIB}/lz4/version.py
 ${PYSITELIB}/lz4/version.pyc
 ${PYSITELIB}/lz4/version.pyo
diff -r 2377d03c38da -r 70e32ebd8294 archivers/py-lz4/distinfo
--- a/archivers/py-lz4/distinfo Sun Dec 31 18:47:08 2017 +0000
+++ b/archivers/py-lz4/distinfo Sun Dec 31 18:48:57 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2017/12/21 08:00:03 adam Exp $
+$NetBSD: distinfo,v 1.5 2017/12/31 18:48:57 adam Exp $
 
-SHA1 (lz4-0.12.0.tar.gz) = 20d1fad7dfcddfe875d663aede45b9deb512126d
-RMD160 (lz4-0.12.0.tar.gz) = a44a2e366ced50e385a1eccbdf0323a4717c5a03
-SHA512 (lz4-0.12.0.tar.gz) = 23e017e180504bd0cf949f78d75ecd17ac6b653a0714c83f72d58f11f7e6eaf1d1d1cff46e64d2294e2f4c32dbaaf4d78671e37f2f5dce4c970925d74ba43ab2
-Size (lz4-0.12.0.tar.gz) = 100876 bytes
+SHA1 (lz4-0.17.0.tar.gz) = f1cab01bd8705cf0210e041e0343fe9e6b3b9338
+RMD160 (lz4-0.17.0.tar.gz) = 344355b5248871441b64241def1b12c069dc7877
+SHA512 (lz4-0.17.0.tar.gz) = 29af6839733cd57ee607e7e608a1aa2ab8c99aeb494b415af35ecad4efe26b1809a56a35dce045f1425043ebc9313fd99dcc81a1ac6d572b52d6debd14451207
+Size (lz4-0.17.0.tar.gz) = 101334 bytes
+SHA1 (patch-setup.py) = 19f0fda54400ee21374e22c7657bf50d0c6c1c41
diff -r 2377d03c38da -r 70e32ebd8294 archivers/py-lz4/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/py-lz4/patches/patch-setup.py   Sun Dec 31 18:48:57 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2017/12/31 18:48:57 adam Exp $
+
+Prefer external compiler optimizations.
+
+--- setup.py.orig      2017-12-31 18:34:27.000000000 +0000
++++ setup.py
+@@ -91,7 +91,6 @@ elif compiler in ('unix', 'mingw32'):
+             extra_compile_args.append(pkgconfig.cflags('liblz4'))
+     else:
+         extra_compile_args = [
+-            '-O3',
+             '-Wall',
+             '-Wundef'
+         ]



Home | Main Index | Thread Index | Old Index