mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 10:18:08 -07:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user