python-treq: new package

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>
This commit is contained in:
Mauro Condarelli 2016-02-06 23:59:55 +01:00 committed by Thomas Petazzoni
parent 4753063e28
commit 357b945957
4 changed files with 31 additions and 0 deletions

View File

@ -722,6 +722,7 @@ menu "External python modules"
source "package/python-spidev/Config.in" source "package/python-spidev/Config.in"
source "package/python-thrift/Config.in" source "package/python-thrift/Config.in"
source "package/python-tornado/Config.in" source "package/python-tornado/Config.in"
source "package/python-treq/Config.in"
source "package/python-twisted/Config.in" source "package/python-twisted/Config.in"
source "package/python-urllib3/Config.in" source "package/python-urllib3/Config.in"
source "package/python-urwid/Config.in" source "package/python-urwid/Config.in"

View File

@ -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

View File

@ -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

View File

@ -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))