diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-03-16 19:49:42 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-03-16 19:49:42 +0100 |
commit | 3ff61445680863400737b01f96e37124e378a2cc (patch) | |
tree | 6db29d403c8a724f31468098337711fbb27d50cd /dev-util/drone | |
parent | dev-util/drone: Remove broken version (diff) | |
download | gentoo-3ff61445680863400737b01f96e37124e378a2cc.tar.gz gentoo-3ff61445680863400737b01f96e37124e378a2cc.tar.bz2 gentoo-3ff61445680863400737b01f96e37124e378a2cc.zip |
dev-util/drone: Version bump to 0.5.0
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-util/drone')
-rw-r--r-- | dev-util/drone/Manifest | 1 | ||||
-rw-r--r-- | dev-util/drone/drone-0.5.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index d8602602d30a..8ed403adcc5f 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,3 +1,4 @@ +DIST drone-0.5.0.tar.gz 3462683 SHA256 633860660c951d61f596c591344ed4b0bf5a08dd7eee11e8414cdee86469f3fc SHA512 1351513bcaf2483631612420bb2109d05cf124ff703867fee5b0ed69a1a048130eb90c2efb8f3e1404b983f972c83101ecb2ec9246df5d1a21fff487e7486c0b WHIRLPOOL 3c8234ca0a76ebf542ee74f16162e0ca020a225bf2fb4c009b12b1247d191209e22df6c510292097cef9944b4ac365fc242dc628f5025586131b87feeb7dea99 DIST drone-0.5.0_rc1_p20170310.tar.gz 3464026 SHA256 fba695ef0b554f42a9ae8e1d3e89bd1eb26a1536a9a8456fc96b686d5277fac7 SHA512 3ed5a57fc016cbf246ebcc979fad005d8832ff9fd99d63187bc7c7f9a3d87b8c48e3784d3a7480e192960279b532868da02b8c3a6d68d844ca7448e27d33dd51 WHIRLPOOL 5f0a0a0145367f35d35a493463e5ef085520946f1b1f19f09d39b0864fc93a11f89169584bf7f36b67959c978fa97fe77799a3302ed52c95c25b18e78bed85e2 DIST github.com-drone-mq-280af2a3b9c7d9ce90d625150dfff972c6c190b8.tar.gz 220681 SHA256 0f66bacab16402acf335c423c82790757dc4ec66da84bf3fc500f0687835f722 SHA512 c5c4245d2369dccc9d917b6b5c87d73e50473ff8c9307521ff39dbbb3021833d00f47cdd3f6dc3485343602fc585276e29bf253c18a3e24f9b6f42290357a4a1 WHIRLPOOL 2010e1d1c0a4b6fd5583059a92d7a6ad68a35e915e4edcfb5b3c491f1439a3342ee3c47e01a6d5925a0a4e2407523783407e0767116cb47b3a29d9a60988bfe9 DIST github.com-golang-crypto-728b753d0135da6801d45a38e6f43ff55779c5c2.tar.gz 1317212 SHA256 1a17e324c6e96bea0f55f9900405d9ddb296c3a2ab55ad5882e716160575016f SHA512 163ca4b00188133d5c4d82dd685deaf2b889ae76b97021697d96dd8f11675a57361352e204d774a6fb7941f45dc8027ddb324abf0a4799ed19c3052181536992 WHIRLPOOL 09f69af205a74f275ce21565e16594603d0a2a84e8e412fdf652360a1472503e05329035ba10f0757127a7f6f1ebcc307c656f44c074f96bec767f4f51f573e2 diff --git a/dev-util/drone/drone-0.5.0.ebuild b/dev-util/drone/drone-0.5.0.ebuild new file mode 100644 index 000000000000..af4da6058433 --- /dev/null +++ b/dev-util/drone/drone-0.5.0.ebuild @@ -0,0 +1,39 @@ +# 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="dc5f01d00ec2970fe881c6633fbf69f6f0cb8950" +EGO_VENDOR=( "github.com/drone/mq 280af2a3b9c7d9ce90d625150dfff972c6c190b8" + "github.com/tidwall/redlog 550629ebbfa9925a73f69cce7cdd2e8dae52c713" + "golang.org/x/crypto 728b753d0135da6801d45a38e6f43ff55779c5c2 github.com/golang/crypto" ) + +inherit golang-build golang-vcs-snapshot + +ARCHIVE_URI="https://${EGO_PN%/*}/archive/v${PV}.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:= + 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/* +} |