dev-python/redbaron: use python_prepare_all

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-03 10:43:05 +02:00
parent d13f0f8fd3
commit 40036849cf

View File

@@ -28,12 +28,12 @@ distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/ipython
src_prepare() {
default
python_prepare_all() {
# Remove "__pycache__". Reason: unique basename
rm -rfd "${S}"/tests/__pycache__ || die
# Skip tests. Reason: calls fixture "red" directly
rm "${S}"/tests/test_bounding_box.py || die
distutils-r1_python_prepare_all
}