From patchwork Tue Apr 25 19:14:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 755019 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wCCbV68KTz9s8G for ; Wed, 26 Apr 2017 05:15:34 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="EAwBLru3"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 08C008AD8D; Tue, 25 Apr 2017 19:15:33 +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 AT-kGDSQSLNj; Tue, 25 Apr 2017 19:15:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 2F7CA8AD7F; Tue, 25 Apr 2017 19:15:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 0A5741C032C for ; Tue, 25 Apr 2017 19:14:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 04EE2C232A for ; Tue, 25 Apr 2017 19:14:47 +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 DTXY-KTOaO8e for ; Tue, 25 Apr 2017 19:14:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C1712C2327 for ; Tue, 25 Apr 2017 19:14:45 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id g23so12160544pfj.1 for ; Tue, 25 Apr 2017 12:14:45 -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:in-reply-to:references; bh=axMS6gJCvJu02b1TU0GxGGQK0woYuYIxEEYHGWsCmNo=; b=EAwBLru3aszaICI/uI6LIqFajOzAXJkcOVxXDLC3h/TyiCHNuGstz+s6hhl+eEkz8k r7ZQ14MWW883KgmKBbwDzKJnPz7kmia2X6MPli+6gMt0+zS5S6eYSpp6Tyb87n0V1+i0 2FXKVPUFoTcLpBRwyjq9vqz1N35gdfWS24Wcb7uUMMtyVTsOaoOKGCxiun3MaxojK2Pq uM4WNX/vUit7cJ6syMPMTntvvOjRa20BlZWAtgrYTGoUh1lYAZ8tzCHZBwdiVnZF1wb+ Eso54qu02AgUhil3liDaH/iCedlF0Cyo3UHv6M99cTjqooBkOn8lbbapk+6R6WHTNwxg iNjQ== 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:in-reply-to :references; bh=axMS6gJCvJu02b1TU0GxGGQK0woYuYIxEEYHGWsCmNo=; b=PoP0OUxc7CisJ35no8tiiOXjGcxY+nllVicO06qseZw9BPdCiRsDQkSzepM6mWCMJv ljxFPTcOg73e9fSAH3kU9yFxbThbH5aBsUpeEtMXLir3a512mpqIBBXpsiRYHwHc9T2E vLwViEEdM2iZFyTOJGSnlO8hjuVx3Qg2W03iZgbmsmGXIWgm2TqKD2V3lNXh8hgtnUtI BUWJXtPw04t8nCvbQPzwkswrafcPDswexZj5dmusNEUrvSAToEC/5WXIOw2tHPTv9jgd 27aS+vaM059/haEgFoxijtO/jmM+NV5W4OKZ2fwz/9YwwauvVXqZIzpTy0uvfQA7cLhs l8oA== X-Gm-Message-State: AN3rC/54dGK6Eo8bY5bK4akJAp+mUzvfmvdi+Slm3nE+dyshU1uThC+5 Gg/A6vGAbQQhGg== X-Received: by 10.99.168.77 with SMTP id i13mr29378053pgp.148.1493147684672; Tue, 25 Apr 2017 12:14:44 -0700 (PDT) Received: from squirtle.westlake.spaceflightindustries.com ([173.226.206.194]) by smtp.gmail.com with ESMTPSA id 65sm37976677pgc.1.2017.04.25.12.14.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Apr 2017 12:14:44 -0700 (PDT) From: Andrey Smirnov To: buildroot@buildroot.org Date: Tue, 25 Apr 2017 12:14:22 -0700 Message-Id: <20170425191423.13294-9-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170425191423.13294-1-andrew.smirnov@gmail.com> References: <20170425191423.13294-1-andrew.smirnov@gmail.com> Cc: Andrey Smirnov Subject: [Buildroot] [PATCH 8/9] package/python-backports-shutil-get-terminal-size: 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" Add 'scandir'[1] package to buildroot. Needed by 'IPython', when building against Python2. [1] https://pypi.python.org/pypi/backports.shutil_get_terminal_size Signed-off-by: Andrey Smirnov --- package/Config.in | 1 + package/python-backports-shutil-get-terminal-size/Config.in | 9 +++++++++ .../python-backports-shutil-get-terminal-size.hash | 2 ++ .../python-backports-shutil-get-terminal-size.mk | 13 +++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/python-backports-shutil-get-terminal-size/Config.in create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash create mode 100644 package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk diff --git a/package/Config.in b/package/Config.in index a749b78..87240ef 100644 --- a/package/Config.in +++ b/package/Config.in @@ -675,6 +675,7 @@ menu "External python modules" source "package/python-autobahn/Config.in" source "package/python-babel/Config.in" source "package/python-backports-abc/Config.in" + source "package/python-backports-shutil-get-terminal-size/Config.in" source "package/python-beautifulsoup4/Config.in" source "package/python-bitstring/Config.in" source "package/python-bottle/Config.in" diff --git a/package/python-backports-shutil-get-terminal-size/Config.in b/package/python-backports-shutil-get-terminal-size/Config.in new file mode 100644 index 0000000..24bf3b7 --- /dev/null +++ b/package/python-backports-shutil-get-terminal-size/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE + bool "python-backports-shutil-get-terminal-size" + depends on BR2_PACKAGE_PYTHON + help + + A backport of the get_terminal_size function from Python + 3.3's shutil. + + https://pypi.python.org/pypi/backports.shutil_get_terminal_size diff --git a/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash new file mode 100644 index 0000000..0df0cf7 --- /dev/null +++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash @@ -0,0 +1,2 @@ +# sha256 locally computed +sha256 713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80 backports.shutil_get_terminal_size-1.0.0.tar.gz diff --git a/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk new file mode 100644 index 0000000..63cf363 --- /dev/null +++ b/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-backports-shutil-get-terminal-size +# +################################################################################ + +PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION = 1.0.0 +PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SOURCE = backports.shutil_get_terminal_size-$(PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION).tar.gz +PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SITE = https://pypi.python.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b +PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SETUP_TYPE = setuptools +PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_LICENSE = MIT + +$(eval $(python-package))