git: eee7ce52a293 - main - archivers/py-lz4: Update to 4.3.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jan 2023 13:18:49 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=eee7ce52a29393dabfc9ee761a0cf948960d8146
commit eee7ce52a29393dabfc9ee761a0cf948960d8146
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:44:14 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:02:13 +0000
archivers/py-lz4: Update to 4.3.2
Changes: https://github.com/python-lz4/python-lz4/releases
---
archivers/py-lz4/Makefile | 14 +++++++++-----
archivers/py-lz4/distinfo | 6 +++---
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/archivers/py-lz4/Makefile b/archivers/py-lz4/Makefile
index d36fe7cca919..f4e99761ace1 100644
--- a/archivers/py-lz4/Makefile
+++ b/archivers/py-lz4/Makefile
@@ -1,5 +1,5 @@
PORTNAME= lz4
-PORTVERSION= 4.0.2
+PORTVERSION= 4.3.2
CATEGORIES= archivers python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,12 +17,16 @@ BUILD_DEPENDS= liblz4>=1.7.5:archivers/liblz4 \
LIB_DEPENDS= liblz4.so:archivers/liblz4
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR}
-USES= python:3.7+
+USES= localbase python:3.7+
USE_PYTHON= distutils pytest
+CONFIGURE_ENV= PYLZ4_USE_SYSTEM_LZ4=1
+
+post-patch:
+# Clean up bundled libraries
+ @${RM} -r ${WRKSRC}/lz4libs/
+
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/_version*.so \
- ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/block/_block*.so \
- ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/frame/_frame*.so
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>
diff --git a/archivers/py-lz4/distinfo b/archivers/py-lz4/distinfo
index 93d414e87f64..c527357d1314 100644
--- a/archivers/py-lz4/distinfo
+++ b/archivers/py-lz4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660576928
-SHA256 (lz4-4.0.2.tar.gz) = 083b7172c2938412ae37c3a090250bfdd9e4a6e855442594f86c3608ed12729b
-SIZE (lz4-4.0.2.tar.gz) = 164309
+TIMESTAMP = 1674590800
+SHA256 (lz4-4.3.2.tar.gz) = e1431d84a9cfb23e6773e72078ce8e65cad6745816d4cbf9ae67da5ea419acda
+SIZE (lz4-4.3.2.tar.gz) = 170869