diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-09-22 14:10:03 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-09-22 14:10:03 +0200 |
commit | 84790651c2626bf30a1b52511ab0095ea6e28794 (patch) | |
tree | fd45278a9c2ee0bcaf919665b6afa9f367d8b7ef /dev-util | |
parent | dev-util/drone: Version bump to 0.8.0 (diff) | |
download | gentoo-84790651c2626bf30a1b52511ab0095ea6e28794.tar.gz gentoo-84790651c2626bf30a1b52511ab0095ea6e28794.tar.bz2 gentoo-84790651c2626bf30a1b52511ab0095ea6e28794.zip |
dev-util/drone-cli: Version bump to 0.8.0
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/drone-cli/Manifest | 1 | ||||
-rw-r--r-- | dev-util/drone-cli/drone-cli-0.8.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest index 4a91f927973f..826d2e6a48b8 100644 --- a/dev-util/drone-cli/Manifest +++ b/dev-util/drone-cli/Manifest @@ -1,3 +1,4 @@ DIST drone-cli-0.7.0_p20170717.tar.gz 1148862 SHA256 f94abfa825a0f0ad51956587684517910176fb7db2afdbb65fe32add12221f1a SHA512 f901b9409354c9dc3bf21024f82a188e789c8ab05e8bca179cc77069baf024f40ce13995230f48d5c40e7485ab31bb3f22fae0ca68a8669295cdfb11dbb1b168 WHIRLPOOL 73d6edfe770f95eb514d193766c41c4e704bef59070140ad30784a44b547a7f7adda95e2fc29f07b94becb0af9d6a05d803a82735769f926ef3655a3a0f0270d +DIST drone-cli-0.8.0.tar.gz 1149494 SHA256 20e1435c2b15927b4eaefcfec920a559d95c324bf593f7de75d79e8fce5541de SHA512 5dc9a9910a76e31f0f9f845e1d59a0dc8371463de295f35090efdc16230b1458cc2d2f8632e91c46d18efb0c154874c65388cf6a37cca72b72f08d56b61cae72 WHIRLPOOL 81eb6ae8d7b4a4d111e92fef00bb0338420c3c6cd3a584a88170df292ce62c2bdfb2502cf03b6ba14c4ab00aa134411f48283c1942e0f92e996d517ca97728fc DIST drone-cli-0.8.0_pre20170801.tar.gz 1149163 SHA256 ada4ee1b4a38cf4666fd48e170fc2267812dc999fd37135366b85c8acf644ca9 SHA512 258703e961580f385bfcdde75baccbec1321134744f3fc393a25c8bb2883bf45addf09a7d4407fc432fddb4df059d6f07f85ce6bb84cc733758da1c4ddf9db90 WHIRLPOOL c836913947e2bf7a7f0abb20c0e24a2b3947a5d75e364d860766941a5b61146c48f35734816d8549bfda4c91c77fd6e76926f3ae85089252ecd0f2747e2dcc08 DIST drone-cli-0.8.0_pre20170913.tar.gz 1149494 SHA256 20e1435c2b15927b4eaefcfec920a559d95c324bf593f7de75d79e8fce5541de SHA512 5dc9a9910a76e31f0f9f845e1d59a0dc8371463de295f35090efdc16230b1458cc2d2f8632e91c46d18efb0c154874c65388cf6a37cca72b72f08d56b61cae72 WHIRLPOOL 81eb6ae8d7b4a4d111e92fef00bb0338420c3c6cd3a584a88170df292ce62c2bdfb2502cf03b6ba14c4ab00aa134411f48283c1942e0f92e996d517ca97728fc diff --git a/dev-util/drone-cli/drone-cli-0.8.0.ebuild b/dev-util/drone-cli/drone-cli-0.8.0.ebuild new file mode 100644 index 000000000000..2a1ec2b92731 --- /dev/null +++ b/dev-util/drone-cli/drone-cli-0.8.0.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="d7b19e6f6f581880352f232ba3453e0b769a9dca" + +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 +} |