dev-python/gevent: EAPI 7 + Python 3.8

Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
This commit is contained in:
Sebastian Pipping
2020-01-26 23:37:12 +01:00
parent 48ddca6fa9
commit ec6bbbcd2e

View File

@@ -1,19 +1,16 @@
# 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"
@@ -26,15 +23,12 @@ RDEPEND="
>=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"