diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-01-15 10:34:43 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-01-15 10:35:09 -0800 |
commit | a4942c1526f8edf9c2103e6f8cb6dd4a84166bee (patch) | |
tree | 2e5fc88901a5bfdaa9ed00603bfe325eb3984675 /app-containers/nerdctl | |
parent | dev-ml/dose3: remove test dependency as RESTRICT (diff) | |
download | gentoo-a4942c1526f8edf9c2103e6f8cb6dd4a84166bee.tar.gz gentoo-a4942c1526f8edf9c2103e6f8cb6dd4a84166bee.tar.bz2 gentoo-a4942c1526f8edf9c2103e6f8cb6dd4a84166bee.zip |
app-containers/nerdctl: Bump to version 0.16.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/Manifest | 1 | ||||
-rw-r--r-- | app-containers/nerdctl/nerdctl-0.16.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/app-containers/nerdctl/Manifest b/app-containers/nerdctl/Manifest index 47a51bf378c3..976598326548 100644 --- a/app-containers/nerdctl/Manifest +++ b/app-containers/nerdctl/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/app-containers/nerdctl/nerdctl-0.16.0.ebuild b/app-containers/nerdctl/nerdctl-0.16.0.ebuild new file mode 100644 index 000000000000..1ec02ed005d2 --- /dev/null +++ b/app-containers/nerdctl/nerdctl-0.16.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="0ddaffd2ce304dd917267470883898feff9463dc" +# 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 +} |