| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.13 | 8 | ~amd64 ~x86 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 virtualx
DESCRIPTION="Pytest plugin to faciliate image comparison for matplotlib figures"
HOMEPAGE="https://github.com/matplotlib/pytest-mpl"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
RESTRICT="!test? ( test )" # Test phase runs with fails
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
"
DOCS=( CHANGES.md README.rst )
#distutils_enable_tests pytest
python_test() {
echo "backend : Agg" > "${T}"/matplotlibrc || die
MPLCONFIGDIR="${T}" virtx epytest
}
python_install_all() {
use examples && DOCS+=( images/ )
distutils-r1_python_install_all
}
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | pytest-mpl-0.13.tar.gz | 175487 bytes | mirror://pypi/${PN:0:1}/pytest-mpl/pytest-mpl-0.13.tar.gz |