mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-containers/nerdctl: add 2.0.3
Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
parent
c9fcb5147e
commit
a90cc82b9c
@ -1,2 +1,4 @@
|
||||
DIST nerdctl-2.0.2-go-mod-vendor.tar.gz 7348723 BLAKE2B 8f9b96193b45f2006ffaa205f2c265462ed759652163272e31ecbef76f6752adb2288a843902faa27b42e5d2215e44521101d7017e3a4c6cb78660e288c27fb6 SHA512 a8b587b502dfacc14bef9d70e7233c53561ce39ea3612794086951c022daba445e2a4d429f3f40686e9c55deaac05848f4e6646f59f1df166dc5efb61ec75a67
|
||||
DIST nerdctl-2.0.2.tar.gz 1328952 BLAKE2B 4ffa3cdf3e6c2ec2ee2ece0c214b3219f3a068c9d34cf17eff12660421219470b1309f701bcfadea6623e3a7693f9f2cf0c732f882e97866d6e75945176ce5a5 SHA512 bab4358279ba8edf119062b494bf1b393e22c8ee483aa16d502e6656ed56a9775e024bc1c30cbdc2185840fbb7d8a8d7da7e30a0f1905b5a436024472619d2c3
|
||||
DIST nerdctl-2.0.3-go-mod-vendor.tar.gz 7404790 BLAKE2B 5b28dc9b154d9709764941b000fa09ca83acd567db1d6ffce17e950fa095336bc7132ae8695af7fe12385c1b53c6d9571b04579bb9557e8c5ea943c6f31d0ba5 SHA512 bc0b09f8d132ffb7c9d497561a40ed83196f4c7c10135f85430f1a5c4684854976a27067ee8d64b0f73e3b482064d49e44c3724aee4c22f4d85049a26b2eb660
|
||||
DIST nerdctl-2.0.3.tar.gz 1345686 BLAKE2B bd9b2e1979931de5882d64fa51c094a532023f8c7be1f9b397dbb998d6bf428a6b9839d3682ce66ddddb8887e432027f8704d97e06ead2f4d870ef8e2cd9b1a9 SHA512 32467f3b75e443104d7b49c40bb27df72080ae6c40c9c085968b8f8e3d839095f2047c4fd1cff540bcb785639b79a0874f9a50a5af9feb2a690a7c22621ab98d
|
||||
|
||||
53
app-containers/nerdctl/nerdctl-2.0.3.ebuild
Normal file
53
app-containers/nerdctl/nerdctl-2.0.3.ebuild
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
EGIT_COMMIT="1220ce7ec2701d485a9b1beeea63dae3da134fb5"
|
||||
|
||||
DESCRIPTION="Docker-compatible CLI for containerd, with support for Compose"
|
||||
HOMEPAGE="https://github.com/containerd/nerdctl"
|
||||
SRC_URI="
|
||||
https://github.com/containerd/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/containerd/${PN}/releases/download/v${PV}/${P}-go-mod-vendor.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
LICENSE+=" BSD BSD-2 ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="rootless"
|
||||
|
||||
DEPEND="
|
||||
rootless? (
|
||||
app-containers/slirp4netns
|
||||
sys-apps/rootlesskit
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack "${P}.tar.gz"
|
||||
cd "${S}"
|
||||
unpack "${P}-go-mod-vendor.tar.gz"
|
||||
mv home/runner/work/nerdctl/nerdctl/vendor . || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERSION=v${PV} REVISION="${EGIT_COMMIT}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local emake_args=(
|
||||
DESTDIR="${D}"
|
||||
VERSION=v${PV}
|
||||
REVISION="${EGIT_COMMIT}"
|
||||
DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||
PREFIX="${EPREFIX}/usr"
|
||||
)
|
||||
emake "${emake_args[@]}" install
|
||||
local DOCS=( README.md docs/* examples )
|
||||
einstalldocs
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user