dev-python/gevent: EAPI 7 + Python 3.8
authorSebastian Pipping <sping@gentoo.org>
Sun, 26 Jan 2020 22:37:12 +0000 (23:37 +0100)
committerSebastian Pipping <sping@gentoo.org>
Sun, 26 Jan 2020 22:42:50 +0000 (23:42 +0100)
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

dev-python/gevent/gevent-1.4.0.ebuild

index 4e9650bf6fcf722a295ac3da02819464800dcae1..0a8fede4aa8d5a747eebcc89e59e54118aa5cf38 100644 (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"