python-setuptools-rust: Set cargo profile from environment variable
authorJeffery To <redacted>
Sun, 8 Oct 2023 12:24:38 +0000 (20:24 +0800)
committerJeffery To <redacted>
Wed, 11 Oct 2023 07:50:24 +0000 (15:50 +0800)
commit29ca9797a66f7e4d2ae40d26b91f3d1c2982a744
treeefcd6638efde591c3656720f9fc35af8f8d66490
parent8bf2725f9be82eec0849cc5efe77bedeb0a693a0
python-setuptools-rust: Set cargo profile from environment variable

This adds a patch (submitted upstream in
https://github.com/PyO3/setuptools-rust/pull/364), to read the profile
to pass to cargo from an environment variable.

This also updates the Python include files to set the environment
variable based on values from rust-values.mk.

Signed-off-by: Jeffery To <redacted>
lang/python/python-setuptools-rust/Makefile
lang/python/python-setuptools-rust/patches/0001-Allow-profile-to-be-set-by-SETUPTOOLS_RUST_CARGO_PROFILE-env-variable.patch [new file with mode: 0644]
lang/python/python3-host.mk
lang/python/python3-package.mk
git clone https://git.99rst.org/PROJECT