package/python-logstash: new package
authorJames Hilliard <james.hilliard1@gmail.com>
Wed, 11 Dec 2019 01:37:37 +0000 (18:37 -0700)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 12 Dec 2019 07:29:02 +0000 (08:29 +0100)
Python logging handler for Logstash.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
package/Config.in
package/python-logstash/Config.in [new file with mode: 0644]
package/python-logstash/python-logstash.hash [new file with mode: 0644]
package/python-logstash/python-logstash.mk [new file with mode: 0644]

index 61bcd99d436132c1bcaa073cc20c56922cf768fb..c8be10dc925a164c69d76a5094be408537120128 100644 (file)
@@ -1142,6 +1142,7 @@ F:        package/python-aiorwlock/
 F:     package/python-async-timeout/
 F:     package/python-brotli/
 F:     package/python-cchardet/
+F:     package/python-logstash/
 F:     package/python-multidict/
 F:     package/python-pycares/
 F:     package/python-terminaltables/
index 307583d01f61f4a6245865c916c28665bcb81b1d..cf004fec634fecc7185d2f89b4735a03efdbe7c8 100644 (file)
@@ -963,6 +963,7 @@ menu "External python modules"
        source "package/python-libusb1/Config.in"
        source "package/python-lmdb/Config.in"
        source "package/python-logbook/Config.in"
+       source "package/python-logstash/Config.in"
        source "package/python-lxml/Config.in"
        source "package/python-m2r/Config.in"
        source "package/python-mad/Config.in"
diff --git a/package/python-logstash/Config.in b/package/python-logstash/Config.in
new file mode 100644 (file)
index 0000000..9d225db
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_LOGSTASH
+       bool "python-logstash"
+       help
+         Python logging handler for Logstash.
+
+         https://github.com/vklochan/python-logstash
diff --git a/package/python-logstash/python-logstash.hash b/package/python-logstash/python-logstash.hash
new file mode 100644 (file)
index 0000000..ba11c7f
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/python-logstash/json
+md5    26fafa0ea306025fb7644d70cb38982a  python-logstash-0.4.6.tar.gz
+sha256 10943e5df83f592b4d61b63ad1afff855ccc8c9467f78718f0a59809ba1fe68c  python-logstash-0.4.6.tar.gz
+# Locally computed sha256 checksums
+sha256 fea6a5c634ac9d9e047151675adc197c16f45bfba3c26ab113f48fb9fa717fff  LICENSE
diff --git a/package/python-logstash/python-logstash.mk b/package/python-logstash/python-logstash.mk
new file mode 100644 (file)
index 0000000..68930bb
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-logstash
+#
+################################################################################
+
+PYTHON_LOGSTASH_VERSION = 0.4.6
+PYTHON_LOGSTASH_SITE = https://files.pythonhosted.org/packages/4e/8d/7ff2e8e8e2613e7bb7654790480bb4cf51a55721371adbb631b16cb16dce
+PYTHON_LOGSTASH_SETUP_TYPE = distutils
+PYTHON_LOGSTASH_LICENSE = MIT
+PYTHON_LOGSTASH_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))