dev-python/influxdb: 5.3.0 bump, add Python 3.7

Signed-off-by: Christopher Head <chead@chead.ca>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Christopher Head
2020-06-11 16:52:08 +03:00
committed by Joonas Niilola
parent f37f8e32f3
commit 48003f4ea7
4 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST influxdb-5.3.0.tar.gz 66683 BLAKE2B 28dd955fb26eb9a984bb910f26655720c566c08a8178f8aa08b5eb66a6f02933a6f3cb2d26981ffcfc3fd9a017fae2ad27b61f32e2a7916c55d723ffea5b248a SHA512 49ae48dc56ea8f6c6d4103f33207a35af4877c292ff4bfd32ebf8ff35fae816f570e64657406fdf9ef13092c69e7e2d1f0c641124445d35731a4a37812f67242

View File

@@ -0,0 +1,29 @@
bind-address = ":{global_port}"
[meta]
dir = "{meta_dir}"
hostname = "localhost"
bind-address = ":{meta_port}"
[data]
dir = "{data_dir}"
wal-dir = "{wal_dir}"
index-version = "tsi1"
[http]
enabled = true
bind-address = ":{http_port}"
auth-enabled = false
[[udp]]
enabled = {udp_enabled}
bind-address = ":{udp_port}"
database = "db"
batch-size = 0
batch-timeout = "0"
[monitor]
store-enabled = false
[hinted-handoff]
dir = "{handoff_dir}"

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 python3_7 )
inherit distutils-r1
DESCRIPTION="InfluxDB client"
HOMEPAGE="https://github.com/influxdb/influxdb-python https://pypi.org/project/influxdb/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/msgpack-0.6.1[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
>=dev-python/requests-2.17.0[${PYTHON_USEDEP}]
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
"
BDEPEND="${RDEPEND}
test? (
dev-db/influxdb
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]
dev-python/requests-mock[${PYTHON_USEDEP}]
)"
distutils_enable_tests nose
src_prepare() {
# The tarball is missing this file.
# <https://github.com/influxdata/influxdb-python/issues/714>
cp "${FILESDIR}/influxdb.conf.template" "${S}/influxdb/tests/server_tests/influxdb.conf.template" || die
default
}

View File

@@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>bugs@chead.ca</email>
<name>Christopher Head</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="pypi">influxdb</remote-id>
<remote-id type="github">influxdb/influxdb-python</remote-id>
</upstream>
</pkgmetadata>