diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-09-03 13:13:13 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-09-03 13:16:46 -0700 |
commit | 9c03c22b961fac8c00dd6f391038f2b9637642ef (patch) | |
tree | fac759c678fa5da0f04be2655b1b97d6f34e9c45 /app-containers/k3d | |
parent | app-containers/k3d: drop 5.4.0 (diff) | |
download | gentoo-9c03c22b961fac8c00dd6f391038f2b9637642ef.tar.gz gentoo-9c03c22b961fac8c00dd6f391038f2b9637642ef.tar.bz2 gentoo-9c03c22b961fac8c00dd6f391038f2b9637642ef.zip |
app-containers/k3d: add 5.4.6
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.6.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/app-containers/k3d/Manifest b/app-containers/k3d/Manifest index 003486a63ed8..6b7f7c59618e 100644 --- a/app-containers/k3d/Manifest +++ b/app-containers/k3d/Manifest @@ -2,3 +2,5 @@ DIST k3d-5.4.2-deps.tar.xz 76441740 BLAKE2B 3d5388fa057a0d5feb889b6fcec2234e2c22 DIST k3d-5.4.2.tar.gz 7397277 BLAKE2B c16d67272ceac008eddcbdd7c8816a179804c4e2a3ae9bf762ee13e0a84e525ea69502575e64a9190deef5d4a69679806a9337709b21c82cbff141dbebd7bfc3 SHA512 b38144e93a5d3e781a839144e2960e7a8455e5b2e8cca96e1b14631be626f7b9e37630d9b5902f7bd896e7422de13dbed5df206dfa2d481bcae997987353c813 DIST k3d-5.4.4-deps.tar.xz 76578188 BLAKE2B c08fc21f520f98e90d030b8024e57ca59300228c89289341f121bb38709cd82c0b572e37329a6f700a0e42db05d8d7bcfc309e10b700d1573b47bff6668b32a6 SHA512 62af2c30ed3f238bb887fd728a7bbf2ffe2235f6f69d28d27da4dc0ac6f6a11bfa45004df3ac5ab138584aa0cdeff4904ab72e326beae223fa6620c9a90df92c DIST k3d-5.4.4.tar.gz 7429200 BLAKE2B 728dfb004463116c698ad4126df60aef70f38b766a4a253cb2036c9ee07fdfe9f7538af2f1b3285e5f3a1ecc803bfd83a1353c14a13690f783f0cbc614094e9f SHA512 ac75c93e825889c65f926b05276e9bdaa8c1ed7dae8c705b0a1a3cc576105701f38745339bd1b5e8aa1974f8060cf1bdc797b526a8016b7fd956b08d058d9b21 +DIST k3d-5.4.6-deps.tar.xz 314892744 BLAKE2B 0bbdf32e9db1f8474b9908ece7c623fefdf621d92bab371d6db6922312ad428a08b5b8432db3a978bbde81a8ee18e4ff286fe49c6a9c27ce2609504fcd71e247 SHA512 959f7d78fbb779fc92a29cd98da71cc2e8263dcf67a83d92fc446357a8e7a4e649758b23d64f994536f17c07d2b987f00e65187cf61161473ebbd9d810cc9675 +DIST k3d-5.4.6.tar.gz 7383354 BLAKE2B a1bdaa3edbd4a97db547d76919d32b9c3b59561c38cc846f9802d631b9ecd28bbaf79ed8bb0fe5a633a1ef2f60ba769a18eb95f8ff0abda7d9cb8792a86ae59d SHA512 1b8ce290002302839e05b287f7f4d96dd7fd9ec2386af4b78f8e8c1d9137fa027349409130523bc22a55a95b5d991c867d606965ca8e5ad79c8da3177aa8fc8e diff --git a/app-containers/k3d/k3d-5.4.6.ebuild b/app-containers/k3d/k3d-5.4.6.ebuild new file mode 100644 index 000000000000..8e76570dc7b0 --- /dev/null +++ b/app-containers/k3d/k3d-5.4.6.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.24.4-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 +} |