# -*- 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-makefun
version             1.15.2
license             BSD
supported_archs     noarch
platforms           {darwin any}

maintainers         {@harens harens} openmaintainer

description         Dynamically create python functions with a proper signature
long_description    makefun helps you create functions dynamically, with the signature of your choice. \
                    It was largely inspired by decorator and functools, and created mainly to cover some of their limitations.

homepage            https://smarie.github.io/python-makefun/

checksums           rmd160  5583cef07ae57541518fe0d5b1f6da93fc1794a1 \
                    sha256  16f2a2b34d9ee0c2b578c960a1808c974e2822cf79f6e9b9c455aace10882d45 \
                    size    74602

python.versions     310 311 312

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-pytest-runner \
                        port:py${python.version}-setuptools_scm
}
