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