# -*- 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-wrapt
version             1.17.2
revision            0
license             BSD

python.versions     39 310 311 312 313

maintainers         {stromnov @stromnov} openmaintainer

description         A Python module for decorators, wrappers and monkey patching.
long_description    ${description}

homepage            https://github.com/GrahamDumpleton/wrapt

checksums           rmd160  797adffe3ac1e557d5173f0f70f0c3f2533de1b5 \
                    sha256  41388e9d4d1522446fe79d3213196bd9e3b301a336965b9e27ca2788ebd122f3 \
                    size    55531

if {${name} ne ${subport}} {
    build.env-append    "WRAPT_INSTALL_EXTENSIONS=true"
    destroot.env-append "WRAPT_INSTALL_EXTENSIONS=true"

    test.run        yes
}
