From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 77FBC139694 for ; Thu, 4 May 2017 05:02:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54807E0D07; Thu, 4 May 2017 05:02:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18E0CE0D04 for ; Thu, 4 May 2017 05:02:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA9883416C4 for ; Thu, 4 May 2017 05:01:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4350E2494 for ; Thu, 4 May 2017 05:01:58 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1493874088.3e6b6bcbbadc349f2dfb42145f337f9a749d0e92.zmedico@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.21.0.ebuild X-VCS-Directories: dev-python/eventlet/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 3e6b6bcbbadc349f2dfb42145f337f9a749d0e92 X-VCS-Branch: master Date: Thu, 4 May 2017 05:01:58 +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: 5564b0d2-ed6a-4db7-a26d-d00fadf5974a X-Archives-Hash: 7b7fdf11eee0450f6110000d1f4062bf commit: 3e6b6bcbbadc349f2dfb42145f337f9a749d0e92 Author: Zac Medico gentoo org> AuthorDate: Thu May 4 05:01:28 2017 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu May 4 05:01:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e6b6bcb dev-python/eventlet: version bump to 0.21.0 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/eventlet/Manifest | 1 + dev-python/eventlet/eventlet-0.21.0.ebuild | 63 ++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest index d1d93820b30..0758701c721 100644 --- a/dev-python/eventlet/Manifest +++ b/dev-python/eventlet/Manifest @@ -1,2 +1,3 @@ DIST eventlet-0.18.4.tar.gz 288920 SHA256 74ef11d67ee5e85e009b0fced733c907620bca1ab8e6b0489d9f247405ab2685 SHA512 3098f2e8649b1e10157b9474571b372176b05263a7d5e7bb915b0464551d70505bbdf77dc072f64c1c05b3011406ae4814ea1b6f746cea766bb58827b1515fcc WHIRLPOOL 818fea5dec6532312068b9853a501d38bf4e69cca4e6e7ad6f6cbede9f9fe63237e3889ddb8b74d3d0e080b826d24532ed488687b60fc160a7e65d129ce2497f DIST eventlet-0.20.1.tar.gz 469509 SHA256 3ad581b8645a54acf436e62a4d8cbf229a1ec7bfa3287c160f0258826b297838 SHA512 875c1ca82822a486bf28866c7d1f34df2419e7d33450a21740434d2e7f15c37a1090436cb7fe1feaeb5c810d39e4b238206c502323317897c8a42e844cbe7734 WHIRLPOOL 729505cd16fdecdc323f2bb12f4b03a9f9dc63267db4a1f005ba266a8bd8f37707969a80e23ecd18b2cc6e247e71bff0c31d7a5096576c57e6c3c32dc050cf73 +DIST eventlet-0.21.0.tar.gz 484191 SHA256 08faffab88c1b08bd53ea28bf084a572c89f7e7648bd9d71e6116ac17a51a15d SHA512 4ee682ca8faf870ff6f1d72e93527028f73ae13d7f755eceafb23f3cde48e52b83ff04b645b7e90299997713de93c52f244db8b81d6abc7788a56ea38c7b0f47 WHIRLPOOL 7dd13fe69aa5690001900ac34382cee8c2b0c112fa556a4b552543806d6e88992ef1a5dd6fb7307fa63bcf25e311727b6c979a6acb0e009fc488edd64e4d5e87 diff --git a/dev-python/eventlet/eventlet-0.21.0.ebuild b/dev-python/eventlet/eventlet-0.21.0.ebuild new file mode 100644 index 00000000000..5a7b9ba37c0 --- /dev/null +++ b/dev-python/eventlet/eventlet-0.21.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +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 ~arm64 ~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 +}