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

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

index c8be10dc925a164c69d76a5094be408537120128..66964d035d2f20ebecd8df71f293ac0ab9a9ece8 100644 (file)
@@ -1136,6 +1136,7 @@ F:        package/python-aiohttp-remotes/
 F:     package/python-aiohttp-security/
 F:     package/python-aiohttp-session/
 F:     package/python-aiohttp-sse/
+F:     package/python-aiologstash/
 F:     package/python-aiomonitor/
 F:     package/python-aiojobs/
 F:     package/python-aiorwlock/
index cf004fec634fecc7185d2f89b4735a03efdbe7c8..405732bc7a3d0b3a7ca5ddedfb452937b4864181 100644 (file)
@@ -832,6 +832,7 @@ menu "External python modules"
        source "package/python-aiohttp-session/Config.in"
        source "package/python-aiohttp-sse/Config.in"
        source "package/python-aiojobs/Config.in"
+       source "package/python-aiologstash/Config.in"
        source "package/python-aiomonitor/Config.in"
        source "package/python-aioredis/Config.in"
        source "package/python-aiorwlock/Config.in"
diff --git a/package/python-aiologstash/Config.in b/package/python-aiologstash/Config.in
new file mode 100644 (file)
index 0000000..e70c232
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_AIOLOGSTASH
+       bool "python-aiologstash"
+       depends on BR2_PACKAGE_PYTHON3
+       select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime
+       select BR2_PACKAGE_PYTHON_LOGSTASH # runtime
+       help
+         asyncio-compatible logstash logging handler.
+
+         https://github.com/aio-libs/aiologstash
diff --git a/package/python-aiologstash/python-aiologstash.hash b/package/python-aiologstash/python-aiologstash.hash
new file mode 100644 (file)
index 0000000..ff7d2cc
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aiologstash/json
+md5    1e321c11b34477f780f31b2553557d69  aiologstash-2.0.0.tar.gz
+sha256 698522126ffd4e905cd5f52a08092a0a78096c8f0e28bc1e303369873da71f78  aiologstash-2.0.0.tar.gz
+# Locally computed sha256 checksums
+sha256 beddf3a80aaaa71ebd6765b13bc680bd0450bb81191249cc889539523f9404ec  LICENSE
diff --git a/package/python-aiologstash/python-aiologstash.mk b/package/python-aiologstash/python-aiologstash.mk
new file mode 100644 (file)
index 0000000..be1c40b
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aiologstash
+#
+################################################################################
+
+PYTHON_AIOLOGSTASH_VERSION = 2.0.0
+PYTHON_AIOLOGSTASH_SOURCE = aiologstash-$(PYTHON_AIOLOGSTASH_VERSION).tar.gz
+PYTHON_AIOLOGSTASH_SITE = https://files.pythonhosted.org/packages/1c/dc/382861d5d25ccc976d02118922598fc4547f74f3287793e270ed614d8176
+PYTHON_AIOLOGSTASH_SETUP_TYPE = distutils
+PYTHON_AIOLOGSTASH_LICENSE = MIT
+PYTHON_AIOLOGSTASH_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))