diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-05-04 13:22:13 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-05-04 13:22:13 +0200 |
commit | e387c6f03f053f02ffadee3aace15ce6bfc724d8 (patch) | |
tree | 71f6f2fb03a56273212382840624fad7d30410bf /dev-util/drone | |
parent | sys-fs/udisks: Added sys-devel/autoconf-archive to DEPEND (bug #617406). (diff) | |
download | gentoo-e387c6f03f053f02ffadee3aace15ce6bfc724d8.tar.gz gentoo-e387c6f03f053f02ffadee3aace15ce6bfc724d8.tar.bz2 gentoo-e387c6f03f053f02ffadee3aace15ce6bfc724d8.zip |
dev-util/drone: Add new snapshot
Package-Manager: Portage-2.3.5, 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.6.0_rc1_p20160504.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index face99374c68..efa032a518c4 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,6 +1,7 @@ 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 drone-0.6.0_rc1_p20160430.tar.gz 3717513 SHA256 ead842d2ebebe9efd4bc281ac2fd12d1d55ce79a1edec8e390c88fa0667f0cb4 SHA512 4bb4c1c77b03c58bf6f8c08c5186003699aa0cfabfcf0e82179bf87a746547ed42c53fb8b113f13d827601bf630dc4032301d91aee440e6115d5c8758a618c6d WHIRLPOOL 2d22b332db56f12785e78679cb52bd665d36bb4428d252f418efaf1fda98ed20ffd0223f91ee7308820ecf31d17ced893851f7bad78d334b3129b591c28e466e +DIST drone-0.6.0_rc1_p20160504.tar.gz 3730412 SHA256 49b0496287735012d62035122eacc91ba7e8465a10bc4c41bcd7ac2e5f931172 SHA512 3f9835af7d9db1e017f6e5d1a1f07ae670bf2fd53c2fd79022ac9645715e837e4f24bdcddb7f2d98c815fd142a5a003a869721632df9565d22d4af60d7168367 WHIRLPOOL bbdbe6aed5a8064865a8141c06837bbeff27b221699618f5881074dc2a4b41ff3e1f33a03eff05fdeeed8b0ccaa9f7eb3e1b9e049d8cbdc3e774998f1651da48 DIST github.com-drone-drone-ui-d8426a1658a71c0dd0c7a0aa6f5cc072e3328f9e.tar.gz 167017 SHA256 3b1623182c40ba4bee871054bf674bfbffaa97d29565ae8b8b71195e62da2270 SHA512 5c3bcf5e465af08e233456a8412cb0f42fbc452ecf08838e64077a65e67bca475f028262568be473ecd29b3f16b974fa0bd44f34dcf7ca3d547b76a8ade4d11e WHIRLPOOL 7f1e6d6b416e834541e1d6c21cb46f4a6b96dfcd92b8de097f57defbe9c28918506a8ee3f494c980f5e8bbac0c16f63e49918977f00a27f35c6974c4250b5e87 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.6.0_rc1_p20160504.ebuild b/dev-util/drone/drone-0.6.0_rc1_p20160504.ebuild new file mode 100644 index 000000000000..44f6ea1909e0 --- /dev/null +++ b/dev-util/drone/drone-0.6.0_rc1_p20160504.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="797bb4970fced3062c001c4de5842110b535731a" +EGO_VENDOR=( "github.com/drone/drone-ui d8426a1658a71c0dd0c7a0aa6f5cc072e3328f9e" ) + +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 -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 +} |