commit:     e4c1d47cf7cb606fc00b92e7510d2eb51b91310e
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  9 17:44:08 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 17:45:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4c1d47c

dev-util/drone-cli: add 1.7.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-util/drone-cli/Manifest               |  2 ++
 dev-util/drone-cli/drone-cli-1.7.0.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest
index f0ceeae0031b..2c3e60d58a2a 100644
--- a/dev-util/drone-cli/Manifest
+++ b/dev-util/drone-cli/Manifest
@@ -1,2 +1,4 @@
 DIST drone-cli-1.5.0-deps.tar.xz 295600096 BLAKE2B 
5076f53183b5acba9b50134c75529e03191db5a2415a86898fa359aeb74ad1dcc2c1936f95a04afdf64043f7cb0ad42e6502fdcf86bfdc24cae451288b8b0705
 SHA512 
38467e5f19b24088e2d403de4300c844ed93cbdcec24098eb9fd706c1914d2deb57940d9d6ce2e3bde215a8f6cb4a783815a2a7cf99845006c638d28d3326528
 DIST drone-cli-1.5.0.tar.gz 77135 BLAKE2B 
012c4afeca6976c1316e40195fd2be33c35b0e2c95a93ab3a67ed448136f2a722415aa7043c91be7369b7e5896c938ab7f77375cf0d0f6a0a03267c64e0ce532
 SHA512 
7406a4a97249b84dec6b0aaac2124cb3b907b7f5c08a80084f254614a9c7ee16d5a5541cb43b30e78bb6661906e9f170919ff0d8daf934642e54749d1990222d
+DIST drone-cli-1.7.0-deps.tar.xz 48810472 BLAKE2B 
540ff9887344ada33cb851b333ddf505504266109e04017a1bfc8fa0d2c6b4c65f45d4afc286f5b635d523d35b6b2c5fb2b94dbd1cd88bed3f44b009af68787a
 SHA512 
1d8112db3460af58cd88c931fb1759c86affc43582103c4c60ef6d6314c3e35a26d21c1f757661851bd5f0b3e292c328265ec7ae166c305fd1718f8f39fde48b
+DIST drone-cli-1.7.0.tar.gz 59347 BLAKE2B 
b8c0e3b9beea5dfca6abe705470012238ec6cfc0a88ff5145bac98697c9904aed332bda4c9ccffd5287f3e20954a11b36b2a4f22a96ec62101a2e608a120c691
 SHA512 
d7345d05a15f7ac8f3fc8406652b5303f6139baca49bef9f1c5ed69a61bce44a5154d20ffd9451fbb4d27deb3a3fbeba3ce8bac6370e6b050d8c066648fb2ad0

diff --git a/dev-util/drone-cli/drone-cli-1.7.0.ebuild 
b/dev-util/drone-cli/drone-cli-1.7.0.ebuild
new file mode 100644
index 000000000000..53c6bbee5e2a
--- /dev/null
+++ b/dev-util/drone-cli/drone-cli-1.7.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Command-line interface for Drone"
+HOMEPAGE="https://github.com/drone/drone-cli";
+
+SRC_URI="https://github.com/drone/drone-cli/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT+=" test"
+
+src_compile() {
+       ego build \
+               -ldflags "-X main.version=${PV}" -o bin/drone ./drone
+}
+
+src_install() {
+       dobin bin/drone
+       dodoc README.md
+}

Reply via email to