summaryrefslogtreecommitdiff
path: root/net-client/openstack_cli/openstack_cli-0.13.8.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-09-15 16:25:10 -0500
committerroot <root@alpha.trunkmasters.com>2026-09-15 16:25:10 -0500
commit709cefca42ef2a976a9aff8afb44a95ffc545b79 (patch)
tree4a0c9baada24031c4187bce895ad742f7f5eb85f /net-client/openstack_cli/openstack_cli-0.13.8.ebuild
parentc012d247f03a893c117c88f73bcf6cb6494dcd22 (diff)
downloadbaldeagleos-repo-709cefca42ef2a976a9aff8afb44a95ffc545b79.tar.gz
baldeagleos-repo-709cefca42ef2a976a9aff8afb44a95ffc545b79.tar.xz
baldeagleos-repo-709cefca42ef2a976a9aff8afb44a95ffc545b79.zip
Adding metadata
Diffstat (limited to 'net-client/openstack_cli/openstack_cli-0.13.8.ebuild')
-rw-r--r--net-client/openstack_cli/openstack_cli-0.13.8.ebuild16
1 files changed, 13 insertions, 3 deletions
diff --git a/net-client/openstack_cli/openstack_cli-0.13.8.ebuild b/net-client/openstack_cli/openstack_cli-0.13.8.ebuild
index 62804f3ebed0..9834e70f7cae 100644
--- a/net-client/openstack_cli/openstack_cli-0.13.8.ebuild
+++ b/net-client/openstack_cli/openstack_cli-0.13.8.ebuild
@@ -763,6 +763,15 @@ KEYWORDS="~amd64 ~arm64"
DEPEND="dev-libs/openssl"
+# Required to deal with a bug in 0.13.8 with USE="debug". The debug binary
+# crashes when generating the shell completions. It's been reported to and
+# fixed by upstream since, which is where this patch originates from. See
+#
+# https://github.com/gtema/openstack/issues/1988
+PATCHES=(
+ "${FILESDIR}/0001-fix-cli-Disable-auto-version-flag-on-plugin-subcomma.patch"
+)
+
src_compile() {
# Required for pkg-config crate:
# https://wiki.gentoo.org/wiki/Writing_Rust_ebuilds#pkg-config_crate
@@ -774,9 +783,10 @@ src_compile() {
cargo_src_compile --package openstack_cli
- "${S}"/target/release/osc completion bash > osc || die
- "${S}"/target/release/osc completion zsh > _osc || die
- "${S}"/target/release/osc completion fish > osc.fish || die
+ local bin_path="${S}/$(cargo_target_dir)/osc"
+ "${bin_path}" completion bash > osc || die
+ "${bin_path}" completion zsh > _osc || die
+ "${bin_path}" completion fish > osc.fish || die
}
src_install(){