diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-10-12 21:54:46 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-10-12 21:57:38 -0700 |
commit | 88839da0babfb6d048ebd539fd1f8dcf08dae0ee (patch) | |
tree | 39fba2f37cd6e701fc5bd6721cce0a5ea6a55e06 /app-emulation/buildah | |
parent | toolchain.eclass: add sam to distfiles (diff) | |
download | gentoo-88839da0babfb6d048ebd539fd1f8dcf08dae0ee.tar.gz gentoo-88839da0babfb6d048ebd539fd1f8dcf08dae0ee.tar.bz2 gentoo-88839da0babfb6d048ebd539fd1f8dcf08dae0ee.zip |
app-emulation/buildah: Bump to version 1.23.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation/buildah')
-rw-r--r-- | app-emulation/buildah/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/buildah/buildah-1.23.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest index dec437eab77a..ae809d0a5131 100644 --- a/app-emulation/buildah/Manifest +++ b/app-emulation/buildah/Manifest @@ -1 +1,2 @@ DIST buildah-1.21.1.tar.gz 11693142 BLAKE2B 513f75d8f2831130759f3bcb77fad311c28862b82df8866608bd909eea38468a6b576dfad2598725caa9c4e413108ea6ec3557c8a777017cc8a37b5cb16b70a1 SHA512 8fb30ed0948f898aef9a32c34d4b2a2e04a376257a73184ec01b67c770be1c3c87e46987ad001ececf2235cb5e17f9d0ff9e9f34be61ddd0935859c4e5b37d1f +DIST buildah-1.23.1.tar.gz 11872323 BLAKE2B 6e4cffd11177bca6c3e86cd3372fc7bf295b23559b7478a679ea2bea022c149b5ea058224f0a156df1b9511905795c44ed5e988ec68ca834dd80d0c198543d5f SHA512 2ceb6df5adb671483557bb03937df583857d99c116be5d44aae533c155f560d5d454bebf25908ac02bb85e4c2ba31533adb99f0946ecc4f4830977c14f324b6f diff --git a/app-emulation/buildah/buildah-1.23.1.ebuild b/app-emulation/buildah/buildah-1.23.1.ebuild new file mode 100644 index 000000000000..d801bf33465c --- /dev/null +++ b/app-emulation/buildah/buildah-1.23.1.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=d9a41b85 + +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 +} |