1 |
commit: 4f1579cd7bf0437fe5160d865c61646aca2a8fde |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 20:01:50 2021 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 20:03:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f1579cd |
7 |
|
8 |
app-emulation/buildah: 1.21.0 bump |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
app-emulation/buildah/Manifest | 1 + |
13 |
app-emulation/buildah/buildah-1.21.0.ebuild | 50 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest |
17 |
index 152cd1f1a2f..30bcf28e834 100644 |
18 |
--- a/app-emulation/buildah/Manifest |
19 |
+++ b/app-emulation/buildah/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST buildah-1.20.1.tar.gz 11522195 BLAKE2B 2fe2aa9ad5c2212b98be5bced24b6aee39a43ab2c1b28c2c1729cce2b8cfe5920ecb64f013c28d870c6b8c9b369630f83e27dc7698eb66b3e368ef0bff4cb3ed SHA512 22495d9f0da1d6061ddb41e4cecfdb2108c152262798d6c959fc524870160f15ee486bcc37e262e571c64dc732e852f05e6c4b9331bbdef4150bd56997fefa83 |
22 |
+DIST buildah-1.21.0.tar.gz 11693220 BLAKE2B 1f281830ca348e55e9cc2e55dd92e8372174f736c6e8a7ae4de1f5c3279bc272036cf65a2946a143df6e1f282461d347f26c361894b83399854cf900e9f2cc71 SHA512 2ce6afceadec37f54f7f80562969cc382267dabc4fa5a89a09a211326e403376d209d89162333337af8602cb5c551eb446d3c9fac26f516fb8d354a7b5b77472 |
23 |
|
24 |
diff --git a/app-emulation/buildah/buildah-1.21.0.ebuild b/app-emulation/buildah/buildah-1.21.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..851a28962c8 |
27 |
--- /dev/null |
28 |
+++ b/app-emulation/buildah/buildah-1.21.0.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+inherit bash-completion-r1 go-module |
35 |
+GIT_COMMIT=5e3515c5 |
36 |
+ |
37 |
+DESCRIPTION="A tool that facilitates building OCI images" |
38 |
+HOMEPAGE="https://github.com/containers/buildah" |
39 |
+SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm64" |
44 |
+IUSE="selinux" |
45 |
+ |
46 |
+RDEPEND="app-crypt/gpgme:= |
47 |
+ app-emulation/skopeo |
48 |
+ dev-libs/libgpg-error:= |
49 |
+ dev-libs/libassuan:= |
50 |
+ sys-fs/lvm2:= |
51 |
+ sys-libs/libseccomp:= |
52 |
+ selinux? ( sys-libs/libselinux:= )" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+ |
55 |
+RESTRICT+=" test" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ [[ -f selinux_tag.sh ]] || die |
60 |
+ use selinux || { echo -e "#!/bin/sh\ntrue" > \ |
61 |
+ selinux_tag.sh || die; } |
62 |
+ sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed' |
63 |
+} |
64 |
+ |
65 |
+src_compile() { |
66 |
+ emake GIT_COMMIT=${GIT_COMMIT} all |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md |
71 |
+ doman docs/*.1 |
72 |
+ dodoc -r docs/tutorials |
73 |
+ dobin bin/{${PN},imgtype} |
74 |
+ dobashcomp contrib/completions/bash/buildah |
75 |
+} |
76 |
+ |
77 |
+src_test() { |
78 |
+ emake test-unit |
79 |
+} |