]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
python-treq: new package
authorMauro Condarelli <mc5686@mclink.it>
Sat, 6 Feb 2016 22:59:55 +0000 (23:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 Feb 2016 22:38:04 +0000 (23:38 +0100)
Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: rewrap Config.in help text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-treq/Config.in [new file with mode: 0644]
package/python-treq/python-treq.hash [new file with mode: 0644]
package/python-treq/python-treq.mk [new file with mode: 0644]

index d9da232faf6baff0fbfd7dd82155ea16488aaf3c..7a88d5b3be479b40a0f1d30fe80e14e25bc7cd61 100644 (file)
@@ -722,6 +722,7 @@ menu "External python modules"
        source "package/python-spidev/Config.in"
        source "package/python-thrift/Config.in"
        source "package/python-tornado/Config.in"
+       source "package/python-treq/Config.in"
        source "package/python-twisted/Config.in"
        source "package/python-urllib3/Config.in"
        source "package/python-urwid/Config.in"
diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in
new file mode 100644 (file)
index 0000000..a8590a9
--- /dev/null
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PYTHON_TREQ
+       bool "python-treq"
+       select BR2_PACKAGE_PYTHON_REQUESTS # runtime
+       select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       select BR2_PACKAGE_PYTHON_TWISTED # runtime
+       select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
+       help
+         treq is an HTTP library inspired by requests but written on
+         top of Twisted's Agents.  It provides a simple, higher level
+         API for making HTTP requests when using Twisted.
+
+         https://github.com/twisted/treq
diff --git a/package/python-treq/python-treq.hash b/package/python-treq/python-treq.hash
new file mode 100644 (file)
index 0000000..f4cc4d6
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=b1fb60759ad5a885cb8ea562553f2d4c, sha256 locally computed
+md5    b1fb60759ad5a885cb8ea562553f2d4c  treq-15.1.0.tar.gz
+sha256 425a47d5d52a993d51211028fb6ade252e5fbea094e878bb4b644096a7322de8  treq-15.1.0.tar.gz
diff --git a/package/python-treq/python-treq.mk b/package/python-treq/python-treq.mk
new file mode 100644 (file)
index 0000000..dbf0e14
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-treq
+#
+################################################################################
+
+PYTHON_TREQ_VERSION = 15.1.0
+PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz
+PYTHON_TREQ_SITE = http://pypi.python.org/packages/source/t/treq
+PYTHON_TREQ_LICENSE = MIT
+PYTHON_TREQ_LICENSE_FILES = LICENSE
+PYTHON_TREQ_SETUP_TYPE = setuptools
+
+$(eval $(python-package))