summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-03-16 18:05:59 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-03-16 18:06:54 +0100
commit0891b8966e4669ff0c4d8c03e0a1b6b5cc4d4514 (patch)
treeff9ba2990e81abb33a836837b3b1912024293caa
parentx11-misc/lightdm-kde: EAPI 6 (diff)
downloadgentoo-0891b8966e4669ff0c4d8c03e0a1b6b5cc4d4514.tar.gz
gentoo-0891b8966e4669ff0c4d8c03e0a1b6b5cc4d4514.tar.bz2
gentoo-0891b8966e4669ff0c4d8c03e0a1b6b5cc4d4514.zip
dev-util/drone: Update snapshot
Package-Manager: Portage-2.3.4, Repoman-2.3.2
-rw-r--r--dev-util/drone/Manifest1
-rw-r--r--dev-util/drone/drone-0.5.0_p20170316.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest
index fab5c1d79355..370c1ada2f50 100644
--- a/dev-util/drone/Manifest
+++ b/dev-util/drone/Manifest
@@ -1,3 +1,4 @@
+DIST drone-0.5.0_p20170316.tar.gz 3573605 SHA256 d7440eaf7f3ccf3ba5cdb3aeb461ea95f49596a62517582f83f7a67fff671941 SHA512 6a02395be1f594e0d388a021d70d9b3d66c7d36967ad854b1d75c150a53ee0e553030b52a7baf9d074ea868a145820ec4c86ff35cd41c62bf4e7e0e1cd89745c WHIRLPOOL 693366838eed4b331a676f09189b9b9875e8cb91e53832bbdca1d83cd05c6cddf1125f23b82058137e34b4fb5164b00edc4cf3fa7f1e50162b0b93173e65962c
DIST drone-0.5.0_pre20170224.tar.gz 3464398 SHA256 290ec464af63925c49f2f059a0cbe6d699b3e1b7517bb0a00c0440ab1192b951 SHA512 490b3a03fe8ebe17ba68d885a5710dee6544df72e5d98f6aa005adaa3ae95fe725beaf77d5cf45f0cce7dc6a4b06ef2f3cac6f7a13a244160a62c86ebe0bc403 WHIRLPOOL 64e332cad878f9cd437636f27e5bc82d40a1da9565aadb835f2e0fbcb352e9b8a78fd8f7913935fdc5e80d2d294ced2a09d040a496dd0c67115ef8a712466507
DIST drone-0.5.0_rc1_p20170310.tar.gz 3464026 SHA256 fba695ef0b554f42a9ae8e1d3e89bd1eb26a1536a9a8456fc96b686d5277fac7 SHA512 3ed5a57fc016cbf246ebcc979fad005d8832ff9fd99d63187bc7c7f9a3d87b8c48e3784d3a7480e192960279b532868da02b8c3a6d68d844ca7448e27d33dd51 WHIRLPOOL 5f0a0a0145367f35d35a493463e5ef085520946f1b1f19f09d39b0864fc93a11f89169584bf7f36b67959c978fa97fe77799a3302ed52c95c25b18e78bed85e2
DIST drone-mq-280af2a3b9c7d9ce90d625150dfff972c6c190b8.tar.gz 220681 SHA256 0f66bacab16402acf335c423c82790757dc4ec66da84bf3fc500f0687835f722 SHA512 c5c4245d2369dccc9d917b6b5c87d73e50473ff8c9307521ff39dbbb3021833d00f47cdd3f6dc3485343602fc585276e29bf253c18a3e24f9b6f42290357a4a1 WHIRLPOOL 2010e1d1c0a4b6fd5583059a92d7a6ad68a35e915e4edcfb5b3c491f1439a3342ee3c47e01a6d5925a0a4e2407523783407e0767116cb47b3a29d9a60988bfe9
diff --git a/dev-util/drone/drone-0.5.0_p20170316.ebuild b/dev-util/drone/drone-0.5.0_p20170316.ebuild
new file mode 100644
index 000000000000..1f5b9b0d77e9
--- /dev/null
+++ b/dev-util/drone/drone-0.5.0_p20170316.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+EGO_PN="github.com/drone/drone/..."
+EGIT_COMMIT="e03d3d9932b37ebac21514de24d926f0478a9e60"
+
+inherit golang-build golang-vcs-snapshot
+
+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}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-go/go-bindata
+ dev-go/go-bindata-assetfs:=
+ dev-util/drone-ui:="
+
+src_compile() {
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" emake -C src/github.com/drone/drone gen || die
+ pushd src || die
+ DRONE_BUILD_NUMBER="${EGIT_COMMIT:0:7}" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)"\
+ go install -ldflags "-extldflags '-static' -X github.com/drone/drone/version.VersionDev=${EGIT_COMMIT:0:7}" github.com/drone/drone/drone || die
+ popd || die
+}
+
+src_install() {
+ dobin bin/*
+}