dev-python/gevent: Remove redundant versions

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-08-22 09:07:24 +02:00
parent 49f59a593f
commit 080a1f1f5f
2 changed files with 0 additions and 68 deletions

View File

@@ -1,3 +1,2 @@
DIST gevent-1.4.0.tar.gz 5169595 BLAKE2B 0c78f67bc94d15419b8eadf8825d9657c6a7a82756308216e1ca94d5465c25836cb736b8b370a12d1003eb8614effd4110d8ed47ee2b0d7febc2bda4038adc0a SHA512 6771f4f2932055270e4f5a79ae815e93fd0f471defa7f437dc84907ea8b44672e05ae5eb6958f8d90580b2471785dce4044d9d1bbea0dd0c34c1381d88af0344
DIST gevent-20.6.0.tar.gz 5803237 BLAKE2B 97b988964ef80fcc1c3238718b6802016fb46742c94e7e56b5196139181ff82ce60816e0a8ccc5c3e1c3b73ec11cc705884b5ac5524dbd5116dc0d8722ccc7a4 SHA512 28ee030934d3c379577c9f86b76838e5d76c7ea7c0880cdeac9dc5ead497ae0600fb02b2984c7312fd42319142200c674b75da2e93b58fd4a99882d601a95108
DIST gevent-20.6.2.tar.gz 5806612 BLAKE2B 8b1fbd991cb169292d33001bb0df06702d36eb3849c9251e4fac9e2fb5826eda3435971e39e209f1f537536081ce2730e561e91c398ee66a9b1d55c9d0e5a81a SHA512 65caa9caf8a2913b4c3bcc9a303169ce5837a0d7ccf4fb6b7583bf4ec3a0b288d65fc7e28399f0715e61aed128ffc6e67fc9b455474e47263236136a492021f4

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
PYTHON_REQ_USE="ssl(+),threads(+)"
inherit distutils-r1 flag-o-matic
DESCRIPTION="Coroutine-based network library"
HOMEPAGE="https://www.gevent.org/ https://pypi.org/project/gevent/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="doc examples"
RDEPEND="
>=dev-libs/libev-4.23
>=net-dns/c-ares-1.12
>=dev-python/greenlet-0.4.14
virtual/python-greenlet[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
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"
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 src/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 README.rst )
use doc && local HTML_DOCS=( doc/_build/html/. )
use examples && dodoc -r examples
distutils-r1_python_install_all
}