# -*- 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.8.0
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  e68f46844e4cee9d447150343c9ae875f99fa8037c6dcf5f15bf1fe9ab43d226 \
                    rmd160  60952e442286478f73da16567cd0108b29c45cb1 \
                    size    59794

python.versions     27 35 36 37 38 39

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
}
