# -*- 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-runs
version             1.3.0
revision            0
categories-append   devel
platforms           any
license             MIT
maintainers         nomaintainer
description         Run a block of text as a subprocess
long_description    {*}${description}
homepage            https://github.com/rec/runs
checksums           rmd160  d91e49e7f1f243a4111c3d9959dc2f942ae09e68 \
                    sha256  cca304b631dbefec598c7bfbcfb50d6feace6d3a968734b67fd42d3c728f5a05 \
                    size    4585
supported_archs     noarch

python.versions         310 311 312 313 314
python.pep517_backend   poetry

if {${subport} ne ${name}} {
    # https://github.com/rec/runs/issues/1
    patchfiles-append   patch-poetry.diff

    depends_run-append  port:py${python.version}-xmod
}
