diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-06-30 16:51:18 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-06-30 16:51:18 +0200 |
commit | d006c809b147d253cfcb2b3c5cd9369f48347e38 (patch) | |
tree | 366a53f833846e80bfc5dae6a16737083a2415b7 /dev-util/drone-cli | |
parent | dev-vcs/mr: drop old version 1.20160123 (diff) | |
download | gentoo-d006c809b147d253cfcb2b3c5cd9369f48347e38.tar.gz gentoo-d006c809b147d253cfcb2b3c5cd9369f48347e38.tar.bz2 gentoo-d006c809b147d253cfcb2b3c5cd9369f48347e38.zip |
dev-util/drone-cli: Update snapshot
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util/drone-cli')
-rw-r--r-- | dev-util/drone-cli/Manifest | 1 | ||||
-rw-r--r-- | dev-util/drone-cli/drone-cli-0.7.0_p20170629.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest index 8ea9aba0b528..dc014d10e4e4 100644 --- a/dev-util/drone-cli/Manifest +++ b/dev-util/drone-cli/Manifest @@ -1,2 +1,3 @@ DIST drone-cli-0.7.0_p20170603.tar.gz 1148152 SHA256 0440900f410141d0bd8e8f682a6acd2b9fecedb6d7def413b6bcc1304b362765 SHA512 a019295e97cd5683f97fc75d586b68df35fdf0ac8914f77a0efd2b6ec4a9727be04071556e92207cbaa07e573046a54e5a97e9aaccea5f9c1ea75b2a28d5c1df WHIRLPOOL 4357675b2f6ebfc5fb6ced9f4c2d1aa64673c51a4d2de55c329f7b15f37bdfaaca9427873b5bfdbe48c64a1b2f4a5117306ea13167d3efb213d3b34a0d3dd026 DIST drone-cli-0.7.0_p20170620.tar.gz 1148198 SHA256 ada290d76615965f2417b70a8bd2fc43ddbbd8f8ecd0ee5d9947de48d377c80f SHA512 2c548a7f79e9de93700d29694403289bbbf9b994441903e8d107c4c23726cd155762f0beea9e0d9081568f55bafe3fdca2d943af20023c4a81ceba9b00e69335 WHIRLPOOL 5132b03ebb9ee69f78669aad0d2db28f2440922585552c30a788e2986264821d1aa5064f3de2d41b56e36ef51709284b6edd511d9fe538ebfc9387440060ed07 +DIST drone-cli-0.7.0_p20170629.tar.gz 1148740 SHA256 2115d75dbe5057a1e8f3c0a257e064351e7298b258ee295dee9894255468e44c SHA512 f82895f9eed937bacd83bef7d83fbfdfb6ce47e0fe08605419367c0e67b620e2ab98b29107a16c4b27c8268a195f31692357957c08e08bcb57c6396d6f260966 WHIRLPOOL e42e9c7914ac320f2dc3183b2031b2d18a08d7a59142315cb3a8554c47ec4e0c75200eda55e3b325fb28eee62ea0460563710e40460e2ce0ad8db0e9c78b5cf3 diff --git a/dev-util/drone-cli/drone-cli-0.7.0_p20170629.ebuild b/dev-util/drone-cli/drone-cli-0.7.0_p20170629.ebuild new file mode 100644 index 000000000000..8862e79511c4 --- /dev/null +++ b/dev-util/drone-cli/drone-cli-0.7.0_p20170629.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN="github.com/drone/drone-cli" +EGIT_COMMIT="a785895ab015abd20e4c42da7901492817141e98" + +inherit golang-build golang-vcs-snapshot + +ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="Command-line interface for Drone" +HOMEPAGE="https://github.com/drone/drone-cli" +SRC_URI="${ARCHIVE_URI}" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +RESTRICT="test" + +RDEPEND="!!<dev-util/drone-0.7" + +src_compile() { + pushd src || die + GOPATH="${WORKDIR}/${P}"\ + go install -ldflags "-X main.version=${PV}.${EGIT_COMMIT:0:7}" ${EGO_PN}/drone || die + popd || die +} + +src_install() { + dobin bin/drone + dodoc src/${EGO_PN}/README.md +} |