git: 30611c43a295 - main - archivers/py-pyzstd: Fix build with python != 3.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Jun 2025 12:09:01 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=30611c43a29557746f7cbfce93189ef88b058af0
commit 30611c43a29557746f7cbfce93189ef88b058af0
Author: Matthew Wener <matthew@wener.org>
AuthorDate: 2025-06-01 12:04:58 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-06-01 12:04:58 +0000
archivers/py-pyzstd: Fix build with python != 3.11
PR: 287178
MFH: 2025Q2
---
archivers/py-pyzstd/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/archivers/py-pyzstd/Makefile b/archivers/py-pyzstd/Makefile
index 052b600281fa..06e356816564 100644
--- a/archivers/py-pyzstd/Makefile
+++ b/archivers/py-pyzstd/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pyzstd
-PORTVERSION= 0.17.0
+DISTVERSION= 0.17.0
+PORTREVISION= 1
CATEGORIES= archivers python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,7 +22,7 @@ TEST_ENV= ${MAKE_ENV} \
PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyzstd/_c/_zstd.cpython-311.so
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyzstd/_c/_zstd.cpython-${PYTHON_SUFFIX}.so
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v