summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2019-02-22 13:25:34 +0100
committerManuel Rüger <mrueg@gentoo.org>2019-02-22 14:26:48 +0100
commit9bee73d4e1e58e61217ebccaca69a2de70b30ff9 (patch)
treede43e4c04c48dbe0fc7d562cda54d67b2b3e60cd /dev-util/drone-cli
parentmedia-sound/kid3: Drop <3.7.0 (diff)
downloadgentoo-9bee73d4e1e58e61217ebccaca69a2de70b30ff9.tar.gz
gentoo-9bee73d4e1e58e61217ebccaca69a2de70b30ff9.tar.bz2
gentoo-9bee73d4e1e58e61217ebccaca69a2de70b30ff9.zip
dev-util/drone-cli: Version bump to 1.0.7
Package-Manager: Portage-2.3.59, 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.7.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest
index f6e3ea8ddc73..4af7c4958c78 100644
--- a/dev-util/drone-cli/Manifest
+++ b/dev-util/drone-cli/Manifest
@@ -2,3 +2,4 @@ DIST drone-cli-0.7.0_p20170717.tar.gz 1148862 BLAKE2B a631b546917c542dc9395a2390
DIST drone-cli-0.8.6.tar.gz 1778122 BLAKE2B 040c93386330990a5f4e38f6ca353226145a99d14adc141243900fb4cd3d28bc87665bc6f466b31cd1e5561df31edd378049f0e38e28006206c3cf02ac0d5c21 SHA512 51eb538d5571b2e48722e4e4de6f9d6fc67375e55284f6bdec5c4c495a67e0808f9d158ba925849353bdff7903df2ecae7a073d88185fc607d45383f4f2f5c0d
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
+DIST drone-cli-1.0.7.tar.gz 2719694 BLAKE2B a5032a8bde86b196e1e0a2406e8c3f4789c22809e44eb47212eb41a8d2a31c5dac26a8fe264f09d503f1f3637434f6329dfb19d44448dc3ff01447a947a033ac SHA512 1d7145854eca418d977ac4507ddc52af2ca03efed2177bef5061f4d4e2a6ce8793e867b58ec9beedcaabec973e1b7a006a4490ecc0158db7206c6dff325be040
diff --git a/dev-util/drone-cli/drone-cli-1.0.7.ebuild b/dev-util/drone-cli/drone-cli-1.0.7.ebuild
new file mode 100644
index 000000000000..ca7f0b0fdc7f
--- /dev/null
+++ b/dev-util/drone-cli/drone-cli-1.0.7.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
+}