commit:     5f940916ea561cc4480630bf27051afde01350de
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 14:38:08 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 14:38:08 2016 +0000
URL:        https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=5f940916

dev-util/gitlab-ci-multi-runner: Version bump to 1.6.1

Package-Manager: portage-2.3.2

 dev-util/gitlab-ci-multi-runner/Manifest           |  3 ++
 .../gitlab-ci-multi-runner-1.6.1.ebuild            | 46 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-util/gitlab-ci-multi-runner/Manifest 
b/dev-util/gitlab-ci-multi-runner/Manifest
index c1f76f6..cb36c4d 100644
--- a/dev-util/gitlab-ci-multi-runner/Manifest
+++ b/dev-util/gitlab-ci-multi-runner/Manifest
@@ -4,3 +4,6 @@ DIST gitlab-ci-multi-runner-1.5.3.tar.gz 1134893 SHA256 
b965d57f1db051eb67ffb0d2
 DIST gitlab-ci-multi-runner-1.6.0-prebuilt-arm.tar.xz 9317244 SHA256 
7c80626a5a4d90545d6588c3efbc725129b889fe9f3afdece41d163fdcf30f32 SHA512 
d98308a1e5f7d1113f8ba6510a9db89a75cef07a8319059aa0379dc36930fc8763e547d484df90ec2ca37031e403f0a30679b540300e8b523f056d5b178fa9a0
 WHIRLPOOL 
fd359c73a1c9f6e98c2573b0f66f254e5153924fb208745d4bcccf0431e6512c338377627d671843242b85dd36e8679db173083530bfaf9eebe541ec7ca3d232
 DIST gitlab-ci-multi-runner-1.6.0-prebuilt-x86_64.tar.xz 8349640 SHA256 
e6681f6f43b149cb53527943e0fc6b34a99a8c3d79b39c73f3d5582a11a97a5f SHA512 
89aa98516d4627e36252a5b0744a4e3f1b607ecb4ba564fc71ec1f8c575dee4307d6cfaa3594471092ecd4f7b021d63b92e7122d2f3794b0128fade404cd8693
 WHIRLPOOL 
8c677fd4cea5f2f7df605d9265370ecf171561338f7947978d8a670e39b5f9345d19d19afd2aba1a33cc2e108457ef0032b72d8a6e58a28508fe1abb07a7ad75
 DIST gitlab-ci-multi-runner-1.6.0.tar.gz 3045343 SHA256 
219031680b386436ec7b7affc004c2388e6772bb8cce6d554c5b564918bce720 SHA512 
986e043cf52ac7355833706f4f1e5e81f79ff5d6ee70a823cf4cf94107c57907f670f571cc992b0aa1f503d62b8e3ffb8f8758d024b09233e27d62d5459819a5
 WHIRLPOOL 
15ab2eb2610c76044fbbaaa1c20a10ea523a14f755a5bbd1bbc968d929385f0fe24ea02e985e139e686d542750f852be2edb4223afae06fdb25f722cd233e9cf
+DIST gitlab-ci-multi-runner-1.6.1-prebuilt-arm.tar.xz 9314916 SHA256 
73d5d611f4aa8b2a0d8bc61f7cbd1e4cd4e7d089015084338c0e4b1eba1a6482 SHA512 
1d231910686fe94e27251aaf5c63e1b358eaa66b18cc2add7f35763cdd9137851c461fba573c4a1fc704ee58350a2cc20291441279dfc046c509d502f8d92aa5
 WHIRLPOOL 
bfd15f424aa0e2feef5da4557cec709d8b7caf2d31eddb20ab27c90421b38453d61660126a64b2e450d008d656b6aab3f3a4cb477fb9ead896e8a24794f91685
+DIST gitlab-ci-multi-runner-1.6.1-prebuilt-x86_64.tar.xz 8350044 SHA256 
18d7e08e13beded578a6de57de17de5f844c341558231446486aabff1d48e3e1 SHA512 
91049b4d6a530c506953d10257ac203714837503c2a9905e2f18789823e2444c21cecd88c5f62d655852b0f801fae89e9b379b4b52af50d350e5a7b1653d2b83
 WHIRLPOOL 
314d35573a9829481ba6b3a0406b49fb0936d92618889ed0654aa47040ebf022815f187ef1cb47d2994d79602753cdfb6a61054d1e2e6d2e7b94fab5200ff365
+DIST gitlab-ci-multi-runner-1.6.1.tar.gz 3046449 SHA256 
9a3419e0ff35af6a06c8186eceecf13f32452563f1ef34bac39fea4969c024f5 SHA512 
c45e54fee0d54f003c1931484761c96ec7f24ff785129644333838e01b9dc4e4778a27dc58824ee165c08439811090bec657cec2c2d337e4f5973a7fae9d9fd1
 WHIRLPOOL 
562d7a5ac359236ae203d1e06571aa0f11c2eef0cd742c252eee4d68310bf9317508b48d3b829211ff026a35e56c60fb2238081b17afcdb2475ecf6029897acf

diff --git 
a/dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.6.1.ebuild 
b/dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.6.1.ebuild
new file mode 100644
index 0000000..03555b5
--- /dev/null
+++ b/dev-util/gitlab-ci-multi-runner/gitlab-ci-multi-runner-1.6.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit golang-build golang-vcs-snapshot
+
+EGO_PN="gitlab.com/gitlab-org/gitlab-ci-multi-runner/..."
+
+DESCRIPTION="Official GitLab CI Runner written in Go"
+HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-ci-multi-runner";
+SRC_URI="https://gitlab.com/gitlab-org/${PN}/repository/archive.tar.gz?ref=v${PV}
 -> ${P}.tar.gz
+       !docker-build? ( 
https://dev.gentoo.org/~mrueg/files/${P}-prebuilt-x86_64.tar.xz
+               https://dev.gentoo.org/~mrueg/files/${P}-prebuilt-arm.tar.xz )"
+
+KEYWORDS="~amd64"
+LICENSE="MIT"
+SLOT="0/${PVR}"
+IUSE="docker-build"
+
+DEPEND="dev-go/gox
+       dev-go/go-bindata
+       docker-build? ( >=app-emulation/docker-1.5 )"
+
+RESTRICT="test"
+
+src_prepare() {
+       if ! use docker-build; then
+               mkdir -p src/${EGO_PN%/*}/out/docker || die
+               cp "${DISTDIR}"/${P}-prebuilt-x86_64.tar.xz 
src/${EGO_PN%/*}/out/docker/prebuilt-x86_64.tar.xz || die
+               cp "${DISTDIR}"/${P}-prebuilt-arm.tar.xz 
src/${EGO_PN%/*}/out/docker/prebuilt-arm.tar.xz || die
+       else
+               einfo "You need to have docker running on your system during 
build time"
+               einfo "$(docker info)"
+       fi
+}
+
+src_compile() {
+       emake GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" RELEASE=true -C 
src/${EGO_PN%/*} build
+}
+
+src_install() {
+       golang-build_src_install
+       dobin bin/*
+       dodoc src/${EGO_PN%/*}/README.md src/${EGO_PN%/*}/CHANGELOG.md
+}

Reply via email to