python-aiodns: new package
authorJames Hilliard <james.hilliard1@gmail.com>
Mon, 12 Nov 2018 08:09:16 +0000 (16:09 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 13 Nov 2018 09:34:09 +0000 (10:34 +0100)
Simple DNS resolver for asyncio.

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

index 88dcbc11a2d95001e4dad2de62f21bc9eac0884f..53505314d7b608011ebbd1ac6683515bdd9b8c9a 100644 (file)
@@ -984,6 +984,7 @@ F:  configs/pine64_defconfig
 F:     configs/pine64_sopine_defconfig
 
 N:     James Hilliard <james.hilliard1@gmail.com>
+F:     package/python-aiodns/
 F:     package/python-async-timeout/
 F:     package/python-multidict/
 F:     package/python-pycares/
index 4d7ed6512fde81ba33467eae38847c383dfe3dda..e1c87aee25ad7832a699a88c7d25d64de1b92d41 100644 (file)
@@ -794,6 +794,7 @@ endif
 if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "External python modules"
        source "package/python-aiocoap/Config.in"
+       source "package/python-aiodns/Config.in"
        source "package/python-alsaaudio/Config.in"
        source "package/python-argh/Config.in"
        source "package/python-arrow/Config.in"
diff --git a/package/python-aiodns/Config.in b/package/python-aiodns/Config.in
new file mode 100644 (file)
index 0000000..aa59705
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_AIODNS
+       bool "python-aiodns"
+       depends on BR2_PACKAGE_PYTHON3
+       select BR2_PACKAGE_PYTHON_PYCARES # runtime
+       help
+         Simple DNS resolver for asyncio.
+
+         http://github.com/saghul/aiodns
diff --git a/package/python-aiodns/python-aiodns.hash b/package/python-aiodns/python-aiodns.hash
new file mode 100644 (file)
index 0000000..b66693f
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aiodns/json
+md5    80e0419b49bb4c540b4857ec142219b8  aiodns-1.1.1.tar.gz
+sha256 d8677adc679ce8d0ef706c14d9c3d2f27a0e0cc11d59730cdbaf218ad52dd9ea  aiodns-1.1.1.tar.gz
+# Locally computed sha256 checksums
+sha256 eb0455d35129425ed399883cd710923de3e246a510e2eb84d9f00032d0bbec97  LICENSE
diff --git a/package/python-aiodns/python-aiodns.mk b/package/python-aiodns/python-aiodns.mk
new file mode 100644 (file)
index 0000000..94f719d
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aiodns
+#
+################################################################################
+
+PYTHON_AIODNS_VERSION = 1.1.1
+PYTHON_AIODNS_SOURCE = aiodns-$(PYTHON_AIODNS_VERSION).tar.gz
+PYTHON_AIODNS_SITE = https://files.pythonhosted.org/packages/3b/45/dcee156eabca900af3a1bab8acb9531636b13db4b677d44ba468a43969e0
+PYTHON_AIODNS_SETUP_TYPE = setuptools
+PYTHON_AIODNS_LICENSE = MIT
+PYTHON_AIODNS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))