Created attachment 236346 [details] patch Newer version required to build devel/py-orjson
Created attachment 236348 [details] patch
Created attachment 236432 [details] patch, add build deps Probably these deps should be added as run dep too.
Created attachment 236446 [details] py-maturin-0.13.2-revised.patch (In reply to Ivan Rozhuk from comment #2) Hi Ivan, thanks for your work and the patches, much appreciated! I made some small modifications based on your second patch: * Set the Python dependencies as given in the "setup.py" except for textproc/py-tomli which is also required for build. (This might be a bug in the setup.py). * Removed the "openssl-src" from CARGO_CRATES and added another patch to avoid using the vendored copy of OpenSSL: > /!\ py39-maturin-0.13.2: Makefile warnings, please consider fixing /!\ > > Please make sure this port uses the system OpenSSL and consider removing > CARGO_CRATES=openssl-src-111.22.0+1.1.1q (a vendored copy of OpenSSL) from > the build, e.g., by patching Cargo.toml appropriately. * At last but not least: Rebased the patch against the recent WWW field changes. QA: ~~~ poudriere -> OK (12.3-, 13.1-RELEASE, 14.0-CURRENT@8c309d48aab amd64) We also need to take care of "www/py-adblock": Adding BINARY_ALIAS=python3=${PYTHON_CMD} is required for it to avoid build failures once the update for devel/py-maturin lands. I plan to commit the patch the upcoming weekend and I'll leave it attached here for reviewing/testing until then.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8978bbb9747c44ba8ddf8058ea3419c363e92bf2 commit 8978bbb9747c44ba8ddf8058ea3419c363e92bf2 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-09-10 10:33:40 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-09-10 10:33:40 +0000 www/py-adblock: Prepare for py-maturin >= 0.13.0 * Since the 0.13.0 release maturin no longer searches for the Python interpreters by default and uses the current interpreter found in the PATH environment variable. Thus set BINARY_ALIAS to give a specific Python interpreter during build. * Fix build as well if building the port for multiple Python flavors by using FLAVOR_DEFAULT_ALL in poudriere and BUILD_ALL_PYTHON_FLAVORS in the make.conf. * Add CONFLICTS_INSTALL because a shared library is installed outside of Python's site-lib directory. * No bump of PORTREVISION as the package content isn't changed. PR: 266211 (related) Approved by: portmgr (blanket) www/py-adblock/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a706257a32e3f2a82dac91c9f5a82d3461b50ba7 commit a706257a32e3f2a82dac91c9f5a82d3461b50ba7 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-09-10 10:37:22 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-09-10 10:37:22 +0000 devel/py-maturin: Update to 0.13.2 * Since the 0.13.0 release maturin no longer searches for the Python interpreters by default and uses the current interpreter found in the PATH environment variable. Thus set BINARY_ALIAS to give a specific Python interpreter during build. * Remove two patches that were upstreamed. Changelog since 0.11.3: https://github.com/PyO3/maturin/blob/v0.13.2/Changelog.md PR: 266211 Reported by: Ivan Rozhuk Co-Authored by: Ivan Rozhuk MFH: No (contains breaking changes) devel/py-maturin/Makefile | 428 ++++++----- devel/py-maturin/distinfo | 826 ++++++++++++--------- .../patch-cargo-crates_xwin-0.2.5_Cargo.toml (new) | 15 + devel/py-maturin/files/patch-setup.py (gone) | 39 - devel/py-maturin/files/patch-src_target.rs (gone) | 29 - 5 files changed, 756 insertions(+), 581 deletions(-)
Committed, thank you for the patches!