Le Fri, Jul 04, 2025 at 06:30:05PM +0100, Stuart Henderson a écrit : > On 2025/07/04 18:08, Stuart Henderson wrote: > > I'm building and trying a few things, will either commit with small > > tweaks, or come back with a diff later, depending on how that goes. > > committed with small tweaks. diffs: typo, and don't install a second > copy of uv as uvx. I skipped installing uvx completely for now because > as-is it doesn't work on OpenBSD. >
Wow ! Thank you everyone for the amazing work. Denis > (the bigger thing I was trying was to use maturin as pyproject.toml > suggests it should work, but it errors out on parsing Cargo.toml as > there's no [package] section). > > > > > On 2025/07/04 17:47, Theo Buehler wrote: > > > On Fri, Jul 04, 2025 at 04:30:38PM +0200, Laurent Cheylus wrote: > > > > Re Theo, > > > > > > > > ----- Mail original ----- > > > > > Someone needs to review this properly before it can go in. Once > > > > > that's done and if Laurent or Denis are willing to take maintainer > > > > > and want > > > > > to keep this reasonably up-to-date, I think I'll be ok with someone > > > > > else > > > > > importing it. > > > > > > > > After review, build and tests OK on current/amd64 with Rust 1.88.0 > > > > > > > > Attached a patch for your Makefile: > > > > > > > > - use 'devel' for CATEGORY > > > > - reformat (use tabs instead of spaces) + reorder some variables > > > > - use https://docs.astral.sh/uv/ as HOMEPAGE instead of GitHub > > > > astral-sh/uv > > > > - take maintainership for this port > > > > - remove MODCARGO_INSTALL_TARGET_PATHS (no need when using a specific > > > > 'do-install') > > > > - add SEPARATE_BUILD (not defined in devel/cargo/cargo.port.mk) > > > > - use MODCARGO_TARGET_DIR in 'do-install' > > > > > > These all make sense to me. I had to hand-apply the big second hunk of > > > your diff because it didn't apply on top of my tarball. There were also > > > some tiny whitespace issues in the + part of that diff (which I fixed). > > > > > > Attached the tarball which I think is ready to import as devel/uv. I > > > can do that or someone else can do it with my ok. > > > > >