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