summaryrefslogtreecommitdiffstats
path: root/package/python-aiodns
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-aiodns')
-rw-r--r--package/python-aiodns/Config.in8
-rw-r--r--package/python-aiodns/python-aiodns.hash5
-rw-r--r--package/python-aiodns/python-aiodns.mk14
3 files changed, 27 insertions, 0 deletions
diff --git a/package/python-aiodns/Config.in b/package/python-aiodns/Config.in
new file mode 100644
index 0000000000..aa5970598f
--- /dev/null
+++ b/package/python-aiodns/Config.in
@@ -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
index 0000000000..b66693f869
--- /dev/null
+++ b/package/python-aiodns/python-aiodns.hash
@@ -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
index 0000000000..94f719d39e
--- /dev/null
+++ b/package/python-aiodns/python-aiodns.mk
@@ -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))
OpenPOWER on IntegriCloud