# -*- 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.0
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  8ff1894f17d0e6c547cd58e4161b64b439917312 \
                    sha256  6238ff6e531e003171e2ffefeb7b18a55fd70a00d69affe25a9bc11b194dd750 \
                    size    54829

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
}
