summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-02-05 09:21:30 -0800
committerZac Medico <zmedico@gentoo.org>2022-02-05 09:21:30 -0800
commit5977b94f54fed3710da70547c3b4c138b4ee2d1c (patch)
tree7d7a3e7698b709965ba89a541a426009a2a76b15 /app-containers/nerdctl
parentdev-db/rqlite: Bump to version 7.3.0 (diff)
downloadgentoo-5977b94f54fed3710da70547c3b4c138b4ee2d1c.tar.gz
gentoo-5977b94f54fed3710da70547c3b4c138b4ee2d1c.tar.bz2
gentoo-5977b94f54fed3710da70547c3b4c138b4ee2d1c.zip
app-containers/nerdctl: Bump to version 0.16.1
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.16.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest
index 976598326548..4afa12ae6225 100644
--- a/app-containers/nerdctl/Manifest
+++ b/app-containers/nerdctl/Manifest
@@ -1,3 +1,4 @@
DIST nerdctl-0.14.0-vendor.tar.gz 8166023 BLAKE2B 9aeeceb8b35244723a618814dd0b53ab380b31f15985754df41d5515ebfb00e5d5465e5ad0bd43b543683e0146d1114d2cb0dd95c7e011ca5974250ded296f7c SHA512 f63cecb655292cb8b0e734831834dd0134e6693ec517aeaa3d9accedcb35768115efa82b9133d20e34cbffbd78d043ec680a7fa4c838d5f4999fd8a50272d377
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
diff --git a/app-containers/nerdctl/nerdctl-0.16.1.ebuild b/app-containers/nerdctl/nerdctl-0.16.1.ebuild
new file mode 100644
index 000000000000..591a4594f02d
--- /dev/null
+++ b/app-containers/nerdctl/nerdctl-0.16.1.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="aecb998ba4d1c037d61eb5b82db4de952edfce16"
+# 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
+}