mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-containers/dive: new package, add 0.13.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
2
app-containers/dive/Manifest
Normal file
2
app-containers/dive/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST dive-0.13.1-deps.tar.xz 47305832 BLAKE2B 8c505313be0b9d98deef4fa4e26307d3cef79232e52976adfb605f41ab3d9e441f576fdb47a934f28820a3cefad175108a45c9ed4f3b3713c92bb3de7244afe0 SHA512 bfaaf73c70fed682d3ea4109e5d3c773ad62552209181f75fddc106b01424b512d8609cc8c9c6b320336a9255b1ffcbcc6513228dbdeb8ca4a878b62ebdefa4c
|
||||
DIST dive-0.13.1.tar.gz 5873218 BLAKE2B af742ce8404b9b1fad59517ea2c99896f9fc777282336b048692ddde178be81dda602823f6f5d4fd04dac121e36c3b1f400109d1a2d31fe7f9146028e8870ceb SHA512 570a7e185d4594e7dabd783b9b68c1985a0c5c0bdafba51e3c5a6e3a93a305bc23559c5d44324e9f82d0226fcf2a624a3d50307a19e82464a88e42eae0abbed0
|
||||
36
app-containers/dive/dive-0.13.1.ebuild
Normal file
36
app-containers/dive/dive-0.13.1.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
# update this on every bump
|
||||
GIT_COMMIT=fe98c8a2
|
||||
|
||||
DESCRIPTION="terminal based UI to manage kubernetes clusters"
|
||||
HOMEPAGE="https://github.com/wagoodman/dive"
|
||||
SRC_URI="https://github.com/wagoodman/dive/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://github.com/gentoo-golang-dist/dive/releases/download/v${PV}/${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="test" # no tests
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.24.1"
|
||||
|
||||
src_compile() {
|
||||
local ldflags=(
|
||||
-w
|
||||
-X main.version=${PV}
|
||||
-X main.commit=${GIT_COMMIT}
|
||||
-X main.buildTime=$(date -u +%Y-%m-%dT%H:%M:%SZ)
|
||||
)
|
||||
ego build -o bin/dive -ldflags "${ldflags[*]}" .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/dive
|
||||
einstalldocs
|
||||
}
|
||||
11
app-containers/dive/metadata.xml
Normal file
11
app-containers/dive/metadata.xml
Normal 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>arthurzam@gentoo.org</email>
|
||||
<name>Arthur Zamarin</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">wagoodman/dive</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user