gentoo/dev-python/setuptools-rust
Eli Schwartz 5003111613
dev-python/setuptools-rust: backport upstream patch to unbreak complex merge
When rebuilding world with python 3.12 it's very easy to end up with a
merge order that results in building setuptools-rust's dependencies for
3.12 only, but not yet merging setuptools-rust. This then breaks all
other packages relying on setuptools, due to plugin autoloading.

Fix this by making setuptools-rust only depend on other packages when it
is actually used, but not in the APIs invoked by the plugin autoloading.
This means that the package only has to be fully merged in time for
other packages that have an explicit BDEPEND on it, which is fine as
that is already the case.

Bug: https://github.com/PyO3/setuptools-rust/pull/437
Closes: https://bugs.gentoo.org/933553
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2024-06-11 15:25:47 +01:00
..