From patchwork Fri Oct 12 08:06:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yegor Yefremov X-Patchwork-Id: 982891 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=googlemail.com Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42WgRB4ltZz9s55 for ; Fri, 12 Oct 2018 19:07:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3EFEA86EE4; Fri, 12 Oct 2018 08:06:59 +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 JPyfJ6QkhfIo; Fri, 12 Oct 2018 08:06:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 887FE86EDC; Fri, 12 Oct 2018 08:06:58 +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 8CC781C2287 for ; Fri, 12 Oct 2018 08:06:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8A3C586EC2 for ; Fri, 12 Oct 2018 08:06:56 +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 jmFJ4HS5MTo8 for ; Fri, 12 Oct 2018 08:06:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.visionsystems.de (mail.visionsystems.de [213.209.99.202]) by fraxinus.osuosl.org (Postfix) with ESMTP id C59E986EDC for ; Fri, 12 Oct 2018 08:06:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.visionsystems.de (Postfix) with ESMTP id 2103336C9B4; Fri, 12 Oct 2018 10:06:55 +0200 (CEST) Received: from mail.visionsystems.de ([127.0.0.1]) by localhost (mail.visionsystems.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05299-08; Fri, 12 Oct 2018 10:06:55 +0200 (CEST) Received: from visionsystems.de (kallisto.visionsystems.local [192.168.1.3]) by mail.visionsystems.de (Postfix) with ESMTP id F374436C9A1; Fri, 12 Oct 2018 10:06:54 +0200 (CEST) Received: from development1.visionsystems.de ([192.168.1.36]) by visionsystems.de with Microsoft SMTPSVC(6.0.3790.4675); Fri, 12 Oct 2018 10:06:54 +0200 From: yegorslists@googlemail.com To: buildroot@buildroot.org Date: Fri, 12 Oct 2018 10:06:49 +0200 Message-Id: <20181012080650.2793-2-yegorslists@googlemail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20181012080650.2793-1-yegorslists@googlemail.com> References: <20181012080650.2793-1-yegorslists@googlemail.com> X-OriginalArrivalTime: 12 Oct 2018 08:06:54.0347 (UTC) FILETIME=[89E415B0:01D46202] X-Virus-Scanned: amavisd-new at visionsystems.de Subject: [Buildroot] [PATCH 2/3] python-typing: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 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" From: Yegor Yefremov Signed-off-by: Yegor Yefremov Reviewed-by: Asaf Kahlon --- package/Config.in | 1 + package/python-typing/Config.in | 8 ++++++++ package/python-typing/python-typing.hash | 5 +++++ package/python-typing/python-typing.mk | 14 ++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/python-typing/Config.in create mode 100644 package/python-typing/python-typing.hash create mode 100644 package/python-typing/python-typing.mk diff --git a/package/Config.in b/package/Config.in index 9092a9e237..7287e2be7d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1040,6 +1040,7 @@ menu "External python modules" source "package/python-txaio/Config.in" source "package/python-txtorcon/Config.in" source "package/python-typepy/Config.in" + source "package/python-typing/Config.in" source "package/python-u-msgpack/Config.in" source "package/python-ubjson/Config.in" source "package/python-ujson/Config.in" diff --git a/package/python-typing/Config.in b/package/python-typing/Config.in new file mode 100644 index 0000000000..d5350bccd0 --- /dev/null +++ b/package/python-typing/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_TYPING + bool "python-typing" + depends on BR2_PACKAGE_PYTHON + help + Type Hints for Python. This is a backport of the standard library + typing module to Python versions older than 3.5. + + https://docs.python.org/3/library/typing.html diff --git a/package/python-typing/python-typing.hash b/package/python-typing/python-typing.hash new file mode 100644 index 0000000000..5bdb8c62e8 --- /dev/null +++ b/package/python-typing/python-typing.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/typing/json +md5 64614206b4bdc0864fc0e0bccd69efc9 typing-3.6.6.tar.gz +sha256 4027c5f6127a6267a435201981ba156de91ad0d1d98e9ddc2aa173453453492d typing-3.6.6.tar.gz +# Locally computed sha256 checksums +sha256 ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad LICENSE diff --git a/package/python-typing/python-typing.mk b/package/python-typing/python-typing.mk new file mode 100644 index 0000000000..acb5316129 --- /dev/null +++ b/package/python-typing/python-typing.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-typing +# +################################################################################ + +PYTHON_TYPING_VERSION = 3.6.6 +PYTHON_TYPING_SOURCE = typing-$(PYTHON_TYPING_VERSION).tar.gz +PYTHON_TYPING_SITE = https://files.pythonhosted.org/packages/bf/9b/2bf84e841575b633d8d91ad923e198a415e3901f228715524689495b4317 +PYTHON_TYPING_SETUP_TYPE = setuptools +PYTHON_TYPING_LICENSE = Python-2.0, others +PYTHON_TYPING_LICENSE_FILES = LICENSE + +$(eval $(python-package))