diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-08-21 13:41:21 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-08-21 13:45:40 -0400 |
commit | e9ddc9428983c1e987aa482c78877662613441f4 (patch) | |
tree | f63aa6bd7a115f9b91865afefaf258df04d7b7a1 /dev-python/gevent | |
parent | dev-python/certifi: version bump to 2016.8.8 (diff) | |
download | gentoo-e9ddc9428983c1e987aa482c78877662613441f4.tar.gz gentoo-e9ddc9428983c1e987aa482c78877662613441f4.tar.bz2 gentoo-e9ddc9428983c1e987aa482c78877662613441f4.zip |
dev-python/gevent: version bump to 1.1.2
Diffstat (limited to 'dev-python/gevent')
-rw-r--r-- | dev-python/gevent/Manifest | 1 | ||||
-rw-r--r-- | dev-python/gevent/gevent-1.1.2.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest index 3bfa5f5c42ef..e55cfdaa119d 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 000000000000..b35f30fe18bd --- /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 +} |