From 753fddeb8ad024ecf4d363ff836e9db1673b38ec Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 29 Mar 2020 14:08:02 +0200 Subject: [PATCH] dev-python/manhole: tried and failed to get tests working Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan --- dev-python/manhole/manhole-1.6.0.ebuild | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/dev-python/manhole/manhole-1.6.0.ebuild b/dev-python/manhole/manhole-1.6.0.ebuild index 37db2bb6ea..24175bac7e 100644 --- a/dev-python/manhole/manhole-1.6.0.ebuild +++ b/dev-python/manhole/manhole-1.6.0.ebuild @@ -3,7 +3,9 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_6 ) + +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -17,8 +19,11 @@ HOMEPAGE=" SRC_URI="https://github.com/ionelmc/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0" + KEYWORDS="~amd64 ~x86" +RESTRICT="test" + RDEPEND="" DEPEND=" ${RDEPEND} @@ -28,19 +33,12 @@ DEPEND=" dev-python/process-tests[${PYTHON_USEDEP}] dev-python/pytest-travis-fold[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] - www-servers/uwsgi[${PYTHON_USEDEP}] + www-servers/uwsgi[python,python_gevent,${PYTHON_USEDEP}] ) " S="${WORKDIR}/${MYPN}-${PV}" -python_prepare_all() { - #no coverage - #sed -i 's|--cov-report term-missing||' setup.cfg || die - #sed -i 's|nocover: false|nocover: true|' setup.cfg || die - distutils-r1_python_prepare_all -} - distutils_enable_tests pytest distutils_enable_sphinx docs \ dev-python/sphinx-py3doc-enhanced-theme \