# -*- 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.3.2
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

distname            rstcheck_core-${version}

checksums           rmd160  5b792df3fb5c14424d1df620c9e7cc4b44136e5a \
                    sha256  511ea4a39f88c5c01291689c7e2abd6c75c0d18492e1af722c7f2ac1fde34b97 \
                    size    56645

python.versions     310 311 312 313 314

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
}
