diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-12-15 15:37:55 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-12-15 15:37:55 +0100 |
commit | 8b675d9305f05bad9e15aa4c261aadcc14b94405 (patch) | |
tree | 2f0e212ce27cb04c7040060bd062567027196fc1 /dev-util/drone | |
parent | app-shells/tcsh: version bump to 6.20 (diff) | |
download | gentoo-8b675d9305f05bad9e15aa4c261aadcc14b94405.tar.gz gentoo-8b675d9305f05bad9e15aa4c261aadcc14b94405.tar.bz2 gentoo-8b675d9305f05bad9e15aa4c261aadcc14b94405.zip |
dev-util/drone: Update snapshot
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-util/drone')
-rw-r--r-- | dev-util/drone/Manifest | 1 | ||||
-rw-r--r-- | dev-util/drone/drone-0.5.0_pre20161214.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/drone/Manifest b/dev-util/drone/Manifest index ce541401e81d..6cf06f8f3f0d 100644 --- a/dev-util/drone/Manifest +++ b/dev-util/drone/Manifest @@ -1,4 +1,5 @@ DIST drone-0.5.0_pre20161128.tar.gz 3450963 SHA256 1fb32bded00725ad327a6ade8313f068dda6eca9cdc0d6ec32b23afdc018779a SHA512 853443338f81733a9835a92df09ba3d5d7ffa871754879cf6b613741e8e17dce52bd4dfd32049c733bc29f76e9fe7128925e7f5f9e5aa7d4d89efce316559a5c WHIRLPOOL 74e2b6f2cb9a21577130771832b01a7908e8598ab1d3a46ebc40ada48ad7c5ec6ba230266de83f5412407d9506b66f5c2e1223a1c0b9be39629febf8ca864e10 +DIST drone-0.5.0_pre20161214.tar.gz 3451112 SHA256 8c595612abed1530c681b003c6f6b671f9d31ec350425bbbdb52d79c45dd2db4 SHA512 c484cab04aa3039ce89f424f6f73e047a38fbe39083cda898c57c05cb7bac04269252b45cdd4593654404b3a8d0486f7cc3ae6514ac73052bebbdf5081316922 WHIRLPOOL 332216ac3906b85663bf65ad33d0cec03e7fa561f344055f6b61ee569dfaf49d7e3a13381ff4877dc2df3e8261426239676574feaba5270f8a6107a418cc1b48 DIST drone-mq-1a62dafd7863c0e0b256edec7db73716a8e17dde.tar.gz 220608 SHA256 9c4785d6a2b3895d9cbd03ba05c82db0cf1dc680eeee2f7329e1488ff6e15cfa SHA512 24f0997e4977a99acb0b1ff0b2f270aca7eac647d4c449b8dd50207d228d15e0e5447503dc428e5806d12d5a8549fe413bd0fb6f7b9bb1953977a820bf2c11da WHIRLPOOL 9ad50c8ac623ca0dd9fd3197ff5f1e90acf9cd24d574a53e58c5da9b9ab8da233b32ac0811d187e74cfbb1e6a0fe0a54e9f64e64208dd2e056bfc3dc83731195 DIST golang-crypto-ede567c8e044a5913dad1d1af3696d9da953104c.tar.gz 1298821 SHA256 e5b6d4c0067dae5d8141a7adae18cea855b586f81a6849d01d2bafd21d03384e SHA512 afe9b63065310802da8517e420fc6690e0d321b373618bc889a0084349d1c8d0a21ed1754ece133827563d817ea16be7cd593436a04177ef318f7f2a40f5b6ad WHIRLPOOL 33df01ef99e3b0c2afb82ea2b146e40f4fe0c03209cc7572de09a89e5af96985e384cfb3eda47e532e7baeac7c497471c4df7eca00c3a75c2f92c2595fd21a18 DIST tidwall-redlog-54086c8553cd23aba652513a87d2b085ea961541.tar.gz 3771 SHA256 b88b43d5f4125e9768027f0c0a4c0e98aee8063792e503f8f62eca40a0cb0439 SHA512 08b373cfd61223e66b1762b54c2591cf1f9892d62a997169809ad68ed52886d12d07340e68cbb08c26f65eab0d8fe843a007cc0d2c63b75415752b87e85f99e7 WHIRLPOOL c651eb6d5f10f2891fa1f213b2f6850252218d11216f2c30ee3cb0bfa4daaaa7b68d07fa8863617ebdec058f44aeb66cb42741d3a9dcf5c1aa7fd8ae616def88 diff --git a/dev-util/drone/drone-0.5.0_pre20161214.ebuild b/dev-util/drone/drone-0.5.0_pre20161214.ebuild new file mode 100644 index 000000000000..777432c62da7 --- /dev/null +++ b/dev-util/drone/drone-0.5.0_pre20161214.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit golang-build golang-vcs-snapshot + +EGO_PN="github.com/drone/drone/..." +EGIT_COMMIT="b83a719e37c6f1c1f3f728f5250189d5aa4699af" +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} + https://github.com/drone/mq/archive/1a62dafd7863c0e0b256edec7db73716a8e17dde.tar.gz -> drone-mq-1a62dafd7863c0e0b256edec7db73716a8e17dde.tar.gz + https://github.com/tidwall/redlog/archive/54086c8553cd23aba652513a87d2b085ea961541.tar.gz -> tidwall-redlog-54086c8553cd23aba652513a87d2b085ea961541.tar.gz + https://github.com/golang/crypto/archive/ede567c8e044a5913dad1d1af3696d9da953104c.tar.gz -> golang-crypto-ede567c8e044a5913dad1d1af3696d9da953104c.tar.gz" +LICENSE="Apache-2.0" +SLOT="0/${PVR}" +IUSE="" + +DEPEND="dev-go/go-bindata + dev-go/go-bindata-assetfs:= + dev-util/drone-ui:=" + +_golang-include-src() { + local VENDORPN=$1 TARBALL=$2 + mkdir -p "${WORKDIR}/${P}/src/${VENDORPN}" || die + tar -C "${WORKDIR}/${P}/src/${VENDORPN}" -x --strip-components 1\ + -f "${DISTDIR}"/${TARBALL} || die +} + +src_unpack() { + golang-vcs-snapshot_src_unpack + _golang-include-src github.com/drone/mq drone-mq-*.tar.gz + _golang-include-src github.com/tidwall/redlog tidwall-redlog-*.tar.gz + _golang-include-src golang.org/x/crypto golang-crypto-*.tar.gz +} +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/* +} |