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