summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2019-07-29 11:27:36 +0200
committerManuel Rüger <mrueg@gentoo.org>2019-07-29 11:27:36 +0200
commit7c792c2cb836cb1f73ef43fbb9209fa94bbfb73f (patch)
tree89460ec1b5f685593f4feeb22debbb7498e018a1 /dev-util/drone-cli
parentapp-admin/certmgr: Version bump to 2.0.1 (diff)
downloadgentoo-7c792c2cb836cb1f73ef43fbb9209fa94bbfb73f.tar.gz
gentoo-7c792c2cb836cb1f73ef43fbb9209fa94bbfb73f.tar.bz2
gentoo-7c792c2cb836cb1f73ef43fbb9209fa94bbfb73f.zip
dev-util/drone-cli: Version bump to 1.1.4
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'dev-util/drone-cli')
-rw-r--r--dev-util/drone-cli/Manifest1
-rw-r--r--dev-util/drone-cli/drone-cli-1.1.4.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest
index 365da24bea62..f50a0fcab408 100644
--- a/dev-util/drone-cli/Manifest
+++ b/dev-util/drone-cli/Manifest
@@ -3,3 +3,4 @@ DIST drone-cli-1.0.8.tar.gz 2724807 BLAKE2B f8bdbd90687e59cf104d3506957616c13ddf
DIST drone-cli-1.1.0.tar.gz 2725959 BLAKE2B 684d03de78c07fd3a901132734c0e8f9fef129f4443b9af33a1b2205168289e3bfb357faf21e5d5e63f6fae21d864a475575cb3d1f60a499b846963cde7814e0 SHA512 ba059250cf73982b662e5fb9f4570381ca4ff2618a759dc497f793e7bba7d7094cc28fb90390c61b642caab0ee5d33ddc1c5a25cea13c6aaea8e50ac24868927
DIST drone-cli-1.1.1.tar.gz 2840804 BLAKE2B 393e4f0cabc30c322dd31b5d3c7bdd846a3960eaab532669020e55a7b83ca7884125a0c47c5a1540101b0ad6dbc3f147470e18164cbe4f79dbc93dc033081abe SHA512 bc75683a6aea1d11c22a635a4386c3c0ead17f15f0b59ebc692fa0a5a346e90b3e6d1b16bdc21f807c91080f3c969d254db2cefb07113b3e4b3409425eebacc3
DIST drone-cli-1.1.3.tar.gz 2841895 BLAKE2B 8e44ed377064d7e08184f56457390caef7861bb1ab5512e4ec679cd6e9a0ca018311b2d8abe0df2323eaa9ceada89323517d5c934781093905121c3f6eb52123 SHA512 423c0907499119137fea014b4f6d51154f98b82f4fadf69852bbb0722ae29d9a8e62ff49aa19f92dfcaa676385acc03ef3fd2a51553369d607473dd29b1453cc
+DIST drone-cli-1.1.4.tar.gz 2843182 BLAKE2B 395501216d09f907897d3d5f7a64e93956786030a354365400e8ec73e2ecb361958f7f9468c3819a77908251450954c91db7369f803516ff2fbeb2050ad6efe7 SHA512 6a0df849f4086913137e36248925fea70e106b95225708bfd37b9a23199d4bed35c6fa18757311cfe23e8c8eef5d66acde207827a7220cec868ffe515539471f
diff --git a/dev-util/drone-cli/drone-cli-1.1.4.ebuild b/dev-util/drone-cli/drone-cli-1.1.4.ebuild
new file mode 100644
index 000000000000..ca7f0b0fdc7f
--- /dev/null
+++ b/dev-util/drone-cli/drone-cli-1.1.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/drone/drone-cli"
+
+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}" ${EGO_PN}/drone || die
+ popd || die
+}
+
+src_install() {
+ dobin bin/drone
+ dodoc src/${EGO_PN}/README.md
+}