# -*- 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-vcrpy
version             9.4.0
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         This is a Python version of Ruby’s VCR library.
long_description    {*}${description} VCR.py simplifies and speeds up tests that make \
                    HTTP requests.
homepage            https://github.com/kevin1024/vcrpy

checksums           rmd160  14fd0cbf39de31c53c7d52078a5c901d1773cfd1 \
                    sha256  af6cb65abb1a0a5c1d25954b9a52f033b85c6f80679f3f91c9e7301da4107e74 \
                    size    122146

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-wrapt \
                    port:py${python.version}-yaml

    if {${python.version} < 311} {
        version     8.3.0
        revision    0

         checksums  rmd160  dadd124616b69c673dc07bb68724eb71410398c2 \
                    sha256  46d64e77e8d95e5c76c7d9a94ff05d8b38b2ae4e1d4869eb0235024b6fcb5212 \
                    size    96117
 
         depends_lib-append \
                    port:py${python.version}-urllib3 \
                    port:py${python.version}-yarl
    }
}
