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

python.versions     310 311 312 313 314

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  4720158b6a1a5f0eb1863f74db6262a25adbc7aa \
                    sha256  3996a67eecc2c68fd47b4e3c564405a5777367adfd9b8abb58387b63ee83b21e \
                    size    81678

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

    test.run        yes
}
