From 357b945957dacec8a0bf3aa425d9b40f45f5a487 Mon Sep 17 00:00:00 2001 From: Mauro Condarelli Date: Sat, 6 Feb 2016 23:59:55 +0100 Subject: [PATCH] python-treq: new package Signed-off-by: Mauro Condarelli Reviewed-by: Yegor Yefremov [Thomas: rewrap Config.in help text.] Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-treq/Config.in | 13 +++++++++++++ package/python-treq/python-treq.hash | 3 +++ package/python-treq/python-treq.mk | 14 ++++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 package/python-treq/Config.in create mode 100644 package/python-treq/python-treq.hash create mode 100644 package/python-treq/python-treq.mk diff --git a/package/Config.in b/package/Config.in index d9da232faf..7a88d5b3be 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..a8590a9740 --- /dev/null +++ b/package/python-treq/Config.in @@ -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 index 0000000000..f4cc4d6f11 --- /dev/null +++ b/package/python-treq/python-treq.hash @@ -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 index 0000000000..dbf0e148a7 --- /dev/null +++ b/package/python-treq/python-treq.mk @@ -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))