From patchwork Thu Apr 26 18:23:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asaf Kahlon X-Patchwork-Id: 905311 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GcCiDXRJ"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40X57v3Mnxz9ry1 for ; Fri, 27 Apr 2018 04:24:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E80648A813; Thu, 26 Apr 2018 18:24:38 +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 jD-3kMStOACO; Thu, 26 Apr 2018 18:24:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C593C8A7FE; Thu, 26 Apr 2018 18:24:37 +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 CD7791C0C49 for ; Thu, 26 Apr 2018 18:24:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CA9AB8A7FE for ; Thu, 26 Apr 2018 18:24:35 +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 qe0W6PJD12IS for ; Thu, 26 Apr 2018 18:24:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id B43188A7A1 for ; Thu, 26 Apr 2018 18:24:34 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id h3-v6so57742172wrh.5 for ; Thu, 26 Apr 2018 11:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=mO8O/wXcH1fCLAgUD/CJkavugSxw0YE24TvtJihFAak=; b=GcCiDXRJm5wdURy+HkcPa54Cp1jipudmFQwVqbeIR6/Uv9idcCZFOsBs9V5PuZRMmU LQatujMhpygZ6TDX3o6s6mdcauumAbyR6vE+s1Uk1LZuiBwwFWtN6EJv6mkHBSUAtNST wx/IXRbnjjaqU/iJkBVz+bDKKePe5gRn6ME/wEf0fy4C+yUeetExilTCcGxvHamCVEf6 CGI1TUWVy5P8ppCt8PqGVVmI8HpfZ5RszIK1msu0pTQof4UptQZ65ILvALXhNjLWANDZ uo94k19XFadIfMkgdmlF+3/OpnFYsN81EoKKGFZ1wDkEpvKdYY5Qn6VvO53MFYStr2Rk GYMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mO8O/wXcH1fCLAgUD/CJkavugSxw0YE24TvtJihFAak=; b=KqM5iqqda/fin2q+x64csGKKaX3nBVSuRpYO0Ia4lBrbvbQgqPHJXjjRuC0AgIuDZP UOtNb0OYbLsg6Ip5einmaXw7ImViVmy74HDPn7skrlFiL4ED1un57i1bWtxR0QE/q6Jj jVHeRorhX5UjvXnskUNWqbGZg9HSd9Ldgnyik05jaKwXfTvg0iKe5dCOu3g/HUXlr9kt +KcU/hND4CH1EIAzQkE70MbZ5gWjEtORe8d/6/ekBKkWHdSNPP+Xlc24RATyC2pZwRUP uxyHFiDlcwifqPSfqRHBVpZVolR/PoRBgtPNpakiGhrKNO9YEbmPACSnZt0N5KoM+s+C jNdQ== X-Gm-Message-State: ALQs6tBEYTZLZsOT6d2ZiPpn/9UF4vW8Amry3fd5lF+4NIZrcn4sxLx8 qAJF2J6ZV7RoQez2GhgtHtnY4Q== X-Google-Smtp-Source: AIpwx49gJ0PtYyqm1lV8hjUYgqLobJhWZ9a9jso1ckamEvhAFGeXp8AG5Xkt8qrZCI9bPAt5aD1ebw== X-Received: by 2002:adf:bbce:: with SMTP id z14-v6mr29624484wrg.183.1524767073039; Thu, 26 Apr 2018 11:24:33 -0700 (PDT) Received: from localhost.localdomain (bzq-84-108-5-46.cablep.bezeqint.net. [84.108.5.46]) by smtp.gmail.com with ESMTPSA id u5sm23704136wmd.40.2018.04.26.11.24.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 11:24:32 -0700 (PDT) From: Asaf Kahlon To: buildroot@buildroot.org Date: Thu, 26 Apr 2018 21:23:56 +0300 Message-Id: <20180426182356.14447-1-asafka7@gmail.com> X-Mailer: git-send-email 2.17.0 Subject: [Buildroot] [PATCH 1/1] python-subprocess32: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Asaf Kahlon MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" A backport of the Python 3 subprocess module for use on Python 2. Signed-off-by: Asaf Kahlon --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-subprocess32/Config.in | 8 ++++++++ .../python-subprocess32/python-subprocess32.hash | 4 ++++ package/python-subprocess32/python-subprocess32.mk | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/python-subprocess32/Config.in create mode 100644 package/python-subprocess32/python-subprocess32.hash create mode 100644 package/python-subprocess32/python-subprocess32.mk diff --git a/DEVELOPERS b/DEVELOPERS index 63361b6fb6..64cc5874e7 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -190,6 +190,7 @@ F: package/stress/ N: Asaf Kahlon F: package/python-jsonmodels/ +F: package/python-subprocess32/ F: package/python-yieldfrom/ F: package/zeromq/ diff --git a/package/Config.in b/package/Config.in index ecd9b8f082..4ea8512e4e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -938,6 +938,7 @@ menu "External python modules" source "package/python-sortedcontainers//Config.in" source "package/python-spidev/Config.in" source "package/python-sqlalchemy/Config.in" + source "package/python-subprocess32/Config.in" source "package/python-systemd/Config.in" source "package/python-tabledata/Config.in" source "package/python-tempora/Config.in" diff --git a/package/python-subprocess32/Config.in b/package/python-subprocess32/Config.in new file mode 100644 index 0000000000..ea5bf8c41e --- /dev/null +++ b/package/python-subprocess32/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_SUBPROCESS32 + bool "python-subprocess32" + depends on BR2_PACKAGE_PYTHON + help + A backport of the Python 3 subprocess module for use + on Python 2 + + https://github.com/google/python-subprocess32 diff --git a/package/python-subprocess32/python-subprocess32.hash b/package/python-subprocess32/python-subprocess32.hash new file mode 100644 index 0000000000..17a54b0034 --- /dev/null +++ b/package/python-subprocess32/python-subprocess32.hash @@ -0,0 +1,4 @@ +# sha256 from https://pypi.org/pypi/subprocess32/json +sha256 1e450a4a4c53bf197ad6402c564b9f7a53539385918ef8f12bdf430a61036590 subprocess32-3.2.7.tar.gz +# Locally computed sha256 checksums +sha256 826b43437249d39422642f695154d064da64de92eb1476048a615f50bc1beb4a LICENSE diff --git a/package/python-subprocess32/python-subprocess32.mk b/package/python-subprocess32/python-subprocess32.mk new file mode 100644 index 0000000000..7b02428270 --- /dev/null +++ b/package/python-subprocess32/python-subprocess32.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-subprocess32 +# +################################################################################ + +PYTHON_SUBPROCESS32_VERSION = 3.2.7 +PYTHON_SUBPROCESS32_SOURCE = subprocess32-$(PYTHON_SUBPROCESS32_VERSION).tar.gz +PYTHON_SUBPROCESS32_SITE = https://files.pythonhosted.org/packages/b8/2f/49e53b0d0e94611a2dc624a1ad24d41b6d94d0f1b0a078443407ea2214c2 +PYTHON_SUBPROCESS32_SETUP_TYPE = distutils +PYTHON_SUBPROCESS32_LICENSE_FILES = LICENSE + +$(eval $(python-package))