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: Thu, 19 Sep 2019 03:02:32
Message-Id: 1568860568.7a7f7201c4e8200a6c470bab028a7cb7e972b536.zmedico@gentoo
1 commit: 7a7f7201c4e8200a6c470bab028a7cb7e972b536
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 19 02:36:08 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 19 02:36:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a7f7201
7
8 app-emulation/containers-storage: Remove old version 1.12.16
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-emulation/containers-storage/Manifest | 1 -
14 .../containers-storage-1.12.16.ebuild | 110 ---------------------
15 2 files changed, 111 deletions(-)
16
17 diff --git a/app-emulation/containers-storage/Manifest b/app-emulation/containers-storage/Manifest
18 index a11d4ce2e0c..701ffdbae01 100644
19 --- a/app-emulation/containers-storage/Manifest
20 +++ b/app-emulation/containers-storage/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST containers-storage-1.12.16.tar.gz 5970004 BLAKE2B 0e9f473c9315acb22b94c9cd17072659afe2270e05d7c7c595d0563bd4d96420b3ecaaaeaf61ce4a10647e40c7177b7483aadf62ce40237dea10c23cb91bba62 SHA512 17a073bb338547c1e64065a1a0013e083565abeb6aa366989160c90dfb6bd6d306ea25fc938194b607b0cc74918b1ff40b12ea274b3df771e2d848b2bbab2b5c
23 DIST containers-storage-1.13.1.tar.gz 5983556 BLAKE2B 1d0b6aba0464603fb26c45beecdb9b4afe6566dff4698da980ad6f9736a6d810ec41334f181d5709f78bab986e704c965b1967ed591348cd687d9cb92875321d SHA512 9fa686f44dda3d363f7c623abc9baa0911e26eb5e7dbb7bc60da259fe8d52411cb25fb98e2c8db10a5a80ebf04d07af8390acd48d26706f913900b19e58eac9f
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.12.16.ebuild b/app-emulation/containers-storage/containers-storage-1.12.16.ebuild
27 deleted file mode 100644
28 index a472e58367b..00000000000
29 --- a/app-emulation/containers-storage/containers-storage-1.12.16.ebuild
30 +++ /dev/null
31 @@ -1,110 +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"
47 -SLOT="0"
48 -IUSE="btrfs +device-mapper ostree 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 - ostree? (
57 - dev-libs/glib:=
58 - dev-util/ostree:=
59 - )"
60 -DEPEND="${RDEPEND}
61 - dev-go/go-md2man
62 - test? (
63 - sys-fs/btrfs-progs
64 - sys-fs/lvm2
65 - sys-apps/util-linux
66 - )"
67 -RESTRICT="test? ( userpriv ) !test? ( test )"
68 -
69 -src_unpack() {
70 - golang-vcs-snapshot_src_unpack
71 -}
72 -
73 -src_prepare() {
74 - default
75 -
76 - [[ -f ${S}/src/${EGO_PN}/hack/btrfs_tag.sh ]] || die
77 - use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
78 - "${S}/src/${EGO_PN}/hack/btrfs_tag.sh" || die; }
79 -
80 - [[ -f ${S}/src/${EGO_PN}/hack/libdm_tag.sh ]] || die
81 - use device-mapper || { echo -e "#!/bin/sh\necho btrfs_noversion exclude_graphdriver_devicemapper" > \
82 - "${S}/src/${EGO_PN}/hack/libdm_tag.sh" || die; }
83 -
84 - [[ -f ${S}/src/${EGO_PN}/hack/ostree_tag.sh ]] || die
85 - use ostree || { echo -e "#!/bin/sh\ntrue" > \
86 - "${S}/src/${EGO_PN}/hack/ostree_tag.sh" || die; }
87 -
88 - sed -e 's:TestChrootUntarPath(:_\0:' \
89 - -i "${S}/src/${EGO_PN}/pkg/chrootarchive/archive_test.go" || die
90 - sed -e 's:TestTarUntar(:_\0:' \
91 - -e 's:TestTarWithOptionsChownOptsAlwaysOverridesIdPair(:_\0:' \
92 - -e 's:TestTarWithOptions(:_\0:' \
93 - -i "${S}/src/${EGO_PN}/pkg/archive/archive_test.go" || die
94 - sed -e 's:TestTarUntarWithXattr(:_\0:' \
95 - -e 's:TestTarWithBlockCharFifo(:_\0:' \
96 - -i "${S}/src/${EGO_PN}/pkg/archive/archive_unix_test.go" || die
97 - sed -e 's:TestTarUntarWithXattr(:_\0:' \
98 - -i "${S}/src/${EGO_PN}/pkg/archive/archive_test.go" || die
99 - sed -e 's:TestApplyLayer(:_\0:' \
100 - -i "${S}/src/${EGO_PN}/pkg/archive/changes_test.go" || die
101 - sed -e 's:TestApplyLayerInvalidFilenames(:_\0:' \
102 - -e 's:TestApplyLayerInvalidHardlink(:_\0:' \
103 - -e 's:TestApplyLayerInvalidSymlink(:_\0:' \
104 - -e 's:TestApplyLayerWhiteouts(:_\0:' \
105 - -i "${S}/src/${EGO_PN}/pkg/archive/diff_test.go" || die
106 - sed -e 's:TestCopyCaseE(:_\0:' \
107 - -e 's:TestCopyCaseEFSym(:_\0:' \
108 - -e 's:TestCopyCaseG(:_\0:' \
109 - -e 's:TestCopyCaseGFSym(:_\0:' \
110 - -e 's:TestCopyCaseH(:_\0:' \
111 - -e 's:TestCopyCaseHFSym(:_\0:' \
112 - -e 's:TestCopyCaseJ(:_\0:' \
113 - -e 's:TestCopyCaseJFSym(:_\0:' \
114 - -i "${S}/src/${EGO_PN}/pkg/archive/copy_unix_test.go" || die
115 - sed -e 's:TestMount(:_\0:' \
116 - -i "${S}/src/${EGO_PN}/pkg/mount/mounter_linux_test.go" || die
117 -}
118 -
119 -src_compile() {
120 - export -n GOCACHE XDG_CACHE_HOME #678856
121 - mkdir -p "${S}/src/github.com/pquerna" || die
122 - ln -s "${S}/src/${EGO_PN}/vendor/github.com/pquerna/ffjson" "${WORKDIR}/${P}/src/github.com/pquerna/ffjson" || die
123 - mkdir -p "${S}/bin" || die
124 - cd "${S}/bin" || die
125 - GOPATH="${S}" GOBIN="${S}/bin" \
126 - go build -v -work -x ${EGO_BUILD_FLAGS} "${S}/src/github.com/pquerna/ffjson/ffjson.go" || die
127 - GOPATH="${S}" GOBIN="${S}/bin" PATH="${S}/bin:${PATH}" \
128 - emake -C "${S}/src/${EGO_PN}" containers-storage docs
129 -}
130 -
131 -src_install() {
132 - dobin "${S}/src/${EGO_PN}/${PN}"
133 - while read -r -d ''; do
134 - mv "${REPLY}" "${REPLY%.1}" || die
135 - done < <(find "${S}/src/${EGO_PN}/docs" -name '*.[[:digit:]].1' -print0)
136 - find "${S}/src/${EGO_PN}/docs" -name '*.[[:digit:]]' -exec doman '{}' + || die
137 -}
138 -
139 -src_test() {
140 - GOPATH="${S}" unshare -m emake -C "${S}/src/${EGO_PN}" FLAGS="-v -work -x" local-test-unit || die
141 -}