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 <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-03-29 14:08:02 +02:00
parent dca19a33d2
commit 753fddeb8a

View File

@@ -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 \