1 |
commit: 6585e67fc5b969e5b1fcc06b4b89baa153bb0959 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 2 12:38:04 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 2 12:38:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6585e67f |
7 |
|
8 |
app-emulation/img: Version bump to 0.4.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
app-emulation/img/Manifest | 1 + |
13 |
app-emulation/img/img-0.4.2.ebuild | 32 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/img/Manifest b/app-emulation/img/Manifest |
17 |
index ff4269cc387..b7724d83b2d 100644 |
18 |
--- a/app-emulation/img/Manifest |
19 |
+++ b/app-emulation/img/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST img-0.3.6.tar.gz 6043716 BLAKE2B 982a6f470f4b79cd4cc2b06be4060f516786f700872510948a25d5ad313cccf402b0fe26c053f7505b66c170221274568ce44632729c16e1ade680b5dc007b0d SHA512 911cf6a761741a04553d5e526399973c0e943cfda5eead7f94196969fed4f586134358b1e6f023c6cf07e755de802e498991eb320bd50af32649749622a26969 |
22 |
DIST img-0.3.9.tar.gz 6153717 BLAKE2B b561ed349c2b08f0e3448886b6c979d86fd6d4f47af0f03d7dd479a12f078b99f39e10d6a6b3ba9caffe2a9966102e3f3069fa6eacb70bb36f9842314e8a8e7b SHA512 23bf1e85cb9238742ffef44408bece52b5b0fefbeae9541a7740a4d798d1dc2c0f8efd02d8342842753925135dee843c4a7a20abe3a87ce1c475178461c9b8da |
23 |
+DIST img-0.4.2.tar.gz 5622223 BLAKE2B 0a97a169111c359ec784c2f2a1acc5c67a2495003819403ba71d2462ee373f36540b03b6a581481e659fec51c84aaf17f9b0129481d060239e0d09c08777c646 SHA512 c9bd8cdfbc18515d64cbd36a3b9259381f582eff02c22a437960f098c139c9be784d4fcc225f66540e4c243b05e568250dc5fd3c1fdb09cbbcb9227db18e47c6 |
24 |
|
25 |
diff --git a/app-emulation/img/img-0.4.2.ebuild b/app-emulation/img/img-0.4.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f0841cd49af |
28 |
--- /dev/null |
29 |
+++ b/app-emulation/img/img-0.4.2.ebuild |
30 |
@@ -0,0 +1,32 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+inherit golang-build golang-vcs-snapshot |
36 |
+ |
37 |
+EGO_PN="github.com/genuinetools/img" |
38 |
+EGIT_COMMIT="v${PV}" |
39 |
+GIT_COMMIT="83e14d354393b360a4b21d6bb57510d17ffefa9e" |
40 |
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
41 |
+KEYWORDS="~amd64" |
42 |
+ |
43 |
+DESCRIPTION="Standalone daemon-less unprivileged Dockerfile and OCI container image builder" |
44 |
+HOMEPAGE="https://github.com/genuinetools/img" |
45 |
+SRC_URI="${ARCHIVE_URI}" |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+IUSE="seccomp" |
49 |
+ |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+src_compile() { |
53 |
+ local TAGS=$(usex seccomp 'seccomp' '') |
54 |
+ pushd src/${EGO_PN} || die |
55 |
+ GOPATH="${S}" go build -tags "noembed ${TAGS}" -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/img . || die |
56 |
+ popd || die |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ dobin bin/* |
61 |
+ dodoc -r src/${EGO_PN}/README.md |
62 |
+} |