diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-06-05 09:07:50 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-06-05 09:08:07 -0700 |
commit | 5819555b97b6d9055e537d93a025e781af1cd989 (patch) | |
tree | 2f8160bb7bbe5da6c1d58c843724b4832ddfb9be /app-containers/k3d | |
parent | app-emulation/grub-xen-host: update EAPI 7 -> 8 (diff) | |
download | gentoo-5819555b97b6d9055e537d93a025e781af1cd989.tar.gz gentoo-5819555b97b6d9055e537d93a025e781af1cd989.tar.bz2 gentoo-5819555b97b6d9055e537d93a025e781af1cd989.zip |
app-containers/k3d: add 5.4.2
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-containers/k3d')
-rw-r--r-- | app-containers/k3d/Manifest | 2 | ||||
-rw-r--r-- | app-containers/k3d/k3d-5.4.2.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/app-containers/k3d/Manifest b/app-containers/k3d/Manifest index 03e09d71ee39..5c93da2e9fad 100644 --- a/app-containers/k3d/Manifest +++ b/app-containers/k3d/Manifest @@ -1,2 +1,4 @@ DIST k3d-5.4.0-deps.tar.xz 85753240 BLAKE2B c86a3172e0944593b7d66ff3bf20c2c2398d725117e18b93cab0c291bd6ae9551d01ea4da7b7f2a96aec36f3143cb029474066f457b8e6308ea8ae4ee3fd90a0 SHA512 d7b8bc46e1a72f68bece84224ff8255e12f17020137523d8d3fc748e6fd152a8d7f4a3da53a624d8ce482341ac18161b64e885db3b3a5e14c018a16551367da3 DIST k3d-5.4.0.tar.gz 7395322 BLAKE2B cc7a85b18db36861a8291ee20895a5d626c24f5ae106d48342b3d328070456fe816714dcf84b09606382de93af39acd74ce9fcbed72ac4dd4448ef2c099eddd2 SHA512 1af6a5264f0e1d53428c7f66d440c7d4541988d5fca64e4ea7e1c8177a918e30e7f27ff76a7d20291303fd410c32791634548b1b46dc30ff2810f57ad0253120 +DIST k3d-5.4.2-deps.tar.xz 76441740 BLAKE2B 3d5388fa057a0d5feb889b6fcec2234e2c22c751077276fd535d4a555f6b463166f4b422385e5732f752f00b42335a6bf1e27fdfaf7b3d54e244a228f70050f2 SHA512 04daa6470762e30cf0bb2409ba4db5c8bc06b75e1560e1099c28f8dc30c4239618b56763bf8c79177aebfefae6ffe92c99a33feeaa6d4ffce7f9e0e9f2ff62d7 +DIST k3d-5.4.2.tar.gz 7397277 BLAKE2B c16d67272ceac008eddcbdd7c8816a179804c4e2a3ae9bf762ee13e0a84e525ea69502575e64a9190deef5d4a69679806a9337709b21c82cbff141dbebd7bfc3 SHA512 b38144e93a5d3e781a839144e2960e7a8455e5b2e8cca96e1b14631be626f7b9e37630d9b5902f7bd896e7422de13dbed5df206dfa2d481bcae997987353c813 diff --git a/app-containers/k3d/k3d-5.4.2.ebuild b/app-containers/k3d/k3d-5.4.2.ebuild new file mode 100644 index 000000000000..d17793446228 --- /dev/null +++ b/app-containers/k3d/k3d-5.4.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="k3d creates k3s clusters in docker" +HOMEPAGE="https://github.com/rancher/k3d" + +K3D_K3S_TAG=v1.23.6-k3s1 +SRC_URI="https://github.com/rancher/k3d/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" +LICENSE="MIT Apache-2.0 BSD BSD-2 MPL-2.0 ISC" +SLOT="0" + +KEYWORDS="~amd64" +IUSE="doc" + +src_prepare() { + default + rm Makefile || die +} + +src_compile() { + CGO_ENABLED=0 \ + go build \ + -ldflags "-w -s -X github.com/rancher/k3d/v5/version.Version=v${PV} -X github.com/rancher/k3d/v5/version.K3sVersion=${K3D_K3S_TAG}" \ + -o bin/k3d +} + +src_install() { + dobin bin/${PN} + DOCS=(*.md) + if use doc; then + DOCS+=(docs) + fi + default_src_install +} |