30 |
30 |
# Fonts: BitstreamVera, OFL-1.1
|
31 |
31 |
LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1"
|
32 |
32 |
SLOT="0"
|
33 |
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
|
34 |
|
IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets"
|
|
33 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~arm64-macos ~x64-macos"
|
|
34 |
IUSE="cairo doc excel gtk3 latex qt5 tk webagg wxwidgets"
|
35 |
35 |
|
36 |
36 |
# internal copy of pycxx highly patched
|
37 |
37 |
# dev-python/pycxx
|
... | ... | |
42 |
42 |
>=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}]
|
43 |
43 |
>=dev-python/kiwisolver-1.2.0[${PYTHON_USEDEP}]
|
44 |
44 |
<dev-python/numpy-2[${PYTHON_USEDEP}]
|
45 |
|
>=dev-python/numpy-1.20[${PYTHON_USEDEP}]
|
|
45 |
>=dev-python/numpy-1.25[${PYTHON_USEDEP}]
|
46 |
46 |
>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
|
47 |
47 |
>=dev-python/pillow-7.1.1[jpeg,webp,${PYTHON_USEDEP}]
|
48 |
48 |
>=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}]
|
... | ... | |
148 |
148 |
|
149 |
149 |
local PATCHES=(
|
150 |
150 |
"${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch
|
151 |
|
"${FILESDIR}"/matplotlib-3.7.1-test.patch
|
152 |
|
"${FILESDIR}"/matplotlib-3.7.2-macOS_no-Cocoa.patch
|
|
151 |
"${FILESDIR}"/matplotlib-3.8.0-test.patch
|
153 |
152 |
)
|
154 |
153 |
|
155 |
154 |
hprefixify setupext.py
|
... | ... | |
246 |
245 |
tests/test_backend_qt.py::test_fig_sigint_override
|
247 |
246 |
# unhappy about xdist
|
248 |
247 |
tests/test_widgets.py::test_span_selector_animated_artists_callback
|
|
248 |
# timeout
|
|
249 |
tests/test_backends_interactive.py::test_webagg
|
249 |
250 |
)
|
250 |
251 |
|
251 |
252 |
[[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
|
... | ... | |
320 |
321 |
use doc && local HTML_DOCS=( doc/build/html/. )
|
321 |
322 |
|
322 |
323 |
distutils-r1_python_install_all
|
323 |
|
|
324 |
|
if use examples; then
|
325 |
|
dodoc -r examples
|
326 |
|
docompress -x /usr/share/doc/${PF}/examples
|
327 |
|
fi
|
328 |
324 |
}
|