# -*- 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.3
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  cd80c9f32aac37a05876df08373bf0d8d96cf89a \
                    sha256  f66eb08feaa410fe4eebd17f2a2c8e2e46d3476e9f8c783daa8e09e0faa666d0 \
                    size    55547

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

    test.run        yes
}
