dev-embedded/probe-rs-tools: new package, add 0.31.0

Signed-off-by: AshyPinguin <pinguinlars1105+gentoo@gmail.com>
This commit is contained in:
AshyPinguin
2026-05-24 15:27:00 +02:00
parent 8b6fb25c74
commit f0f57baf24
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST probe-rs-tools-0.31.0-crates.tar.xz 35995692 BLAKE2B e837484cf24f3c3bf13b666f127ce396637d178884391fb9dc6459462ad177ab7e2e38bd655f2c43cb7d5fa20eefa1cbc041fbf7d2e79c2c9303a69377ba5c56 SHA512 ba16a75450688aa42edf77bc0beaa0546e74e319b8c409fb8bed6cc867ecee67d0b0ee81ea46c434aefae45c9fb7fbf0cbf0fb6e39623fd57c6aa27a1dc99ae9
DIST probe-rs-tools-0.31.0.tar.gz 17614102 BLAKE2B 141e7ba9f97e46c96df04fd5f5be7213f239e74a78a541c3b435ad600f688d80bedad5c4fae36f79d1d68edac3180c235d1246517464d5e82db0ab54584787cb SHA512 435939aeda651ed355c3c72273318513133d8152eb7b0a0274568771719c1dbf529a6f0f52e09249e52e82cb892e3cbd9d4f8b0b79973d8d0ee8f83435700c20

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>pinguinlars1105+gentoo@gmail.com</email>
<name>AshyPinguin</name>
</maintainer>
<upstream>
<remote-id type="github">probe-rs/probe-rs</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,39 @@
# 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"
}