Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/skopeo/
Date: Thu, 10 Jan 2019 14:30:26
Message-Id: 1547130592.286d9a91e87e505e9e92a1682028fbc2b8f0ebc6.mrueg@gentoo
1 commit: 286d9a91e87e505e9e92a1682028fbc2b8f0ebc6
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 10 14:26:57 2019 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 10 14:29:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=286d9a91
7
8 app-emulation/skopeo: Version bump to 0.1.34
9
10 Package-Manager: Portage-2.3.54, Repoman-2.3.12
11 Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
12
13 app-emulation/skopeo/Manifest | 1 +
14 app-emulation/skopeo/skopeo-0.1.34.ebuild | 54 +++++++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/app-emulation/skopeo/Manifest b/app-emulation/skopeo/Manifest
18 index 15db4eee6ba..176a7973b74 100644
19 --- a/app-emulation/skopeo/Manifest
20 +++ b/app-emulation/skopeo/Manifest
21 @@ -2,3 +2,4 @@ DIST skopeo-0.1.22.tar.gz 1921286 BLAKE2B 141f78d14cb47494af9e55541eeaa973c9e206
22 DIST skopeo-0.1.30.tar.gz 2700275 BLAKE2B d80125e1be32f3b490f5d66caa5b1bd482dc2203d0c37824bd40d06e240c347468f9635623344e6f9badd9dbbeed59383d5ec8ad81a9b8e01284bc48114470f6 SHA512 05ea7c54f1de7ab9676903a973c8039520fa023f295c705e600d01520c0f300d255268e41b9c716dc4a1f01e951d9b73acf24d5a1bc891f694798a3eb085f061
23 DIST skopeo-0.1.31.tar.gz 2886364 BLAKE2B 9ef9eb4fdd722216f15e14de6702aa0dfe3331b83acb803221b8f76a36428749b6bc302cb3ea2772dd42aefc336a80ad823cfcda9fc054a01f672cf7464592a1 SHA512 660856d962310f0274f3c2507a9a5cbfd8ceb205a3d2fdf30ebde856602151917492082356f6031e5d041ce02e53e562e83cba58259cdc456363f7af56b2507b
24 DIST skopeo-0.1.32.tar.gz 4366298 BLAKE2B b358cb197475d693fa47cdfda738a78f70c9f59c5e3e61e55f3be21ea137640de2e9c61eb6437faca9a8f0e8dd6dda673e1cd645922a23533e6101eb326ef789 SHA512 c52eeee85aa01448c9742d4e415e3ce6f2e0ef4e26a55758202baecb573ad8e3efb94c762d4c303fb21b896998b32e19f919a7382dfd6b17df2a96d66d07267b
25 +DIST skopeo-0.1.34.tar.gz 2859957 BLAKE2B f36062374b2afa7363a02d6410bd35bbf5ccd0599eea7eb6d68b769e9fbf492dc7843dbd184fccc742250fcd3e573e33bd5454971730bcec2151a52a32b81680 SHA512 3ba99fcbff9f46fa1a4226bfc54961cf640150e0e0ac6b3457e862ef94991fa05a7bd609cbf8c87a0424df6942653fb5492a3893fa5282242c4df6913c4312a2
26
27 diff --git a/app-emulation/skopeo/skopeo-0.1.34.ebuild b/app-emulation/skopeo/skopeo-0.1.34.ebuild
28 new file mode 100644
29 index 00000000000..2b442d04653
30 --- /dev/null
31 +++ b/app-emulation/skopeo/skopeo-0.1.34.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +EGO_PN=github.com/containers/skopeo
38 +COMMIT=e96a9b0
39 +inherit golang-vcs-snapshot bash-completion-r1
40 +
41 +DESCRIPTION="Command line utility foroperations on container images and image repositories"
42 +HOMEPAGE="https://github.com/containers/skopeo"
43 +SRC_URI="https://github.com/containers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE=""
49 +
50 +COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:=
51 + >=dev-libs/libassuan-2.4.3
52 + >=sys-fs/btrfs-progs-4.0.1
53 + >=sys-fs/lvm2-2.02.145"
54 +DEPEND="${COMMON_DEPEND}
55 + dev-go/go-md2man"
56 +RDEPEND="${COMMON_DEPEND}"
57 +
58 +S="${WORKDIR}/${P}/src/${EGO_PN}"
59 +
60 +RESTRICT="test"
61 +
62 +src_compile() {
63 + local BUILDTAGS="containers_image_ostree_stub"
64 + set -- env GOPATH="${WORKDIR}/${P}" \
65 + go build -ldflags "-X main.gitCommit=${COMMIT}" \
66 + -gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \
67 + -o skopeo ./cmd/skopeo
68 + echo "$@"
69 + "$@" || die
70 + cd docs || die
71 + for f in *.1.md; do
72 + go-md2man -in ${f} -out ${f%%.md} || die
73 + done
74 +}
75 +
76 +src_install() {
77 + dobin skopeo
78 + doman docs/*.1
79 + dobashcomp completions/bash/skopeo
80 + insinto /etc/containers
81 + newins default-policy.json policy.json
82 + insinto /etc/containers/registries.d
83 + doins default.yaml
84 + keepdir /var/lib/atomic/sigstore
85 + einstalldocs
86 +}