diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-04-25 13:59:02 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-04-25 13:59:36 +0200 |
commit | 097b94ccf83edd50be75d5462f37203d8f27a864 (patch) | |
tree | 74e428dbad89f550bcf8d1f55e0cb2bfcf0fd39f | |
parent | dev-util/drone-ui: Remove old (diff) | |
download | gentoo-097b94ccf83edd50be75d5462f37203d8f27a864.tar.gz gentoo-097b94ccf83edd50be75d5462f37203d8f27a864.tar.bz2 gentoo-097b94ccf83edd50be75d5462f37203d8f27a864.zip |
dev-util/drone: Update snapshot
Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r-- | dev-util/drone/Manifest | 1 | ||||
-rw-r--r-- | dev-util/drone/drone-0.6.0_rc1_p20160421.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index 8d96b6e16ac0..97aea17adfa9 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,4 +1,5 @@ DIST drone-0.5.0.tar.gz 3462683 SHA256 633860660c951d61f596c591344ed4b0bf5a08dd7eee11e8414cdee86469f3fc SHA512 1351513bcaf2483631612420bb2109d05cf124ff703867fee5b0ed69a1a048130eb90c2efb8f3e1404b983f972c83101ecb2ec9246df5d1a21fff487e7486c0b WHIRLPOOL 3c8234ca0a76ebf542ee74f16162e0ca020a225bf2fb4c009b12b1247d191209e22df6c510292097cef9944b4ac365fc242dc628f5025586131b87feeb7dea99 +DIST drone-0.6.0_rc1_p20160421.tar.gz 3588875 SHA256 6cd984eadf0df51f49714f6f765fcf11fd9e47bbd15a970b45f2f0d0e18d7734 SHA512 bd54ec0841ee6f9ab084972971eeaff8b0400c43f7a8c6142a774566758cca71510f7711c2cf33597c8520ec55b115bde0dc1872dd69a21361d034a1b2e8edf2 WHIRLPOOL 0f66340265a8e9776ef85d568a4bafc52bcb44bb7fe75596fb2a2d1b6d756841b65d335da0f95631bfb2cd41887ef5a9db0eea608f465720c522bef19bdd079b 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 DIST github.com-tidwall-redlog-550629ebbfa9925a73f69cce7cdd2e8dae52c713.tar.gz 3878 SHA256 6c273e68b08f55cc48c771ad7201bb2fcef95b7c20747ebb31940b8f14a49818 SHA512 8b59be3801310604062c557719a128d76493ee82b0c26fb9176c3bb77402ee2c735e18182055828397d4d3d64b98b6ac37aaf11d595ebfe52ecafe065e12f3d4 WHIRLPOOL 1446dfb2ef1b961a00af9d5cbdfcd91b838a4c832444e027bf9c897ecb71cd47909007f5270fb5785e7e7ab7556483a06c09fcef259208816d860f15f3955795 diff --git a/dev-util/drone/drone-0.6.0_rc1_p20160421.ebuild b/dev-util/drone/drone-0.6.0_rc1_p20160421.ebuild new file mode 100644 index 000000000000..04861ed96c8b --- /dev/null +++ b/dev-util/drone/drone-0.6.0_rc1_p20160421.ebuild @@ -0,0 +1,48 @@ +# 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="cc530301fe84f19c3bb6a64d694fa439e0770cce" + +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:= + >=dev-util/drone-ui-0.6.0_rc1_pre20170412:=" + +pkg_setup() { + enewgroup drone + enewuser drone -1 -1 -1 drone +} + +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/* + 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 +} |