1 |
commit: 791e679381bc15cd2df36eb52a392e4b75597656 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 31 12:21:43 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 31 12:21:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=791e6793 |
7 |
|
8 |
app-emulation/img: Version bump to 0.5.2 |
9 |
|
10 |
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
app-emulation/img/Manifest | 1 + |
14 |
app-emulation/img/img-0.5.2.ebuild | 32 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 33 insertions(+) |
16 |
|
17 |
diff --git a/app-emulation/img/Manifest b/app-emulation/img/Manifest |
18 |
index 84d8bf9d96e..1f26ed7e0c1 100644 |
19 |
--- a/app-emulation/img/Manifest |
20 |
+++ b/app-emulation/img/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST img-0.4.8.tar.gz 5587652 BLAKE2B 5b74ff24e6f36674b66b3f87abe928a9d8c8361835eb61cb04ddfce6bfc7cb7b8e6e1f41d61d9f75c09c3646d0d697074882e1f7b87259b60d7c53303718e325 SHA512 fb5b97c4794798dc2dba5d4c9493da9708a55a9e5e7b2259585409c4e7973fecd362132dabb81c72f20b61956c5a8bc67b58db49c22e7ce56eaec784bbb51ca5 |
23 |
DIST img-0.4.9.tar.gz 4654821 BLAKE2B b3cd419aeb64ec8c2e8ee0fd523d387fd5b1a340ad61deec1e3fda59ba4e58e7594682aa49e04922e5bdcad4c458f23d4b8081784ba9d7d88dc953a0bd7c24a9 SHA512 c529affce023a8ae972a8526b48701d137edd3a8d5a22687269eec07864a1c30edf1c84bfea29cb7d166cc4fed4b0eb1e34e41d5d21be9d1a3b975b4c1bc678f |
24 |
DIST img-0.5.1.tar.gz 6394095 BLAKE2B 5c26487f721ef7157c8dc47c5abc2f4f296efe4ddf3b4e1e0513e4a2a71c96287e92c2332b340d583f0687ff7c3b1f10aea107f9ab1527b3f6760f1f359de867 SHA512 66f812da0b77882a610f4de849eaf473a0a6e964fff7cc0b596b46411aa33d625a376d3e829b8eb438e26d09624146c18b83a2289ddf2785024e3f8a6fee6cf9 |
25 |
+DIST img-0.5.2.tar.gz 3426613 BLAKE2B 75da804bee0960c195f3f5af6f10276d3d9a93dfcf08c784b831da2dd4e27714f0c8c24b24d2683b1b75276362b47a2bbc251e032b5b1b87c081922cee4f90f4 SHA512 cbae3fab61005238c939ad5fa5b785b07ee10f964a686962bdaec7170297840ebda188b93a1e3b89c6041db455a085d537005f8b1dc8753cd4e77f3e699f40e4 |
26 |
|
27 |
diff --git a/app-emulation/img/img-0.5.2.ebuild b/app-emulation/img/img-0.5.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..7e5d8724051 |
30 |
--- /dev/null |
31 |
+++ b/app-emulation/img/img-0.5.2.ebuild |
32 |
@@ -0,0 +1,32 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+inherit golang-build golang-vcs-snapshot |
38 |
+ |
39 |
+EGO_PN="github.com/genuinetools/img" |
40 |
+EGIT_COMMIT="v${PV}" |
41 |
+GIT_COMMIT="0b967de9a93f2a8b014b216daff36b9201f232ee" |
42 |
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
43 |
+KEYWORDS="~amd64" |
44 |
+ |
45 |
+DESCRIPTION="Standalone daemon-less unprivileged Dockerfile and OCI container image builder" |
46 |
+HOMEPAGE="https://github.com/genuinetools/img" |
47 |
+SRC_URI="${ARCHIVE_URI}" |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+IUSE="seccomp" |
51 |
+ |
52 |
+RESTRICT="test" |
53 |
+ |
54 |
+src_compile() { |
55 |
+ local TAGS=$(usex seccomp 'seccomp' '') |
56 |
+ pushd src/${EGO_PN} || die |
57 |
+ 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 |
58 |
+ popd || die |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ dobin bin/* |
63 |
+ dodoc -r src/${EGO_PN}/README.md |
64 |
+} |