python-influxdb: new package
authorSven Haardiek <sven.haardiek@iotec-gmbh.de>
Mon, 30 Apr 2018 10:21:17 +0000 (12:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 30 Apr 2018 15:45:41 +0000 (17:45 +0200)
InfluxDB client.

Signed-off-by: Sven Haardiek <sven.haardiek@iotec-gmbh.de>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: as suggested by Yegor, add entry in the DEVELOPERS file, and
fix commit title.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-influxdb/Config.in [new file with mode: 0644]
package/python-influxdb/python-influxdb.hash [new file with mode: 0644]
package/python-influxdb/python-influxdb.mk [new file with mode: 0644]

index 08fdf6f1f006d2395e1dd811eddba8569de6c560..d8f429f989f792bf926592ff47fdd70ea66afe93 100644 (file)
@@ -1813,6 +1813,9 @@ N:        Steven Noonan <steven@uplinklabs.net>
 F:     package/hwloc/
 F:     package/powertop/
 
+N:     Sven Haardiek <sven.haardiek@iotec-gmbh.de>
+F:     package/python-influxdb/
+
 N:     Sven Haardiek <sven.haardiek@greenbone.net>
 F:     package/lcdproc/
 
index d3b67d40dec0a6d2392e723f388fbb6dd19407c1..fe36d318677320cf9d99ca810feb0c7125db8b32 100644 (file)
@@ -807,6 +807,7 @@ menu "External python modules"
        source "package/python-id3/Config.in"
        source "package/python-idna/Config.in"
        source "package/python-incremental/Config.in"
+       source "package/python-influxdb/Config.in"
        source "package/python-iniparse/Config.in"
        source "package/python-iowait/Config.in"
        source "package/python-ipaddr/Config.in"
diff --git a/package/python-influxdb/Config.in b/package/python-influxdb/Config.in
new file mode 100644 (file)
index 0000000..a848e4f
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_INFLUXDB
+       bool "python-influxdb"
+       select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
+       select BR2_PACKAGE_PYTHON_PYTZ # runtime
+       select BR2_PACKAGE_PYTHON_REQUESTS # runtime
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       help
+         InfluxDB client.
+
+         https://github.com/influxdb/influxdb-python
diff --git a/package/python-influxdb/python-influxdb.hash b/package/python-influxdb/python-influxdb.hash
new file mode 100644 (file)
index 0000000..28f2825
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/influxdb/json
+md5    dec1e6fe9770c36290d38fb2a37fba25  influxdb-5.0.0.tar.gz
+sha256 6adba2ddfd5781a06b5204339e679d66645bf6cc2b7f493eb9d7c8986d714e80  influxdb-5.0.0.tar.gz
+# Locally computed sha256 checksums
+sha256 70146f78d168b33ac5903490a918469e22a801a8d3a81103f3d8706dc0024c9a  LICENSE
diff --git a/package/python-influxdb/python-influxdb.mk b/package/python-influxdb/python-influxdb.mk
new file mode 100644 (file)
index 0000000..1571cbd
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-influxdb
+#
+################################################################################
+
+PYTHON_INFLUXDB_VERSION = 5.0.0
+PYTHON_INFLUXDB_SOURCE = influxdb-$(PYTHON_INFLUXDB_VERSION).tar.gz
+PYTHON_INFLUXDB_SITE = https://files.pythonhosted.org/packages/95/26/33e7b85b72a0df2dc00af4c1b9f5df3e7d0aea29ae4f8f65a83f7024c4e2
+PYTHON_INFLUXDB_SETUP_TYPE = setuptools
+PYTHON_INFLUXDB_LICENSE = MIT
+PYTHON_INFLUXDB_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))