Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/buildah/
Date: Wed, 13 Oct 2021 04:57:51
Message-Id: 1634101058.88839da0babfb6d048ebd539fd1f8dcf08dae0ee.zmedico@gentoo
1 commit: 88839da0babfb6d048ebd539fd1f8dcf08dae0ee
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 13 04:54:46 2021 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 13 04:57:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88839da0
7
8 app-emulation/buildah: Bump to version 1.23.1
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-emulation/buildah/Manifest | 1 +
14 app-emulation/buildah/buildah-1.23.1.ebuild | 50 +++++++++++++++++++++++++++++
15 2 files changed, 51 insertions(+)
16
17 diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest
18 index dec437eab77..ae809d0a513 100644
19 --- a/app-emulation/buildah/Manifest
20 +++ b/app-emulation/buildah/Manifest
21 @@ -1 +1,2 @@
22 DIST buildah-1.21.1.tar.gz 11693142 BLAKE2B 513f75d8f2831130759f3bcb77fad311c28862b82df8866608bd909eea38468a6b576dfad2598725caa9c4e413108ea6ec3557c8a777017cc8a37b5cb16b70a1 SHA512 8fb30ed0948f898aef9a32c34d4b2a2e04a376257a73184ec01b67c770be1c3c87e46987ad001ececf2235cb5e17f9d0ff9e9f34be61ddd0935859c4e5b37d1f
23 +DIST buildah-1.23.1.tar.gz 11872323 BLAKE2B 6e4cffd11177bca6c3e86cd3372fc7bf295b23559b7478a679ea2bea022c149b5ea058224f0a156df1b9511905795c44ed5e988ec68ca834dd80d0c198543d5f SHA512 2ceb6df5adb671483557bb03937df583857d99c116be5d44aae533c155f560d5d454bebf25908ac02bb85e4c2ba31533adb99f0946ecc4f4830977c14f324b6f
24
25 diff --git a/app-emulation/buildah/buildah-1.23.1.ebuild b/app-emulation/buildah/buildah-1.23.1.ebuild
26 new file mode 100644
27 index 00000000000..d801bf33465
28 --- /dev/null
29 +++ b/app-emulation/buildah/buildah-1.23.1.ebuild
30 @@ -0,0 +1,50 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +inherit bash-completion-r1 go-module
36 +GIT_COMMIT=d9a41b85
37 +
38 +DESCRIPTION="A tool that facilitates building OCI images"
39 +HOMEPAGE="https://github.com/containers/buildah"
40 +SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm64"
45 +IUSE="selinux"
46 +
47 +RDEPEND="app-crypt/gpgme:=
48 + app-emulation/skopeo
49 + dev-libs/libgpg-error:=
50 + dev-libs/libassuan:=
51 + sys-fs/lvm2:=
52 + sys-libs/libseccomp:=
53 + selinux? ( sys-libs/libselinux:= )"
54 +DEPEND="${RDEPEND}"
55 +
56 +RESTRICT+=" test"
57 +
58 +src_prepare() {
59 + default
60 + [[ -f selinux_tag.sh ]] || die
61 + use selinux || { echo -e "#!/bin/sh\ntrue" > \
62 + selinux_tag.sh || die; }
63 + sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed'
64 +}
65 +
66 +src_compile() {
67 + emake GIT_COMMIT=${GIT_COMMIT} all
68 +}
69 +
70 +src_install() {
71 + dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
72 + doman docs/*.1
73 + dodoc -r docs/tutorials
74 + dobin bin/{${PN},imgtype}
75 + dobashcomp contrib/completions/bash/buildah
76 +}
77 +
78 +src_test() {
79 + emake test-unit
80 +}