summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-02-18 11:04:49 -0800
committerZac Medico <zmedico@gentoo.org>2022-02-18 11:06:19 -0800
commit3ac5d9e320de81acb4c644fb8e7a3f4821c02a15 (patch)
tree06f7aab28fc1a5e7465f820177506c60f1408c38 /app-containers/nerdctl
parentapp-containers/buildah: Bump to version 1.24.2 (diff)
downloadgentoo-3ac5d9e320de81acb4c644fb8e7a3f4821c02a15.tar.gz
gentoo-3ac5d9e320de81acb4c644fb8e7a3f4821c02a15.tar.bz2
gentoo-3ac5d9e320de81acb4c644fb8e7a3f4821c02a15.zip
app-containers/nerdctl: Bump to version 0.17.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-containers/nerdctl')
-rw-r--r--app-containers/nerdctl/Manifest1
-rw-r--r--app-containers/nerdctl/nerdctl-0.17.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest
index 4afa12ae6225..2a4ddbd4db5c 100644
--- a/app-containers/nerdctl/Manifest
+++ b/app-containers/nerdctl/Manifest
@@ -2,3 +2,4 @@ DIST nerdctl-0.14.0-vendor.tar.gz 8166023 BLAKE2B 9aeeceb8b35244723a618814dd0b53
DIST nerdctl-0.15.0-vendor.tar.gz 8310858 BLAKE2B 2406d87e3f1ee17b501308cee4a662ce79d1a49510ab1b023a6e52d537feb8fe79e9a9eacb25a1dcdf019db206467f67bf6a95e3a2ba03c07ad658cb0757394c SHA512 65494af911382086e57eab669280cc377670ce1472a2a7aef74e437a7d70d3e811a858cba1a4e154397709531523c13f3840f286334c6df367ae8f9ba47a9976
DIST nerdctl-0.16.0-vendor.tar.gz 7871495 BLAKE2B 048c5070cec7d8dd6260738b427c461fce5144d2a1c569b4872771d43682860d6406cf7768ea1261499d4dc768269fa2af017ce969a1698c12699e82cd968b47 SHA512 9cb782e7fec46dd1c939d7bc9c417437899c22579159439c82f4b8fa5b7d4a993da679aa9130a5ee24e190fa0030ba73ead87c3e7971791b3e9a7437ab77c95d
DIST nerdctl-0.16.1-vendor.tar.gz 7749772 BLAKE2B aca9191a3119b43001fe5aeaba29650bbffdf1af0ddbad5ed7b251592427da46fbe5342338fbe716c77b6890585cfbebf0ff35e11dbe2cb412348282fb8727f8 SHA512 55d6bc64c5f292ad7305ebfc0cc47224663980066931e6fad6fec2fb9fc2fe5cb95e19a80b3cfe22129e6511c17ba52b4e594f2dcbffd2cb3fdfd92034ad89db
+DIST nerdctl-0.17.0-vendor.tar.gz 7762722 BLAKE2B ea2254e58c58844df037117f17fb23a87939715499d948e9b8fb29ebdda40d90594cb13988187c24e13fd5ea8aaf3694546c4ab0454f649cc4456037ec37865d SHA512 40f6925c44764ca0e1107ce4fcace5a5971c43b1fb459e858db4c16c4f4fd992e9e1bb901f5e16f830de5c0bd32322d57960d472a067fc43bb6c9c76eac087d7
diff --git a/app-containers/nerdctl/nerdctl-0.17.0.ebuild b/app-containers/nerdctl/nerdctl-0.17.0.ebuild
new file mode 100644
index 000000000000..32f76c05adfc
--- /dev/null
+++ b/app-containers/nerdctl/nerdctl-0.17.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="9ec475aeb69209b9b2a3811aee0923e2eafd1644"
+# 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
+}