Сравнение nerdctl-1.1.0 с nerdctl-1.3.1

/usr/portage/app-containers/nerdctl/nerdctl-1.3.1.ebuild 2023-10-09 14:52:28.224368318 +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 6
inherit go-module
6 7

  
8
EGIT_COMMIT="b224b280ff3086516763c7335fc0e0997aca617a"
9

  
7 10
DESCRIPTION="Docker-compatible CLI for containerd, with support for Compose"
8 11
HOMEPAGE="https://github.com/containerd/nerdctl"
12
SRC_URI="
13
	https://github.com/containerd/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
14
	https://github.com/containerd/${PN}/releases/download/v${PV}/${P}-go-mod-vendor.tar.gz
15
"
9 16

  
10
EGIT_COMMIT="18944bc70784dfa83010d37054d75487a58ab581"
11
# There are too many vendor dependencies to distribute via EGO_SUM (see https://bugs.gentoo.org/721088),
12
# so they are instead distributed via a combined tarball.
13
SRC_URI="https://github.com/zmedico/nerdctl/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz"
14
BDEPEND=">=dev-lang/go-1.16"
15 17
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
16 18
SLOT="0"
17

  
18 19
KEYWORDS="~amd64"
19
IUSE=""
20
S=${WORKDIR}/${P}-vendor
21 20

  
22
src_prepare() {
23
	sed -e 's:/usr/local/bin:/usr/bin:' \
24
		-e "s|^VERSION[[:space:]]*?=.*|VERSION := v${PV}|" \
25
		-e "s|^REVISION[[:space:]]*?=.*|REVISION := ${EGIT_COMMIT}|" \
26
		-i Makefile || die
27
	default
21
src_unpack() {
22
	unpack "${P}.tar.gz"
23
	cd "${S}"
24
	unpack "${P}-go-mod-vendor.tar.gz"
25
}
26

  
27
src_compile() {
28
	emake VERSION=v${PV} REVISION="${EGIT_COMMIT}"
28 29
}
29 30

  
30 31
src_install() {
31
	DOCS=(README.md docs examples)
32
	default_src_install
32
	emake DESTDIR="${D}" VERSION=v${PV} REVISION="${EGIT_COMMIT}" BINDIR="/usr/bin" install
33
	DOCS=( README.md docs/* examples )
34
	einstalldocs
33 35
}
Спасибо!