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, 06 Jun 2019 19:28:59
Message-Id: 1559849328.0f4034ac72caa56e8a19d7902d18dbe865ef9d70.zmedico@gentoo
1 commit: 0f4034ac72caa56e8a19d7902d18dbe865ef9d70
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 6 19:28:15 2019 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 6 19:28:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f4034ac
7
8 app-emulation/containers-storage: remove old version 1.12.7
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.14
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 app-emulation/containers-storage/Manifest | 1 -
14 .../containers-storage-1.12.7.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 4011e09164e..89e7a21a47e 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.7.tar.gz 1562420 BLAKE2B 84b8f5a329aa191eb07bfab9e4b547e1a48cf5ff30b389f4b8f5aea702e5536cd420aeffb93cc0d15dcd33f3f0d1779f19fdfe2363b027ba3bb8e4776f411a78 SHA512 c0dc5aa32c3d439427ccd1721dd9d0b3119cd15b1cf65dc8079714a0df38e961084d090bb9cedd98a0e33c4d530ce898d885447974a86e024ec721d4f2900f34
23 DIST containers-storage-1.12.8.tar.gz 1591018 BLAKE2B cbcc46e86d6c00badfa3e9d5988757fca969fb1b61f6cd0f81cf257c6feac6deefbdad8534fd99e52842efcfd5099ca0d7e27966b0eb16f699e6c1c06e90c683 SHA512 2badef5ccd7292c77ad5de70403c6d343c3a19a81c0e7c22539eb939b5a3ea59447176d5d3d99e34e9877a11b3608268f8951bc74378be99c074ba2a31f27fdb
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.7.ebuild b/app-emulation/containers-storage/containers-storage-1.12.7.ebuild
27 deleted file mode 100644
28 index 312d2cda060..00000000000
29 --- a/app-emulation/containers-storage/containers-storage-1.12.7.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 btrfs_noversion 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 -}