From 1bb9ebd208efcd1203330892ebbff82354eeb1d1 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 30 Sep 2014 16:10:08 -0700 Subject: [PATCH 1/1] dev-python/asyncio: Add this backport from 3.4 to 3.3 --- Manifest | 1 + asyncio-3.4.1.ebuild | 1 + asyncio-9999.ebuild | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 Manifest create mode 120000 asyncio-3.4.1.ebuild create mode 100644 asyncio-9999.ebuild diff --git a/Manifest b/Manifest new file mode 100644 index 0000000..ac8ee37 --- /dev/null +++ b/Manifest @@ -0,0 +1 @@ +DIST asyncio-3.4.1.tar.gz 155936 SHA256 63c071f64f6f5a007603159c7a0da73a13bdf830674abe6fd89b3470e288d6f7 SHA512 6d8a7e8be509c8a903b3a211db13565dc2f7ff13a1f73302cf7eb656ebef77811a7c714c78f49ba1d7404392c7cc5f1aff1aad2ba6e9ceee426d64967df0f3cf WHIRLPOOL 812712fc745278222c434fea7991bbb90ee173ab1f0e2c0582ff47751259a37f0b876d706da44de699d406754bf14e3ddf29e62f15a990bb50f4aaeded649cd5 diff --git a/asyncio-3.4.1.ebuild b/asyncio-3.4.1.ebuild new file mode 120000 index 0000000..ae27636 --- /dev/null +++ b/asyncio-3.4.1.ebuild @@ -0,0 +1 @@ +asyncio-9999.ebuild \ No newline at end of file diff --git a/asyncio-9999.ebuild b/asyncio-9999.ebuild new file mode 100644 index 0000000..cab3565 --- /dev/null +++ b/asyncio-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=( python3_3 ) + +inherit distutils-r1 + +if [[ "${PV}" == "9999" ]]; then + inherit mercurial + EHG_REPO_URI="https://code.google.com/p/tulip/" + SRC_URI="" +else + SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="Reference implementation of PEP 3156 for Python 3.3" +HOMEPAGE="http://www.python.org/dev/peps/pep-3156/ https://pypi.python.org/pypi/asyncio" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="" + +python_test() { + "${EPYTHON}" runtests.py +} -- 2.26.2