diff options
author | 2023-12-30 07:52:21 +0530 | |
---|---|---|
committer | 2024-02-09 08:35:52 +0200 | |
commit | 51caf6c8ba9089a752b415039fa92fdd9e66b90b (patch) | |
tree | 4081ea8b3965d59c41f41333b7cfa202c2f2ce24 /app-containers/podman-tui | |
parent | sys-process/parallel: Stabilize 20240122 ppc64, #924121 (diff) | |
download | gentoo-51caf6c8ba9089a752b415039fa92fdd9e66b90b.tar.gz gentoo-51caf6c8ba9089a752b415039fa92fdd9e66b90b.tar.bz2 gentoo-51caf6c8ba9089a752b415039fa92fdd9e66b90b.zip |
app-containers/podman-tui: add 0.17.0
Bug: https://bugs.gentoo.org/924107
Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-containers/podman-tui')
-rw-r--r-- | app-containers/podman-tui/Manifest | 1 | ||||
-rw-r--r-- | app-containers/podman-tui/podman-tui-0.17.0.ebuild | 34 | ||||
-rw-r--r-- | app-containers/podman-tui/podman-tui-9999.ebuild | 5 |
3 files changed, 36 insertions, 4 deletions
diff --git a/app-containers/podman-tui/Manifest b/app-containers/podman-tui/Manifest index 25a47fbe9998..1b063c40470f 100644 --- a/app-containers/podman-tui/Manifest +++ b/app-containers/podman-tui/Manifest @@ -1,3 +1,4 @@ DIST podman-tui-0.11.0.tar.gz 13317542 BLAKE2B 0492799b7e61eaa75344392d824be6f41bac0b61510587cca936ec2e5f516e2513e709d739e66cd86a658fa916f61a02dbf0802a3761bab2ccb11705c3d514f3 SHA512 1b5ce216829a0f2ef345920ea908a5f721ee704bf3c7efe121e42c413edb84fb247eb32964fcd7928c734df93efd85a3c1fb5a92b0e6f3c1de3b4906fbc77fe2 DIST podman-tui-0.12.0.tar.gz 15740756 BLAKE2B 2d38997e6ffc67d8d4f2e8c68856b4da4eb3b658ab5998da752b5d01a7d7591d3f196efba11f9d6d67bf438335729ea7bcab920eb1e2e847f6a024c3f4b3ebed SHA512 753932fef58746c80752c142aae17ef61b4632af51f8d9bd5aee29246ffc8179f98f4e38c7607a82efd25d0b809e9065a5b537b1a3a823eabae23a87b5b6dd74 DIST podman-tui-0.14.0.tar.gz 15857429 BLAKE2B c1a6f056b45d4fa9e0cd749570275da1d98d3f8477a1e85a151afd1cecc9506555c55e065b86d9c49acde36a27c3dac960530218022672fc8044dee0d2284c62 SHA512 d79e5b0cabed6873ff90e4e36fec841b74d53b0e876f6449c9b5512c8a92d7d4bcf733e23abc92a6344d6dcd72957929fde48b4e16dcb1cc33cf10f33074171a +DIST podman-tui-0.17.0.tar.gz 15853215 BLAKE2B bfdaf085837497c8ce1525eccb04fc977472291e45417a3993a3e9bc2a742e132d14bce7580c0126be94262a10999da2b81edd6997b8c377a3de8a4da20c153f SHA512 137740737e4fe5138198923fb5db6dc6ca901ed7739af09c19bcb0a60fdfe0db79d7c2ac83157675ec478ab8e9dc9b1348cd8aa9f0e5298f8d20ff6cf0284afc diff --git a/app-containers/podman-tui/podman-tui-0.17.0.ebuild b/app-containers/podman-tui/podman-tui-0.17.0.ebuild new file mode 100644 index 000000000000..beefef11ab58 --- /dev/null +++ b/app-containers/podman-tui/podman-tui-0.17.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 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 +} diff --git a/app-containers/podman-tui/podman-tui-9999.ebuild b/app-containers/podman-tui/podman-tui-9999.ebuild index 2effb9e6c06b..beefef11ab58 100644 --- a/app-containers/podman-tui/podman-tui-9999.ebuild +++ b/app-containers/podman-tui/podman-tui-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,9 +21,6 @@ LICENSE="Apache-2.0" LICENSE+=" BSD-2 BSD MIT MPL-2.0" SLOT="0" RESTRICT="test" -RDEPEND=" - >=app-containers/podman-4.0.2 -" src_compile() { # parse tags from Makefile & make them comma-seperated as space-seperated list is deprecated |