From 84cd8e11e742d606cf146627d7d502a4f6152bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 15 Apr 2026 16:01:40 +0200 Subject: [PATCH] dev-python/pytest-mpl: Bump to 0.19.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pytest-mpl/Manifest | 1 + .../pytest-mpl/pytest-mpl-0.19.0.ebuild | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 dev-python/pytest-mpl/pytest-mpl-0.19.0.ebuild diff --git a/dev-python/pytest-mpl/Manifest b/dev-python/pytest-mpl/Manifest index 9856673307e73..b157c15e79efe 100644 --- a/dev-python/pytest-mpl/Manifest +++ b/dev-python/pytest-mpl/Manifest @@ -1 +1,2 @@ DIST pytest-mpl-0.17.0.tar.gz 885613 BLAKE2B d1a6d4551052eeeb7ecbf9722c782796aa74215a3241d1c037fca98972777dd35d7616ec8ef2bd4f00b6428f5dea516243244b61f56ec38d72a4805a75c91a50 SHA512 968397b1d75482729ad73f4844970c3c335c009e689f4163bd5a028c84627455a7d20563e62c6940b27c62229e5744496bec36c2440d402c0aee0a7853550f9b +DIST pytest_mpl-0.19.0.tar.gz 881884 BLAKE2B 4d57155ec3af24572ce7f881ace78e88289fafcfc4edf2e433561d4a20970434cfbb4798aa3ec0c882c939ef32f20a5a5976c62d7e9ddc8c15b608923750fa55 SHA512 fcfd1ba11ff3a6bfec6100893421cba245a259835c823f2c2d2bb472f5a5031e699a1f0ffc5608b245691f95827f411ffc60c8b5c5d4ff33a9642ccd1bfbda80 diff --git a/dev-python/pytest-mpl/pytest-mpl-0.19.0.ebuild b/dev-python/pytest-mpl/pytest-mpl-0.19.0.ebuild new file mode 100644 index 0000000000000..c174173e5fcdf --- /dev/null +++ b/dev-python/pytest-mpl/pytest-mpl-0.19.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Facilitate image comparison for Matplotlib figures" +HOMEPAGE=" + https://pypi.org/project/pytest-mpl/ + https://github.com/matplotlib/pytest-mpl +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( "${PN}" ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # these tests are pinned to specific output image hashes + # and none match nowadays + tests/subtests/test_subtest.py + tests/test_baseline_path.py::test_config + tests/test_pytest_mpl.py::test_formats + tests/test_results_always.py::test_config + tests/test_use_full_test_name.py::test_config +)