Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/cadvisor/files/, app-emulation/cadvisor/
Date: Sat, 09 May 2020 19:59:42
Message-Id: 1589054301.74768a0b6aed63b761ae00e3784b724088105b18.williamh@gentoo
1 commit: 74768a0b6aed63b761ae00e3784b724088105b18
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 9 19:57:30 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sat May 9 19:58:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74768a0b
7
8 app-emulation/cadvisor: remove old
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 app-emulation/cadvisor/Manifest | 2 --
13 app-emulation/cadvisor/cadvisor-0.34.0.ebuild | 44 ---------------------------
14 app-emulation/cadvisor/cadvisor-0.35.0.ebuild | 42 -------------------------
15 app-emulation/cadvisor/files/cadvisor.initd | 18 -----------
16 4 files changed, 106 deletions(-)
17
18 diff --git a/app-emulation/cadvisor/Manifest b/app-emulation/cadvisor/Manifest
19 index 31b812781d8..c86bf301824 100644
20 --- a/app-emulation/cadvisor/Manifest
21 +++ b/app-emulation/cadvisor/Manifest
22 @@ -1,6 +1,4 @@
23 DIST bazil.org%2Ffuse%2F@v%2Fv0.0.0-20160811212531-371fbbdaa898.mod 22 BLAKE2B c2b56c0b043a2c0225c3b4142f179a2d2e4938dad64b95c8662a6d641e69a455b50ed79c66a3bcc10982792d3b7742ac96a2d74eefa7fec40a7c3146e5c949cd SHA512 7b3ef87f98485bb9ec325680f57d43a9bd76e90bdcfb1e798458f28f7d3addf91dbb6a07b654749468860981413ad2267df2d5f3535c85579e9f79d9328d355c
24 -DIST cadvisor-0.34.0.tar.gz 5210189 BLAKE2B 48cf7ddc94e52f07a0e74868d00f4a45d45aa5233b518da46762743357c17cbe7f2971794deda9936a10c65724928a219c498bf6d2493266f5b0ea547d485cb6 SHA512 accb41afd4683413b846f9380229bfa54c88b3141be68492963444928e40e14fc28da3ce27b09746e29c4dfe6323cd6bea69181826367e830f284d6ab698c633
25 -DIST cadvisor-0.35.0.tar.gz 5268930 BLAKE2B 065619ee459062bb521e855ccfd576afe236863bdc203b65e53a7eb6aec7172b6b9bb1d4183667ed36c471becb09fd974d1e4f809cf614f4d0d03ea3b87c2f63 SHA512 9fdae170fd167e0b1a2b69112ff2ec081640a144490c04e364536cae71a90e2c2845857f35af81ec58d4addd3675fd86b045d1f1b99a3e281f6270ab5d2a70f3
26 DIST cadvisor-0.36.0.tar.gz 6182273 BLAKE2B 0406bd88c6595f23de06be1e63e7c0affda7f94a3bbbb1b9e390f2747fdd3ef3199622a5003b79ed083a0cd80e6c013d7776e18269044150dafb98341c54425b SHA512 2da8a2e81d33b97e6f7c5ba3982e51b6d87748b138345ff94eb7671df851f0a535ceeef61358b0ee43bc161a88becdb153065bd7ff8fc9d7c390a4629ad10f02
27 DIST cloud.google.com%2Fgo%2F@v%2Fv0.1.1-0.20160913182117-3b1ae45394a2.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
28 DIST cloud.google.com%2Fgo%2F@v%2Fv0.1.1-0.20160913182117-3b1ae45394a2.zip 889396 BLAKE2B 37e1420148340c6d59d3bdc554c8d92ccce4dc145403915d067fe18966fa8baea5a3090714dc8d27c8c24831ca71213c11f1c719d0044647f887590a9b5bcc62 SHA512 f5d89d8eed8a58bfba541ab1102db390e6b4e7ce181f9d6e166c03685cedb1974169b298074bf8c5b2ac7c1e965e0e9794d379a9bb6537a3a11deab41fbec772
29
30 diff --git a/app-emulation/cadvisor/cadvisor-0.34.0.ebuild b/app-emulation/cadvisor/cadvisor-0.34.0.ebuild
31 deleted file mode 100644
32 index 76ad3d58d03..00000000000
33 --- a/app-emulation/cadvisor/cadvisor-0.34.0.ebuild
34 +++ /dev/null
35 @@ -1,44 +0,0 @@
36 -# Copyright 1999-2019 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -EGO_PN="github.com/google/cadvisor"
41 -
42 -inherit user golang-build golang-vcs-snapshot
43 -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -COMMIT="24a6a52"
45 -KEYWORDS="~amd64"
46 -
47 -DESCRIPTION="Analyzes resource usage and performance characteristics of running containers"
48 -HOMEPAGE="https://github.com/google/cadvisor"
49 -
50 -LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
51 -SLOT="0"
52 -IUSE=""
53 -
54 -pkg_setup() {
55 - enewgroup ${PN}
56 - enewuser ${PN} -1 -1 /dev/null ${PN}
57 -}
58 -
59 -src_prepare() {
60 - sed -i -e "/go get/d" src/${EGO_PN}/build/assets.sh || die
61 - sed -i -e "s/git describe.*/echo ${PV} )/"\
62 - -e "s/git rev-parse --short HEAD.*/echo ${COMMIT} )/"\
63 - src/${EGO_PN}/build/build.sh || die
64 - default
65 -}
66 -
67 -src_compile() {
68 - export -n GOCACHE XDG_CACHE_HOME
69 - pushd "src/${EGO_PN}"
70 - GO_FLAGS="-v -work -x" VERBOSE="true" GOPATH="${S}:$(get_golibdir_gopath)" emake build
71 - popd || die
72 -}
73 -
74 -src_install() {
75 - newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
76 - dobin src/${EGO_PN}/${PN}
77 - keepdir /var/log/${PN}
78 - fowners ${PN}:${PN} /var/log/${PN}
79 -}
80
81 diff --git a/app-emulation/cadvisor/cadvisor-0.35.0.ebuild b/app-emulation/cadvisor/cadvisor-0.35.0.ebuild
82 deleted file mode 100644
83 index 06fd94f5eb7..00000000000
84 --- a/app-emulation/cadvisor/cadvisor-0.35.0.ebuild
85 +++ /dev/null
86 @@ -1,42 +0,0 @@
87 -# Copyright 1999-2020 Gentoo Authors
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI=7
91 -EGO_PN="github.com/google/cadvisor"
92 -COMMIT=49033161
93 -inherit golang-build golang-vcs-snapshot
94 -
95 -DESCRIPTION="Analyzes resource usage and performance characteristics of running containers"
96 -HOMEPAGE="https://github.com/google/cadvisor"
97 -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
98 -
99 -LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
100 -KEYWORDS="~amd64"
101 -SLOT="0"
102 -
103 -COMMON_DEPEND="acct-group/cadvisor
104 - acct-user/cadvisor"
105 -DEPEND="${COMMON_DEPEND}"
106 -RDEPEND="${COMMON_DEPEND}"
107 -
108 -src_prepare() {
109 - sed -i -e "/go get/d" src/${EGO_PN}/build/assets.sh || die
110 - sed -i -e "s/git describe.*/echo ${PV} )/"\
111 - -e "s/git rev-parse --short HEAD.*/echo ${COMMIT} )/"\
112 - src/${EGO_PN}/build/build.sh || die
113 - default
114 -}
115 -
116 -src_compile() {
117 - export -n GOCACHE XDG_CACHE_HOME
118 - pushd "src/${EGO_PN}"
119 - GO_FLAGS="-v -work -x" VERBOSE="true" GOPATH="${S}:$(get_golibdir_gopath)" emake build
120 - popd || die
121 -}
122 -
123 -src_install() {
124 - newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
125 - dobin src/${EGO_PN}/${PN}
126 - keepdir /var/log/${PN}
127 - fowners ${PN}:${PN} /var/log/${PN}
128 -}
129
130 diff --git a/app-emulation/cadvisor/files/cadvisor.initd b/app-emulation/cadvisor/files/cadvisor.initd
131 deleted file mode 100644
132 index 19e36b2c81a..00000000000
133 --- a/app-emulation/cadvisor/files/cadvisor.initd
134 +++ /dev/null
135 @@ -1,18 +0,0 @@
136 -#!/sbin/openrc-run
137 -# Copyright 2016-2017 Gentoo Foundation
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -description="cAdvisor - Analyzes resource usage and performance characteristics of running containers"
141 -pidfile=${pidfile:-"/run/${SVCNAME}.pid"}
142 -user=${user:-${SVCNAME}}
143 -group=${group:-${SVCNAME}}
144 -
145 -command="/usr/bin/cadvisor"
146 -command_background="true"
147 -start_stop_daemon_args="--user ${user} --group ${group} \
148 - --stdout /var/log/${SVCNAME}/${SVCNAME}.log \
149 - --stderr /var/log/${SVCNAME}/${SVCNAME}.log"
150 -
151 -depend() {
152 - after net
153 -}