Skip to content

Commit

Permalink
devel/py-maturin: Fix build with setuptools 61.0.0+
Browse files Browse the repository at this point in the history
With hat:	python
  • Loading branch information
sunpoet committed Jun 3, 2022
1 parent 69b778d commit e51a2d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devel/py-maturin/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit e51a2d1

Please sign in to comment.