dev-python/pytest-mpl - 0.19.0 (stuff)

Search

Install

Install this version:

emerge -a =dev-python/pytest-mpl-0.19.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/pytest-mpl-0.19.0

Or alternatively:

emerge --autounmask-write -a =dev-python/pytest-mpl-0.19.0

Package Information

Description:
Pytest plugin to faciliate image comparison for matplotlib figures
Homepage:
https://github.com/matplotlib/pytest-mpl
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.19.0 8 ~amd64 ~x86 0
View Raw Ebuild
# 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_{12..14} )

inherit distutils-r1 pypi

DESCRIPTION="Pytest plugin to faciliate image comparison for matplotlib figures"
HOMEPAGE="https://github.com/matplotlib/pytest-mpl"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
RESTRICT="test"	# Test phase runs with fails

RDEPEND="
	>=dev-python/pytest-6.2.5[${PYTHON_USEDEP}]
	>=dev-python/matplotlib-3.5.3[${PYTHON_USEDEP}]
	>=dev-python/packaging-22.0.0[${PYTHON_USEDEP}]
	>=dev-python/jinja2-2.10.2[${PYTHON_USEDEP}]
	>=dev-python/pillow-8.1.1[${PYTHON_USEDEP}]
"

DOCS=( CHANGES.md README.rst )

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_install_all() {
	use examples && DOCS+=( images/ )
	distutils-r1_python_install_all
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/pytest-mpl | euse -E <flag> -p dev-python/pytest-mpl | euse -D <flag> -p dev-python/pytest-mpl

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/pytest-6.2.5[]
	>=dev-python/matplotlib-3.5.3[]
	>=dev-python/packaging-22.0.0[]
	>=dev-python/jinja2-2.10.2[]
	>=dev-python/pillow-8.1.1[]