From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/pytest-mpl/Manifest | 2 ++ dev-python/pytest-mpl/metadata.xml | 10 ++++++ dev-python/pytest-mpl/pytest-mpl-0.17.0.ebuild | 47 ++++++++++++++++++++++++++ dev-python/pytest-mpl/pytest-mpl-0.19.0.ebuild | 42 +++++++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 dev-python/pytest-mpl/Manifest create mode 100644 dev-python/pytest-mpl/metadata.xml create mode 100644 dev-python/pytest-mpl/pytest-mpl-0.17.0.ebuild create mode 100644 dev-python/pytest-mpl/pytest-mpl-0.19.0.ebuild (limited to 'dev-python/pytest-mpl') diff --git a/dev-python/pytest-mpl/Manifest b/dev-python/pytest-mpl/Manifest new file mode 100644 index 000000000000..b157c15e79ef --- /dev/null +++ b/dev-python/pytest-mpl/Manifest @@ -0,0 +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/metadata.xml b/dev-python/pytest-mpl/metadata.xml new file mode 100644 index 000000000000..5e95859f915a --- /dev/null +++ b/dev-python/pytest-mpl/metadata.xml @@ -0,0 +1,10 @@ + + + + + python@gentoo.org + Python + + + baldeagleos-repo + diff --git a/dev-python/pytest-mpl/pytest-mpl-0.17.0.ebuild b/dev-python/pytest-mpl/pytest-mpl-0.17.0.ebuild new file mode 100644 index 000000000000..abd19c1122af --- /dev/null +++ b/dev-python/pytest-mpl/pytest-mpl-0.17.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{13..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_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local 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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mpl.plugin + epytest +} 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 000000000000..45693c0e69c8 --- /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_{13..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 +) -- cgit v1.3