# -*- 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.12
revision            1
epoch               1
categories-append   devel

license             BSD
platforms           darwin
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

master_sites        https://files.pythonhosted.org/packages/bb/40/04a235e54e82f0796a2115ee19454ddd8d6e85109f40da297ad76e0d43f2/

checksums           rmd160  0897078fef2de206532aed9c7fc721ed1f440018 \
                    sha256  4a223909e5148c99bd18891848c7871457729322c752c9c470bd8dd6bdf9f940 \
                    size    174343

python.versions     27 36 37 38 39

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

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

    livecheck.type  none
}
