From patchwork Sat Feb 6 22:59:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Condarelli X-Patchwork-Id: 579928 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 94E501402EC for ; Sun, 7 Feb 2016 10:01:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CB26733BFD; Sat, 6 Feb 2016 23:01:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NksA+IQjLDfA; Sat, 6 Feb 2016 23:01:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 79BF733BFE; Sat, 6 Feb 2016 23:00:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 987841C1F5B for ; Sat, 6 Feb 2016 23:00:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 931F195B52 for ; Sat, 6 Feb 2016 23:00:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bguSHaoISOtD for ; Sat, 6 Feb 2016 23:00:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from relaygw4-16.mclink.it (relaygw4-16.mclink.it [77.43.14.248]) by hemlock.osuosl.org (Postfix) with ESMTP id 66FE495B08 for ; Sat, 6 Feb 2016 23:00:30 +0000 (UTC) Received: from smtpoutgw2.mclink.it ([172.24.30.42] verified) by relaygw4-16.mclink.it (CommuniGate Pro SMTP 6.0.6) with ESMTP id 76906624 for buildroot@buildroot.org; Sun, 07 Feb 2016 00:00:24 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DiHgDJerZW/7T8/l9eg1g0EgNYAYJohVEhqXGFBIIhggmFeIFPEwEBAQEBAQGBCoRCAQV5ED8SPBsZiB8BCb44hRmKLheDVwWWbQhrhGGCbQWFEoIljE6OPiIDPYE2AQtAAhiBSTsuBYhOAQEB Received: from host180-252-static.254-95-b.business.telecomitalia.it (HELO ariag25.rm.okcash.com) ([95.254.252.180]) by smtpoutgw2.mclink.it with ESMTP/TLS/AES128-SHA; 07 Feb 2016 00:00:16 +0100 Received: from mcon by ariag25.rm.okcash.com with local (Exim 4.84) (envelope-from ) id 1aSBpo-0001Rs-4q; Sun, 07 Feb 2016 00:00:08 +0100 From: Mauro Condarelli To: buildroot@buildroot.org Date: Sat, 6 Feb 2016 23:59:55 +0100 Message-Id: <1454799603-5474-10-git-send-email-mc5686@mclink.it> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1454799603-5474-1-git-send-email-mc5686@mclink.it> References: <1454799603-5474-1-git-send-email-mc5686@mclink.it> Cc: Mauro Condarelli Subject: [Buildroot] [PATCH v4 09/17] python-treq: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Mauro Condarelli Reviewed-by: Yegor Yefremov --- package/Config.in | 1 + package/python-treq/Config.in | 12 ++++++++++++ package/python-treq/python-treq.hash | 3 +++ package/python-treq/python-treq.mk | 14 ++++++++++++++ 4 files changed, 30 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 26f6bf9..13964ca 100644 --- a/package/Config.in +++ b/package/Config.in @@ -720,6 +720,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 0000000..a03d4e3 --- /dev/null +++ b/package/python-treq/Config.in @@ -0,0 +1,12 @@ +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 0000000..f4cc4d6 --- /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 0000000..dbf0e14 --- /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))