sys-process/witr: new package, add 0.3.3

Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
This commit is contained in:
Yongxiang Liang authored and Zakk committed 2026-09-16 14:07:29 +10:00
1 parent cdc08fd99d
commit 508354f3a8
4 files changed
+60

No files matched your search

+7
View File
@@ -2691,6 +2691,13 @@ github = "openSUSE/libsolv"
use_latest_tag = true
github_account = ["OriPoin", "gouwazi"]
["sys-process/witr"]
source = "github"
github = "pranshuparmar/witr"
use_latest_release = true
prefix = "v"
github_account = "liangyongxiang"
["sys-power/tlpui"]
source = "github"
github = "d4nj1/TLPUI"
+1
View File
@@ -0,0 +1 @@
DIST witr-0.3.3.tar.gz 2944954 BLAKE2B 9311416bd8458e3449ae16759745b944327aba12d26a947f67917c59a0878ffa0003484eadcde8b21ac506075ea5fdac5a441d89ce13bdf2e3cb19f3e38fc82e SHA512 eda0481083a1e3792a19d69b95008b7f181eccc39f9e845f6a38db5bc3b3e8b4a7fd93a28c044384366950234cfe2dd428316b663e3415c51007028c8c891765
+11
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>tanekliang@gmail.com</email>
<name>Yongxiang Liang</name>
</maintainer>
<upstream>
<remote-id type="github">pranshuparmar/witr</remote-id>
</upstream>
</pkgmetadata>
+41
View File
@@ -0,0 +1,41 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion
DESCRIPTION="Trace any process, port, container, or file back to what started it"
HOMEPAGE="https://github.com/pranshuparmar/witr"
SRC_URI="https://github.com/pranshuparmar/witr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
# vendored dependencies in the upstream tarball
LICENSE+=" BSD BSD-2 MIT"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND=">=dev-lang/go-1.25.0"
src_compile() {
ego build -trimpath -o bin/witr ./cmd/witr
}
src_test() {
ego test ./...
}
src_install() {
dobin bin/witr
doman docs/cli/witr.1
einstalldocs
./bin/witr completion bash > witr.bash || die
newbashcomp witr.bash witr
./bin/witr completion zsh > _witr || die
dozshcomp _witr
./bin/witr completion fish > witr.fish || die
dofishcomp witr.fish
}