From 1f3e27f8fde0df9246ce9151ced7d2dd4e96cb07 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 19 Aug 2024 12:25:21 +0100 Subject: gentoo auto-resync : 19:08:2024 - 12:25:21 --- app-containers/k3d/Manifest | 2 ++ app-containers/k3d/k3d-5.7.3.ebuild | 43 +++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 app-containers/k3d/k3d-5.7.3.ebuild (limited to 'app-containers/k3d') diff --git a/app-containers/k3d/Manifest b/app-containers/k3d/Manifest index f1cd64ba52d6..b8d0cf957f5b 100644 --- a/app-containers/k3d/Manifest +++ b/app-containers/k3d/Manifest @@ -1,5 +1,7 @@ DIST k3d-5.4.9.tar.gz 7740293 BLAKE2B b7a657720524abac2c36cccef8cf6e9c5588fcc191ecc2a3f7ed138762cc23abdc2b6413c67d426635e50777b8b87fccf93dc7cd88b0dd5c67becbc3f9056472 SHA512 caa6566f79837deb31db991df5475369b4921a5a110b723ad6c76f8ce2349399d0843d3e5de071a4ec50b318157d8fb47cc36018a0af9bb487793269c27027bf DIST k3d-5.6.0.tar.gz 8022281 BLAKE2B 93f32f65e6c42650608b94d58d2149c3fec96251500be0d95d5673f07ae8c366d80954afa4d80eec149b7a9e8af7389323c21498910a3010bb80b975f64064d0 SHA512 c13df93499ffde6567e4bf7dcf260cb65ca01c390bf39361122fa61553591f418213049cf29d8dde63896f026a28d96f4e2ab522a143ac66cfa9f3786f8ba9b9 +DIST k3d-5.7.3.tar.gz 9566684 BLAKE2B 9dff7ab447b3fd790a036d61bc3a4bb61238c74eec60aa12a4ff10150ff2f4999a3b1e635aaae6211f4e05ed9c589dc08e08ba511eb7690f857c0dad954b6ce7 SHA512 d6e2f6fb3013429745e1663214c7dd66dd2727b592a32e81f5837bbcc997aee18418366a0e21463ba48a2d72b9a86067f492f1f44c4689a129166dcf018e5642 EBUILD k3d-5.4.9.ebuild 804 BLAKE2B ccc3251da755fcdd717360a7fffecef1f45d126e0d42948671d5b83721fe84670e51d4c0d222e994c96e9866adb48546af3f5d287e942f9803bc092fef769ea9 SHA512 87771e1e54e17528c58e41c53f2d38e1d83cc69740e5cff9d9c452e650e54bd72a3888730770f963d4efa96fedc5ed0b7e466428a8f3a9216be8dbc81f38d6d8 EBUILD k3d-5.6.0.ebuild 802 BLAKE2B f0dd1a4a0a8558f6338cb7d2564a182196677daacc12ad959b1724ebadd8e418e69caaf46680a1fc087a6db41e632ff7e07204df4e92e96a62adfa4ea3006caf SHA512 290fde415ed21510a978f30ba1560eb8cd7a412c76aefdd2012bcb3573496304dccc22609487d51c59e127430dce12a52222834a6cd035d4926ae102e31eccb5 +EBUILD k3d-5.7.3.ebuild 867 BLAKE2B ebe2e31457023fb8cbf032573a0046ffde8f0c8e65a154c5dbf9581153a35bcd499b077cf17024bbe4083252c381f961980dfb2caff698dbc05d996fd41730e9 SHA512 dd36491e537bcfb7c2602b245bdc4c9cb6d74dc6e9da4dbdde841a1b6d62895864958c9bc776c1faefe2c7d431b5b39247af59bf80f34003a43585f2c2881e5c MISC metadata.xml 321 BLAKE2B a208d771132d412c9ac0adeb9017eae248d17303824ac7a616301fa0be1ceaed0fa93d43e179730b96dc81e2252afb628c3cfdda601bfbd288eb23e4d8553e3c SHA512 107d2bc402e3c1e1bf26af4427a563902921bcf4f676683f2a33952112fdf1b2d6d5993f18535ab440d985ffeb777f66a85735b91692739764666fb8e6aa898d diff --git a/app-containers/k3d/k3d-5.7.3.ebuild b/app-containers/k3d/k3d-5.7.3.ebuild new file mode 100644 index 000000000000..1a19ed584ac4 --- /dev/null +++ b/app-containers/k3d/k3d-5.7.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="k3d creates k3s clusters in docker" +HOMEPAGE="https://github.com/rancher/k3d" + +K3D_K3S_TAG=v1.30.3-k3s1 +SRC_URI="https://github.com/rancher/k3d/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +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() { + local extra_ldflags=( + -X "github.com/k3d-io/k3d/v5/version.Version=v${PV}" + -X "github.com/k3d-io/k3d/v5/version.K3sVersion=${K3D_K3S_TAG}" + ) + env -u GOWORK \ + CGO_ENABLED=0 \ + go build \ + -mod=vendor \ + -ldflags "-w -s ${extra_ldflags[*]}" \ + -o bin/k3d || die +} + +src_install() { + dobin bin/${PN} + DOCS=(*.md) + if use doc; then + DOCS+=(docs) + fi + default_src_install +} -- cgit v1.2.3