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 4.0.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/89f24a0ea78e
branches:  trunk
changeset: 388970:89f24a0ea78e
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 28 13:24:55 2022 +0000

description:
py-lz4: updated to 4.0.2

4.0.2
Fix a memory leak when frame decompression fails

4.0.1
Add flush method to LZ4FrameFile

4.0.0
This release relegates the stream bindings to experimental status and disables them in all wheel builds. This was necessary as the test suite was causing build failures on multiple architectures. 
These bindings are currently in an unmaintained state.

diffstat:

 archivers/py-lz4/Makefile |  23 +++++++++++------------
 archivers/py-lz4/distinfo |   8 ++++----
 2 files changed, 15 insertions(+), 16 deletions(-)

diffs (57 lines):

diff -r 98d898948106 -r 89f24a0ea78e archivers/py-lz4/Makefile
--- a/archivers/py-lz4/Makefile Mon Nov 28 13:19:32 2022 +0000
+++ b/archivers/py-lz4/Makefile Mon Nov 28 13:24:55 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2022/09/30 09:05:40 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2022/11/28 13:24:55 adam Exp $
 
-DISTNAME=      lz4-3.1.10
+DISTNAME=      lz4-4.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    archivers python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lz4/}
 
@@ -11,19 +10,19 @@
 COMMENT=       Python LZ4 binding
 LICENSE=       modified-bsd
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-pkgconfig-[0-9]*:../../devel/py-pkgconfig
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pkgconfig-[0-9]*:../../devel/py-pkgconfig
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.3.1:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+# build 'stream'
+MAKE_ENV+=     PYLZ4_EXPERIMENTAL=1
 
-# builds the same object files for different targets
-# e.g.
-# ld: build/temp.netbsd-9.0-amd64-cpython-310/lz4libs/lz4.o: file not recognized: file truncated
-MAKE_JOBS_SAFE=        no
+USE_TOOLS+=    pkg-config
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../archivers/lz4/buildlink3.mk"
 .include "../../lang/python/egg.mk"
diff -r 98d898948106 -r 89f24a0ea78e archivers/py-lz4/distinfo
--- a/archivers/py-lz4/distinfo Mon Nov 28 13:19:32 2022 +0000
+++ b/archivers/py-lz4/distinfo Mon Nov 28 13:24:55 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.32 2021/11/29 11:44:08 adam Exp $
+$NetBSD: distinfo,v 1.33 2022/11/28 13:24:55 adam Exp $
 
-BLAKE2s (lz4-3.1.10.tar.gz) = ce2922fa508a8f780d514e3e24dd9bf38adb21da8b319905077f859b315afb2c
-SHA512 (lz4-3.1.10.tar.gz) = 61983e77fa445f59503ccf8ed5fe0605d79754cdeb166e16a7093a856b23369634db7d105d57b3829e680dad0a3728adec9d18dccd92c994347b74c5af95580e
-Size (lz4-3.1.10.tar.gz) = 162886 bytes
+BLAKE2s (lz4-4.0.2.tar.gz) = 50a804ee985d9259b3016190e38954791f6918b9f53434150777d95fdbf1f608
+SHA512 (lz4-4.0.2.tar.gz) = f2fdd133b9c7389cd7d45b41e61944093b65bcbf529146740fa3721e683a9b4554166c2ad719298e6153e61facc4a4cb021ffd969cd16d4a5b6555fd8f14728f
+Size (lz4-4.0.2.tar.gz) = 164309 bytes
 SHA1 (patch-setup.py) = d58d21f4c279f37d737b1dce1d3c266d15247707



Home | Main Index | Thread Index | Old Index