aboutsummaryrefslogtreecommitdiff
path: root/package/python-pycares
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-pycares')
-rw-r--r--package/python-pycares/Config.in6
-rw-r--r--package/python-pycares/python-pycares.hash5
-rw-r--r--package/python-pycares/python-pycares.mk14
3 files changed, 25 insertions, 0 deletions
diff --git a/package/python-pycares/Config.in b/package/python-pycares/Config.in
new file mode 100644
index 0000000000..4144952d8d
--- /dev/null
+++ b/package/python-pycares/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PYCARES
+ bool "python-pycares"
+ help
+ Python interface for c-ares.
+
+ http://github.com/saghul/pycares
diff --git a/package/python-pycares/python-pycares.hash b/package/python-pycares/python-pycares.hash
new file mode 100644
index 0000000000..2e80a974dc
--- /dev/null
+++ b/package/python-pycares/python-pycares.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pycares/json
+md5 74893b2b380fbb45329a406ae4b1ae89 pycares-2.3.0.tar.gz
+sha256 36f4c03df57c41a87eb3d642201684eb5a8bc194f4bafaa9f60ee6dc0aef8e40 pycares-2.3.0.tar.gz
+# Locally computed sha256 checksums
+sha256 427bb3a5372024a26e2c290b24382512bcc7ca123431c4dd178dd613beea7eee LICENSE
diff --git a/package/python-pycares/python-pycares.mk b/package/python-pycares/python-pycares.mk
new file mode 100644
index 0000000000..961c87eaf0
--- /dev/null
+++ b/package/python-pycares/python-pycares.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pycares
+#
+################################################################################
+
+PYTHON_PYCARES_VERSION = 2.3.0
+PYTHON_PYCARES_SOURCE = pycares-$(PYTHON_PYCARES_VERSION).tar.gz
+PYTHON_PYCARES_SITE = https://files.pythonhosted.org/packages/89/5c/3a7e1a52d6abb52b9ca1a56d2df699936e89d8b98f75cfd60d03363e7c10
+PYTHON_PYCARES_SETUP_TYPE = setuptools
+PYTHON_PYCARES_LICENSE = MIT
+PYTHON_PYCARES_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))