commit:     20173dfc492b88dd1879cb99f88eafbfb9e19c1d
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Mon Jul  7 13:15:52 2025 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jul  8 03:53:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20173dfc

app-containers/podman-tui: update to 1.6.1

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
From: https://github.com/gentoo/gentoo/pull/42919
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-containers/podman-tui/Manifest                |  1 +
 app-containers/podman-tui/podman-tui-1.6.1.ebuild | 34 +++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/app-containers/podman-tui/Manifest 
b/app-containers/podman-tui/Manifest
index 961c682739f9..950458b6132b 100644
--- a/app-containers/podman-tui/Manifest
+++ b/app-containers/podman-tui/Manifest
@@ -1,3 +1,4 @@
 DIST podman-tui-1.1.0.tar.gz 16091487 BLAKE2B 
e1d697a94da515c5ed896527bbf25f742a7ee315a5d83565377664c61fc65736beaef43d351dbbd64a0f6e254bed407278532a9a26eda7ec69637348ce60c5ce
 SHA512 
d8e4710f489ac124ad11930c5051d9fc279166316bb85d952847e6a924f70b5cc64487f8c161878a21e8f88784c47c2f9f36b5b332c0736f48f3dd0ada92584a
 DIST podman-tui-1.4.0.tar.gz 20115522 BLAKE2B 
8215b631e24b9ded4551f72763911dd5c72dca00f3c9fb56197835b3f2952759951c01673dbbe54a4f07378acad4b713c356b8e47238e590f40a8d7dd31e3a2e
 SHA512 
5a8e69a5c94d746e0d08fa99157cbb35fbd9b2ecb92990083de52b2628607fefc90d24f132fda307f16c946748e8b671f73ab7052488f41e42cf0cb1edc084e1
 DIST podman-tui-1.5.0.tar.gz 20129613 BLAKE2B 
fb2da2fa77adf7f7b7476144c4e3f4d96829063f1a48cc219f1bd90629744dde53d73a0ceb8adbed385e8acd77d2e5614f932bef902185d5923987e035de4625
 SHA512 
a67acb15d292692cbe7e1e6e3b55c471a6d3a6ee9e777dcccd9b76bb26906117587b32bb7b6555e87a6079b9154b2355b9ddf00761b25046000578527107fffe
+DIST podman-tui-1.6.1.tar.gz 20301501 BLAKE2B 
8e1f2ce6ee35adc236429703158d4df378b3e17783008d81296c21e033cd2b46389f9f7dd2d2210783525ea84def948fb0932087eba163b03dedc929125ef7f5
 SHA512 
dc7caf7e19440e0b72a19310ff80be979e103793ebbaf1060455632cffaefea3afb01d4c906b83bca13ce4e399680309c6a5142394b32cf76924af8c3c88ed14

diff --git a/app-containers/podman-tui/podman-tui-1.6.1.ebuild 
b/app-containers/podman-tui/podman-tui-1.6.1.ebuild
new file mode 100644
index 000000000000..7d0076fdcbb8
--- /dev/null
+++ b/app-containers/podman-tui/podman-tui-1.6.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+DESCRIPTION="Terminal UI frontend for Podman"
+HOMEPAGE="https://github.com/containers/podman-tui";
+
+if [[ ${PV} == 9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/containers/podman-tui.git";
+else
+       SRC_URI="https://github.com/containers/podman-tui/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+# main pkg
+LICENSE="Apache-2.0"
+# deps
+LICENSE+=" BSD-2 BSD MIT MPL-2.0"
+SLOT="0"
+RESTRICT="test"
+
+src_compile() {
+       # parse tags from Makefile & make them comma-seperated as 
space-seperated list is deprecated
+       local BUILDTAGS=$(grep 'BUILDTAGS :=' Makefile | awk -F\" '{ print $2; 
}' | sed -e 's| |,|g;')
+       ego build -tags "${BUILDTAGS}"
+}
+
+src_install() {
+       dobin "${PN}"
+       einstalldocs
+}

Reply via email to