summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-06-18 09:17:29 +0200
committerManuel Rüger <mrueg@gentoo.org>2018-06-18 09:17:29 +0200
commit8fab4152cca901e61aee7a6cf945fa3705be4b1f (patch)
treebb381dafc0a8a4260bb542950c6469c385f4a14a /app-emulation/reg
parentdev-ruby/ruby-gettext: stable 3.2.9 for ia64, bug #658310 (diff)
downloadgentoo-8fab4152cca901e61aee7a6cf945fa3705be4b1f.tar.gz
gentoo-8fab4152cca901e61aee7a6cf945fa3705be4b1f.tar.bz2
gentoo-8fab4152cca901e61aee7a6cf945fa3705be4b1f.zip
app-emulation/reg: Version bump to 0.14.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-emulation/reg')
-rw-r--r--app-emulation/reg/Manifest1
-rw-r--r--app-emulation/reg/reg-0.14.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/app-emulation/reg/Manifest b/app-emulation/reg/Manifest
index f505bc191289..8e95d92209ea 100644
--- a/app-emulation/reg/Manifest
+++ b/app-emulation/reg/Manifest
@@ -1,2 +1,3 @@
DIST reg-0.13.3.tar.gz 5396000 BLAKE2B c5fa658010cb5c1cc21d7edfc1b18fac8c65cf2bd3c6de213ab238aabcb1377096172b5484a92f18a04f9ef4c01124dcfcfd4e6eabaf9f9a9b272c6f1f1fc482 SHA512 aefe0e5d3b1a02d54e67a4c7892e6b6c7581793f9e45995933200125c275e38701ad25b772c4541714f72ad1b43865e484bd062e40edbb7ed5faf2a572c224a1
DIST reg-0.13.4.tar.gz 5401627 BLAKE2B 278462ff66917833feb9a660b39f9826afe1b71f7a75dad07f3673bd5ba63496152aa70147649ddf9d2266cbad3903ba3a4bbe4a7def76a932ea45131bdda8c5 SHA512 f8a1a52824b64cc252a5cd4f6c18d8cf73c88170342f0bab61664f5cdb50295510182c3c15afdfa02c1eae8d299e347a78b47d171ca275c01ecfd9228323c872
+DIST reg-0.14.0.tar.gz 5401266 BLAKE2B 029a128b6a999b4ec3a6e25c3104126b6ce8a29d423a27cdfa08d2bfa58d4f8fe979650a1f6150aaf7c64eaa324e8c93d6c1c5d2cb89e29accfcf61b7d9c87cd SHA512 57f2a7146e173338dcd953cc9cbd9c59858c8bb22d1593fabdc8a59084c86d432b70b289925a95f3f0d0bbff7aed5932baac23281d1e83d55d7bc6e9d89455d5
diff --git a/app-emulation/reg/reg-0.14.0.ebuild b/app-emulation/reg/reg-0.14.0.ebuild
new file mode 100644
index 000000000000..5430bbbad80f
--- /dev/null
+++ b/app-emulation/reg/reg-0.14.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/genuinetools/reg"
+EGIT_COMMIT="v${PV}"
+GIT_COMMIT="dc45b9f1b0901983f738f9a8cfeac1f12bd9b136"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Docker registry v2 command line client"
+HOMEPAGE="https://github.com/genuinetools/reg"
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+RESTRICT="test"
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ GOPATH="${S}" go build -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die
+ popd || die
+}
+
+src_install() {
+ dobin bin/*
+ dodoc src/${EGO_PN}/README.md
+}