From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dent.vctlabs.com (net-cf9a4187.iis.impulse.net [207.154.65.135]) by mail.openembedded.org (Postfix) with ESMTP id DE5CB774CF for ; Fri, 3 Jun 2016 06:12:46 +0000 (UTC) Received: by dent.vctlabs.com (Postfix, from userid 1000) id 571D228049C; Thu, 2 Jun 2016 23:12:47 -0700 (PDT) Date: Thu, 2 Jun 2016 23:12:47 -0700 From: "S. Lockwood-Childs" To: openembedded-devel@lists.openembedded.org Message-ID: <20160603061247.GH7939@vctlabs.com> Mail-Followup-To: "S. Lockwood-Childs" , openembedded-devel@lists.openembedded.org References: <20160603060455.GF7939@vctlabs.com> MIME-Version: 1.0 In-Reply-To: <20160603060455.GF7939@vctlabs.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: [meta-python][PATCHv4 2/3] python-singledispatch: initial recipe for version 3.4.0.3 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2016 06:12:47 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This package backports functools.singledispatch from Python 3.4 to earlier Python versions. It is being added as one of the two missing backport modules that Tornado 4.3 needs in order to prevent tornado/gen.py from bombing on import errors when running on python2 rather than python3.4 ImportError: No module named singledispatch Signed-off-by: S. Lockwood-Childs --- .../python/python-singledispatch_3.4.0.3.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-singledispatch_3.4.0.3.bb diff --git a/meta-python/recipes-devtools/python/python-singledispatch_3.4.0.3.bb b/meta-python/recipes-devtools/python/python-singledispatch_3.4.0.3.bb new file mode 100644 index 0000000..87f46e5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-singledispatch_3.4.0.3.bb @@ -0,0 +1,13 @@ +SUMMARY = "functools.singledispatch from Python 3.4" +DESCRIPTION = "PEP 443 proposed to expose a mechanism in the functools standard library module \ +in Python 3.4 that provides a simple form of generic programming known as single-dispatch \ +generic functions. This library is a backport of this functionality to Python 2.6 - 3.3" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://README.rst;md5=ee3cd67264adc7eb07981f3644dc17dc" + +SRC_URI[md5sum] = "af2fc6a3d6cc5a02d0bf54d909785fcb" +SRC_URI[sha256sum] = "5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c" + +PYPI_PACKAGE = "singledispatch" +inherit pypi setuptools -- 1.9.1