svn commit: r561240 - head/archivers/py-zstandard
Yuri Victorovich
yuri at FreeBSD.org
Mon Jan 11 18:00:51 UTC 2021
Author: yuri
Date: Mon Jan 11 18:00:51 2021
New Revision: 561240
URL: https://svnweb.freebsd.org/changeset/ports/561240
Log:
archivers/py-zstandard: Fix the run-time failure
Their testsuite falsely succeeds when the installed package actually breaks.
Reported to the upstream.
Reported by: amdmi3
Modified:
head/archivers/py-zstandard/Makefile
Modified: head/archivers/py-zstandard/Makefile
==============================================================================
--- head/archivers/py-zstandard/Makefile Mon Jan 11 17:54:42 2021 (r561239)
+++ head/archivers/py-zstandard/Makefile Mon Jan 11 18:00:51 2021 (r561240)
@@ -2,6 +2,7 @@
PORTNAME= zstandard
DISTVERSION= 0.15.1
+PORTREVISION= 1
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,9 +20,12 @@ LIB_DEPENDS= libzstd.so:archivers/zstd
USES= localbase python:3.6+
USE_PYTHON= distutils autoplist
-PYDISTUTILS_BUILDARGS= --system-zstd
+#PYDISTUTILS_BUILDARGS= --system-zstd # breaks in runtime due to version mismatch, keep disabled until this is fixed: https://github.com/indygreg/python-zstandard/issues/132
post-install:
@cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/zstandard && ${STRIP_CMD} backend_c.so _cffi.so
+
+do-test: # runs the internal testsuite, tests are unreliable or faulty: https://github.com/indygreg/python-zstandard/issues/133
+ @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_BUILDARGS} test
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list