1 |
commit: 034501308beaa75df184511f803bb0056b6cd64b |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 21 04:51:30 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 21 04:54:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03450130 |
7 |
|
8 |
app-emulation/skopeo: Bump to version 0.1.37 |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-emulation/skopeo/Manifest | 1 + |
14 |
app-emulation/skopeo/skopeo-0.1.37.ebuild | 55 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/skopeo/Manifest b/app-emulation/skopeo/Manifest |
18 |
index c15524f22b3..3965943f94c 100644 |
19 |
--- a/app-emulation/skopeo/Manifest |
20 |
+++ b/app-emulation/skopeo/Manifest |
21 |
@@ -5,3 +5,4 @@ DIST skopeo-0.1.32.tar.gz 4366298 BLAKE2B b358cb197475d693fa47cdfda738a78f70c9f5 |
22 |
DIST skopeo-0.1.34.tar.gz 2859957 BLAKE2B f36062374b2afa7363a02d6410bd35bbf5ccd0599eea7eb6d68b769e9fbf492dc7843dbd184fccc742250fcd3e573e33bd5454971730bcec2151a52a32b81680 SHA512 3ba99fcbff9f46fa1a4226bfc54961cf640150e0e0ac6b3457e862ef94991fa05a7bd609cbf8c87a0424df6942653fb5492a3893fa5282242c4df6913c4312a2 |
23 |
DIST skopeo-0.1.35.tar.gz 2723348 BLAKE2B 74a98e43ff2b32ea29b9e57ea6ba20323660b631f4a7541aa1c720e283286809c501d655af18aa794123b3af727ca54bb41686a6b0d79b33c8f82f8642cc6176 SHA512 ec5aeb596aaf51512c049dc55353ce2d076ac30ae0fc3f9e90b8a8a9fb07ec86aafe51111d38e2d34ea5193c0a6f9e74a69536bf5b759fdedfa0c97deb211894 |
24 |
DIST skopeo-0.1.36.tar.gz 2754977 BLAKE2B 4a25bf092b45084d252f8cf0c50f2389210e06bb8ee4f2939cfc93e1e66764ee340d77ca7ff0e731b55dfc42c48bc69b567e6d43d10da1119f5eeeae34aba291 SHA512 2ee51017a8d768c2a7b264f4c50d4a29d8b99e30049277bca5a5d47ff0ff09bb1c92c54f7f5230d966976b41353f7c8ffb9aa5571da2471f526ec8476cb127b2 |
25 |
+DIST skopeo-0.1.37.tar.gz 2766509 BLAKE2B 59e3f4cf37694b4ae59fe4eca6afd8abe4f7ab1aec3c0cee409be6f0f648fd2929092ee9b5a2b167c5041202dac908cd39f693d8ae8eebf621be47f302bd885c SHA512 e2de3c65f864572fe74ca55ee107703a49855f0da71c440784b06d13ed724456cf7bf30e18a5cb15cf2e136edc688b56321cf7838a2cc66f39c4ea9d9686441e |
26 |
|
27 |
diff --git a/app-emulation/skopeo/skopeo-0.1.37.ebuild b/app-emulation/skopeo/skopeo-0.1.37.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..a3641ef7199 |
30 |
--- /dev/null |
31 |
+++ b/app-emulation/skopeo/skopeo-0.1.37.ebuild |
32 |
@@ -0,0 +1,55 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+EGO_PN=github.com/containers/skopeo |
38 |
+COMMIT=e079f9d |
39 |
+inherit golang-vcs-snapshot bash-completion-r1 |
40 |
+ |
41 |
+DESCRIPTION="Command line utility foroperations on container images and image repositories" |
42 |
+HOMEPAGE="https://github.com/containers/skopeo" |
43 |
+SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+IUSE="" |
49 |
+ |
50 |
+COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= |
51 |
+ >=dev-libs/libassuan-2.4.3:= |
52 |
+ dev-libs/libgpg-error:= |
53 |
+ >=sys-fs/btrfs-progs-4.0.1 |
54 |
+ >=sys-fs/lvm2-2.02.145:=" |
55 |
+DEPEND="${COMMON_DEPEND} |
56 |
+ dev-go/go-md2man" |
57 |
+RDEPEND="${COMMON_DEPEND}" |
58 |
+ |
59 |
+S="${WORKDIR}/${P}/src/${EGO_PN}" |
60 |
+ |
61 |
+RESTRICT="test" |
62 |
+ |
63 |
+src_compile() { |
64 |
+ local BUILDTAGS="containers_image_ostree_stub" |
65 |
+ set -- env -u GOCACHE -u XDG_CACHE_HOME GOPATH="${WORKDIR}/${P}" \ |
66 |
+ go build -ldflags "-X main.gitCommit=${COMMIT}" \ |
67 |
+ -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ |
68 |
+ -o skopeo ./cmd/skopeo |
69 |
+ echo "$@" |
70 |
+ "$@" || die |
71 |
+ cd docs || die |
72 |
+ for f in *.1.md; do |
73 |
+ go-md2man -in ${f} -out ${f%%.md} || die |
74 |
+ done |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ dobin skopeo |
79 |
+ doman docs/*.1 |
80 |
+ dobashcomp completions/bash/skopeo |
81 |
+ insinto /etc/containers |
82 |
+ newins default-policy.json policy.json |
83 |
+ insinto /etc/containers/registries.d |
84 |
+ doins default.yaml |
85 |
+ keepdir /var/lib/atomic/sigstore |
86 |
+ einstalldocs |
87 |
+} |