1 |
commit: c4346317163561fbf286043d004bf39f4901b3d6 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 15 20:50:11 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 15 21:02:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4346317 |
7 |
|
8 |
app-emulation/skopeo: Bump to version 0.1.40 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-emulation/skopeo/Manifest | 1 + |
14 |
app-emulation/skopeo/skopeo-0.1.40.ebuild | 52 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/skopeo/Manifest b/app-emulation/skopeo/Manifest |
18 |
index c49672d8a48..8d080fb893c 100644 |
19 |
--- a/app-emulation/skopeo/Manifest |
20 |
+++ b/app-emulation/skopeo/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST skopeo-0.1.37.tar.gz 2766509 BLAKE2B 59e3f4cf37694b4ae59fe4eca6afd8abe4f7ab1aec3c0cee409be6f0f648fd2929092ee9b5a2b167c5041202dac908cd39f693d8ae8eebf621be47f302bd885c SHA512 e2de3c65f864572fe74ca55ee107703a49855f0da71c440784b06d13ed724456cf7bf30e18a5cb15cf2e136edc688b56321cf7838a2cc66f39c4ea9d9686441e |
23 |
DIST skopeo-0.1.38.tar.gz 2947365 BLAKE2B 1d2d6ea2ed677f2b068ecca9b8dcee9d31280acb3f7acd8e0a59321d178244b506f4124eba8dd0519a3f5b307a6001d05a093cdf93189eccb55cf7c9cc41895b SHA512 83e53eb7632761eb444d4f824b6fee7a2e265e386fd1ba58e2d3194750f794a0e1cdc94a76222d12f589f851c459b165756661a76c09cc9c7dd9b2d6fff2b39f |
24 |
DIST skopeo-0.1.39.tar.gz 3850036 BLAKE2B e635be475f22cc25ab98e446424f4a6b0babe34f827a73f9c9c1533db782490e9af94e759ac78fbeeec1c0e1fa42eef9d09fb4e7ff1f4df654f65fe4c1a9f7b0 SHA512 c4aadc40f9d637c628cd96c204b3e9bc3a928c145521bed2e5046508fc936ff99442dda8b4a4cdd85c4d04e64a9ccee5ea8d563c6ebf4e6020d50d96b921716c |
25 |
+DIST skopeo-0.1.40.tar.gz 3907911 BLAKE2B 0a9ebcc9662036b1595149f0d19a46c0565b115d37b22c6410041eef3e6755b20561439596f1033dd6ce2c78a4948e358b2518003729873d5ab8ce9a7bec082c SHA512 161edb8afa961e48e314cf70a4fcebd971a45a50fc11eab6ec751ba4eb05a8be011d16b83c4ed1fa9d6336846da5f518da006d4476ee4e29a160c629820773d3 |
26 |
|
27 |
diff --git a/app-emulation/skopeo/skopeo-0.1.40.ebuild b/app-emulation/skopeo/skopeo-0.1.40.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..3ee26d3ab1a |
30 |
--- /dev/null |
31 |
+++ b/app-emulation/skopeo/skopeo-0.1.40.ebuild |
32 |
@@ -0,0 +1,52 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+COMMIT=be6146b |
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" |
47 |
+IUSE="" |
48 |
+ |
49 |
+COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= |
50 |
+ >=dev-libs/libassuan-2.4.3:= |
51 |
+ dev-libs/libgpg-error:= |
52 |
+ >=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="containers_image_ostree_stub" |
62 |
+ set -- env -u GOCACHE -u XDG_CACHE_HOME \ |
63 |
+ 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 |
+} |