# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
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.org/project/gevent/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
>=dev-python/greenlet-0.4.14
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"