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 6D1E213832E for ; Sun, 21 Aug 2016 17:46:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46D6CE0B32; Sun, 21 Aug 2016 17:46:05 +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 CD9B8E0B3F for ; Sun, 21 Aug 2016 17:46:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B1F53406C2 for ; Sun, 21 Aug 2016 17:46:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF84B2463 for ; Sun, 21 Aug 2016 17:46:01 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1471801540.e9ddc9428983c1e987aa482c78877662613441f4.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gevent/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/gevent/Manifest dev-python/gevent/gevent-1.1.2.ebuild X-VCS-Directories: dev-python/gevent/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: e9ddc9428983c1e987aa482c78877662613441f4 X-VCS-Branch: master Date: Sun, 21 Aug 2016 17:46:01 +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: 8fd5c8b1-116d-4b89-8f12-44a3ed1ccc8e X-Archives-Hash: 8e8048fc711ce1767eb2f416ec193c5d commit: e9ddc9428983c1e987aa482c78877662613441f4 Author: Tim Harder gentoo org> AuthorDate: Sun Aug 21 17:41:21 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Sun Aug 21 17:45:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ddc942 dev-python/gevent: version bump to 1.1.2 dev-python/gevent/Manifest | 1 + dev-python/gevent/gevent-1.1.2.ebuild | 76 +++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest index 3bfa5f5..e55cfda 100644 --- a/dev-python/gevent/Manifest +++ b/dev-python/gevent/Manifest @@ -3,3 +3,4 @@ DIST gevent-1.0.2.tar.gz 1735721 SHA256 3ae1ca0f533ddcb17aab16ce66b424b3f3b855ff DIST gevent-1.0.tar.gz 1437122 SHA256 bfa9d846db91a7d8b6a36e87353eed641c7e3e7d0bfa0b9975796d227f2db4eb SHA512 5f452c799323e8c16172e04a538dfd8ef4066781207ec06ad0bc2d4892a7309b46146e4ab819bf8b99ad4f6ce226d013ded98800efc16458e2626dcc7a77d853 WHIRLPOOL 799fc6402ec3d0e7cc2580d0af8fab06eb01c3cd3dc61e85672e0abb211ba768dea4585ee8a3d204455f19a537974509d992275aaf243ff4948231603b828c6a DIST gevent-1.1.0.tar.gz 1968902 SHA256 34f7a5eca1326affe149eaa5467220d89002facd338028d2340868015407ae75 SHA512 e4dcb117e3c18359faefe9e9233dcda2089fdb6a4149b048881af3925f6c7b1e91447dbdcbaadd1c840c3161555f30054e60563cf78f000821cf7f12716c051d WHIRLPOOL a3508d805e24c3d10580127bb97a3c8c4f87ea928fa1d70096553e2e51bfa4497b8dda327d2418d916aedf4661478cdac25a42f951f13b698060f1b5187806cf DIST gevent-1.1.1.tar.gz 2008368 SHA256 6ee5b9851b2acde08df7ab9b9a2903f58b4b0e555405c444f4b1dd16f71caeea SHA512 b6342249695232532824f8ba643c4727bc409f9869aca7c26f95f8d6cb09c8fbd4ad7b04f7b4f37db9ac11e1d824a9bf9b67bf393fe183afc1b21c68959e4f78 WHIRLPOOL 8f6dd5fb848851e2c6d1fa4e4792c4c6ad4ceaeed429bac2052c4e40cc918ca5755be0f9b70663e89295a3860a9ac02f89b00e6503db26ab8881e1cc2dedca64 +DIST gevent-1.1.2.tar.gz 2007938 SHA256 cb15cf73d69a2eeefed330858f09634e2c50bf46da9f9e7635730fcfb872c02c SHA512 6b0a381486b0d8eaf446890bc6339ee1185ad666c11c8d56e25d148f8c6f2d7be955423c763486d1276d8d34cec933706eb3752b0894b3f5444f93fafd62cf3c WHIRLPOOL 99c6d7eeaa13f714098498c85b56a81fb886cda60b9cdbab37196886340a24f0cf7c8ceb22680b7dd0126b82b77e3d5f0f20980ab07c9be3edbd9bd8bed0bd1f diff --git a/dev-python/gevent/gevent-1.1.2.ebuild b/dev-python/gevent/gevent-1.1.2.ebuild new file mode 100644 index 0000000..b35f30f --- /dev/null +++ b/dev-python/gevent/gevent-1.1.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# Note: pypy3 not supported +# Note: py3.5 preliminary support +# http://www.gevent.org/whatsnew_1_1.html#broader-platform-support +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit distutils-r1 flag-o-matic + +MY_PV=${PV/_beta/b} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Coroutine-based network library" +HOMEPAGE="http://gevent.org/ https://pypi.python.org/pypi/gevent/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RDEPEND=" + dev-libs/libev + >=net-dns/c-ares-1.10 + >=dev-python/greenlet-0.4.9 + virtual/python-greenlet[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +# Tests take long and fail terribly a few times. +# It also seems that they require network access. +RESTRICT="test" + +S=${WORKDIR}/${MY_P} + +python_prepare_all() { + export LIBEV_EMBED="false" + export CARES_EMBED="false" + export EMBED="false" + + distutils-r1_python_prepare_all +} + +python_configure_all() { + append-flags -fno-strict-aliasing +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + cd greentest || die + + GEVENT_RESOLVER=thread \ + "${PYTHON}" testrunner.py --config ../known_failures.py || die + GEVENT_RESOLVER=ares GEVENTARES_SERVERS=8.8.8.8 \ + "${PYTHON}" testrunner.py --config ../known_failures.py \ + --ignore tests_that_dont_use_resolver.txt || die + GEVENT_FILE=thread \ + "${PYTHON}" testrunner.py --config ../known_failures.py $(grep -l subprocess test_*.py) || die +} + +python_install_all() { + local DOCS=( AUTHORS changelog.rst README.rst ) + use doc && local HTML_DOCS=( doc/_build/html/. ) + use examples && dodoc -r examples + + distutils-r1_python_install_all +}