Diff skopeo-1.5.1 with a skopeo-1.10.0-r1

/usr/portage/app-containers/skopeo/skopeo-1.10.0-r1.ebuild 2023-10-09 14:52:28.224368318 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
5
COMMIT=2b357d82769d1fc08739211fb21390016b99a8a9
6
inherit go-module bash-completion-r1
4
EAPI=8
5
COMMIT=ee60474d5a4d99745aac9855797ad4b26510d786
6
inherit go-module
7 7

  
8 8
DESCRIPTION="Command line utility foroperations on container images and image repositories"
9 9
HOMEPAGE="https://github.com/containers/skopeo"
......
11 11

  
12 12
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
13 13
SLOT="0"
14
KEYWORDS="amd64 arm64"
14
KEYWORDS="~amd64 ~arm64"
15 15
IUSE="btrfs"
16 16

  
17 17
COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:=
......
19 19
	dev-libs/libgpg-error:=
20 20
	btrfs? ( >=sys-fs/btrfs-progs-4.0.1 )
21 21
	>=sys-fs/lvm2-2.02.145:="
22
DEPEND="${COMMON_DEPEND}
23
	dev-go/go-md2man"
22
DEPEND="${COMMON_DEPEND}"
24 23
RDEPEND="${COMMON_DEPEND}"
24
	BDEPEND="dev-go/go-md2man"
25 25

  
26
RESTRICT+=" test"
26
RESTRICT="test"
27 27

  
28 28
src_compile() {
29 29
	local BUILDTAGS
30 30
	BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)"
31
	set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \
32
		-gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \
33
		-o skopeo ./cmd/skopeo
34
	echo "$@"
35
	"$@" || die
36
	cd docs || die
37
	for f in *.1.md; do
38
		go-md2man -in ${f} -out ${f%%.md} || die
39
	done
31
	emake PREFIX=/usr BUILDTAGS="${BUILDTAGS}" GIT_COMMIT="${COMMIT}" \
32
		all completions
40 33
}
41 34

  
42 35
src_install() {
43
	dobin skopeo
44
	doman docs/*.1
45
	dobashcomp completions/bash/skopeo
46
	insinto /etc/containers
47
	newins default-policy.json policy.json
48
	insinto /etc/containers/registries.d
49
	doins default.yaml
50
	keepdir /var/lib/atomic/sigstore
51
	einstalldocs
36
	emake PREFIX=/usr DESTDIR="${ED}" install
37
	keepdir /var/lib/containers/sigstore
52 38
}
Thank you!