summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-05-22 13:14:53 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-05-22 13:14:53 +0200
commit88aeb98d22e45ef374f0aab00b657e987f4e82c9 (patch)
tree860d2bd954d59360e6c245591985bae81b0e6fdb /dev-util/drone
parentkernel-2.eclass: Update eclass for new location for rc kernels > 1 (diff)
downloadgentoo-88aeb98d22e45ef374f0aab00b657e987f4e82c9.tar.gz
gentoo-88aeb98d22e45ef374f0aab00b657e987f4e82c9.tar.bz2
gentoo-88aeb98d22e45ef374f0aab00b657e987f4e82c9.zip
dev-util/drone: Update snapshot
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util/drone')
-rw-r--r--dev-util/drone/Manifest2
-rw-r--r--dev-util/drone/drone-0.6.0_p20170521.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest
index ea41f48ced23..4a347cf9c3b0 100644
--- a/dev-util/drone/Manifest
+++ b/dev-util/drone/Manifest
@@ -1,3 +1,5 @@
DIST drone-0.6.0.tar.gz 4144602 SHA256 afcaa71b996f7607240f0b3a1b61fd0d22a662d1d470275cc753a325314765fd SHA512 e399efabca00f8109944e51f69f21e070e9190c77b1be169b93698e19a483d6811ebba4214e22ee1dde161a47f197c83f5380a75308bbbe9b0d2c20ec569a904 WHIRLPOOL c86f89226c764537f1fe2921b63bbdfcce257c206b16e3dcca581f47798290c5b9f3f9e60467fd9326e76dd7198394f015abf4869af03efd6258984863188bdb
DIST drone-0.6.0_p20170516.tar.gz 4111146 SHA256 5c3e51d5866df4a961b0d6791217581da31cdd48a26e59b5d97af9f2de0f0cfb SHA512 b7ad0a678919d2797fd8939ec92f9ae760639037715c903b9d37101f50b742583d72092eba220932f3473f6886dd27fb06d3a71deb45f63a83c595627e7d184e WHIRLPOOL aaefc7653936384c4ff59684120f77fff71162b16c9d96d97ae42e263baddde7e8a7e0e96a5cb814338b16a3077a81d8f43fd2c079cfc0b5fb0561a812bbf740
+DIST drone-0.6.0_p20170521.tar.gz 4116779 SHA256 f9bfaccbe712f72da52c91bec296c5376fb52fa5e0e495be24ff4199a2197eb4 SHA512 31c0c76caee9ab4c0921398268b9001dac6afd6fd61f716b835efa212ade804f8309d61e27102075f28456be14c1e0076382d165fe38cb3a0b4b1c738df7b5ed WHIRLPOOL 2b91326abfe3a6c8da5710b50cedf7a5e7741ba3f78daaceee8a4ed49dbb2d35bb6cfa429941546633afe2f5088b4127178cd18a3f8483cc6f5c9a15190c42e9
DIST github.com-drone-drone-ui-72dc649bc4ff81f4560ab70b29495830a4c1cf3d.tar.gz 167100 SHA256 9e80fff7012b0f54fea80d4725e415c3fc0ced496692baa28bde7e5908b9b314 SHA512 4225d7372e4598dc9aa2eb0e645b3df3f71f7ca7f591d9a198da95276cd47fa2bf7acc808cc4a15ca80f33b259e43e0771744c98f3ff8d016919f1b7d15520b7 WHIRLPOOL 13e4cd0672d9f145c6dc6d5d6cc3f1bd532c02fbb6d8c94ecfb39e50f2471d4b0b5b030aa99bb7f105608225b183dd51a2f5666ddd2b96bcf9ef1c232d16ab4d
+DIST github.com-drone-drone-ui-76eae97423a0ab2194f82150eb47062580c28df7.tar.gz 167086 SHA256 6730a0c57ba7274a941da46641a0ec4ceba0c9a1c45283e34b94f2a7974f610c SHA512 bb10a896905b9fbc560e0927c797b87afa1258a9a90691530eb9242f9b9b9342f70029705ea9c82c395c0f62c130284987783fca0d0d059753da840fd7926380 WHIRLPOOL d0515b66001ad95e3d1012741153942da792dd92643962285c47ecfc3a585321261cf17d7e2c73907b6baf772514478edfecae717b86307086bf51cf64b0b035
diff --git a/dev-util/drone/drone-0.6.0_p20170521.ebuild b/dev-util/drone/drone-0.6.0_p20170521.ebuild
new file mode 100644
index 000000000000..f3db984e2a27
--- /dev/null
+++ b/dev-util/drone/drone-0.6.0_p20170521.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/drone/drone/..."
+EGIT_COMMIT="3b5efe1ba16dd963e228937ce98ea1ac29fff390"
+EGO_VENDOR=( "github.com/drone/drone-ui 76eae97423a0ab2194f82150eb47062580c28df7" )
+
+inherit golang-build golang-vcs-snapshot user
+
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="A Continuous Delivery platform built on Docker, written in Go"
+HOMEPAGE="https://github.com/drone/drone"
+SRC_URI="${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-go/go-bindata
+ dev-go/go-bindata-assetfs:="
+
+pkg_setup() {
+ enewgroup drone
+ enewuser drone -1 -1 /var/lib/drone drone
+}
+
+src_compile() {
+ pushd src || die
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"\
+ go install -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=build.${EGIT_COMMIT:0:7}" github.com/drone/drone/drone || die
+ popd || die
+}
+
+src_install() {
+ dobin bin/*
+ dodoc src/github.com/drone/drone/README.md
+ keepdir /var/log/drone /var/lib/drone
+ fowners -R drone:drone /var/log/drone /var/lib/drone
+ newinitd "${FILESDIR}"/drone.initd drone
+ newconfd "${FILESDIR}"/drone.confd drone
+ newinitd "${FILESDIR}"/drone-agent.initd drone-agent
+ newconfd "${FILESDIR}"/drone-agent.confd drone-agent
+}