mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/gevent: Version Bump
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
71
dev-python/gevent/gevent-1.1_beta6.ebuild
Normal file
71
dev-python/gevent/gevent-1.1_beta6.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user