mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-db/influx-cli: add 2.7.5
Closes: https://bugs.gentoo.org/916789 Signed-off-by: David Roman <davidroman96@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38385 Signed-off-by: John Helmert III <ajak@gentoo.org>
This commit is contained in:
committed by
John Helmert III
parent
1c57492d45
commit
5677f1d257
@@ -1,2 +1,4 @@
|
||||
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
|
||||
DIST influx-cli-2.7.5-vendor.tar.xz 2851976 BLAKE2B 7c408252255bfe2dd1fbe203c47bc442925ca0a15dfa017ffb387ed8f038166fe91031e2bb497eb97a5cc3112935b56290cf85eeba64fad8d4164cc10f765372 SHA512 44d6d9ea60b3c3dac4d93d1092c5f0d8681b314e16d7a3a627ed29c378a5dec65a96626297d51e23989d091993c8c0bdac4469e712228c9a1088a6568098a432
|
||||
DIST influx-cli-2.7.5.tar.gz 443950 BLAKE2B 2e5b3e046683ba928269e1cc2d4a8d7664e0f71ae3cca84f719ccdb0902a5105d61aedf323c16f64e14e725163c01aeab41ad344d39cde276d25e866149ff1f9 SHA512 cae26640e7382aa22a4a7ed024cd62f098f592c1be98bec7d1469c0e1ccdcb5e3eee3c0dd08d4ee972e16e96c054e6c8f0cdfcfe27ce88e939219196dada9d67
|
||||
|
||||
42
dev-db/influx-cli/influx-cli-2.7.5.ebuild
Normal file
42
dev-db/influx-cli/influx-cli-2.7.5.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module shell-completion
|
||||
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://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
# Previous versions ship they own client
|
||||
DEPEND="!<dev-db/influxdb-2.0.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
unset LDFLAGS
|
||||
emake
|
||||
|
||||
cd bin/$(go env GOOS)/$(go env GOARCH)/ || die
|
||||
./influx completion bash > influx-completion.bash || die
|
||||
./influx completion zsh > influx-completion.zsh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd bin/$(go env GOOS)/$(go env GOARCH) || die
|
||||
|
||||
dobin influx
|
||||
|
||||
newbashcomp influx-completion.bash influx
|
||||
newzshcomp influx-completion.zsh _influx
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
Reference in New Issue
Block a user