git: e51a2d1c8c50 - main - devel/py-maturin: Fix build with setuptools 61.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Jun 2022 14:00:41 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e51a2d1c8c5052a793244043470aba1e9655de06
commit e51a2d1c8c5052a793244043470aba1e9655de06
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-03 13:57:51 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-03 13:59:15 +0000
devel/py-maturin: Fix build with setuptools 61.0.0+
With hat: python
---
devel/py-maturin/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/devel/py-maturin/Makefile b/devel/py-maturin/Makefile
index 129beefa7f81..dae83e0fb978 100644
--- a/devel/py-maturin/Makefile
+++ b/devel/py-maturin/Makefile
@@ -261,6 +261,9 @@ CARGO_BUILD_ARGS= --no-default-features \
--features=upload,log,human-panic
.endif
+post-patch:
+ @${RM} ${WRKSRC}/pyproject.toml
+
# The binary is usually built via setup.py which uses different compiler flags.
# That line is patched out there to use the compiler flags from the Ports
# framework instead. The setup.py is processed in the "do-build" target to