# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.15.1 EAPI=8 RUST_MIN_VER="1.88" inherit cargo shell-completion DESCRIPTION="A collection of on chip debugging tools to communicate with microchips." HOMEPAGE="https://probe.rs" SRC_URI=" https://github.com/probe-rs/probe-rs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz https://codeberg.org/AshyPinguin/vendor-tarballs/releases/download/${P}/${P}-crates.tar.xz " S="${WORKDIR}/probe-rs-${PV}/probe-rs-tools" LICENSE="|| ( Apache-2.0 MIT )" # Dependent crate licenses LICENSE+=" 0BSD Apache-2.0 BSD-2 BSD CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unlicense ZLIB " SLOT="0" KEYWORDS="~amd64" src_install() { cargo_src_install for i in bash fish zsh; do SHELL="/usr/bin/${i}" "${D}/usr/bin/probe-rs" complete install --manual > "${T}/probe-rs.${i}" done dobashcomp "${T}/probe-rs.bash" dofishcomp "${T}/probe-rs.fish" dozshcomp "${T}/probe-rs.zsh" }