1 |
commit: 67454390a431bab6e5c0e1121e29ffbc986df566 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 29 23:11:36 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 29 23:11:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67454390 |
7 |
|
8 |
app-emulation/containers-storage: Bump to version 1.23.3 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-emulation/containers-storage/Manifest | 1 + |
14 |
.../containers-storage-1.23.3.ebuild | 58 ++++++++++++++++++++++ |
15 |
2 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/containers-storage/Manifest b/app-emulation/containers-storage/Manifest |
18 |
index 9f8cb2ba13f..68e76893028 100644 |
19 |
--- a/app-emulation/containers-storage/Manifest |
20 |
+++ b/app-emulation/containers-storage/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST containers-storage-1.18.1.tar.gz 3803605 BLAKE2B 6ecf7a2ac395f0973f2d071d6736ccd6dfe8917168b50daeb26b141457d9fc53d9f4471577c659dcf77f2d4058d0a5cecbe1599a365d7ae102916188dc44aa5d SHA512 1b2d16ae5703af232c58eb4ecc65b98a7f754cd9784b563e5323ef3303dc8f72896453f2fd84fee20490b72f9c2455437d5879f6c5c23aaa188316cb1b272211 |
23 |
DIST containers-storage-1.20.2.tar.gz 3827404 BLAKE2B 7284a86c34c91c21e49d7c9f89bfe8cc65d3a6673d37ea2e6e769c8abda581189b62119480bfcb0757cc3b4b47e29c7e0c65d245ec9bac082674f4b29f0899e1 SHA512 6ed73080da5c284eb421dd3c192662b16b2c72801bd0043f676c1e3bf44ee9899b10dea7fe5e2e52f95ecc511606aa2d971fd064b4cc7c993459ea75bf14536f |
24 |
+DIST containers-storage-1.23.3.tar.gz 3345068 BLAKE2B 2eb62b851e23055409a3ba41beb08add1faa0ed508572ce125359d35dd9163e85547bbec1b71903a67580f9f9f7f056107adce549b680a84cb356cba3954cde4 SHA512 0aaf2ba71f6e4ee26e9798f42c4ad4f5b5b9c625891177757bdbdcf760c2e55526167f4775cd3ddab83a0b0b61f1aebc75be4abc6565846cb442cdc26afbe17e |
25 |
|
26 |
diff --git a/app-emulation/containers-storage/containers-storage-1.23.3.ebuild b/app-emulation/containers-storage/containers-storage-1.23.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..868c589909c |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/containers-storage/containers-storage-1.23.3.ebuild |
31 |
@@ -0,0 +1,58 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit go-module |
38 |
+ |
39 |
+KEYWORDS="~amd64" |
40 |
+DESCRIPTION="containers/storage library" |
41 |
+HOMEPAGE="https://github.com/containers/storage" |
42 |
+LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" |
43 |
+SLOT="0" |
44 |
+IUSE="btrfs +device-mapper test" |
45 |
+SRC_URI="https://github.com/containers/storage/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+RDEPEND=" |
47 |
+ btrfs? ( sys-fs/btrfs-progs ) |
48 |
+ device-mapper? ( sys-fs/lvm2:= )" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ dev-go/go-md2man |
51 |
+ test? ( |
52 |
+ sys-fs/btrfs-progs |
53 |
+ sys-fs/lvm2 |
54 |
+ sys-apps/util-linux |
55 |
+ )" |
56 |
+RESTRICT="test" |
57 |
+ |
58 |
+S=${WORKDIR}/${P#containers-} |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ |
63 |
+ sed -e 's|: install\.tools|:|' -i Makefile || die |
64 |
+ |
65 |
+ [[ -f hack/btrfs_tag.sh ]] || die |
66 |
+ use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \ |
67 |
+ "hack/btrfs_tag.sh" || die; } |
68 |
+ |
69 |
+ [[ -f hack/libdm_tag.sh ]] || die |
70 |
+ use device-mapper || { echo -e "#!/bin/sh\necho btrfs_noversion exclude_graphdriver_devicemapper" > \ |
71 |
+ "hack/libdm_tag.sh" || die; } |
72 |
+} |
73 |
+ |
74 |
+src_compile() { |
75 |
+ export -n GOCACHE GOPATH XDG_CACHE_HOME #678856 |
76 |
+ emake GOMD2MAN=go-md2man FFJSON= containers-storage docs |
77 |
+} |
78 |
+ |
79 |
+src_install() { |
80 |
+ dobin "${PN}" |
81 |
+ while read -r -d ''; do |
82 |
+ mv "${REPLY}" "${REPLY%.1}" || die |
83 |
+ done < <(find "${S}/docs" -name '*.[[:digit:]].1' -print0) |
84 |
+ find "${S}/docs" -name '*.[[:digit:]]' -exec doman '{}' + || die |
85 |
+} |
86 |
+ |
87 |
+src_test() { |
88 |
+ env -u GOFLAGS unshare -m emake local-test-unit || die |
89 |
+} |