diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-12-11 20:40:47 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-12-11 20:41:04 -0800 |
commit | bcdb31200a72410d168d1b587eb9dc8cc821d585 (patch) | |
tree | ab2a6b446ef38b1629903f5c7c81d05d95d0bd46 /app-containers | |
parent | x11-drivers/nvidia-drivers: bump NV_KERNEL_MAX to 6.1 (diff) | |
download | gentoo-bcdb31200a72410d168d1b587eb9dc8cc821d585.tar.gz gentoo-bcdb31200a72410d168d1b587eb9dc8cc821d585.tar.bz2 gentoo-bcdb31200a72410d168d1b587eb9dc8cc821d585.zip |
app-containers/nerdctl: add 1.1.0
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r-- | app-containers/nerdctl/Manifest | 1 | ||||
-rw-r--r-- | app-containers/nerdctl/nerdctl-1.1.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest index 5e80309c1a73..c8e1f0b981f5 100644 --- a/app-containers/nerdctl/Manifest +++ b/app-containers/nerdctl/Manifest @@ -1,3 +1,4 @@ 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 +DIST nerdctl-1.1.0-vendor.tar.gz 8022993 BLAKE2B 7fe1f1337255aaac39137a7081141ace4fa762e1dda683370843320dfc6549129aaf998737684c60067f7d0765bcd143b6598c7e43b247aeb9da5bf4ba027fd9 SHA512 382382abae0cd07afcf525bce3d424461dcd3c19086bf8f2847ca43ca17db218bc99afdbe36953fd9eb63689f68484c82973dffe087dc8bf9f963d6a6122bfff diff --git a/app-containers/nerdctl/nerdctl-1.1.0.ebuild b/app-containers/nerdctl/nerdctl-1.1.0.ebuild new file mode 100644 index 000000000000..e80c5adc1190 --- /dev/null +++ b/app-containers/nerdctl/nerdctl-1.1.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="18944bc70784dfa83010d37054d75487a58ab581" +# 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 +} |