diff options
author | William Hubbs <williamh@gentoo.org> | 2021-05-26 15:01:50 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2021-05-26 15:03:43 -0500 |
commit | 4f1579cd7bf0437fe5160d865c61646aca2a8fde (patch) | |
tree | 476293ac61bd68720f1ca4012a8b42d224ffbdf6 /app-emulation/buildah | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 5.12.7 (diff) | |
download | gentoo-4f1579cd7bf0437fe5160d865c61646aca2a8fde.tar.gz gentoo-4f1579cd7bf0437fe5160d865c61646aca2a8fde.tar.bz2 gentoo-4f1579cd7bf0437fe5160d865c61646aca2a8fde.zip |
app-emulation/buildah: 1.21.0 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-emulation/buildah')
-rw-r--r-- | app-emulation/buildah/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/buildah/buildah-1.21.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest index 152cd1f1a2f6..30bcf28e834d 100644 --- a/app-emulation/buildah/Manifest +++ b/app-emulation/buildah/Manifest @@ -1 +1,2 @@ DIST buildah-1.20.1.tar.gz 11522195 BLAKE2B 2fe2aa9ad5c2212b98be5bced24b6aee39a43ab2c1b28c2c1729cce2b8cfe5920ecb64f013c28d870c6b8c9b369630f83e27dc7698eb66b3e368ef0bff4cb3ed SHA512 22495d9f0da1d6061ddb41e4cecfdb2108c152262798d6c959fc524870160f15ee486bcc37e262e571c64dc732e852f05e6c4b9331bbdef4150bd56997fefa83 +DIST buildah-1.21.0.tar.gz 11693220 BLAKE2B 1f281830ca348e55e9cc2e55dd92e8372174f736c6e8a7ae4de1f5c3279bc272036cf65a2946a143df6e1f282461d347f26c361894b83399854cf900e9f2cc71 SHA512 2ce6afceadec37f54f7f80562969cc382267dabc4fa5a89a09a211326e403376d209d89162333337af8602cb5c551eb446d3c9fac26f516fb8d354a7b5b77472 diff --git a/app-emulation/buildah/buildah-1.21.0.ebuild b/app-emulation/buildah/buildah-1.21.0.ebuild new file mode 100644 index 000000000000..851a28962c8a --- /dev/null +++ b/app-emulation/buildah/buildah-1.21.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module +GIT_COMMIT=5e3515c5 + +DESCRIPTION="A tool that facilitates building OCI images" +HOMEPAGE="https://github.com/containers/buildah" +SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="selinux" + +RDEPEND="app-crypt/gpgme:= + app-emulation/skopeo + dev-libs/libgpg-error:= + dev-libs/libassuan:= + sys-fs/lvm2:= + sys-libs/libseccomp:= + selinux? ( sys-libs/libselinux:= )" +DEPEND="${RDEPEND}" + +RESTRICT+=" test" + +src_prepare() { + default + [[ -f selinux_tag.sh ]] || die + use selinux || { echo -e "#!/bin/sh\ntrue" > \ + selinux_tag.sh || die; } + sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed' +} + +src_compile() { + emake GIT_COMMIT=${GIT_COMMIT} all +} + +src_install() { + dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md + doman docs/*.1 + dodoc -r docs/tutorials + dobin bin/{${PN},imgtype} + dobashcomp contrib/completions/bash/buildah +} + +src_test() { + emake test-unit +} |