1 |
commit: 0c61ac6cf05eb44a7e9ad6fe6f4ae18fed131b18 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 9 17:03:26 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 9 17:06:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c61ac6c |
7 |
|
8 |
app-emulation/buildah: version bump to 1.8.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-emulation/buildah/Manifest | 1 + |
14 |
app-emulation/buildah/buildah-1.8.2.ebuild | 57 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest |
18 |
index ff7d53f03bb..c1f586b47a2 100644 |
19 |
--- a/app-emulation/buildah/Manifest |
20 |
+++ b/app-emulation/buildah/Manifest |
21 |
@@ -6,3 +6,4 @@ DIST buildah-1.6.tar.gz 6296936 BLAKE2B 1c5e0b1a8d3f3be381c0b7cad5c52af95ee8977c |
22 |
DIST buildah-1.7.1.tar.gz 5048407 BLAKE2B e76cbc95ce835eaa26d53f6ce74b9bbb0d4d5683f91bdaf090158ffdc3d223a522a825af2d99d573a5c3cd57445b4d7c3d4aff359454beac81244821367ab3d7 SHA512 4b62a604dcae7a8fd0a1d74186c6f5d4a5288072b014d51d929f68442436e774428b99e62a78504314cbec517254f29d79294dc6c0b30a999788c9af12d0be01 |
23 |
DIST buildah-1.7.3.tar.gz 5083873 BLAKE2B d366657c02c475bd57cdcd29cf3341098c2855af834a9aa97f41b8950ff1dd29ca0fcfed093a980e67e9c1a2ccb76e819386560a48943ebd6abc106e2a4270ea SHA512 492a4bf054f00d7da3b9edc6ce8e68497adca74895561db7025acfcd3767baac1e4acbabffedafd8becf15f884635f42c699bd57370238feacf4bded51565a75 |
24 |
DIST buildah-1.7.tar.gz 5041530 BLAKE2B 5a30cd75783448cfc0df8167406669c1b687781e819513c11d2941087aa4ccc1b87f10acc6e4a77de5dc991435640aefd6139ee9bb66e5952de63d1593b6fab9 SHA512 fb44787b59c4ba26bc9b38ba434c6eeebbdeeeb3d28d44819bfe05c42e1a8db63e41d75382d8f25c2c72b44c7512dd5f5b7f3e4838afa40fb67037616594f8c0 |
25 |
+DIST buildah-1.8.2.tar.gz 5102103 BLAKE2B 2e19f8af15e5f4a3c6488a44cc0f51592bc6f5201f217ea814daf4b08691f08170debfa2de01d39ae20c6289ed0915383b958cd5e59d8b598d867053ee990af2 SHA512 0cb8dc62c4139a5b500d4021b05344c70c1ec86ff9850bcca87011ad522fe95981d373d73b30b7899959876d78cd15e565e034cf136aa271a72fa4810ff34cae |
26 |
|
27 |
diff --git a/app-emulation/buildah/buildah-1.8.2.ebuild b/app-emulation/buildah/buildah-1.8.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0c4df769d32 |
30 |
--- /dev/null |
31 |
+++ b/app-emulation/buildah/buildah-1.8.2.ebuild |
32 |
@@ -0,0 +1,57 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit bash-completion-r1 golang-vcs-snapshot |
38 |
+ |
39 |
+KEYWORDS="~amd64" |
40 |
+DESCRIPTION="A tool that facilitates building OCI images" |
41 |
+HOMEPAGE="https://github.com/containers/buildah" |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+IUSE="ostree selinux" |
45 |
+EGO_PN="${HOMEPAGE#*//}" |
46 |
+EGIT_COMMIT="v${PV}" |
47 |
+GIT_COMMIT="e23314b" |
48 |
+SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
49 |
+RDEPEND="app-crypt/gpgme:= |
50 |
+ app-emulation/skopeo |
51 |
+ dev-libs/libgpg-error:= |
52 |
+ dev-libs/libassuan:= |
53 |
+ sys-fs/lvm2:= |
54 |
+ sys-libs/libseccomp:= |
55 |
+ selinux? ( sys-libs/libselinux:= )" |
56 |
+DEPEND="${RDEPEND}" |
57 |
+RESTRICT="test" |
58 |
+REQUIRED_USE="!selinux? ( !ostree )" |
59 |
+S="${WORKDIR}/${P}/src/${EGO_PN}" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ sed -e 's|^\(GIT_COMMIT ?= \).*|\1'${GIT_COMMIT}'|' -i Makefile || die |
64 |
+ |
65 |
+ [[ -f ostree_tag.sh ]] || die |
66 |
+ use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \ |
67 |
+ ostree_tag.sh || die; } |
68 |
+ |
69 |
+ [[ -f selinux_tag.sh ]] || die |
70 |
+ use selinux || { echo -e "#!/bin/sh\ntrue" > \ |
71 |
+ selinux_tag.sh || die; } |
72 |
+} |
73 |
+ |
74 |
+src_compile() { |
75 |
+ export -n GOCACHE XDG_CACHE_HOME |
76 |
+ GOPATH="${WORKDIR}/${P}" emake all |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md |
81 |
+ doman docs/*.1 |
82 |
+ dodoc -r docs/tutorials |
83 |
+ dobin ${PN} imgtype |
84 |
+ dobashcomp contrib/completions/bash/buildah |
85 |
+} |
86 |
+ |
87 |
+src_test() { |
88 |
+ GOPATH="${WORKDIR}/${P}" emake test-unit |
89 |
+} |