mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/pytest-mpl: new package, add 0.16.1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
f6c45f07f6
commit
646fae2fa6
1
dev-python/pytest-mpl/Manifest
Normal file
1
dev-python/pytest-mpl/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST pytest-mpl-0.16.1.tar.gz 663585 BLAKE2B aad171260a10417aab15e7e55115c2fe02aa33dcf8336634281e1a1dad4d1c5ff08293fd9a67be025ec6cbb18c42bc9eb7ccb86275c0fcc7f4bf33a035fc0927 SHA512 64c1689f1698f9223082bc5c6817a1d4f9b413cb193894c23b1e0302254a6358cb3e354ac92ec47677acf460a41d05b2b527c834fd0fbbde04c070b0af8f46e1
|
||||
13
dev-python/pytest-mpl/metadata.xml
Normal file
13
dev-python/pytest-mpl/metadata.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pytest-mpl</remote-id>
|
||||
<remote-id type="github">matplotlib/pytest-mpl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
44
dev-python/pytest-mpl/pytest-mpl-0.16.1.ebuild
Normal file
44
dev-python/pytest-mpl/pytest-mpl-0.16.1.ebuild
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Facilitate image comparison for Matplotlib figures"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pytest-mpl/
|
||||
https://github.com/matplotlib/pytest-mpl
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
tests/subtests/test_subtest.py::test_default
|
||||
tests/subtests/test_subtest.py::test_html_images_only
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# disable autoloading plugins in nested pytest calls
|
||||
#local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
# since we disabled autoloading, force loading necessary plugins
|
||||
#local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail,pytest_forked
|
||||
|
||||
epytest
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user