1 |
commit: d50f4286b2db3de0bc4b8054dcb5c0f6edbd966f |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 4 23:24:12 2022 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 4 23:24:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d50f4286 |
7 |
|
8 |
app-containers/containers-storage: Bump to version 1.38.2 |
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.38.2.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 014d6c57d5df..b7187044a5d1 100644 |
19 |
--- a/app-containers/containers-storage/Manifest |
20 |
+++ b/app-containers/containers-storage/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST containers-storage-1.37.0.tar.gz 3557198 BLAKE2B ebe5c8e562149a9d007ac87d7fc615d29ad7decbfd6b1b8d919b14684a6341575d8f65080a808ba52674664d187a18bb47e88f10e1a02a2975898862873dadf9 SHA512 3a65a50946e1eed1c79ea77b65feb1c6c8cf58a0b7b81932acb8891b6daa25e007582eb7f70ef7e7f2a6d8262be5db7757ead2fe079e47c99114b47917d81084 |
23 |
DIST containers-storage-1.38.0.tar.gz 3656468 BLAKE2B b33342dd6c55d69c3c71ce17ceeb4fd4c442291b700a9a601f9b273337bda70b9f353adbac55019d3ab0a20a8b142816255af106b77127f371ee0f80fbea488b SHA512 c9be760d088ac2bf1fa7ee7b6742c9f0f54b4878ae85059bbdb059b48eb5a2cf2c217b774944b23ff175d7126351d324ed96febb77c7a6b78b6cffb51f271f13 |
24 |
+DIST containers-storage-1.38.2.tar.gz 3657181 BLAKE2B 466641eb0c810da0e6b5fe9adc47eadbc66cedb57326903fe4cbf917b12d4e937131dcf4ff4d33d0b2372384f754f471fd532aac91809a5481d74be0ce6ffe05 SHA512 98caa95e4456e60ef676e4d9717e5f852cfa21ffe45980f63fab703bc7c369fdae14d33102dcb023908d250c3eba6f121c270203c3abd29fdfcb7e2768319c50 |
25 |
|
26 |
diff --git a/app-containers/containers-storage/containers-storage-1.38.2.ebuild b/app-containers/containers-storage/containers-storage-1.38.2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..c01863fdb218 |
29 |
--- /dev/null |
30 |
+++ b/app-containers/containers-storage/containers-storage-1.38.2.ebuild |
31 |
@@ -0,0 +1,58 @@ |
32 |
+# Copyright 1999-2022 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 |
+} |