summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Head <chead@chead.ca>2020-06-11 16:52:08 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-06-11 17:23:31 +0300
commit48003f4ea7305cf6bd2bb6e6de1cf40263b48c5c (patch)
treeecacdb3f8b0063761ac841803a7d73e2e6bf16d7 /dev-python/influxdb
parentgui-apps/wf-recorder: live ebuild added (diff)
downloadgentoo-48003f4ea7305cf6bd2bb6e6de1cf40263b48c5c.tar.gz
gentoo-48003f4ea7305cf6bd2bb6e6de1cf40263b48c5c.tar.bz2
gentoo-48003f4ea7305cf6bd2bb6e6de1cf40263b48c5c.zip
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>
Diffstat (limited to 'dev-python/influxdb')
-rw-r--r--dev-python/influxdb/Manifest1
-rw-r--r--dev-python/influxdb/files/influxdb.conf.template29
-rw-r--r--dev-python/influxdb/influxdb-5.3.0.ebuild40
-rw-r--r--dev-python/influxdb/metadata.xml16
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-python/influxdb/Manifest b/dev-python/influxdb/Manifest
new file mode 100644
index 000000000000..bcb5474ac1cf
--- /dev/null
+++ b/dev-python/influxdb/Manifest
@@ -0,0 +1 @@
+DIST influxdb-5.3.0.tar.gz 66683 BLAKE2B 28dd955fb26eb9a984bb910f26655720c566c08a8178f8aa08b5eb66a6f02933a6f3cb2d26981ffcfc3fd9a017fae2ad27b61f32e2a7916c55d723ffea5b248a SHA512 49ae48dc56ea8f6c6d4103f33207a35af4877c292ff4bfd32ebf8ff35fae816f570e64657406fdf9ef13092c69e7e2d1f0c641124445d35731a4a37812f67242
diff --git a/dev-python/influxdb/files/influxdb.conf.template b/dev-python/influxdb/files/influxdb.conf.template
new file mode 100644
index 000000000000..efcff78aa6ce
--- /dev/null
+++ b/dev-python/influxdb/files/influxdb.conf.template
@@ -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}"
diff --git a/dev-python/influxdb/influxdb-5.3.0.ebuild b/dev-python/influxdb/influxdb-5.3.0.ebuild
new file mode 100644
index 000000000000..b013569e38fc
--- /dev/null
+++ b/dev-python/influxdb/influxdb-5.3.0.ebuild
@@ -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
+}
diff --git a/dev-python/influxdb/metadata.xml b/dev-python/influxdb/metadata.xml
new file mode 100644
index 000000000000..dbf971953bfd
--- /dev/null
+++ b/dev-python/influxdb/metadata.xml
@@ -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>