Hi Denis and ports@
On Thu, 3 Jul 2025 20:47:29 +0200, Denis Fondras wrote:
> I am trying to port https://github.com/astral-sh/uv/
> This is written with Rust.
I have ported devel/uv since the 0.1.4 release (February 2024) !
See my port in OpenBSD-port WIP repository => https://github.com/jasperla/
openbsd-wip/tree/master/devel/uv
Sorry, I never submitted it here...
uv uses some patched Rust crates (see Cargo.toml) and it's need some
"acrobatic" patches to build it ;)
I read the replies from tb@ and Suart. Unfortunately, upstream project
uses frequently patched Rust crates: some permanently (rs-async, pubgrub,
tl), other only for some releases (now, patchs for reqwest-middleware).
I think it' better to download patched crates from GH and uses SUBST_CMD
to patch Cargo.toml as in my port.
PS: I have also a port for the other main Astral-sh project, ruff (Python
linter in Rust) => ttps://github.com/jasperla/openbsd-wip/tree/master/
devel/ruff
Laurent
No comments:
Post a Comment