From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 11F8313800E for ; Thu, 18 Feb 2016 18:14:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A61221C071; Thu, 18 Feb 2016 18:14:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86C4321C071 for ; Thu, 18 Feb 2016 18:14:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 429CC340DE3 for ; Thu, 18 Feb 2016 18:14:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CA0BD154D for ; Thu, 18 Feb 2016 18:14:17 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1455819202.fc7c1a2f621d2679567c6c3cbcf2931f0fc8361f.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/eventlet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/eventlet/Manifest dev-python/eventlet/eventlet-0.18.3.ebuild X-VCS-Directories: dev-python/eventlet/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: fc7c1a2f621d2679567c6c3cbcf2931f0fc8361f X-VCS-Branch: master Date: Thu, 18 Feb 2016 18:14:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e8d6d42b-7afb-427e-8f1a-8b21be6e8e7a X-Archives-Hash: c9210a5a85cc54b6fccba5b51f4a48f9 commit: fc7c1a2f621d2679567c6c3cbcf2931f0fc8361f Author: Patrick Lauer gentoo org> AuthorDate: Thu Feb 18 18:06:07 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Thu Feb 18 18:13:22 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc7c1a2f dev-python/eventlet: Bump Package-Manager: portage-2.2.27 dev-python/eventlet/Manifest | 1 + dev-python/eventlet/eventlet-0.18.3.ebuild | 64 ++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest index a28398c..a2433eb 100644 --- a/dev-python/eventlet/Manifest +++ b/dev-python/eventlet/Manifest @@ -2,3 +2,4 @@ DIST eventlet-0.13.0.tar.gz 276599 SHA256 d98118f01c064a6d256a264d4b939b2c6ad081 DIST eventlet-0.15.2.tar.gz 301581 SHA256 eaec368ce7b819f8615dcb51f63dcb5c910538cdedc99e4bba4c90ed0bf70fdc SHA512 1166d480ecca9ba01b3c660b79168895c938ace33f1b8244f184c306de6e99302a1b131cc0ad6c363d65b04ccd7fb58107a39a669b9817ec43c5c167e12c3ec5 WHIRLPOOL 1754607a5702404a71b8698fefe9f399b9761ed3b22b9ff5ed85b358c6354f4e280b2861e3537d927daa279eaa09b3b760da0de85a1a1bcbe9d1633427e4f2ae DIST eventlet-0.17.1.tar.gz 277110 SHA256 de9c23eb94e55150b25150822a28f91656028987353fef3f687cc285d018dd5a SHA512 c39158c9b60d2bc615abfaf93fc76e32017e57c389f148080ec30ac0fdb090a53fbb6bf24a361845772e02d330fc5b9e6682d77228b811f499b9a8c86452c2eb WHIRLPOOL c6fe8d5abb83fd304887281614b87d59125be7bfd478ab76bd882dd1e9fca16a64acab60b7012bb6283d99d88937a313b84bf818728839d320e8f537421bc83f DIST eventlet-0.17.4.tar.gz 284480 SHA256 8721e9714eaff8d20f2407e0d3a80069db6b57c9226c26ee9db25c541d06556d SHA512 fee3ef0ebe7aaf8cb87283af71ca8902c4480b47cf2109be96e6fcbcf25a743e411715fa73b31e820b152ef4403ccbd5a45117e69565e8e49fd1795a5cc19e3d WHIRLPOOL e78344ac9e7f7f1c4bd6fc65f0a35dec317c10b12821a73dc875d79a94e36f16ddda5551e3326c600ea553ef05382b4cd2f7a88b6600899ae74a8b4556eb155e +DIST eventlet-0.18.3.tar.gz 288867 SHA256 c188cc0f186892fb9c77846c0e669fde4a3d263938e3c8a76cb1108cbdf0cc9a SHA512 8e132ada9392170c5d915699b414eb55a2738259e4a49f1d79c41e7820e33c2aefc2057f0b50a126554a47911051104d4c038fbee48790f0b73a67d74c02f756 WHIRLPOOL b2adc594c0a62540874ffff6c716c725f0ca9b102ea618c651027459fae95fc70506c7c420db470c46a0109558d9c327b27f08506fad3844018f8761f2cfdd94 diff --git a/dev-python/eventlet/eventlet-0.18.3.ebuild b/dev-python/eventlet/eventlet-0.18.3.ebuild new file mode 100644 index 0000000..5b99da1 --- /dev/null +++ b/dev-python/eventlet/eventlet-0.18.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="Highly concurrent networking library" +HOMEPAGE="https://pypi.python.org/pypi/eventlet https://github.com/eventlet/eventlet/" +SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" + +RDEPEND=">=dev-python/greenlet-0.3[${PYTHON_USEDEP}]" +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/python-docs-2.7.6-r1:2.7 ) + test? ( ${RDEPEND} + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +python_prepare_all() { + if use doc; then + local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7) + local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" + local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" + local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" + sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die + fi + + if use test; then +# sed -i '/This is a Python 3 module/d' eventlet/green/http/__init__.py || die +# sed -i 's/^import/from OpenSSL import/g' eventlet/green/OpenSSL/__init__.py || die +# sed -i 's/^from version/from OpenSSL.version/' eventlet/green/OpenSSL/__init__.py || die + sed -i 's/TEST_TIMEOUT = 1/TEST_TIMEOUT = 10/' tests/__init__.py || die + fi + + # Prevent file collisions from teestsuite + sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # https://github.com/eventlet/eventlet/issues/152 + use doc && emake -C doc html +} + +python_test() { + # Several errors 1 failure + # https://github.com/eventlet/eventlet/issues/151 + nosetests tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +}