dev-python/quantities: fix test and doc

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-05-11 16:54:56 +02:00
parent 686afe33a1
commit 21f086bc11

View File

@@ -27,6 +27,14 @@ DEPEND="
RDEPEND="${DEPEND}"
# TODO : tests doc
#distutils_enable_tests setup.py # some unexpected failures
#distutils_enable_sphinx docs
python_prepare_all() {
# Unexpected success
sed -i -e 's:test_fix:_&:' \
quantities/tests/test_umath.py || die
distutils-r1_python_prepare_all
}
distutils_enable_tests unittest
# wants ext.pngmath which got removed in sphinx-2
distutils_enable_sphinx doc dev-python/numpydoc "<dev-python/sphinx-2"