# -*- 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             2.5.1
revision            0
license             BSD

python.versions     310 311 312 313 314 315

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  8e55b1c5c611dbb6e4065e36115b30ef3670af80 \
                    sha256  f595bb0185aab3e9dc31950c95d914f56ea8278810c3b928f3426e12ed6d27bc \
                    size    184455

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

    test.run        yes
}
