# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-pytest-mpl
version             0.17.0
revision            0
epoch               1

categories-append   devel
license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         {aronnax @lpsinger} openmaintainer

description         pytest plugin to for testing figures output from Matplotlib
long_description    This is a plugin to faciliate image comparison for \
                    Matplotlib figures in pytest. Matplotlib includes a number \
                    of test utilities and decorators, but these are geared \
                    towards the nose testing framework. Pytest-mpl makes it \
                    easy to compare figures produced by tests to reference \
                    images when using pytest.

homepage            https://github.com/matplotlib/pytest-mpl

checksums           rmd160  eb9ed3056ff64272e235ab529d57f37640da3b03 \
                    sha256  fbef05d7e664b4b33452fb698ac188e522791f327de34e7ea37dbdfe9d52cac6 \
                    size    885613

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-setuptools_scm

    depends_lib-append \
                    port:py${python.version}-matplotlib \
                    port:py${python.version}-pytest
}
