diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-06-14 10:43:30 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-06-14 10:43:30 -0700 |
commit | 779759573696a2d0ec5ec26157b1e41f637ce020 (patch) | |
tree | fdaafc1417490358f427a4cac15ce48c0f9f690a /app-emulation | |
parent | app-emulation/buildah: Remove old versions (diff) | |
download | gentoo-779759573696a2d0ec5ec26157b1e41f637ce020.tar.gz gentoo-779759573696a2d0ec5ec26157b1e41f637ce020.tar.bz2 gentoo-779759573696a2d0ec5ec26157b1e41f637ce020.zip |
app-emulation/skopeo: Bump to version 1.3.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/skopeo/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/skopeo/skopeo-1.3.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-emulation/skopeo/Manifest b/app-emulation/skopeo/Manifest index 4bb4f7d6b7c3..726b5dffb9db 100644 --- a/app-emulation/skopeo/Manifest +++ b/app-emulation/skopeo/Manifest @@ -2,3 +2,4 @@ DIST skopeo-0.1.41.tar.gz 4692408 BLAKE2B d5e99be0cb478065f1478beda355abc11c8f13 DIST skopeo-0.2.0.tar.gz 4295805 BLAKE2B 4ad13ff49bec56f3766e8d94f80fe8e22edb011b8862fb1249882e5695fa9260a6e2ce3d8345411ee7717cb92d4c1516268678f0884a62b02bfc8c9a554367ee SHA512 89d416110561dbe967860f752db607634a37b12adc376736de48264ec064abfed6b3db9ae195ffb3e9616dd6d65528660a23f2a5145d4674ed47cf443f17295a DIST skopeo-1.1.0.tar.gz 4516471 BLAKE2B 665acc925cd4f0a97919bbc03db37ca9b5636d110e4780b5053c4a2773b4e524dd879870262f1760aee7413f52c7614cc4adcd56f20881cfe20b2c9a3af09dc3 SHA512 84ce9d786a471cf7d2551ae884801255b0fe501a21d3d2bbbfe0bb9e9c771105b00cdcfc1bef2cee5bd5ce55d0fd30be49c87c09361be47854dbb5e8e20e13a5 DIST skopeo-1.1.1.tar.gz 4622784 BLAKE2B 3f72a812409a48d960fe36028355cf7128dabbb466bbb20aae9d8dda81a35e018e5a3cf4d430beaf8834f5355d6293a01b7702e88713557afb58216bffd9f3e5 SHA512 7d38179d550a1461f58d2d590d69ea8445d2c1d399a7cf39fcbcf6aab64da056c6de0f772f28eb60aec04c379d2cf27cbc5678546005ea6c1e8c20b7fe5b8676 +DIST skopeo-1.3.0.tar.gz 5593261 BLAKE2B b26e39d821e63b31a1cbd23bf7b836fbe3185f45ad086c8d0f427309590dbaf196fe09af9aca4aae10c30423c3828375ffe6c95c9c9fb1dea739404e98d8554e SHA512 5b6e96fff4670d8dcbc787cd5a568112337a111e7c44111226fa5684edffa880a1d632660238c55b6193ba26496697dd7e38d7d015cdfd61ce5efb119f0e12eb diff --git a/app-emulation/skopeo/skopeo-1.3.0.ebuild b/app-emulation/skopeo/skopeo-1.3.0.ebuild new file mode 100644 index 000000000000..b18397b2e83c --- /dev/null +++ b/app-emulation/skopeo/skopeo-1.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +COMMIT=c35944bec010fe9b534881aca153ef5964f5a010 +inherit go-module bash-completion-r1 + +DESCRIPTION="Command line utility foroperations on container images and image repositories" +HOMEPAGE="https://github.com/containers/skopeo" +SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="btrfs" + +COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= + >=dev-libs/libassuan-2.4.3:= + dev-libs/libgpg-error:= + btrfs? ( >=sys-fs/btrfs-progs-4.0.1 ) + >=sys-fs/lvm2-2.02.145:=" +DEPEND="${COMMON_DEPEND} + dev-go/go-md2man" +RDEPEND="${COMMON_DEPEND}" + +RESTRICT="test" + +src_compile() { + local BUILDTAGS + BUILDTAGS="containers_image_ostree_stub $(usex btrfs "" exclude_graphdriver_btrfs)" + set -- go build -mod=vendor -ldflags "-X main.gitCommit=${COMMIT}" \ + -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \ + -o skopeo ./cmd/skopeo + echo "$@" + "$@" || die + cd docs || die + for f in *.1.md; do + go-md2man -in ${f} -out ${f%%.md} || die + done +} + +src_install() { + dobin skopeo + doman docs/*.1 + dobashcomp completions/bash/skopeo + insinto /etc/containers + newins default-policy.json policy.json + insinto /etc/containers/registries.d + doins default.yaml + keepdir /var/lib/atomic/sigstore + einstalldocs +} |