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 C85371384B4 for ; Fri, 6 Nov 2015 07:27:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D5F821C010; Fri, 6 Nov 2015 07:27:34 +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 E50D621C010 for ; Fri, 6 Nov 2015 07:27:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CFFE23406AD for ; Fri, 6 Nov 2015 07:27:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C354A21BB for ; Fri, 6 Nov 2015 07:27:28 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1446794845.4b6ffbb631acdc19a883e2b327cce1fbbc9ae27a.jlec@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_beta6.ebuild X-VCS-Directories: dev-python/gevent/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 4b6ffbb631acdc19a883e2b327cce1fbbc9ae27a X-VCS-Branch: master Date: Fri, 6 Nov 2015 07:27:28 +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: aa162cda-3baa-420a-b2c1-3c496206b82d X-Archives-Hash: 6a73b41fcb1c4bd64b895cb603d0589f commit: 4b6ffbb631acdc19a883e2b327cce1fbbc9ae27a Author: Justin Lecher gentoo org> AuthorDate: Thu Nov 5 14:53:36 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Fri Nov 6 07:27:25 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b6ffbb6 dev-python/gevent: Version Bump Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/gevent/Manifest | 1 + dev-python/gevent/gevent-1.1_beta6.ebuild | 71 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest index e351303..27a8cc5 100644 --- a/dev-python/gevent/Manifest +++ b/dev-python/gevent/Manifest @@ -1,3 +1,4 @@ DIST gevent-1.0.1.tar.gz 1455636 SHA256 4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43 SHA512 4790e06b49536ad15856cf551c7ad4d717be2ceda8bc7d39fc35a0132d21f302e033f3294da426be4f6c0476554163776e5ffd82d89962503a720c453ff96461 WHIRLPOOL a1d552f89e9d3db1720fd0db1dbfb6ffc7ed4db87ee5816e5c44843f3c5bba9afbfc21ab2cfcf5bfc84ea70fea3caf6f8fbdbc2807c868b27105bce7e58d6290 DIST gevent-1.0.2.tar.gz 1735721 SHA256 3ae1ca0f533ddcb17aab16ce66b424b3f3b855ff3b9508526915d3c6b73fba31 SHA512 95b8a24e53ad1ac135e63cb13942c5af6f7efb0fdb4fc2737759d07b09c2408b0d569dd30f63b45a342f81501211e98b5b6116ba9574c8a7801b9c551c14bd53 WHIRLPOOL 402d2af5993a0c04cb0c371190edbd6d4b56bbade2062beb4e7bedb522c0dd32c89452d6d7c1400884043d2f3bcae9ab718a5bccc1d98a563b7b92aeeff38f4e DIST gevent-1.0.tar.gz 1437122 SHA256 bfa9d846db91a7d8b6a36e87353eed641c7e3e7d0bfa0b9975796d227f2db4eb SHA512 5f452c799323e8c16172e04a538dfd8ef4066781207ec06ad0bc2d4892a7309b46146e4ab819bf8b99ad4f6ce226d013ded98800efc16458e2626dcc7a77d853 WHIRLPOOL 799fc6402ec3d0e7cc2580d0af8fab06eb01c3cd3dc61e85672e0abb211ba768dea4585ee8a3d204455f19a537974509d992275aaf243ff4948231603b828c6a +DIST gevent-1.1b6.tar.gz 1737015 SHA256 ada32434242ed3e21a1d6ed7bc7f935aa6122ff8b35c20880787ff9fbd1312e6 SHA512 6c381054d5d1fe36c20cbe4e98b3e5029c6251e746c48256c407ea82a7d9ba42b2c644d6fe3683fde7e7fdbaa3d16e497500860877fe92545719eb64b782df81 WHIRLPOOL 5be93f99ae7f1a6e7e69e4cabff7c0b67c6e7ac0e68eb38fd38e8323aa2b3c8f61394be6e1bbb522efbe35a2efd3cfa332015e575c87641f63bcdd950af8cdef diff --git a/dev-python/gevent/gevent-1.1_beta6.ebuild b/dev-python/gevent/gevent-1.1_beta6.ebuild new file mode 100644 index 0000000..f184f21 --- /dev/null +++ b/dev-python/gevent/gevent-1.1_beta6.ebuild @@ -0,0 +1,71 @@ +# 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,4,5} pypy pypy3 ) +PYTHON_REQ_USE="ssl(+)" + +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 ~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.3.2 + 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() { + rm -r {libev,c-ares} || die + + 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() { + DOCS+=( changelog.rst ) + use doc && local HTML_DOCS=( doc/_build/html/. ) + use examples && local EXMAPLES=( examples/. ) + + distutils-r1_python_install_all +}