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, 17 Apr 2019 17:39:16
Message-Id: 1555522058.0512f858d1618088e350dd79e9ac0de27082cb2d.zmedico@gentoo
1 commit: 0512f858d1618088e350dd79e9ac0de27082cb2d
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 17 17:22:40 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 17 17:27:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0512f858
7
8 app-emulation/buildah: version bump to 1.7.3
9
10 Reported-by: Manuel RĂ¼ger <mrueg <AT> gentoo.org>
11 Package-Manager: Portage-2.3.63, Repoman-2.3.12
12 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
13
14 app-emulation/buildah/Manifest | 1 +
15 app-emulation/buildah/buildah-1.7.3.ebuild | 56 ++++++++++++++++++++++++++++++
16 2 files changed, 57 insertions(+)
17
18 diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest
19 index 8a816aa1366..ff7d53f03bb 100644
20 --- a/app-emulation/buildah/Manifest
21 +++ b/app-emulation/buildah/Manifest
22 @@ -4,4 +4,5 @@ DIST buildah-1.4.tar.gz 4529960 BLAKE2B 20878d322d75c6c7c2921f91a9d5434231456d2e
23 DIST buildah-1.5.tar.gz 4549438 BLAKE2B 0b547f2e06a012540e633e3e55d12d5f44141be7e7231643efd1914571b0d3b03411b5d95f2b8e616679c1f8c966fda818ac8d2a2ca016e89218480ca1c9392c SHA512 291bf7d174500e96279f7fba143f72349648b09fd2d100e6409ae75c8436ff323143ed5b8b1a3448865171916bd44790292344247f0579c33a72c1ff774631e5
24 DIST buildah-1.6.tar.gz 6296936 BLAKE2B 1c5e0b1a8d3f3be381c0b7cad5c52af95ee8977c46500e24888bda3f33fffead493b53deb6bbec879d342639fbaab69acbbf0186d7794f6261b3a81b958475e9 SHA512 fb946351602370ecadce84bddde9b8c954b5ecd1ed88f75db8335bf3b5cb0fc68b90a253433d51ddab04d32a6ec2e87d48282f51ec2c3965410533f1247e96f0
25 DIST buildah-1.7.1.tar.gz 5048407 BLAKE2B e76cbc95ce835eaa26d53f6ce74b9bbb0d4d5683f91bdaf090158ffdc3d223a522a825af2d99d573a5c3cd57445b4d7c3d4aff359454beac81244821367ab3d7 SHA512 4b62a604dcae7a8fd0a1d74186c6f5d4a5288072b014d51d929f68442436e774428b99e62a78504314cbec517254f29d79294dc6c0b30a999788c9af12d0be01
26 +DIST buildah-1.7.3.tar.gz 5083873 BLAKE2B d366657c02c475bd57cdcd29cf3341098c2855af834a9aa97f41b8950ff1dd29ca0fcfed093a980e67e9c1a2ccb76e819386560a48943ebd6abc106e2a4270ea SHA512 492a4bf054f00d7da3b9edc6ce8e68497adca74895561db7025acfcd3767baac1e4acbabffedafd8becf15f884635f42c699bd57370238feacf4bded51565a75
27 DIST buildah-1.7.tar.gz 5041530 BLAKE2B 5a30cd75783448cfc0df8167406669c1b687781e819513c11d2941087aa4ccc1b87f10acc6e4a77de5dc991435640aefd6139ee9bb66e5952de63d1593b6fab9 SHA512 fb44787b59c4ba26bc9b38ba434c6eeebbdeeeb3d28d44819bfe05c42e1a8db63e41d75382d8f25c2c72b44c7512dd5f5b7f3e4838afa40fb67037616594f8c0
28
29 diff --git a/app-emulation/buildah/buildah-1.7.3.ebuild b/app-emulation/buildah/buildah-1.7.3.ebuild
30 new file mode 100644
31 index 00000000000..b7062877415
32 --- /dev/null
33 +++ b/app-emulation/buildah/buildah-1.7.3.ebuild
34 @@ -0,0 +1,56 @@
35 +# Copyright 1999-2019 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +inherit bash-completion-r1 golang-vcs-snapshot
40 +
41 +KEYWORDS="~amd64"
42 +DESCRIPTION="A tool that facilitates building OCI images"
43 +HOMEPAGE="https://github.com/containers/buildah"
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +IUSE="ostree selinux"
47 +EGO_PN="${HOMEPAGE#*//}"
48 +EGIT_COMMIT="v${PV}"
49 +GIT_COMMIT="93747b1"
50 +SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
51 +RDEPEND="app-crypt/gpgme:=
52 + app-emulation/skopeo
53 + dev-libs/libgpg-error:=
54 + dev-libs/libassuan:=
55 + sys-fs/lvm2:=
56 + sys-libs/libseccomp:=
57 + selinux? ( sys-libs/libselinux:= )"
58 +DEPEND="${RDEPEND}"
59 +RESTRICT="test"
60 +REQUIRED_USE="!selinux? ( !ostree )"
61 +S="${WORKDIR}/${P}/src/${EGO_PN}"
62 +
63 +src_prepare() {
64 + default
65 + sed -e 's|^\(GIT_COMMIT ?= \).*|\1'${GIT_COMMIT}'|' -i Makefile || die
66 +
67 + [[ -f ostree_tag.sh ]] || die
68 + use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \
69 + ostree_tag.sh || die; }
70 +
71 + [[ -f selinux_tag.sh ]] || die
72 + use selinux || { echo -e "#!/bin/sh\ntrue" > \
73 + selinux_tag.sh || die; }
74 +}
75 +
76 +src_compile() {
77 + env -u GOCACHE -u XDG_CACHE_HOME GOPATH="${WORKDIR}/${P}" emake all
78 +}
79 +
80 +src_install() {
81 + dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
82 + doman docs/*.1
83 + dodoc -r docs/tutorials
84 + dobin ${PN} imgtype
85 + dobashcomp contrib/completions/bash/buildah
86 +}
87 +
88 +src_test() {
89 + GOPATH="${WORKDIR}/${P}" emake test-unit
90 +}