mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-containers/skopeo: add 1.21.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
cd55315c5d
commit
adf8e0fba7
@ -1,2 +1,3 @@
|
|||||||
DIST skopeo-1.18.0.tar.gz 10790607 BLAKE2B ebbd9c481fd9ae03ff853042276037a521a7911ded67006faa1b11d6a70affadce35bdcea67209250cde36196ae87f1206ba654f9a52c7ec833cb25fe6c0af1e SHA512 7d56d78b4e0299c187eb2ea46a2d6ac41a4ad30848e9f5fe43285af74c5207f6fc4ee98c15bd5114de7a660e52846f75c26632ae1aa3ccf656b504798a6b1d56
|
DIST skopeo-1.18.0.tar.gz 10790607 BLAKE2B ebbd9c481fd9ae03ff853042276037a521a7911ded67006faa1b11d6a70affadce35bdcea67209250cde36196ae87f1206ba654f9a52c7ec833cb25fe6c0af1e SHA512 7d56d78b4e0299c187eb2ea46a2d6ac41a4ad30848e9f5fe43285af74c5207f6fc4ee98c15bd5114de7a660e52846f75c26632ae1aa3ccf656b504798a6b1d56
|
||||||
DIST skopeo-1.19.0.tar.gz 10819827 BLAKE2B c413bdc58634e144bcd1ee64afcba5cbd472fb08791c6eb8acb1cc84fdc9a62ef16fcd52123ac3364b1473f2aa285b97007d440b99385f8503120b412294f17c SHA512 2e297a193e8414f0482b06b7e2aaa027c4510963e91e4675c00b8113e58b82abf26943f36a60584dc47fd7f3abd80c452fb9c92f29e1b82d4c329bd422a399ee
|
DIST skopeo-1.19.0.tar.gz 10819827 BLAKE2B c413bdc58634e144bcd1ee64afcba5cbd472fb08791c6eb8acb1cc84fdc9a62ef16fcd52123ac3364b1473f2aa285b97007d440b99385f8503120b412294f17c SHA512 2e297a193e8414f0482b06b7e2aaa027c4510963e91e4675c00b8113e58b82abf26943f36a60584dc47fd7f3abd80c452fb9c92f29e1b82d4c329bd422a399ee
|
||||||
|
DIST skopeo-1.21.0.tar.gz 10187308 BLAKE2B 7a173e99e940c64e27e541575880a13132d0784cf4187e5d5ca871a75a1c71d8cbbe04e8f462a58e9f5e9fafaa610af69db42f28bc2cb6329f21bebd972b7c20 SHA512 2d1bc2e991d11b2060f7d2d4869aa30bb281794c3a5fa8aa6c5e333fc9c0190eb716d1855f6554ab0ee810b93e1638fcfde48e58f1e3e01ac5474c329ac041c7
|
||||||
|
|||||||
62
app-containers/skopeo/skopeo-1.21.0.ebuild
Normal file
62
app-containers/skopeo/skopeo-1.21.0.ebuild
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 2023-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module linux-info
|
||||||
|
|
||||||
|
DESCRIPTION="Work with remote container images registries"
|
||||||
|
HOMEPAGE="https://github.com/containers/skopeo"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/containers/skopeo.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# main
|
||||||
|
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="btrfs rootless"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=app-crypt/gpgme-1.5.5:=
|
||||||
|
dev-db/sqlite:3
|
||||||
|
btrfs? ( >=sys-fs/btrfs-progs-4.0.1 )
|
||||||
|
rootless? ( sys-apps/shadow:= )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
app-containers/containers-common
|
||||||
|
"
|
||||||
|
BDEPEND="dev-go/go-md2man"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use btrfs && CONFIG_CHECK+=" ~BTRFS_FS"
|
||||||
|
linux-info_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
run_make() {
|
||||||
|
local emakeflags=(
|
||||||
|
BTRFS_BUILD_TAG="$(usex btrfs '' 'exclude_graphdriver_btrfs')"
|
||||||
|
CONTAINERSCONFDIR="${EPREFIX}/etc/containers"
|
||||||
|
LIBSUBID_BUILD_TAG="$(usex rootless 'libsubid' '')"
|
||||||
|
PREFIX="${EPREFIX}/usr"
|
||||||
|
)
|
||||||
|
emake "${emakeflags[@]}" "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
run_make all completions
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# The install target in the Makefile tries to rebuild the binary and
|
||||||
|
# installs things that are already installed by containers-common.
|
||||||
|
dobin bin/skopeo
|
||||||
|
einstalldocs
|
||||||
|
doman docs/*.1
|
||||||
|
run_make "DESTDIR=${D}" install-completions
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user