summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib/matplotlib-3.2.1.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-07 21:26:56 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-07 21:33:35 +0200
commit2d533e37ab79a7b621f86a341407188988c133a9 (patch)
tree89d80ad45016f3f8b6ec2a3a0bffeb256308afac /dev-python/matplotlib/matplotlib-3.2.1.ebuild
parent1aa526df1dc117420674db2140566ae3c7525494 (diff)
downloadgentoo-2d533e37ab79a7b621f86a341407188988c133a9.tar.gz
gentoo-2d533e37ab79a7b621f86a341407188988c133a9.tar.bz2
gentoo-2d533e37ab79a7b621f86a341407188988c133a9.zip
dev-python/matplotlib: Resolve test failures
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/matplotlib/matplotlib-3.2.1.ebuild')
-rw-r--r--dev-python/matplotlib/matplotlib-3.2.1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/matplotlib/matplotlib-3.2.1.ebuild b/dev-python/matplotlib/matplotlib-3.2.1.ebuild
index 6a67b5ed31d2..6be4bf19ff01 100644
--- a/dev-python/matplotlib/matplotlib-3.2.1.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.2.1.ebuild
@@ -132,9 +132,13 @@ python_prepare_all() {
# EOF
local PATCHES=(
- "${FILESDIR}"/${PN}-3.1.2-qhull.patch
+ "${FILESDIR}"/matplotlib-3.1.2-qhull.patch
+ "${FILESDIR}"/matplotlib-3.2.1-test.patch
)
+ # requires jupyter-nbconvert
+ rm lib/matplotlib/tests/test_backend_nbagg.py || die
+
sed \
-e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \
-i lib/matplotlib/{mathtext,fontconfig_pattern}.py \