From 220a7926c6592d853c854e1e5709b7971d90a97e Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 12 Jun 2023 13:56:24 -0500 Subject: 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 --- dev-db/influx-cli/Manifest | 2 ++ dev-db/influx-cli/influx-cli-2.7.3.ebuild | 28 ++++++++++++++++++++++++++++ dev-db/influx-cli/metadata.xml | 10 ++++++++++ 3 files changed, 40 insertions(+) create mode 100644 dev-db/influx-cli/Manifest create mode 100644 dev-db/influx-cli/influx-cli-2.7.3.ebuild create mode 100644 dev-db/influx-cli/metadata.xml (limited to 'dev-db/influx-cli') diff --git a/dev-db/influx-cli/Manifest b/dev-db/influx-cli/Manifest new file mode 100644 index 000000000000..e9e3b8e391b1 --- /dev/null +++ b/dev-db/influx-cli/Manifest @@ -0,0 +1,2 @@ +DIST influx-cli-2.7.3-deps.tar.xz 52915924 BLAKE2B 38ca630eb4445dfdd66ed47362cbad220e727c8ddab64eb262e4859577155038650e5d14fcdc6fd8f44c541db07d1b79503c7d9ec5fdd52595198293edf3850e SHA512 c2fa4b7d5d744a85de11f97e3172c9d51b2c1c7b2e31d35fbd15a6ba2b6c12cd4d265216ced0bd27d150d5d3ee619e7d972b67c63cfdbdfdfb69d84d966d881c +DIST influx-cli-2.7.3.tar.gz 442354 BLAKE2B 3c69e6a2510a4b82830134b930ebc62446848f19cad302f35796853cebd53002963a2d9015512dbf60a4a24e86f237af1ce62c698231150a66331cd8718f2c69 SHA512 d2ffd56c7a1dee24e48afdf487e79b3f125f897fe1c642cccf64a9544134dd6692ebd40415624418597341c16c1afbd444b949c9e3d1bb825ebed5e3f8392dfa 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 +} diff --git a/dev-db/influx-cli/metadata.xml b/dev-db/influx-cli/metadata.xml new file mode 100644 index 000000000000..d529e99ced4c --- /dev/null +++ b/dev-db/influx-cli/metadata.xml @@ -0,0 +1,10 @@ + + + + + williamh@gentoo.org + William Hubbs + + + + -- cgit v1.2.3-65-gdbad