1 |
commit: 88d1ba9af1279b814e158c1e83ed49325ed16643 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 24 03:21:33 2022 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 03:21:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d1ba9a |
7 |
|
8 |
app-containers/containers-storage: Bump to version 1.38.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.38.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 c530dfe9b542..014d6c57d5df 100644 |
19 |
--- a/app-containers/containers-storage/Manifest |
20 |
+++ b/app-containers/containers-storage/Manifest |
21 |
@@ -1 +1,2 @@ |
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 |
|
25 |
diff --git a/app-containers/containers-storage/containers-storage-1.38.0.ebuild b/app-containers/containers-storage/containers-storage-1.38.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..c01863fdb218 |
28 |
--- /dev/null |
29 |
+++ b/app-containers/containers-storage/containers-storage-1.38.0.ebuild |
30 |
@@ -0,0 +1,58 @@ |
31 |
+# Copyright 1999-2022 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 |
+} |