# -*- 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-requests-mock
version             1.9.3
revision            0

platforms           darwin
supported_archs     noarch
license             Apache-2
maintainers         {petr @petrrr} openmaintainer

description         Mock out responses from the requests package
long_description    ${python.rootname} provides a building block to stub out the \
                    HTTP requests portions of your testing code.

homepage            https://requests-mock.readthedocs.io/

checksums           sha256  8d72abe54546c1fc9696fa1516672f1031d72a55a1d66c85184f972a24ba0eba \
                    rmd160  cbcbb150f07ab4d5e5c1eadee0bf88782d557ed5 \
                    size    67988

python.versions     27 35 36 37 38 39 310

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

    depends_lib-append  port:py${python.version}-requests \
                        port:py${python.version}-six

    livecheck.type      none
}
