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: Sun, 21 Jul 2019 05:02:50
Message-Id: 1563685123.a4ac3361e20438bfc2e6c705c3d4e639097c17bc.zmedico@gentoo
1 commit: a4ac3361e20438bfc2e6c705c3d4e639097c17bc
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 21 04:58:43 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 21 04:58:43 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ac3361
7
8 app-emulation/buildah: Bump to version 1.9.2
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/buildah/Manifest | 1 +
14 app-emulation/buildah/buildah-1.9.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 cd913daee6c..958766bd4f2 100644
19 --- a/app-emulation/buildah/Manifest
20 +++ b/app-emulation/buildah/Manifest
21 @@ -1,3 +1,4 @@
22 DIST buildah-1.8.3.tar.gz 5114332 BLAKE2B 55ef5e10e8a2a2b95ef8f8cd28a3ccdb3e734fc3ef64a890900e20a5b8994f92571e2cdec875813203fc4e98a8c4f09656d16bc4c6242194131a25713e054492 SHA512 f875c448f81ef272ad0b7be9c1579d6650983fed4e471095cd645ae1126b49d91ec15b55a072e722205154b681eefc0fb32f5a452d827e875eb0c4779f5d712b
23 DIST buildah-1.8.4.tar.gz 5122400 BLAKE2B b02a1cac77f5f16ab6cec3a74f11ee94675c717ead21fd791feb4cfbd08dcfb4313a1ee3134d3b9f9d20218935db35e28dab406a9f706ff2f46a2beb1abaa56b SHA512 a316e5e2bea7cded1db089bbc7831c9af69242caa6108c78d63864c012053bda3dc3da5bf70248b2742b2be1ad66aeb59c844558022c20f79236f5b1292d6366
24 DIST buildah-1.9.0.tar.gz 5123317 BLAKE2B d38c36c2407b3a77a5f738e00ae08c4312945d5c2a4bb930e116e32171ea22c20e0a78e56cce7977844ff0d60306f5446a9c1a117d790ea83cc53e1e83e63417 SHA512 8defe72b267790a6d777eed2a68f89721184eab8df972ef59287e69e1719d1174cb120d6a0c254f8a3963721d34414ec614fb5d3e52fb85a6940c659ee720686
25 +DIST buildah-1.9.2.tar.gz 9505091 BLAKE2B 886e1ae5804f005f5782d011ed8440a8ac5eb09b2cf7917ac04ed1ab3e08f8cce6ef9b8efaf3392d60ed46b5bdb2efcec8b44c0448f970210cd613837a5d8f1f SHA512 1add432491fcae3b22dac2768ba71be2a47f42f3d9fae14cc5ff54220b3b7b96a48a95cb10b249de98f9c3067d463bbeca75c7c52783c111a9b5ed0ba03eb30f
26
27 diff --git a/app-emulation/buildah/buildah-1.9.2.ebuild b/app-emulation/buildah/buildah-1.9.2.ebuild
28 new file mode 100644
29 index 00000000000..16d2c1c2eb6
30 --- /dev/null
31 +++ b/app-emulation/buildah/buildah-1.9.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="00eb895"
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 +}