diff options
author | 2023-06-12 13:56:24 -0500 | |
---|---|---|
committer | 2023-06-12 14:00:52 -0500 | |
commit | 220a7926c6592d853c854e1e5709b7971d90a97e (patch) | |
tree | 4f0aeaa97105ab798a5cb7b129d4203328f2b854 /dev-db/influx-cli/influx-cli-2.7.3.ebuild | |
parent | dev-ruby/stringex: fix tests failing without activerecord (diff) | |
download | gentoo-220a7926c6592d853c854e1e5709b7971d90a97e.tar.gz gentoo-220a7926c6592d853c854e1e5709b7971d90a97e.tar.bz2 gentoo-220a7926c6592d853c854e1e5709b7971d90a97e.zip |
dev-db/influx-cli: new package, add 2.7.3
This is the command line interface for influxdb-2.x.
Bug: https://bugs.gentoo.org/907954
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-db/influx-cli/influx-cli-2.7.3.ebuild')
-rw-r--r-- | dev-db/influx-cli/influx-cli-2.7.3.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-db/influx-cli/influx-cli-2.7.3.ebuild b/dev-db/influx-cli/influx-cli-2.7.3.ebuild new file mode 100644 index 000000000000..deefe0de73ef --- /dev/null +++ b/dev-db/influx-cli/influx-cli-2.7.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +MY_PV="${PV/_rc/-rc.}" + +DESCRIPTION="The command line for influxdb" +HOMEPAGE="https://github.com/influxdata/influx-cli" + +SRC_URI="https://github.com/influxdata/influx-cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT+=" test" + + +src_compile() { + unset LDFLAGS + emake +} + +src_install() { + dobin bin/$(go env GOOS)/$(go env GOARCH)/influx +} |