# -*- 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-rstcheck-core
version             1.2.1
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         Checks syntax of reStructuredText and code blocks nested \
                    within it
long_description    {*}${description}

homepage            https://github.com/rstcheck/rstcheck-core

checksums           rmd160  9eb03dc6e96ac866da3ce68b607850247d079354 \
                    sha256  9b330020d912e2864f23f332c1a0569463ca3b06b8fee7b7bdd201b055f7f831 \
                    size    52638

python.versions     39 310 311 312 313

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

    depends_lib-append \
                    port:py${python.version}-docutils \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-types-docutils
}
