diff options
author | Zac Medico <zmedico@gentoo.org> | 2019-05-28 16:20:59 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-05-28 16:28:34 -0700 |
commit | 6cf3a3869363a413a8e6541c13947880367020d1 (patch) | |
tree | 1e75115cf6a7f852c1c76816363503879e4fc077 /app-emulation/skopeo/skopeo-0.1.36.ebuild | |
parent | toolchain.eclass: add riscv compiler abi configuration (diff) | |
download | gentoo-6cf3a3869363a413a8e6541c13947880367020d1.tar.gz gentoo-6cf3a3869363a413a8e6541c13947880367020d1.tar.bz2 gentoo-6cf3a3869363a413a8e6541c13947880367020d1.zip |
app-emulation/skopeo: version bump to 0.1.36
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation/skopeo/skopeo-0.1.36.ebuild')
-rw-r--r-- | app-emulation/skopeo/skopeo-0.1.36.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-emulation/skopeo/skopeo-0.1.36.ebuild b/app-emulation/skopeo/skopeo-0.1.36.ebuild new file mode 100644 index 000000000000..8ccfaefb099c --- /dev/null +++ b/app-emulation/skopeo/skopeo-0.1.36.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +EGO_PN=github.com/containers/skopeo +COMMIT=41991ba +inherit golang-vcs-snapshot 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" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:= + >=dev-libs/libassuan-2.4.3:= + dev-libs/libgpg-error:= + >=sys-fs/btrfs-progs-4.0.1 + >=sys-fs/lvm2-2.02.145:=" +DEPEND="${COMMON_DEPEND} + dev-go/go-md2man" +RDEPEND="${COMMON_DEPEND}" + +S="${WORKDIR}/${P}/src/${EGO_PN}" + +RESTRICT="test" + +src_compile() { + local BUILDTAGS="containers_image_ostree_stub" + set -- env -u GOCACHE -u XDG_CACHE_HOME GOPATH="${WORKDIR}/${P}" \ + go build -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 +} |