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 Sep 2019 18:01:11
Message-Id: 1567706461.3a0a8c9045067fad21cffa904c9546014f84dd31.zmedico@gentoo
1 commit: 3a0a8c9045067fad21cffa904c9546014f84dd31
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 5 17:59:45 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 5 18:01:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a0a8c90
7
8 app-emulation/buildah: Bump to version 1.11.0
9
10 Package-Manager: Portage-2.3.75, Repoman-2.3.17
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-emulation/buildah/Manifest | 1 +
14 app-emulation/buildah/buildah-1.11.0.ebuild | 57 +++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest
18 index 69a3993bbf7..4ca8a1f0925 100644
19 --- a/app-emulation/buildah/Manifest
20 +++ b/app-emulation/buildah/Manifest
21 @@ -1,4 +1,5 @@
22 DIST buildah-1.10.0.tar.gz 9362108 BLAKE2B 691b5273056f9eb3e1f1dabf22c299ae281af8db13e680351bc0f4e0b6560b0ac20def5a1b3a039d14b97bb35a935a34ae83eeadc6272ad4d68a494439cc5f57 SHA512 33d33bb622e69512a2e11592455d654f6478994e78894bd0f73e03cc01e12c7e30b1fc25bbd6b44a3ce83b9e261ffb47c3d08a99bf523f4fe0e3ff00d93861a8
23 DIST buildah-1.10.1.tar.gz 9378648 BLAKE2B ea563d1a52634aa4e0172f05caf04b511bd9962cec012ed35830ceb5848dae1c14020167d61d44e11d0dcdcd6d5440c216505a11987f6806bac1336dd12152c9 SHA512 0651ed1ec6015b437ed0a786bef20c6a88fedfa4d318edc081d257720b1cc2c8d380a8cde5125ab5894bf0b4a6df90034b689097f7cc05630401e8e7700fca6a
24 +DIST buildah-1.11.0.tar.gz 10065996 BLAKE2B fcf709f7474bcb45f2da6f90b614b4c95036d19c05fad715f80720efbb9ad6c4be6725001de4b5198c7d81e365ff12a742b73bc5d7268819de56c4b2fbe0b8e4 SHA512 a5e852a427de4e3f3ce8d78fb8ea82e8b6e0a1bcc6a0bc786c2bcb0d4689fec5f5a6413f77898bd953dc7eeea31d1d58fe22fac40cd5209fa5016a376a9958b7
25 DIST buildah-1.8.4.tar.gz 5122400 BLAKE2B b02a1cac77f5f16ab6cec3a74f11ee94675c717ead21fd791feb4cfbd08dcfb4313a1ee3134d3b9f9d20218935db35e28dab406a9f706ff2f46a2beb1abaa56b SHA512 a316e5e2bea7cded1db089bbc7831c9af69242caa6108c78d63864c012053bda3dc3da5bf70248b2742b2be1ad66aeb59c844558022c20f79236f5b1292d6366
26 DIST buildah-1.9.2.tar.gz 9505091 BLAKE2B 886e1ae5804f005f5782d011ed8440a8ac5eb09b2cf7917ac04ed1ab3e08f8cce6ef9b8efaf3392d60ed46b5bdb2efcec8b44c0448f970210cd613837a5d8f1f SHA512 1add432491fcae3b22dac2768ba71be2a47f42f3d9fae14cc5ff54220b3b7b96a48a95cb10b249de98f9c3067d463bbeca75c7c52783c111a9b5ed0ba03eb30f
27
28 diff --git a/app-emulation/buildah/buildah-1.11.0.ebuild b/app-emulation/buildah/buildah-1.11.0.ebuild
29 new file mode 100644
30 index 00000000000..5675dd131e1
31 --- /dev/null
32 +++ b/app-emulation/buildah/buildah-1.11.0.ebuild
33 @@ -0,0 +1,57 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +inherit bash-completion-r1 golang-vcs-snapshot
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"
44 +SLOT="0"
45 +IUSE="ostree selinux"
46 +EGO_PN="${HOMEPAGE#*//}"
47 +EGIT_COMMIT="v${PV}"
48 +GIT_COMMIT="2c5da1b"
49 +SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
50 +RDEPEND="app-crypt/gpgme:=
51 + app-emulation/skopeo
52 + dev-libs/libgpg-error:=
53 + dev-libs/libassuan:=
54 + sys-fs/lvm2:=
55 + sys-libs/libseccomp:=
56 + selinux? ( sys-libs/libselinux:= )"
57 +DEPEND="${RDEPEND}"
58 +RESTRICT="test"
59 +REQUIRED_USE="!selinux? ( !ostree )"
60 +S="${WORKDIR}/${P}/src/${EGO_PN}"
61 +
62 +src_prepare() {
63 + default
64 + sed -e 's|^\(GIT_COMMIT ?= \).*|\1'${GIT_COMMIT}'|' -i Makefile || die
65 +
66 + [[ -f ostree_tag.sh ]] || die
67 + use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \
68 + ostree_tag.sh || die; }
69 +
70 + [[ -f selinux_tag.sh ]] || die
71 + use selinux || { echo -e "#!/bin/sh\ntrue" > \
72 + selinux_tag.sh || die; }
73 +}
74 +
75 +src_compile() {
76 + export -n GOCACHE XDG_CACHE_HOME
77 + 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 +}