From patchwork Sun Oct 9 12:46:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 680040 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ssNL96YZrz9sQw for ; Sun, 9 Oct 2016 23:46:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6F2E588954; Sun, 9 Oct 2016 12:46:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8yIe-KskJ1dQ; Sun, 9 Oct 2016 12:46:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 50CB588768; Sun, 9 Oct 2016 12:46:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5D80F1C1EA5 for ; Sun, 9 Oct 2016 12:46:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 565F68A08E for ; Sun, 9 Oct 2016 12:46:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19j9s-yhuA8G for ; Sun, 9 Oct 2016 12:46:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) by whitealder.osuosl.org (Postfix) with ESMTPS id B73038A05A for ; Sun, 9 Oct 2016 12:46:33 +0000 (UTC) Received: from fwd23.aul.t-online.de (fwd23.aul.t-online.de [172.20.26.128]) by mailout12.t-online.de (Postfix) with SMTP id B544741E3F6F; Sun, 9 Oct 2016 14:46:31 +0200 (CEST) Received: from fli4l.lan.fli4l (STu66eZUghWX8ALPcNOvIIMtVwbZ2ofZ4BcBty2DMVt8EYdvAfUt9KWemWusqfmgmC@[84.191.195.181]) by fwd23.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1btDUt-0heNLU0; Sun, 9 Oct 2016 14:46:31 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:46848 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.87) (envelope-from ) id 1btDUr-000822-8N; Sun, 09 Oct 2016 14:46:30 +0200 From: Bernd Kuhls To: buildroot@buildroot.org, Yegor Yefremov , Thomas Petazzoni Date: Sun, 9 Oct 2016 14:46:18 +0200 Message-Id: <20161009124625.23303-3-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161009124625.23303-1-bernd.kuhls@t-online.de> References: <20161009124625.23303-1-bernd.kuhls@t-online.de> X-ID: STu66eZUghWX8ALPcNOvIIMtVwbZ2ofZ4BcBty2DMVt8EYdvAfUt9KWemWusqfmgmC X-TOI-MSGID: d7a06b10-16f4-44bd-98df-4a3181e1dcd4 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v4 03/10] package/python-futures: 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" Needed by upcoming python-mwscrape package. Signed-off-by: Bernd Kuhls --- v4: no changes v3: no changes, included in mwscrape2slob patch series v2: fix license (Thomas) package/Config.in | 1 + package/python-futures/Config.in | 7 +++++++ package/python-futures/python-futures.hash | 3 +++ package/python-futures/python-futures.mk | 14 ++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/python-futures/Config.in create mode 100644 package/python-futures/python-futures.hash create mode 100644 package/python-futures/python-futures.mk diff --git a/package/Config.in b/package/Config.in index 738f930..09f0039 100644 --- a/package/Config.in +++ b/package/Config.in @@ -682,6 +682,7 @@ menu "External python modules" source "package/python-flask-jsonrpc/Config.in" source "package/python-flask-login/Config.in" source "package/python-flup/Config.in" + source "package/python-futures/Config.in" source "package/python-gobject/Config.in" source "package/python-html5lib/Config.in" source "package/python-httplib2/Config.in" diff --git a/package/python-futures/Config.in b/package/python-futures/Config.in new file mode 100644 index 0000000..2eb40e9 --- /dev/null +++ b/package/python-futures/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_FUTURES + bool "python-futures" + depends on BR2_PACKAGE_PYTHON # not needed for python3 + help + Backport of the concurrent.futures package from Python 3.2. + + https://github.com/agronholm/pythonfutures diff --git a/package/python-futures/python-futures.hash b/package/python-futures/python-futures.hash new file mode 100644 index 0000000..f0948ae --- /dev/null +++ b/package/python-futures/python-futures.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi/futures/json, sha256 locally computed +md5 ced2c365e518242512d7a398b515ff95 futures-3.0.5.tar.gz +sha256 0542525145d5afc984c88f914a0c85c77527f65946617edb5274f72406f981df futures-3.0.5.tar.gz diff --git a/package/python-futures/python-futures.mk b/package/python-futures/python-futures.mk new file mode 100644 index 0000000..8a1afa3 --- /dev/null +++ b/package/python-futures/python-futures.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-futures +# +################################################################################ + +PYTHON_FUTURES_VERSION = 3.0.5 +PYTHON_FUTURES_SOURCE = futures-$(PYTHON_FUTURES_VERSION).tar.gz +PYTHON_FUTURES_SITE = https://pypi.python.org/packages/55/db/97c1ca37edab586a1ae03d6892b6633d8eaa23b23ac40c7e5bbc55423c78 +PYTHON_FUTURES_SETUP_TYPE = setuptools +PYTHON_FUTURES_LICENSE = BSD-2c +PYTHON_FUTURES_LICENSE_FILES = LICENSE + +$(eval $(python-package))