summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-11-16 11:25:57 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-11-16 11:25:57 +0100
commitbdeb78a3a6467119c7c59fda1ad927c8036245fd (patch)
treeefb6ec627a0bde40b9209ca5b6ee81fc4d618eb7
parentdev-util/drone: Version bump to 0.8.9 (diff)
downloadgentoo-bdeb78a3a6467119c7c59fda1ad927c8036245fd.tar.gz
gentoo-bdeb78a3a6467119c7c59fda1ad927c8036245fd.tar.bz2
gentoo-bdeb78a3a6467119c7c59fda1ad927c8036245fd.zip
dev-util/drone-cli: Version bump to 1.0.1
Signed-off-by: Manuel Rüger <mrueg@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
-rw-r--r--dev-util/drone-cli/Manifest1
-rw-r--r--dev-util/drone-cli/drone-cli-1.0.1.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest
index 365e7ac70bf..e08e5db652b 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.6.tar.gz 1778122 BLAKE2B 040c93386330990a5f4e38f6ca353226145a99d14adc141243900fb4cd3d28bc87665bc6f466b31cd1e5561df31edd378049f0e38e28006206c3cf02ac0d5c21 SHA512 51eb538d5571b2e48722e4e4de6f9d6fc67375e55284f6bdec5c4c495a67e0808f9d158ba925849353bdff7903df2ecae7a073d88185fc607d45383f4f2f5c0d
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
diff --git a/dev-util/drone-cli/drone-cli-1.0.1.ebuild b/dev-util/drone-cli/drone-cli-1.0.1.ebuild
new file mode 100644
index 00000000000..76b00a393dc
--- /dev/null
+++ b/dev-util/drone-cli/drone-cli-1.0.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 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
+}