python: include rust-values.mk in the Rust packages only

python3-host.mk includes the Rust values of lang/rust for every Python
package. The build system's cmake.mk and meson.mk react to Rust
variables, so packages without any Rust in them get Rust settings, and a
Python package moving to the build system's Rust toolchain would get
both sets of values.

Include rust-values.mk in the six packages that use its variables. The
variables in PYTHON3_VARS and HOST_PYTHON3_VARS are expanded late, so
the place of the include does not matter.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle committed 2026-11-02 07:41:54 +00:00
1 parent 3c88ccaa05
commit 9150b5ddf8
7 files changed
+6 -1

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ PKG_BUILD_DEPENDS:=python-setuptools-rust/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
include ../../rust/rust-values.mk
define Package/python3-bcrypt
SECTION:=lang