Сравнение k3d-5.4.6 с k3d-5.4.9
/usr/portage/app-containers/k3d/k3d-5.4.9.ebuild 2023-10-09 14:52:28.220368318 +0300 | ||
---|---|---|
1 |
# Copyright 2021-2022 Gentoo Authors |
|
1 |
# Copyright 2021-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 |
inherit go-module |
6 | 6 | |
7 | 7 |
DESCRIPTION="k3d creates k3s clusters in docker" |
8 | 8 |
HOMEPAGE="https://github.com/rancher/k3d" |
9 | 9 | |
10 |
K3D_K3S_TAG=v1.24.4-k3s1 |
|
11 |
SRC_URI="https://github.com/rancher/k3d/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz |
|
12 |
https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz" |
|
10 |
K3D_K3S_TAG=v1.24.12-k3s1 |
|
11 |
SRC_URI="https://github.com/rancher/k3d/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
|
13 | 12 |
LICENSE="MIT Apache-2.0 BSD BSD-2 MPL-2.0 ISC" |
14 | 13 |
SLOT="0" |
15 | 14 | |
... | ... | |
22 | 21 |
} |
23 | 22 | |
24 | 23 |
src_compile() { |
24 |
GOWORK=off \ |
|
25 | 25 |
CGO_ENABLED=0 \ |
26 | 26 |
go build \ |
27 |
-ldflags "-w -s -X github.com/rancher/k3d/v5/version.Version=v${PV} -X github.com/rancher/k3d/v5/version.K3sVersion=${K3D_K3S_TAG}" \ |
|
27 |
-mod=vendor \ |
|
28 |
-ldflags "-w -s -X github.com/k3d-io/k3d/v5/version.Version=v${PV} -X github.com/k3d-io/k3d/v5/version.K3sVersion=${K3D_K3S_TAG}" \ |
|
28 | 29 |
-o bin/k3d |
29 | 30 |
} |
30 | 31 |