1 |
commit: 8e90df6d3f2d8a040809eac1d9c779d5e806e18f |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 9 16:46:24 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 9 16:48:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e90df6d |
7 |
|
8 |
app-emulation/img: Version bump to 0.4.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
app-emulation/img/Manifest | 1 + |
13 |
app-emulation/img/img-0.4.7.ebuild | 32 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/img/Manifest b/app-emulation/img/Manifest |
17 |
index 305212a0398..f2f3c05c28d 100644 |
18 |
--- a/app-emulation/img/Manifest |
19 |
+++ b/app-emulation/img/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST img-0.4.5.tar.gz 5635062 BLAKE2B 7161225494c8db0f6a91cda186d9c5804eff9f5fec5645dd1b61ac5f76de10ad8d63f2723030b9e3e886f292ce2c4a8d1e325c0adff759893b6455dc2c540e51 SHA512 ca427127b716f69d474912fad1e8a24008d671c3da266560466a1ff54690439fc3bc04b736f3ae3e12534a708ad4f6b9a6c910334dfc68ce2e1f63ecb1a5cac5 |
22 |
DIST img-0.4.6.tar.gz 5635103 BLAKE2B 88e0ae3bdc0b9e1784d4d67635d119084a5e9dbe258b55da10f549b97f2d566f312226687bef0d28ad1ae3b13c764a44071bfe10ec0a189ad4bcf0bc8c83df5f SHA512 7f75d66237fe5ccf5923774e1d40ef04d9447f3e7de6641167679a1bf5b6305880a046e664fa7adb93dc4bd28e9f0e1ee790ecf2a225aa98b0202e47b8d01987 |
23 |
+DIST img-0.4.7.tar.gz 5642840 BLAKE2B 0cff71ad2e3ee7e7a21273bd7171a1cafb51b932a55981081bcd809f62c463e8a58d739ed5e7e46355a596650e272a90b848eb6c1818e948e6512cb07ac5fc5e SHA512 23e059537baedf20c17724f972db2fa2b81677bf7d62ce3f78cabde9984f10923f4fe56d3f02252f578b15e06112066c5ea7e6b41d61554bcafc618cca85d014 |
24 |
|
25 |
diff --git a/app-emulation/img/img-0.4.7.ebuild b/app-emulation/img/img-0.4.7.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2b843d8ad2b |
28 |
--- /dev/null |
29 |
+++ b/app-emulation/img/img-0.4.7.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="e76c25809631da79d0071966901675f9acb16edb" |
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 |
+} |