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: Sat, 02 Feb 2019 09:25:59
Message-Id: 1549099546.ee47c8fa56dbdcf0f0acfe0b46112a61105dd9a5.zmedico@gentoo
1 commit: ee47c8fa56dbdcf0f0acfe0b46112a61105dd9a5
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 2 09:14:04 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 2 09:25:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee47c8fa
7
8 app-emulation/buildah: version bump to 1.6
9
10 Package-Manager: Portage-2.3.59, 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.6.ebuild | 56 ++++++++++++++++++++++++++++++++
15 2 files changed, 57 insertions(+)
16
17 diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest
18 index 8d053a44938..71eaef5a394 100644
19 --- a/app-emulation/buildah/Manifest
20 +++ b/app-emulation/buildah/Manifest
21 @@ -3,3 +3,4 @@ DIST buildah-1.3-issue-966-containers-storage-c7ba5749d44a65fde2daf114c16fb0272d
22 DIST buildah-1.3.tar.gz 4486873 BLAKE2B 35fb62626d2466495da47579cf4ab23603797ef42a9308245fa97c87a91fcb978f4d02724ce79c2b4ac620d9868ca8974e4701ba6a96ccf739e5ccb4e6d9693a SHA512 c8e161254495cb652caf9a54a051155008e41575487d26aacd38355f0a447ae0e8973b33a978e6a2d5a6c8105400d49dae46878c5f3631ab51aa3556d5033ccd
23 DIST buildah-1.4.tar.gz 4529960 BLAKE2B 20878d322d75c6c7c2921f91a9d5434231456d2e6a94c1d4b9ca4fc068bcde1359ba0113dbf97c05738e328933068cbe2a101a1fb429e602533a42a94282a840 SHA512 8b7fc6e94da3615ce42a13621f766602465404f30c7e4e0fcb50998aefb59ebd50a4e000b8b3887e150656a2dd8b8fb3541991f8cac1193322e828448b89056d
24 DIST buildah-1.5.tar.gz 4549438 BLAKE2B 0b547f2e06a012540e633e3e55d12d5f44141be7e7231643efd1914571b0d3b03411b5d95f2b8e616679c1f8c966fda818ac8d2a2ca016e89218480ca1c9392c SHA512 291bf7d174500e96279f7fba143f72349648b09fd2d100e6409ae75c8436ff323143ed5b8b1a3448865171916bd44790292344247f0579c33a72c1ff774631e5
25 +DIST buildah-1.6.tar.gz 6296936 BLAKE2B 1c5e0b1a8d3f3be381c0b7cad5c52af95ee8977c46500e24888bda3f33fffead493b53deb6bbec879d342639fbaab69acbbf0186d7794f6261b3a81b958475e9 SHA512 fb946351602370ecadce84bddde9b8c954b5ecd1ed88f75db8335bf3b5cb0fc68b90a253433d51ddab04d32a6ec2e87d48282f51ec2c3965410533f1247e96f0
26
27 diff --git a/app-emulation/buildah/buildah-1.6.ebuild b/app-emulation/buildah/buildah-1.6.ebuild
28 new file mode 100644
29 index 00000000000..64ef1d8793e
30 --- /dev/null
31 +++ b/app-emulation/buildah/buildah-1.6.ebuild
32 @@ -0,0 +1,56 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
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="5f95bd9"
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 + GOPATH="${WORKDIR}/${P}" emake all
76 +}
77 +
78 +src_install() {
79 + dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
80 + doman docs/*.1
81 + dodoc -r docs/tutorials
82 + dobin ${PN} imgtype
83 + dobashcomp contrib/completions/bash/buildah
84 +}
85 +
86 +src_test() {
87 + GOPATH="${WORKDIR}/${P}" emake test-unit
88 +}