# -*- 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.16.1
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  64322c2d5e031ea3b5b3b180e28aa36753864beb \
                    sha256  2d571681124e8ff5f4e2b9c0d047d37d0499d6b6d8f2f49a1b50cdd993104469 \
                    size    663585

python.versions     39 310 311

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
}