mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-20 00:48:23 +00:00
use bazel build system instead of gyp, deprecated. bazel with prebuilt binary from upstream (amd64, arm64) all deps except ibus/glib/qt/fcitx5 are fetched by bazel from bazel_dist, unpacked/prepared in bazel_cache and then built statically. to push a new release, update versions according to MODULE.bazel or failures of the fetch's phase of bazel. patches : fix path for mozc_tool to preserve compatibility with versions in tree fix shebang, one patch for rules_python, oneother for MODULE.bazel to apply the first one. This is the only way to patch deps unpacked/prepared in bazel_cache. Closes: https://bugs.gentoo.org/943518 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43597 Signed-off-by: Sam James <sam@gentoo.org>
13 lines
397 B
Diff
13 lines
397 B
Diff
patch rules_python package to set shebang
|
|
this patch is applied by bazel, not portage
|
|
--- python/private/py_runtime_info.bzl
|
|
+++ python/private/py_runtime_info.bzl
|
|
@@ -15,7 +15,7 @@
|
|
|
|
load(":util.bzl", "define_bazel_6_provider")
|
|
|
|
-DEFAULT_STUB_SHEBANG = "#!/usr/bin/env python3"
|
|
+DEFAULT_STUB_SHEBANG = "#!@PYTHON@"
|
|
|
|
DEFAULT_BOOTSTRAP_TEMPLATE = Label("//python/private:bootstrap_template")
|
|
|