pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/py-lz4



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Dec 31 18:48:57 UTC 2017

Modified Files:
        pkgsrc/archivers/py-lz4: Makefile PLIST distinfo
Added Files:
        pkgsrc/archivers/py-lz4/patches: patch-setup.py

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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/archivers/py-lz4/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/archivers/py-lz4/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/archivers/py-lz4/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/py-lz4/patches/patch-setup.py

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-lz4/Makefile
diff -u pkgsrc/archivers/py-lz4/Makefile:1.5 pkgsrc/archivers/py-lz4/Makefile:1.6
--- pkgsrc/archivers/py-lz4/Makefile:1.5        Thu Dec 21 08:00:03 2017
+++ pkgsrc/archivers/py-lz4/Makefile    Sun Dec 31 18:48:57 2017
@@ -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 @@ HOMEPAGE=    https://github.com/python-lz4/
 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"

Index: pkgsrc/archivers/py-lz4/PLIST
diff -u pkgsrc/archivers/py-lz4/PLIST:1.2 pkgsrc/archivers/py-lz4/PLIST:1.3
--- pkgsrc/archivers/py-lz4/PLIST:1.2   Sat Sep 30 12:38:02 2017
+++ pkgsrc/archivers/py-lz4/PLIST       Sun Dec 31 18:48:57 2017
@@ -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__.py
 ${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

Index: pkgsrc/archivers/py-lz4/distinfo
diff -u pkgsrc/archivers/py-lz4/distinfo:1.4 pkgsrc/archivers/py-lz4/distinfo:1.5
--- pkgsrc/archivers/py-lz4/distinfo:1.4        Thu Dec 21 08:00:03 2017
+++ pkgsrc/archivers/py-lz4/distinfo    Sun Dec 31 18:48:57 2017
@@ -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

Added files:

Index: pkgsrc/archivers/py-lz4/patches/patch-setup.py
diff -u /dev/null pkgsrc/archivers/py-lz4/patches/patch-setup.py:1.1
--- /dev/null   Sun Dec 31 18:48:57 2017
+++ pkgsrc/archivers/py-lz4/patches/patch-setup.py      Sun Dec 31 18:48:57 2017
@@ -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