summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-01-11 12:38:04 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-01-11 13:05:09 +0100
commit99a325063960d87a95d752b7e9d741d330e76c4e (patch)
treed945100b28fdb7e9ce00d0cca82f407b61a214e8 /dev-util/drone-cli
parentdev-db/pspg: Bump to 0.9.1 (diff)
downloadgentoo-99a325063960d87a95d752b7e9d741d330e76c4e.tar.gz
gentoo-99a325063960d87a95d752b7e9d741d330e76c4e.tar.bz2
gentoo-99a325063960d87a95d752b7e9d741d330e76c4e.zip
dev-util/drone-cli: Version bump to 0.8.1
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-util/drone-cli')
-rw-r--r--dev-util/drone-cli/Manifest1
-rw-r--r--dev-util/drone-cli/drone-cli-0.8.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest
index ebad0796debf..8f2ac2ab90ad 100644
--- a/dev-util/drone-cli/Manifest
+++ b/dev-util/drone-cli/Manifest
@@ -1,2 +1,3 @@
DIST drone-cli-0.7.0_p20170717.tar.gz 1148862 BLAKE2B a631b546917c542dc9395a2390a8f22c6f041314ece6cd185fbfd312a636040098c7f50f1ae07bedaba5ca1d718ad2a6741a24322ad0d9c291addf11b9b74035 SHA512 f901b9409354c9dc3bf21024f82a188e789c8ab05e8bca179cc77069baf024f40ce13995230f48d5c40e7485ab31bb3f22fae0ca68a8669295cdfb11dbb1b168
DIST drone-cli-0.8.0.tar.gz 1149494 BLAKE2B 6be4edf8a122919570319867d2981fd56fe644093f83216fc17ff4d17e6caa13f163748b6eec68eb6ebab86259bf10fc8636670248fb382120a72738b918ac9b SHA512 5dc9a9910a76e31f0f9f845e1d59a0dc8371463de295f35090efdc16230b1458cc2d2f8632e91c46d18efb0c154874c65388cf6a37cca72b72f08d56b61cae72
+DIST drone-cli-0.8.1.tar.gz 1150026 BLAKE2B 25197e3e8d15f07026251d68689fea1fab03329121b748bfd3c06d6310fb76de743934467e7c453492a7843c7ee0a925161e7f4dd912949490c4adad1d896dac SHA512 c3f157ae4f7deebc1641e73bbbf218da85d0f732143941c2c37a52fd6c7db0951d6ed6dc6d55920641a3b9a7a10537813442353890699075bdfd072601b82cd3
diff --git a/dev-util/drone-cli/drone-cli-0.8.1.ebuild b/dev-util/drone-cli/drone-cli-0.8.1.ebuild
new file mode 100644
index 000000000000..950e201a21ba
--- /dev/null
+++ b/dev-util/drone-cli/drone-cli-0.8.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/drone/drone-cli"
+EGIT_COMMIT="1cb942f726e6c616bb78c85b70baa61ba01152a2"
+
+inherit golang-build golang-vcs-snapshot
+
+ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.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
+}