1 |
commit: 8deba0e1e5786ea6a13a09df6b265295feb8e763 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 4 16:42:54 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 4 16:43:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8deba0e1 |
7 |
|
8 |
app-emulation/buildah: remove old versions |
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/buildah/Manifest | 8 ---- |
14 |
app-emulation/buildah/buildah-1.3-r1.ebuild | 64 ----------------------------- |
15 |
app-emulation/buildah/buildah-1.4.ebuild | 56 ------------------------- |
16 |
app-emulation/buildah/buildah-1.5.ebuild | 56 ------------------------- |
17 |
app-emulation/buildah/buildah-1.6.ebuild | 56 ------------------------- |
18 |
app-emulation/buildah/buildah-1.7.1.ebuild | 56 ------------------------- |
19 |
app-emulation/buildah/buildah-1.7.3.ebuild | 56 ------------------------- |
20 |
app-emulation/buildah/buildah-1.7.ebuild | 56 ------------------------- |
21 |
8 files changed, 408 deletions(-) |
22 |
|
23 |
diff --git a/app-emulation/buildah/Manifest b/app-emulation/buildah/Manifest |
24 |
index c1f586b47a2..ca61180fe77 100644 |
25 |
--- a/app-emulation/buildah/Manifest |
26 |
+++ b/app-emulation/buildah/Manifest |
27 |
@@ -1,9 +1 @@ |
28 |
-DIST buildah-1.3-issue-966-containers-storage-c7ba5749d44a65fde2daf114c16fb0272d82d73b.patch 4507 BLAKE2B 85a02751a91a73f1f99a1ae138e712304feeb46a40c792f4ec4ac895ce074d15eab4d76bf5e9be759254d0a023371c074a633607a689b42d238ac3f32b4e1d3d SHA512 63c74989dc649582170fc6657c9bfc805bcec6c4aa31017d53c4fa0f86acf00986adf05a8101605963eb3a358d237aad43c124ebcb5be635cff85efe4aa1eaa4 |
29 |
-DIST buildah-1.3.tar.gz 4486873 BLAKE2B 35fb62626d2466495da47579cf4ab23603797ef42a9308245fa97c87a91fcb978f4d02724ce79c2b4ac620d9868ca8974e4701ba6a96ccf739e5ccb4e6d9693a SHA512 c8e161254495cb652caf9a54a051155008e41575487d26aacd38355f0a447ae0e8973b33a978e6a2d5a6c8105400d49dae46878c5f3631ab51aa3556d5033ccd |
30 |
-DIST buildah-1.4.tar.gz 4529960 BLAKE2B 20878d322d75c6c7c2921f91a9d5434231456d2e6a94c1d4b9ca4fc068bcde1359ba0113dbf97c05738e328933068cbe2a101a1fb429e602533a42a94282a840 SHA512 8b7fc6e94da3615ce42a13621f766602465404f30c7e4e0fcb50998aefb59ebd50a4e000b8b3887e150656a2dd8b8fb3541991f8cac1193322e828448b89056d |
31 |
-DIST buildah-1.5.tar.gz 4549438 BLAKE2B 0b547f2e06a012540e633e3e55d12d5f44141be7e7231643efd1914571b0d3b03411b5d95f2b8e616679c1f8c966fda818ac8d2a2ca016e89218480ca1c9392c SHA512 291bf7d174500e96279f7fba143f72349648b09fd2d100e6409ae75c8436ff323143ed5b8b1a3448865171916bd44790292344247f0579c33a72c1ff774631e5 |
32 |
-DIST buildah-1.6.tar.gz 6296936 BLAKE2B 1c5e0b1a8d3f3be381c0b7cad5c52af95ee8977c46500e24888bda3f33fffead493b53deb6bbec879d342639fbaab69acbbf0186d7794f6261b3a81b958475e9 SHA512 fb946351602370ecadce84bddde9b8c954b5ecd1ed88f75db8335bf3b5cb0fc68b90a253433d51ddab04d32a6ec2e87d48282f51ec2c3965410533f1247e96f0 |
33 |
-DIST buildah-1.7.1.tar.gz 5048407 BLAKE2B e76cbc95ce835eaa26d53f6ce74b9bbb0d4d5683f91bdaf090158ffdc3d223a522a825af2d99d573a5c3cd57445b4d7c3d4aff359454beac81244821367ab3d7 SHA512 4b62a604dcae7a8fd0a1d74186c6f5d4a5288072b014d51d929f68442436e774428b99e62a78504314cbec517254f29d79294dc6c0b30a999788c9af12d0be01 |
34 |
-DIST buildah-1.7.3.tar.gz 5083873 BLAKE2B d366657c02c475bd57cdcd29cf3341098c2855af834a9aa97f41b8950ff1dd29ca0fcfed093a980e67e9c1a2ccb76e819386560a48943ebd6abc106e2a4270ea SHA512 492a4bf054f00d7da3b9edc6ce8e68497adca74895561db7025acfcd3767baac1e4acbabffedafd8becf15f884635f42c699bd57370238feacf4bded51565a75 |
35 |
-DIST buildah-1.7.tar.gz 5041530 BLAKE2B 5a30cd75783448cfc0df8167406669c1b687781e819513c11d2941087aa4ccc1b87f10acc6e4a77de5dc991435640aefd6139ee9bb66e5952de63d1593b6fab9 SHA512 fb44787b59c4ba26bc9b38ba434c6eeebbdeeeb3d28d44819bfe05c42e1a8db63e41d75382d8f25c2c72b44c7512dd5f5b7f3e4838afa40fb67037616594f8c0 |
36 |
DIST buildah-1.8.2.tar.gz 5102103 BLAKE2B 2e19f8af15e5f4a3c6488a44cc0f51592bc6f5201f217ea814daf4b08691f08170debfa2de01d39ae20c6289ed0915383b958cd5e59d8b598d867053ee990af2 SHA512 0cb8dc62c4139a5b500d4021b05344c70c1ec86ff9850bcca87011ad522fe95981d373d73b30b7899959876d78cd15e565e034cf136aa271a72fa4810ff34cae |
37 |
|
38 |
diff --git a/app-emulation/buildah/buildah-1.3-r1.ebuild b/app-emulation/buildah/buildah-1.3-r1.ebuild |
39 |
deleted file mode 100644 |
40 |
index ff5716f0045..00000000000 |
41 |
--- a/app-emulation/buildah/buildah-1.3-r1.ebuild |
42 |
+++ /dev/null |
43 |
@@ -1,64 +0,0 @@ |
44 |
-# Copyright 1999-2018 Gentoo Foundation |
45 |
-# Distributed under the terms of the GNU General Public License v2 |
46 |
- |
47 |
-EAPI=6 |
48 |
-inherit bash-completion-r1 golang-vcs-snapshot |
49 |
- |
50 |
-KEYWORDS="~amd64" |
51 |
-DESCRIPTION="A tool that facilitates building OCI images" |
52 |
-HOMEPAGE="https://github.com/projectatomic/buildah" |
53 |
-LICENSE="Apache-2.0" |
54 |
-SLOT="0" |
55 |
-IUSE="ostree selinux" |
56 |
-EGO_PN="${HOMEPAGE#*//}" |
57 |
-EGIT_COMMIT="v${PV}" |
58 |
-GIT_COMMIT="4888163" |
59 |
-CONTAINERS_STORAGE_PATCH=c7ba5749d44a65fde2daf114c16fb0272d82d73b.patch |
60 |
-SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz |
61 |
- https://github.com/containers/storage/commit/${CONTAINERS_STORAGE_PATCH} -> buildah-1.3-issue-966-containers-storage-${CONTAINERS_STORAGE_PATCH}" |
62 |
-RDEPEND="app-crypt/gpgme:= |
63 |
- app-emulation/skopeo |
64 |
- dev-libs/libgpg-error:= |
65 |
- dev-libs/libassuan:= |
66 |
- sys-fs/lvm2:= |
67 |
- sys-libs/libseccomp:= |
68 |
- selinux? ( sys-libs/libselinux:= )" |
69 |
-DEPEND="${RDEPEND}" |
70 |
-RESTRICT="test" |
71 |
-REQUIRED_USE="!selinux? ( !ostree )" |
72 |
-S="${WORKDIR}/${P}/src/${EGO_PN}" |
73 |
- |
74 |
-src_prepare() { |
75 |
- # Apply "layer not known" corruption fix for https://github.com/projectatomic/buildah/issues/966. |
76 |
- sed 's:[ab]/:\0vendor/github.com/containers/storage/:g' < \ |
77 |
- "${DISTDIR}/buildah-1.3-issue-966-containers-storage-${CONTAINERS_STORAGE_PATCH}" > \ |
78 |
- "${T}/buildah-1.3-issue-966-containers-storage-${CONTAINERS_STORAGE_PATCH}" || die |
79 |
- eapply "${T}/buildah-1.3-issue-966-containers-storage-${CONTAINERS_STORAGE_PATCH}" |
80 |
- |
81 |
- default |
82 |
- sed -e 's|^\(GIT_COMMIT := \).*|\1'${GIT_COMMIT}'|' -i Makefile || die |
83 |
- |
84 |
- [[ -f ostree_tag.sh ]] || die |
85 |
- use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \ |
86 |
- ostree_tag.sh || die; } |
87 |
- |
88 |
- [[ -f selinux_tag.sh ]] || die |
89 |
- use selinux || { echo -e "#!/bin/sh\ntrue" > \ |
90 |
- selinux_tag.sh || die; } |
91 |
-} |
92 |
- |
93 |
-src_compile() { |
94 |
- GOPATH="${WORKDIR}/${P}" emake all |
95 |
-} |
96 |
- |
97 |
-src_install() { |
98 |
- dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md |
99 |
- doman docs/*.1 |
100 |
- dodoc -r docs/tutorials |
101 |
- dobin ${PN} imgtype |
102 |
- dobashcomp contrib/completions/bash/buildah |
103 |
-} |
104 |
- |
105 |
-src_test() { |
106 |
- GOPATH="${WORKDIR}/${P}" emake test-unit |
107 |
-} |
108 |
|
109 |
diff --git a/app-emulation/buildah/buildah-1.4.ebuild b/app-emulation/buildah/buildah-1.4.ebuild |
110 |
deleted file mode 100644 |
111 |
index e7973d09207..00000000000 |
112 |
--- a/app-emulation/buildah/buildah-1.4.ebuild |
113 |
+++ /dev/null |
114 |
@@ -1,56 +0,0 @@ |
115 |
-# Copyright 1999-2018 Gentoo Authors |
116 |
-# Distributed under the terms of the GNU General Public License v2 |
117 |
- |
118 |
-EAPI=6 |
119 |
-inherit bash-completion-r1 golang-vcs-snapshot |
120 |
- |
121 |
-KEYWORDS="~amd64" |
122 |
-DESCRIPTION="A tool that facilitates building OCI images" |
123 |
-HOMEPAGE="https://github.com/containers/buildah" |
124 |
-LICENSE="Apache-2.0" |
125 |
-SLOT="0" |
126 |
-IUSE="ostree selinux" |
127 |
-EGO_PN="${HOMEPAGE#*//}" |
128 |
-EGIT_COMMIT="v${PV}" |
129 |
-GIT_COMMIT="608fa84" |
130 |
-SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
131 |
-RDEPEND="app-crypt/gpgme:= |
132 |
- app-emulation/skopeo |
133 |
- dev-libs/libgpg-error:= |
134 |
- dev-libs/libassuan:= |
135 |
- sys-fs/lvm2:= |
136 |
- sys-libs/libseccomp:= |
137 |
- selinux? ( sys-libs/libselinux:= )" |
138 |
-DEPEND="${RDEPEND}" |
139 |
-RESTRICT="test" |
140 |
-REQUIRED_USE="!selinux? ( !ostree )" |
141 |
-S="${WORKDIR}/${P}/src/${EGO_PN}" |
142 |
- |
143 |
-src_prepare() { |
144 |
- default |
145 |
- sed -e 's|^\(GIT_COMMIT := \).*|\1'${GIT_COMMIT}'|' -i Makefile || die |
146 |
- |
147 |
- [[ -f ostree_tag.sh ]] || die |
148 |
- use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \ |
149 |
- ostree_tag.sh || die; } |
150 |
- |
151 |
- [[ -f selinux_tag.sh ]] || die |
152 |
- use selinux || { echo -e "#!/bin/sh\ntrue" > \ |
153 |
- selinux_tag.sh || die; } |
154 |
-} |
155 |
- |
156 |
-src_compile() { |
157 |
- GOPATH="${WORKDIR}/${P}" emake all |
158 |
-} |
159 |
- |
160 |
-src_install() { |
161 |
- dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md |
162 |
- doman docs/*.1 |
163 |
- dodoc -r docs/tutorials |
164 |
- dobin ${PN} imgtype |
165 |
- dobashcomp contrib/completions/bash/buildah |
166 |
-} |
167 |
- |
168 |
-src_test() { |
169 |
- GOPATH="${WORKDIR}/${P}" emake test-unit |
170 |
-} |
171 |
|
172 |
diff --git a/app-emulation/buildah/buildah-1.5.ebuild b/app-emulation/buildah/buildah-1.5.ebuild |
173 |
deleted file mode 100644 |
174 |
index e7973d09207..00000000000 |
175 |
--- a/app-emulation/buildah/buildah-1.5.ebuild |
176 |
+++ /dev/null |
177 |
@@ -1,56 +0,0 @@ |
178 |
-# Copyright 1999-2018 Gentoo Authors |
179 |
-# Distributed under the terms of the GNU General Public License v2 |
180 |
- |
181 |
-EAPI=6 |
182 |
-inherit bash-completion-r1 golang-vcs-snapshot |
183 |
- |
184 |
-KEYWORDS="~amd64" |
185 |
-DESCRIPTION="A tool that facilitates building OCI images" |
186 |
-HOMEPAGE="https://github.com/containers/buildah" |
187 |
-LICENSE="Apache-2.0" |
188 |
-SLOT="0" |
189 |
-IUSE="ostree selinux" |
190 |
-EGO_PN="${HOMEPAGE#*//}" |
191 |
-EGIT_COMMIT="v${PV}" |
192 |
-GIT_COMMIT="608fa84" |
193 |
-SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
194 |
-RDEPEND="app-crypt/gpgme:= |
195 |
- app-emulation/skopeo |
196 |
- dev-libs/libgpg-error:= |
197 |
- dev-libs/libassuan:= |
198 |
- sys-fs/lvm2:= |
199 |
- sys-libs/libseccomp:= |
200 |
- selinux? ( sys-libs/libselinux:= )" |
201 |
-DEPEND="${RDEPEND}" |
202 |
-RESTRICT="test" |
203 |
-REQUIRED_USE="!selinux? ( !ostree )" |
204 |
-S="${WORKDIR}/${P}/src/${EGO_PN}" |
205 |
- |
206 |
-src_prepare() { |
207 |
- default |
208 |
- sed -e 's|^\(GIT_COMMIT := \).*|\1'${GIT_COMMIT}'|' -i Makefile || die |
209 |
- |
210 |
- [[ -f ostree_tag.sh ]] || die |
211 |
- use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \ |
212 |
- ostree_tag.sh || die; } |
213 |
- |
214 |
- [[ -f selinux_tag.sh ]] || die |
215 |
- use selinux || { echo -e "#!/bin/sh\ntrue" > \ |
216 |
- selinux_tag.sh || die; } |
217 |
-} |
218 |
- |
219 |
-src_compile() { |
220 |
- GOPATH="${WORKDIR}/${P}" emake all |
221 |
-} |
222 |
- |
223 |
-src_install() { |
224 |
- dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md |
225 |
- doman docs/*.1 |
226 |
- dodoc -r docs/tutorials |
227 |
- dobin ${PN} imgtype |
228 |
- dobashcomp contrib/completions/bash/buildah |
229 |
-} |
230 |
- |
231 |
-src_test() { |
232 |
- GOPATH="${WORKDIR}/${P}" emake test-unit |
233 |
-} |
234 |
|
235 |
diff --git a/app-emulation/buildah/buildah-1.6.ebuild b/app-emulation/buildah/buildah-1.6.ebuild |
236 |
deleted file mode 100644 |
237 |
index 64ef1d8793e..00000000000 |
238 |
--- a/app-emulation/buildah/buildah-1.6.ebuild |
239 |
+++ /dev/null |
240 |
@@ -1,56 +0,0 @@ |
241 |
-# Copyright 1999-2019 Gentoo Authors |
242 |
-# Distributed under the terms of the GNU General Public License v2 |
243 |
- |
244 |
-EAPI=6 |
245 |
-inherit bash-completion-r1 golang-vcs-snapshot |
246 |
- |
247 |
-KEYWORDS="~amd64" |
248 |
-DESCRIPTION="A tool that facilitates building OCI images" |
249 |
-HOMEPAGE="https://github.com/containers/buildah" |
250 |
-LICENSE="Apache-2.0" |
251 |
-SLOT="0" |
252 |
-IUSE="ostree selinux" |
253 |
-EGO_PN="${HOMEPAGE#*//}" |
254 |
-EGIT_COMMIT="v${PV}" |
255 |
-GIT_COMMIT="5f95bd9" |
256 |
-SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
257 |
-RDEPEND="app-crypt/gpgme:= |
258 |
- app-emulation/skopeo |
259 |
- dev-libs/libgpg-error:= |
260 |
- dev-libs/libassuan:= |
261 |
- sys-fs/lvm2:= |
262 |
- sys-libs/libseccomp:= |
263 |
- selinux? ( sys-libs/libselinux:= )" |
264 |
-DEPEND="${RDEPEND}" |
265 |
-RESTRICT="test" |
266 |
-REQUIRED_USE="!selinux? ( !ostree )" |
267 |
-S="${WORKDIR}/${P}/src/${EGO_PN}" |
268 |
- |
269 |
-src_prepare() { |
270 |
- default |
271 |
- sed -e 's|^\(GIT_COMMIT ?= \).*|\1'${GIT_COMMIT}'|' -i Makefile || die |
272 |
- |
273 |
- [[ -f ostree_tag.sh ]] || die |
274 |
- use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \ |
275 |
- ostree_tag.sh || die; } |
276 |
- |
277 |
- [[ -f selinux_tag.sh ]] || die |
278 |
- use selinux || { echo -e "#!/bin/sh\ntrue" > \ |
279 |
- selinux_tag.sh || die; } |
280 |
-} |
281 |
- |
282 |
-src_compile() { |
283 |
- GOPATH="${WORKDIR}/${P}" emake all |
284 |
-} |
285 |
- |
286 |
-src_install() { |
287 |
- dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md |
288 |
- doman docs/*.1 |
289 |
- dodoc -r docs/tutorials |
290 |
- dobin ${PN} imgtype |
291 |
- dobashcomp contrib/completions/bash/buildah |
292 |
-} |
293 |
- |
294 |
-src_test() { |
295 |
- GOPATH="${WORKDIR}/${P}" emake test-unit |
296 |
-} |
297 |
|
298 |
diff --git a/app-emulation/buildah/buildah-1.7.1.ebuild b/app-emulation/buildah/buildah-1.7.1.ebuild |
299 |
deleted file mode 100644 |
300 |
index b7062877415..00000000000 |
301 |
--- a/app-emulation/buildah/buildah-1.7.1.ebuild |
302 |
+++ /dev/null |
303 |
@@ -1,56 +0,0 @@ |
304 |
-# Copyright 1999-2019 Gentoo Authors |
305 |
-# Distributed under the terms of the GNU General Public License v2 |
306 |
- |
307 |
-EAPI=7 |
308 |
-inherit bash-completion-r1 golang-vcs-snapshot |
309 |
- |
310 |
-KEYWORDS="~amd64" |
311 |
-DESCRIPTION="A tool that facilitates building OCI images" |
312 |
-HOMEPAGE="https://github.com/containers/buildah" |
313 |
-LICENSE="Apache-2.0" |
314 |
-SLOT="0" |
315 |
-IUSE="ostree selinux" |
316 |
-EGO_PN="${HOMEPAGE#*//}" |
317 |
-EGIT_COMMIT="v${PV}" |
318 |
-GIT_COMMIT="93747b1" |
319 |
-SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
320 |
-RDEPEND="app-crypt/gpgme:= |
321 |
- app-emulation/skopeo |
322 |
- dev-libs/libgpg-error:= |
323 |
- dev-libs/libassuan:= |
324 |
- sys-fs/lvm2:= |
325 |
- sys-libs/libseccomp:= |
326 |
- selinux? ( sys-libs/libselinux:= )" |
327 |
-DEPEND="${RDEPEND}" |
328 |
-RESTRICT="test" |
329 |
-REQUIRED_USE="!selinux? ( !ostree )" |
330 |
-S="${WORKDIR}/${P}/src/${EGO_PN}" |
331 |
- |
332 |
-src_prepare() { |
333 |
- default |
334 |
- sed -e 's|^\(GIT_COMMIT ?= \).*|\1'${GIT_COMMIT}'|' -i Makefile || die |
335 |
- |
336 |
- [[ -f ostree_tag.sh ]] || die |
337 |
- use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \ |
338 |
- ostree_tag.sh || die; } |
339 |
- |
340 |
- [[ -f selinux_tag.sh ]] || die |
341 |
- use selinux || { echo -e "#!/bin/sh\ntrue" > \ |
342 |
- selinux_tag.sh || die; } |
343 |
-} |
344 |
- |
345 |
-src_compile() { |
346 |
- env -u GOCACHE -u XDG_CACHE_HOME GOPATH="${WORKDIR}/${P}" emake all |
347 |
-} |
348 |
- |
349 |
-src_install() { |
350 |
- dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md |
351 |
- doman docs/*.1 |
352 |
- dodoc -r docs/tutorials |
353 |
- dobin ${PN} imgtype |
354 |
- dobashcomp contrib/completions/bash/buildah |
355 |
-} |
356 |
- |
357 |
-src_test() { |
358 |
- GOPATH="${WORKDIR}/${P}" emake test-unit |
359 |
-} |
360 |
|
361 |
diff --git a/app-emulation/buildah/buildah-1.7.3.ebuild b/app-emulation/buildah/buildah-1.7.3.ebuild |
362 |
deleted file mode 100644 |
363 |
index e537d8b9232..00000000000 |
364 |
--- a/app-emulation/buildah/buildah-1.7.3.ebuild |
365 |
+++ /dev/null |
366 |
@@ -1,56 +0,0 @@ |
367 |
-# Copyright 1999-2019 Gentoo Authors |
368 |
-# Distributed under the terms of the GNU General Public License v2 |
369 |
- |
370 |
-EAPI=7 |
371 |
-inherit bash-completion-r1 golang-vcs-snapshot |
372 |
- |
373 |
-KEYWORDS="~amd64" |
374 |
-DESCRIPTION="A tool that facilitates building OCI images" |
375 |
-HOMEPAGE="https://github.com/containers/buildah" |
376 |
-LICENSE="Apache-2.0" |
377 |
-SLOT="0" |
378 |
-IUSE="ostree selinux" |
379 |
-EGO_PN="${HOMEPAGE#*//}" |
380 |
-EGIT_COMMIT="v${PV}" |
381 |
-GIT_COMMIT="2941f34" |
382 |
-SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
383 |
-RDEPEND="app-crypt/gpgme:= |
384 |
- app-emulation/skopeo |
385 |
- dev-libs/libgpg-error:= |
386 |
- dev-libs/libassuan:= |
387 |
- sys-fs/lvm2:= |
388 |
- sys-libs/libseccomp:= |
389 |
- selinux? ( sys-libs/libselinux:= )" |
390 |
-DEPEND="${RDEPEND}" |
391 |
-RESTRICT="test" |
392 |
-REQUIRED_USE="!selinux? ( !ostree )" |
393 |
-S="${WORKDIR}/${P}/src/${EGO_PN}" |
394 |
- |
395 |
-src_prepare() { |
396 |
- default |
397 |
- sed -e 's|^\(GIT_COMMIT ?= \).*|\1'${GIT_COMMIT}'|' -i Makefile || die |
398 |
- |
399 |
- [[ -f ostree_tag.sh ]] || die |
400 |
- use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \ |
401 |
- ostree_tag.sh || die; } |
402 |
- |
403 |
- [[ -f selinux_tag.sh ]] || die |
404 |
- use selinux || { echo -e "#!/bin/sh\ntrue" > \ |
405 |
- selinux_tag.sh || die; } |
406 |
-} |
407 |
- |
408 |
-src_compile() { |
409 |
- env -u GOCACHE -u XDG_CACHE_HOME GOPATH="${WORKDIR}/${P}" emake all |
410 |
-} |
411 |
- |
412 |
-src_install() { |
413 |
- dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md |
414 |
- doman docs/*.1 |
415 |
- dodoc -r docs/tutorials |
416 |
- dobin ${PN} imgtype |
417 |
- dobashcomp contrib/completions/bash/buildah |
418 |
-} |
419 |
- |
420 |
-src_test() { |
421 |
- GOPATH="${WORKDIR}/${P}" emake test-unit |
422 |
-} |
423 |
|
424 |
diff --git a/app-emulation/buildah/buildah-1.7.ebuild b/app-emulation/buildah/buildah-1.7.ebuild |
425 |
deleted file mode 100644 |
426 |
index 47dd102aac4..00000000000 |
427 |
--- a/app-emulation/buildah/buildah-1.7.ebuild |
428 |
+++ /dev/null |
429 |
@@ -1,56 +0,0 @@ |
430 |
-# Copyright 1999-2019 Gentoo Authors |
431 |
-# Distributed under the terms of the GNU General Public License v2 |
432 |
- |
433 |
-EAPI=6 |
434 |
-inherit bash-completion-r1 golang-vcs-snapshot |
435 |
- |
436 |
-KEYWORDS="~amd64" |
437 |
-DESCRIPTION="A tool that facilitates building OCI images" |
438 |
-HOMEPAGE="https://github.com/containers/buildah" |
439 |
-LICENSE="Apache-2.0" |
440 |
-SLOT="0" |
441 |
-IUSE="ostree selinux" |
442 |
-EGO_PN="${HOMEPAGE#*//}" |
443 |
-EGIT_COMMIT="v${PV}" |
444 |
-GIT_COMMIT="873f001" |
445 |
-SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
446 |
-RDEPEND="app-crypt/gpgme:= |
447 |
- app-emulation/skopeo |
448 |
- dev-libs/libgpg-error:= |
449 |
- dev-libs/libassuan:= |
450 |
- sys-fs/lvm2:= |
451 |
- sys-libs/libseccomp:= |
452 |
- selinux? ( sys-libs/libselinux:= )" |
453 |
-DEPEND="${RDEPEND}" |
454 |
-RESTRICT="test" |
455 |
-REQUIRED_USE="!selinux? ( !ostree )" |
456 |
-S="${WORKDIR}/${P}/src/${EGO_PN}" |
457 |
- |
458 |
-src_prepare() { |
459 |
- default |
460 |
- sed -e 's|^\(GIT_COMMIT ?= \).*|\1'${GIT_COMMIT}'|' -i Makefile || die |
461 |
- |
462 |
- [[ -f ostree_tag.sh ]] || die |
463 |
- use ostree || { echo -e "#!/bin/sh\necho containers_image_ostree_stub" > \ |
464 |
- ostree_tag.sh || die; } |
465 |
- |
466 |
- [[ -f selinux_tag.sh ]] || die |
467 |
- use selinux || { echo -e "#!/bin/sh\ntrue" > \ |
468 |
- selinux_tag.sh || die; } |
469 |
-} |
470 |
- |
471 |
-src_compile() { |
472 |
- GOPATH="${WORKDIR}/${P}" emake all |
473 |
-} |
474 |
- |
475 |
-src_install() { |
476 |
- dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md |
477 |
- doman docs/*.1 |
478 |
- dodoc -r docs/tutorials |
479 |
- dobin ${PN} imgtype |
480 |
- dobashcomp contrib/completions/bash/buildah |
481 |
-} |
482 |
- |
483 |
-src_test() { |
484 |
- GOPATH="${WORKDIR}/${P}" emake test-unit |
485 |
-} |