summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-03-19 13:51:03 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-03-19 13:51:03 +0100
commitc7a374b3602622d9b799314cdfeedf786fbfb627 (patch)
tree8278d9fab31c7a1b3381a16529c68c90fa4e53be
parentapp-admin/helm: Version bump to 2.8.2 (diff)
downloadgentoo-c7a374b3602622d9b799314cdfeedf786fbfb627.tar.gz
gentoo-c7a374b3602622d9b799314cdfeedf786fbfb627.tar.bz2
gentoo-c7a374b3602622d9b799314cdfeedf786fbfb627.zip
dev-util/drone-cli: Version bump to 0.8.5
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--dev-util/drone-cli/Manifest1
-rw-r--r--dev-util/drone-cli/drone-cli-0.8.5.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest
index 82047c67b72..01e41265182 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 BLAKE2B a631b546917c542dc9395a2390a8f22c6f041314ece6cd185fbfd312a636040098c7f50f1ae07bedaba5ca1d718ad2a6741a24322ad0d9c291addf11b9b74035 SHA512 f901b9409354c9dc3bf21024f82a188e789c8ab05e8bca179cc77069baf024f40ce13995230f48d5c40e7485ab31bb3f22fae0ca68a8669295cdfb11dbb1b168
DIST drone-cli-0.8.3.tar.gz 1378969 BLAKE2B 5dd0d399067b454422aa0ed07e665efaf40d4882de941176f8032441c0cd32a74be2f374ac57ec56ae7cd625e2ba1307821bf713732a30e3403cbc8f28f368f9 SHA512 2dfb4739536e7af9c220f6c21e1e3861ef8599e30ad8406efb5cdb035ee5721957a8b5a340f991335b51de34477b5acfcb5372ca10a9e6b1e28a8f0d1a284438
DIST drone-cli-0.8.4.tar.gz 1380019 BLAKE2B 1fa7d6efa795de7b0015afff77365d21a7f019a4bd1c47a6c77b590e2fccf50d0c8bae3b78c8a4dfef45421cce00017ee3a72e4e3d87b86a5fd41b08c04aca94 SHA512 14bd7e5172311117a7a012d6a1d9a0d271384355ff99894250b4a352f86678597f545ec9f4e40e9f8718e1058e0dd2c940e5afbd4bee73ada0bd6ce165f1299b
+DIST drone-cli-0.8.5.tar.gz 1381755 BLAKE2B 329a73490af7dced38e5a8ca7c8799e3cec5f8f2da396cf2c7e307cf65967c7688e1d9df3484a45da1906a187edfc3d4e45c48c7953549d61cf40903c334da07 SHA512 2e42b5aedf6b4b2666da84e457a161312c59a2e0d8785167ddc272f016d5ffaf4e5964e0da4135ad459a767b16259f8905fdd222e87247ad1915cdf2f85ed50f
diff --git a/dev-util/drone-cli/drone-cli-0.8.5.ebuild b/dev-util/drone-cli/drone-cli-0.8.5.ebuild
new file mode 100644
index 00000000000..47b322c1a78
--- /dev/null
+++ b/dev-util/drone-cli/drone-cli-0.8.5.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="80e17b70e6323c282a02a764158b470f42704128"
+
+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
+}