diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-10-21 12:47:30 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-10-21 12:47:36 -0700 |
commit | 893c38a8049434f927f14ec5733656cb5745187f (patch) | |
tree | 15d94d47239cfd38fc09d3b13e076312d338a492 /app-containers/nerdctl | |
parent | app-arch/rpm: Stabilize 4.18.0 arm64, #877857 (diff) | |
download | gentoo-893c38a8049434f927f14ec5733656cb5745187f.tar.gz gentoo-893c38a8049434f927f14ec5733656cb5745187f.tar.bz2 gentoo-893c38a8049434f927f14ec5733656cb5745187f.zip |
app-containers/nerdctl: add 1.0.0
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-containers/nerdctl')
-rw-r--r-- | app-containers/nerdctl/Manifest | 1 | ||||
-rw-r--r-- | app-containers/nerdctl/nerdctl-1.0.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest index 5a36384871dc..5e80309c1a73 100644 --- a/app-containers/nerdctl/Manifest +++ b/app-containers/nerdctl/Manifest @@ -1,2 +1,3 @@ DIST nerdctl-0.22.2-vendor.tar.gz 8374960 BLAKE2B 84b8cb1bef03d05f9277c6931f1f4596609b35ba4e555b02885a5ad99aa692ac8c7b32c778f18993bba518945816dc9ca2ebdb4818b733fc999c4b717c0c7313 SHA512 fa6c166c5376395e129b2b79653382c7e5bc6fcc4a744063afd92fc4b5e84afc41489543c58c0f65c893d7b3d906d502b520d5cb4401ca4ca49c9526606c9291 DIST nerdctl-0.23.0-vendor.tar.gz 8420534 BLAKE2B 824ea8761a81ed063b853f5a78bd7506f7eecfe6f7b6e3e7d9fbb7113477c32236b59e669821851117b07eb7b5be82cab6b8750ddef59a053535dfa48a65dc77 SHA512 e8431d292a0e8f6db828b3475bb2e918612961b46212e6dcad6b1edadf6fca828c7ff0aeeadbc6e847b8a2d2b0c362f789b6a19ebb6c20922e0f77e46d3df84a +DIST nerdctl-1.0.0-vendor.tar.gz 8189234 BLAKE2B 610cf1cc3b68f110023e4d2c7aea99b33c702e4f11afa39db92e1c1ae3873500a12bb71cbbf547d03eaaa9a2b1c277addebef48759abdcafa85500d0cd382cc6 SHA512 9367dd9339b62c3ef0bea7f9f85040dacd9cffc527f22175ed4337c76a16f8dad554fed4086eeee0c58286a751c061fddd21f119504dbd26ccc46ad3b44d0799 diff --git a/app-containers/nerdctl/nerdctl-1.0.0.ebuild b/app-containers/nerdctl/nerdctl-1.0.0.ebuild new file mode 100644 index 000000000000..bb0db49328aa --- /dev/null +++ b/app-containers/nerdctl/nerdctl-1.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module + +DESCRIPTION="Docker-compatible CLI for containerd, with support for Compose" +HOMEPAGE="https://github.com/containerd/nerdctl" + +EGIT_COMMIT="c00780a1f5b905b09812722459c54936c9e070e6" +# There are too many vendor dependencies to distribute via EGO_SUM (see https://bugs.gentoo.org/721088), +# so they are instead distributed via a combined tarball. +SRC_URI="https://github.com/zmedico/nerdctl/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz" +BDEPEND=">=dev-lang/go-1.16" +LICENSE="Apache-2.0 BSD BSD-2 ISC MIT" +SLOT="0" + +KEYWORDS="~amd64" +IUSE="" +S=${WORKDIR}/${P}-vendor + +src_prepare() { + sed -e 's:/usr/local/bin:/usr/bin:' \ + -e "s|^VERSION[[:space:]]*?=.*|VERSION := v${PV}|" \ + -e "s|^REVISION[[:space:]]*?=.*|REVISION := ${EGIT_COMMIT}|" \ + -i Makefile || die + default +} + +src_install() { + DOCS=(README.md docs examples) + default_src_install +} |