This updates py-lz4 to 4.0.1 Changes: https://github.com/python-lz4/python-lz4/releases
The only consumer is plaso, whose tests pass the same before and after ok? --Kurt Index: Makefile =================================================================== RCS file: /cvs/ports/archivers/py-lz4/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile 11 Mar 2022 18:16:23 -0000 1.7 +++ Makefile 10 Jul 2022 08:23:54 -0000 @@ -1,6 +1,6 @@ COMMENT = lz4 bindings for Python -MODPY_EGG_VERSION = 3.1.10 +MODPY_EGG_VERSION = 4.0.1 DISTNAME = lz4-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} @@ -19,6 +19,7 @@ MODULES = lang/python MODPY_PI = Yes MODPY_SETUPTOOLS = Yes MODPY_PYTEST = Yes +MODPY_PYTEST_ARGS = tests/block tests/frame FLAVORS = python3 FLAVOR = python3 Index: distinfo =================================================================== RCS file: /cvs/ports/archivers/py-lz4/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo 27 Nov 2021 08:51:23 -0000 1.4 +++ distinfo 10 Jul 2022 08:23:54 -0000 @@ -1,2 +1,2 @@ -SHA256 (lz4-3.1.10.tar.gz) = Q55XXs+p7P/L1jz+2Zuu++Qiq5ZFsegieAJNiiHZcgs= -SIZE (lz4-3.1.10.tar.gz) = 162886 +SHA256 (lz4-4.0.1.tar.gz) = 79/sIXVxW/LYFO1yp6GFQG80VkZOs/ND2xuH7YE+A5w= +SIZE (lz4-4.0.1.tar.gz) = 164309 Index: patches/patch-setup_py =================================================================== RCS file: /cvs/ports/archivers/py-lz4/patches/patch-setup_py,v retrieving revision 1.4 diff -u -p -r1.4 patch-setup_py --- patches/patch-setup_py 11 Mar 2022 18:16:23 -0000 1.4 +++ patches/patch-setup_py 10 Jul 2022 08:23:54 -0000 @@ -3,7 +3,7 @@ remove -O3 Index: setup.py --- setup.py.orig +++ setup.py -@@ -102,7 +102,6 @@ elif compiler in ('unix', 'mingw32'): +@@ -111,7 +111,6 @@ elif compiler in ('unix', 'mingw32'): extension_kwargs = pkgconfig_parse('liblz4') else: extension_kwargs['extra_compile_args'] = [ Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/archivers/py-lz4/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 11 Mar 2022 18:16:23 -0000 1.3 +++ pkg/PLIST 10 Jul 2022 08:23:54 -0000 @@ -20,9 +20,4 @@ lib/python${MODPY_VERSION}/site-packages ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/lz4/frame/${MODPY_PYCACHE}/ lib/python${MODPY_VERSION}/site-packages/lz4/frame/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc @so lib/python${MODPY_VERSION}/site-packages/lz4/frame/_frame.${MODPY_PYC_MAGIC_TAG}so -lib/python${MODPY_VERSION}/site-packages/lz4/stream/ -lib/python${MODPY_VERSION}/site-packages/lz4/stream/__init__.py -${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/lz4/stream/${MODPY_PYCACHE}/ -lib/python${MODPY_VERSION}/site-packages/lz4/stream/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc -@so lib/python${MODPY_VERSION}/site-packages/lz4/stream/_stream.${MODPY_PYC_MAGIC_TAG}so lib/python${MODPY_VERSION}/site-packages/lz4/version.py