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: Thu, 05 Mar 2020 05:27:21
Message-Id: 1583386032.ba375d52c483c3d4e3fbc09a3918e6ef5c079b5f.zmedico@gentoo
1 commit: ba375d52c483c3d4e3fbc09a3918e6ef5c079b5f
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 5 05:22:28 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 5 05:27:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba375d52
7
8 app-emulation/buildah: Bump to version 1.14.2
9
10 Package-Manager: Portage-2.3.92, Repoman-2.3.20
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-emulation/buildah/Manifest | 1 +
14 app-emulation/buildah/buildah-1.14.2.ebuild | 50 +++++++++++++++++++++++++++++
15 2 files changed, 51 insertions(+)
16
17 diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest
18 index e9b62a1614a..ce6d34403e7 100644
19 --- a/app-emulation/buildah/Manifest
20 +++ b/app-emulation/buildah/Manifest
21 @@ -3,4 +3,5 @@ DIST buildah-1.11.6.tar.gz 10600477 BLAKE2B b70849ca0121e32cd66da3da282a443688c1
22 DIST buildah-1.12.0.tar.gz 10717080 BLAKE2B 67107684d625ef23166d666dba50244861e6903f46315d8bae4d313d3585da154b7ee5f87ae8ab69ca717fdf68b914dee0cbcf2e1e95c34ebfccee4739db1d62 SHA512 ed7d77dfe88f613ef4f756455d889d707707ad16f8f6a9b514a8fbaabb56fef58db54ceb2344954a9311bcc6f1f000b21ac461f9b612b8534ae6a4594ad7a16d
23 DIST buildah-1.13.1.tar.gz 10928426 BLAKE2B 7f790e2e6499543f6ddae5582f03e4e8a2429783512bf53ffa48d010b1338c4e232117e8b175057205c75ee839981564358239d08d48dbdef8cae80bbacc6554 SHA512 89c02f3c485408f16d6334bb4621accbb7de5f8d3d4458eb4c925468da1f6c14a18132e8f643e965d3054f05a90ada3c4911e539541f9ca045ca606c9ce1bed9
24 DIST buildah-1.14.0.tar.gz 10895764 BLAKE2B afc99c12737651997785ce96793afbff24e514a89e445ec5e176940940335b5966cf6e05e3d418d2aad2308d604e05879874eb5d5c07182dc0484e43411628e7 SHA512 c2fe27ccff81cc22dcb398f6d57f618015a1f534510888966483002d552c5f233b8899f639dac15d0f299c6c618e6f1d9889e65c745ce4709e7abd9498258a86
25 +DIST buildah-1.14.2.tar.gz 11022035 BLAKE2B 8927d0d1c0ca75cc7fc739f990dbcb55a16ca34fee77a95fba629db6a5a73003ca320f85e6a9e4c4091e20877a7af00eee361c14b8b1758fe4bf690e179f6799 SHA512 d8f2488321cc52f1e2a390ffe975d83c4a6e9a169d47787715e0e04c29249abf501798bc3588d5d5c1bf70fc1a8451f75b102f629517da636cf9fd093667797c
26 DIST containers-storage-1.14.0-vfs-user-xattrs.patch 14835 BLAKE2B 99c35933dcb25385ee83b80cf282c11c738d0e4d91216cc08a50522f6caa9bca5938299412908f16df404f99e80616a10b4c02c0ebc38240a987830ddaf15008 SHA512 62c7ed49728bd12b5706f59b0d4af3b18d90e8cfc2b06e681f84fe3f5d3e0cd5c0317147109c4e3ec4fec26f82c269af3c9813e47339ce102e4e97400b74627d
27
28 diff --git a/app-emulation/buildah/buildah-1.14.2.ebuild b/app-emulation/buildah/buildah-1.14.2.ebuild
29 new file mode 100644
30 index 00000000000..4380bb68e53
31 --- /dev/null
32 +++ b/app-emulation/buildah/buildah-1.14.2.ebuild
33 @@ -0,0 +1,50 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +inherit bash-completion-r1 go-module
39 +
40 +KEYWORDS="~amd64"
41 +DESCRIPTION="A tool that facilitates building OCI images"
42 +HOMEPAGE="https://github.com/containers/buildah"
43 +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
44 +SLOT="0"
45 +IUSE="selinux"
46 +EGIT_COMMIT="v${PV}"
47 +GIT_COMMIT="066e446"
48 +SRC_URI="https://github.com/containers/buildah/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 +
59 +src_prepare() {
60 + default
61 + sed -e 's|^\(GIT_COMMIT ?= \).*|\1'${GIT_COMMIT}'|' -i Makefile || die
62 +
63 + [[ -f selinux_tag.sh ]] || die
64 + use selinux || { echo -e "#!/bin/sh\ntrue" > \
65 + selinux_tag.sh || die; }
66 +}
67 +
68 +src_compile() {
69 + export -n GOCACHE XDG_CACHE_HOME
70 + emake all
71 +}
72 +
73 +src_install() {
74 + dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
75 + doman docs/*.1
76 + dodoc -r docs/tutorials
77 + dobin ${PN} imgtype
78 + dobashcomp contrib/completions/bash/buildah
79 +}
80 +
81 +src_test() {
82 + emake test-unit
83 +}