1 |
commit: b8bb49d90f7fd0eabfd46d354cc524b5a356bc19 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 17 16:21:22 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 17 16:27:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8bb49d9 |
7 |
|
8 |
app-emulation/reg: Version bump to 0.15.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
app-emulation/reg/Manifest | 1 + |
13 |
app-emulation/reg/reg-0.15.4.ebuild | 32 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/app-emulation/reg/Manifest b/app-emulation/reg/Manifest |
17 |
index bb92968610d..9f29aaeadd8 100644 |
18 |
--- a/app-emulation/reg/Manifest |
19 |
+++ b/app-emulation/reg/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST reg-0.13.3.tar.gz 5396000 BLAKE2B c5fa658010cb5c1cc21d7edfc1b18fac8c65cf2bd3c6de213ab238aabcb1377096172b5484a92f18a04f9ef4c01124dcfcfd4e6eabaf9f9a9b272c6f1f1fc482 SHA512 aefe0e5d3b1a02d54e67a4c7892e6b6c7581793f9e45995933200125c275e38701ad25b772c4541714f72ad1b43865e484bd062e40edbb7ed5faf2a572c224a1 |
22 |
DIST reg-0.13.4.tar.gz 5401627 BLAKE2B 278462ff66917833feb9a660b39f9826afe1b71f7a75dad07f3673bd5ba63496152aa70147649ddf9d2266cbad3903ba3a4bbe4a7def76a932ea45131bdda8c5 SHA512 f8a1a52824b64cc252a5cd4f6c18d8cf73c88170342f0bab61664f5cdb50295510182c3c15afdfa02c1eae8d299e347a78b47d171ca275c01ecfd9228323c872 |
23 |
DIST reg-0.14.1.tar.gz 5401469 BLAKE2B 858c699b15e2222685e114d7c7619424dde6eb87cff08f79de621d5c0d35303b0e8f10981b5c0839633eebbb223658189369899f1a3e15bbdf1cf10dffcf88cf SHA512 2904b5da02cd5f0d98447aa86e36e13f96b1e0ef8f81f97d3fd801e3d477909c6d893db8af4e84591a4630633a698b8a21e673d5abbc169812ebd857615b8401 |
24 |
+DIST reg-0.15.4.tar.gz 4052737 BLAKE2B 34bc68d3cb161bbea02bfc0ed142cb764f2db64610ac7b2b92130cfc838cfa4fde4794da9fd2d38a9bb73e994cf386ac9f50beaa4435b88cf034a4f4d0b648cc SHA512 d5948b095c310c2697a2f7b80a342af6949e4cb66c521cdb370a6fbead7424d729057fe71952291ee1ed82717cd7bb29141f6a2f85c946e33fd96da1c17912dd |
25 |
|
26 |
diff --git a/app-emulation/reg/reg-0.15.4.ebuild b/app-emulation/reg/reg-0.15.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2695cd240b3 |
29 |
--- /dev/null |
30 |
+++ b/app-emulation/reg/reg-0.15.4.ebuild |
31 |
@@ -0,0 +1,32 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit golang-build golang-vcs-snapshot |
37 |
+ |
38 |
+EGO_PN="github.com/genuinetools/reg" |
39 |
+GIT_COMMIT="8c930c585418564a4ce472fbbfccb8c5741c2520" |
40 |
+ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+KEYWORDS="~amd64" |
42 |
+ |
43 |
+DESCRIPTION="Docker registry v2 command line client" |
44 |
+HOMEPAGE="https://github.com/genuinetools/reg" |
45 |
+SRC_URI="${ARCHIVE_URI}" |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+IUSE="" |
49 |
+ |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+src_compile() { |
53 |
+ pushd src/${EGO_PN} || die |
54 |
+ GOPATH="${S}" go build -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die |
55 |
+ popd || die |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ dobin bin/* |
60 |
+ dodoc src/${EGO_PN}/README.md |
61 |
+ insinto /usr/share/${PN} |
62 |
+ doins -r src/${EGO_PN}/server/* |
63 |
+} |