# -*- 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-cucumber-tag-expressions
version             8.1.0
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer

description         Tag Expression Parser for Python
long_description    Cucumber can be used to implement automated tests based \
                    on scenarios described in your Gherkin feature files.

homepage            https://github.com/cucumber/tag-expressions-python

distname            cucumber_tag_expressions-${version}

checksums           rmd160  aed47aec0b7f053f91434f6f686dcb39d04c94ba \
                    sha256  acc56dd19b7bd0b931fc7b124ebbb6737def0775be41186ace7f5e566338ce7d \
                    size    8429

python.versions     313
python.pep517_backend

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-uv-build

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \
            ${destroot}${docdir}
    }
}
