Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/containers-storage/
Date: Tue, 26 Nov 2019 03:15:51
Message-Id: 1574738141.cd0a516aaa24ff2ae1bce76380d23b4bd0e979ab.zmedico@gentoo
1 commit: cd0a516aaa24ff2ae1bce76380d23b4bd0e979ab
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 26 03:14:17 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 26 03:15:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0a516a
7
8 app-emulation/containers-storage: remove old version 1.13.5
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.18
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-emulation/containers-storage/Manifest | 2 -
14 .../containers-storage-1.13.5.ebuild | 102 ---------------------
15 2 files changed, 104 deletions(-)
16
17 diff --git a/app-emulation/containers-storage/Manifest b/app-emulation/containers-storage/Manifest
18 index bae0fe2b31e..d7414a33140 100644
19 --- a/app-emulation/containers-storage/Manifest
20 +++ b/app-emulation/containers-storage/Manifest
21 @@ -1,3 +1 @@
22 -DIST containers-storage-1.13.5.tar.gz 5968281 BLAKE2B 9690ebc87ce32a82b7560d594e192e0ad4dc9e8885797593d8c9699c13b9ddf0814773bce081edafe3050aba5d2bc470855c0717874c091b1468d52f7ad08658 SHA512 7f9f65e3141b7843a42389c78b3fbcc55a205eb661968f85942ccc2751fa6eb3fdf1199e8d244264d1b8f392e290a1770f93d5a8fd58de98f9d9a277aa39155f
23 DIST containers-storage-1.14.0.tar.gz 5969311 BLAKE2B 7a7a7cb02b0dde590a633f14c0f17ed9b020c352857914b142efe3b47202c94869828b442fe703ad796c6c16a4f7321bc0832ddcc2a588bcc10c25af4bddc75e SHA512 95f8804808e2603cbca0ada584c2057832d6d7a0e83cc59defea27e8a825c4db1bb1e604311d81421341e2cb324d2f1833e6498f05e71d22d86414e5206ac748
24 -DIST github.com-pquerna-ffjson-e517b90714f7c0eabe6d2e570a5886ae077d6db6.tar.gz 103470 BLAKE2B 81f0f6ea6648997cb61723d09d456802e60a3d1eb35134c4bbc8af5943b955b1402fe2b3f8d0d4d2d0293ab256a9be66d53262d5f79ca00bf8c18ded39dc44f4 SHA512 fadca5a7bd0c0578b23281720a08c505054f3497daeee8efa36b5acafa4118feb4b8a96c4acb4c279d72ebcd50846307cfbb846a355b62f350c961f9102c93a6
25
26 diff --git a/app-emulation/containers-storage/containers-storage-1.13.5.ebuild b/app-emulation/containers-storage/containers-storage-1.13.5.ebuild
27 deleted file mode 100644
28 index abe57aef3e0..00000000000
29 --- a/app-emulation/containers-storage/containers-storage-1.13.5.ebuild
30 +++ /dev/null
31 @@ -1,102 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -EGO_VENDOR=(
38 - "github.com/pquerna/ffjson e517b90714f7c0eabe6d2e570a5886ae077d6db6"
39 -)
40 -
41 -inherit golang-vcs-snapshot
42 -
43 -KEYWORDS="~amd64"
44 -DESCRIPTION="containers/storage library"
45 -HOMEPAGE="https://github.com/containers/storage"
46 -LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
47 -SLOT="0"
48 -IUSE="btrfs +device-mapper test"
49 -EGO_PN="${HOMEPAGE#*//}"
50 -EGIT_COMMIT="v${PV}"
51 -SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
52 - ${EGO_VENDOR_URI}"
53 -RDEPEND="
54 - btrfs? ( sys-fs/btrfs-progs )
55 - device-mapper? ( sys-fs/lvm2:= )"
56 -DEPEND="${RDEPEND}
57 - dev-go/go-md2man
58 - test? (
59 - sys-fs/btrfs-progs
60 - sys-fs/lvm2
61 - sys-apps/util-linux
62 - )"
63 -RESTRICT="test? ( userpriv ) !test? ( test )"
64 -
65 -src_unpack() {
66 - golang-vcs-snapshot_src_unpack
67 -}
68 -
69 -src_prepare() {
70 - default
71 -
72 - [[ -f ${S}/src/${EGO_PN}/hack/btrfs_tag.sh ]] || die
73 - use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
74 - "${S}/src/${EGO_PN}/hack/btrfs_tag.sh" || die; }
75 -
76 - [[ -f ${S}/src/${EGO_PN}/hack/libdm_tag.sh ]] || die
77 - use device-mapper || { echo -e "#!/bin/sh\necho btrfs_noversion exclude_graphdriver_devicemapper" > \
78 - "${S}/src/${EGO_PN}/hack/libdm_tag.sh" || die; }
79 -
80 - sed -e 's:TestChrootUntarPath(:_\0:' \
81 - -i "${S}/src/${EGO_PN}/pkg/chrootarchive/archive_test.go" || die
82 - sed -e 's:TestTarUntar(:_\0:' \
83 - -e 's:TestTarWithOptionsChownOptsAlwaysOverridesIdPair(:_\0:' \
84 - -e 's:TestTarWithOptions(:_\0:' \
85 - -i "${S}/src/${EGO_PN}/pkg/archive/archive_test.go" || die
86 - sed -e 's:TestTarUntarWithXattr(:_\0:' \
87 - -e 's:TestTarWithBlockCharFifo(:_\0:' \
88 - -i "${S}/src/${EGO_PN}/pkg/archive/archive_unix_test.go" || die
89 - sed -e 's:TestTarUntarWithXattr(:_\0:' \
90 - -i "${S}/src/${EGO_PN}/pkg/archive/archive_test.go" || die
91 - sed -e 's:TestApplyLayer(:_\0:' \
92 - -i "${S}/src/${EGO_PN}/pkg/archive/changes_test.go" || die
93 - sed -e 's:TestApplyLayerInvalidFilenames(:_\0:' \
94 - -e 's:TestApplyLayerInvalidHardlink(:_\0:' \
95 - -e 's:TestApplyLayerInvalidSymlink(:_\0:' \
96 - -e 's:TestApplyLayerWhiteouts(:_\0:' \
97 - -i "${S}/src/${EGO_PN}/pkg/archive/diff_test.go" || die
98 - sed -e 's:TestCopyCaseE(:_\0:' \
99 - -e 's:TestCopyCaseEFSym(:_\0:' \
100 - -e 's:TestCopyCaseG(:_\0:' \
101 - -e 's:TestCopyCaseGFSym(:_\0:' \
102 - -e 's:TestCopyCaseH(:_\0:' \
103 - -e 's:TestCopyCaseHFSym(:_\0:' \
104 - -e 's:TestCopyCaseJ(:_\0:' \
105 - -e 's:TestCopyCaseJFSym(:_\0:' \
106 - -i "${S}/src/${EGO_PN}/pkg/archive/copy_unix_test.go" || die
107 - sed -e 's:TestMount(:_\0:' \
108 - -i "${S}/src/${EGO_PN}/pkg/mount/mounter_linux_test.go" || die
109 -}
110 -
111 -src_compile() {
112 - export -n GOCACHE XDG_CACHE_HOME #678856
113 - mkdir -p "${S}/src/github.com/pquerna" || die
114 - ln -s "${S}/src/${EGO_PN}/vendor/github.com/pquerna/ffjson" "${WORKDIR}/${P}/src/github.com/pquerna/ffjson" || die
115 - mkdir -p "${S}/bin" || die
116 - cd "${S}/bin" || die
117 - GOPATH="${S}" GOBIN="${S}/bin" \
118 - go build -v -work -x ${EGO_BUILD_FLAGS} "${S}/src/github.com/pquerna/ffjson/ffjson.go" || die
119 - GOPATH="${S}" GOBIN="${S}/bin" PATH="${S}/bin:${PATH}" \
120 - emake -C "${S}/src/${EGO_PN}" containers-storage docs
121 -}
122 -
123 -src_install() {
124 - dobin "${S}/src/${EGO_PN}/${PN}"
125 - while read -r -d ''; do
126 - mv "${REPLY}" "${REPLY%.1}" || die
127 - done < <(find "${S}/src/${EGO_PN}/docs" -name '*.[[:digit:]].1' -print0)
128 - find "${S}/src/${EGO_PN}/docs" -name '*.[[:digit:]]' -exec doman '{}' + || die
129 -}
130 -
131 -src_test() {
132 - GOPATH="${S}" unshare -m emake -C "${S}/src/${EGO_PN}" FLAGS="-v -work -x" local-test-unit || die
133 -}