From e748ba9741f6540f4675c23e3e37b73e822c13a4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 May 2021 20:59:14 +0100 Subject: gentoo resync : 31.05.2021 --- app-emulation/buildah/Manifest | 2 ++ app-emulation/buildah/buildah-1.21.0.ebuild | 50 +++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 app-emulation/buildah/buildah-1.21.0.ebuild (limited to 'app-emulation/buildah') diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest index b1007a33a52d..17c327f35e38 100644 --- a/app-emulation/buildah/Manifest +++ b/app-emulation/buildah/Manifest @@ -1,3 +1,5 @@ DIST buildah-1.20.1.tar.gz 11522195 BLAKE2B 2fe2aa9ad5c2212b98be5bced24b6aee39a43ab2c1b28c2c1729cce2b8cfe5920ecb64f013c28d870c6b8c9b369630f83e27dc7698eb66b3e368ef0bff4cb3ed SHA512 22495d9f0da1d6061ddb41e4cecfdb2108c152262798d6c959fc524870160f15ee486bcc37e262e571c64dc732e852f05e6c4b9331bbdef4150bd56997fefa83 +DIST buildah-1.21.0.tar.gz 11693220 BLAKE2B 1f281830ca348e55e9cc2e55dd92e8372174f736c6e8a7ae4de1f5c3279bc272036cf65a2946a143df6e1f282461d347f26c361894b83399854cf900e9f2cc71 SHA512 2ce6afceadec37f54f7f80562969cc382267dabc4fa5a89a09a211326e403376d209d89162333337af8602cb5c551eb446d3c9fac26f516fb8d354a7b5b77472 EBUILD buildah-1.20.1.ebuild 1142 BLAKE2B 66e377badc4f4ab69dc41f0c04a88a92c7114f5a0171359898f3c8061dc04bca813f627cdf88390a89900d07f7ea8d89adca952a0434a0321cfc824534a6da46 SHA512 5beeba858d55b381e7de141256c6a3f07d4bad59367b3957977871b27105f455a4535a9152909a72c6bc11bc121cff5c5eef901a26ad6c5fa2f4497352f4bf84 +EBUILD buildah-1.21.0.ebuild 1178 BLAKE2B 9e6bb617764112b169d3c7ca3e40dc277954a55add0b04fbfe3856dd07ee7b19c9f00b0b5110a1d44b2b67e744080675413c5b9391ba0827c934a909ae72e05d SHA512 3ebbef12e29c24a2c30f5225cce157dbd5fe3d007f99855ffea5ab739ff005241f35fe5f3ca0834b5bf7bff75367523d56e859e4ec88bac9a28adf75d3992f49 MISC metadata.xml 327 BLAKE2B cd14ee5c563ac21da34ce7728d2d12b797374bc43c50f4a9923d773ae4e010d4930793a0f0ecf610bb798fb3f1b7cd567944cf9895258e9244c3852969ac2406 SHA512 bed26d87edba20ed9385633b70b8bc23fc046ed95aa9b608400933ed4199594f6d0461854060a68b42d33a9b7be0d1b61f52e22e0d3b6d2c2248f58442094711 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 +} -- cgit v1.2.3