summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-03-04 16:17:30 -0800
committerZac Medico <zmedico@gentoo.org>2022-03-04 16:17:30 -0800
commit01c0d12c7ea6b8bff6e196c7b0177d0126dc62b1 (patch)
tree8e1ba4b1d40805277c6c60d1b00d4bd45f39079c /app-containers/nerdctl
parentapp-misc/jp: go mod tidy (diff)
downloadgentoo-01c0d12c7ea6b8bff6e196c7b0177d0126dc62b1.tar.gz
gentoo-01c0d12c7ea6b8bff6e196c7b0177d0126dc62b1.tar.bz2
gentoo-01c0d12c7ea6b8bff6e196c7b0177d0126dc62b1.zip
app-containers/nerdctl: Bump to version 0.17.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.17.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest
index 2a4ddbd4db5c..d622c4f9ac8d 100644
--- a/app-containers/nerdctl/Manifest
+++ b/app-containers/nerdctl/Manifest
@@ -3,3 +3,4 @@ DIST nerdctl-0.15.0-vendor.tar.gz 8310858 BLAKE2B 2406d87e3f1ee17b501308cee4a662
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
+DIST nerdctl-0.17.1-vendor.tar.gz 7762770 BLAKE2B 399a99047cb3a3ab31806529e2502f3446e3df717950f1db05d8a449e5c931719717a35e420791232b19338c9d81c8443f0cd2520c38509aedbbaddc8b6d2893 SHA512 ec2967abee1ff44dcd44dd21d079a9d1e9bb254d0a5b150f57a2668cdd26e7f6dd5de99bc1fff3a94b4fb1c4546785e78245ed4e4e5f026b81b909f8dbf318c6
diff --git a/app-containers/nerdctl/nerdctl-0.17.1.ebuild b/app-containers/nerdctl/nerdctl-0.17.1.ebuild
new file mode 100644
index 000000000000..cfcad48ce82f
--- /dev/null
+++ b/app-containers/nerdctl/nerdctl-0.17.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="20233c26d26f11ca73a9a775fba87ca884ab14d2"
+# 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
+}