1 |
commit: 74d6ba09c92c0c9a6533dd254da6c627099e82cc |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 4 21:04:51 2022 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 4 21:04:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d6ba09 |
7 |
|
8 |
app-containers/skopeo: Bump to version 1.6.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-containers/skopeo/Manifest | 1 + |
14 |
app-containers/skopeo/skopeo-1.6.0.ebuild | 52 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/app-containers/skopeo/Manifest b/app-containers/skopeo/Manifest |
18 |
index 8663f744fd25..c986fce36667 100644 |
19 |
--- a/app-containers/skopeo/Manifest |
20 |
+++ b/app-containers/skopeo/Manifest |
21 |
@@ -5,3 +5,4 @@ DIST skopeo-1.1.1.tar.gz 4622784 BLAKE2B 3f72a812409a48d960fe36028355cf7128dabbb |
22 |
DIST skopeo-1.3.0.tar.gz 5593261 BLAKE2B b26e39d821e63b31a1cbd23bf7b836fbe3185f45ad086c8d0f427309590dbaf196fe09af9aca4aae10c30423c3828375ffe6c95c9c9fb1dea739404e98d8554e SHA512 5b6e96fff4670d8dcbc787cd5a568112337a111e7c44111226fa5684edffa880a1d632660238c55b6193ba26496697dd7e38d7d015cdfd61ce5efb119f0e12eb |
23 |
DIST skopeo-1.3.1.tar.gz 5595931 BLAKE2B eda2767a1b1b899b99fc70ef361541c388cab77d4521cc2792baf78ca2474e73ff2d7d64d26f713410a40600866fd6c20855d4acdbdb0a31b11d7efaa8101b83 SHA512 65b8ba735bd409b25b56a5538de4e09edfd11d684752a6e9d28037d0f2b80aef80796c2e9588fcf192d24bd885cc7b2d65b0ee7f7c34d18b2eacc25816da5d36 |
24 |
DIST skopeo-1.5.1.tar.gz 5636533 BLAKE2B 7f0e86cdee5c3250ec1280d7e71554ac2f8ad96ababe0e81dfabc00e8c128a13fc0c9c561b7a9be389d7386e9f664b95118bd2122612b9c2e8844db49769c03c SHA512 3f8c730eaa739bf2a29b82d3b04aa4eee1c09f957b61964fc8c48e59d1537bcb87b5bdf9c18fa48f9d36cf2b7ede3a1448918a20b5a3167f6ce09881a6cd3dde |
25 |
+DIST skopeo-1.6.0.tar.gz 6542541 BLAKE2B d2898d8f80a04340e3174179e2397f7b5e66ed50ec8c11919adf1b0620c74a3a69f8be548c5c3bf081735e1a86dc5ae3390d058ef64fc4b73d8f01074ef4a210 SHA512 13a3660780ce43e31a9840811aaa7626f9d0de9999e52c469a2a58b4bf96bd5e4d67e0f0556ac2baef14c5a662afae1f2d407b260c8833d573326791a2193e48 |
26 |
|
27 |
diff --git a/app-containers/skopeo/skopeo-1.6.0.ebuild b/app-containers/skopeo/skopeo-1.6.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..ab507a164049 |
30 |
--- /dev/null |
31 |
+++ b/app-containers/skopeo/skopeo-1.6.0.ebuild |
32 |
@@ -0,0 +1,52 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+COMMIT=e4b79d7741c40434838ece2790be537083fc2a04 |
38 |
+inherit go-module bash-completion-r1 |
39 |
+ |
40 |
+DESCRIPTION="Command line utility foroperations on container images and image repositories" |
41 |
+HOMEPAGE="https://github.com/containers/skopeo" |
42 |
+SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm64" |
47 |
+IUSE="btrfs" |
48 |
+ |
49 |
+COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= |
50 |
+ >=dev-libs/libassuan-2.4.3:= |
51 |
+ dev-libs/libgpg-error:= |
52 |
+ btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) |
53 |
+ >=sys-fs/lvm2-2.02.145:=" |
54 |
+DEPEND="${COMMON_DEPEND} |
55 |
+ dev-go/go-md2man" |
56 |
+RDEPEND="${COMMON_DEPEND}" |
57 |
+ |
58 |
+RESTRICT+=" test" |
59 |
+ |
60 |
+src_compile() { |
61 |
+ local BUILDTAGS |
62 |
+ BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)" |
63 |
+ set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \ |
64 |
+ -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ |
65 |
+ -o skopeo ./cmd/skopeo |
66 |
+ echo "$@" |
67 |
+ "$@" || die |
68 |
+ cd docs || die |
69 |
+ for f in *.1.md; do |
70 |
+ go-md2man -in ${f} -out ${f%%.md} || die |
71 |
+ done |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ dobin skopeo |
76 |
+ doman docs/*.1 |
77 |
+ dobashcomp completions/bash/skopeo |
78 |
+ insinto /etc/containers |
79 |
+ newins default-policy.json policy.json |
80 |
+ insinto /etc/containers/registries.d |
81 |
+ doins default.yaml |
82 |
+ keepdir /var/lib/atomic/sigstore |
83 |
+ einstalldocs |
84 |
+} |