mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-containers/docker-cli: add 29.8.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -11,3 +11,4 @@ DIST docker-cli-29.1.3.tar.gz 7303915 BLAKE2B 3d45206f91f3675171f054f5159ec38034
|
||||
DIST docker-cli-29.5.2.tar.gz 6828313 BLAKE2B c62bf6acd83a6db72dbf3f65be34e0738b38e6ade12ae15c1b1bcc69b648628b85dac523bd876c0f473cd9d12408c738b1728b8e33aab87034a76ec0aec36388 SHA512 3c569dbbcef6e9720a126147175f67297acab9a4ae8dd2af544b48eca70519dfd3c5312bf4ffab777e59a251cfdc5965217b0d3ca4c2eb41117c2e3b465bbb8a
|
||||
DIST docker-cli-29.7.2.tar.gz 6893753 BLAKE2B f744e147e32eeea233398c35b998d1e7f7b17066cd2d9c4d0fe8a2e155ff0445ff90d844181f7758c85fcd87b57e0b9a702449e9fef2131a8d9d04f186081b3f SHA512 0b118d17e205277c15b90e29a2f9bad3b385f59ea3b8d6e32371c103ceadd0fb964e91f3d57f5b87dc0a1b0778afbc41680087e91fdb4c8037abab6b6e222b80
|
||||
DIST docker-cli-29.8.0.tar.gz 7106105 BLAKE2B 8540003d04624191f5cab570b00f993df226614c8444ff198279bd0188efc83bf6225ae0cacd3abf5179786706dde83bcc14fc6b5ef4c025e99b97c98eb87a6d SHA512 75d475d4198fc87085fa1fd881caf18f2fafe0b8483bf3ba4c19f1057ed03f336e7d2f6eeb0c14697c82c0d1b3bf93dadc96a007b9c499e634dd44a8438e132c
|
||||
DIST docker-cli-29.8.1.tar.gz 7117713 BLAKE2B a874c7bbc6c1a6321093a659b3902723a38028fcf9f676ff864c79e5a109942d560e8a4e05427484982140b9e1aa73cea2fb88609f60b83e769b95ef8e8498f4 SHA512 76b6a00a817fffec2263a5089684ac21794642178c5f8706ed0473c5837a2c1efd3af5f26d843cf1807be26140fb3821dbac517ca803f5ce0c571c0579519e2b
|
||||
|
||||
62
app-containers/docker-cli/docker-cli-29.8.1.ebuild
Normal file
62
app-containers/docker-cli/docker-cli-29.8.1.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit shell-completion go-env go-module toolchain-funcs
|
||||
|
||||
# update this on every bump
|
||||
GIT_COMMIT=4a63305d74332de5ceba7fcbccbc3cbb7412f5ba
|
||||
|
||||
DESCRIPTION="the command line binary for docker"
|
||||
HOMEPAGE="https://www.docker.com/"
|
||||
SRC_URI="https://github.com/docker/cli/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="selinux? ( sec-policy/selinux-docker )"
|
||||
BDEPEND="
|
||||
dev-go/go-md2man
|
||||
>=dev-lang/go-1.26.3
|
||||
"
|
||||
|
||||
RESTRICT="installsources strip test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die
|
||||
ln -s vendor.mod go.mod || die
|
||||
ln -s vendor.sum go.sum || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
|
||||
local myemakeargs=(
|
||||
VERSION="${PV}"
|
||||
GITCOMMIT="${GIT_COMMIT}"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" dynbinary
|
||||
CGO_ENABLED=0 tc-env_build go-env_run emake "${myemakeargs[@]}" manpages
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build/docker
|
||||
doman man/man?/*
|
||||
dobashcomp contrib/completion/bash/docker
|
||||
bashcomp_alias docker dockerd
|
||||
dofishcomp contrib/completion/fish/docker.fish
|
||||
dozshcomp contrib/completion/zsh/_*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
has_version "app-containers/docker-buildx" && return
|
||||
ewarn "the 'docker build' command is deprecated and will be removed in a"
|
||||
ewarn "future release. If you need this functionality, install"
|
||||
ewarn "app-containers/docker-buildx."
|
||||
}
|
||||
Reference in New Issue
Block a user