summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2019-01-15 16:25:36 +0100
committerManuel Rüger <mrueg@gentoo.org>2019-01-15 16:27:12 +0100
commit0bd968c60286626fc95495f9c9f97dc5e5c1da36 (patch)
tree43d8d8af754d742099125b0cde419b1bf4e060b2 /dev-util/drone-cli
parentmedia-video/aravis: Version bump (diff)
downloadgentoo-0bd968c60286626fc95495f9c9f97dc5e5c1da36.tar.gz
gentoo-0bd968c60286626fc95495f9c9f97dc5e5c1da36.tar.bz2
gentoo-0bd968c60286626fc95495f9c9f97dc5e5c1da36.zip
dev-util/drone-cli: Version bump to 1.0.5
Package-Manager: Portage-2.3.56, Repoman-2.3.12 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.0.5.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest
index a8262f31e9cb..132674970fde 100644
--- a/dev-util/drone-cli/Manifest
+++ b/dev-util/drone-cli/Manifest
@@ -3,3 +3,4 @@ DIST drone-cli-0.8.6.tar.gz 1778122 BLAKE2B 040c93386330990a5f4e38f6ca353226145a
DIST drone-cli-1.0.0.tar.gz 2619027 BLAKE2B 9941607393ff86682dfb3cdf27869ecd38ea83298587c54fcfa80d3d48a9ce2b5248251ab22489b711d192a0ee1b0960d40ce68c7a475c45d4385b7106c7f20d SHA512 40519096befec078f653c9d91440a942bd974da528c6b900cd613a88c21468b56c85fbb3d581e32a1a9d572b098e78549d7fe9f23a05faff1acd46c1266a2081
DIST drone-cli-1.0.1.tar.gz 2619641 BLAKE2B 6c87defffe75e9bd67a67e9ccc4285cc35bbb74bef742d29d47bc8f1a9099d56040637431380f0c83b4e469fa7478de1860bc62b6baa99c3b70f963065aba1b2 SHA512 0fcafa7e71d1b2e2f94dcecd641dc5225d32f149966ede653434630c70b865f8beb134a926e1d39faf82626607fdccbd93d84b0d3a97aa12c73e201a5b916208
DIST drone-cli-1.0.4.tar.gz 2623767 BLAKE2B 8822e93a354342393c333aa5240af04bb177991aa667e532c02488c2e351bcfaed8d349d114044c39ac980e620ed0661440b7006de5dcd63309899d40bbb2453 SHA512 241c2c9c8b449a8a29deffe6c537916f6698d0e0ac9b4287d5c441c7f09675b2fb717f0e8c846e0c71fb07609c32a1904579938f82d6c6b712c4b66d9484e2e5
+DIST drone-cli-1.0.5.tar.gz 2627659 BLAKE2B 20d2db2faab26210659811bdd8f576775856dad618348a9b1f2a7cc3c37bf07176a7d4a72ca48f7cf32be4f9359c82e7521c9f6559f7637cd75bd0d671f16f6f SHA512 292e53079b15401364396fd61de481c6c47f426335713c5eb19a9231d11841636e26ae37fd32735f54e3143247489a8ea858ed8082874cef999aae334b9a98c7
diff --git a/dev-util/drone-cli/drone-cli-1.0.5.ebuild b/dev-util/drone-cli/drone-cli-1.0.5.ebuild
new file mode 100644
index 000000000000..ca7f0b0fdc7f
--- /dev/null
+++ b/dev-util/drone-cli/drone-cli-1.0.5.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
+}