# -*- 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.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  358a1f66f9a8a91af0c08a588a82c67d3d279a89 \
                    sha256  9e4842efcc32fe6dbe1767bf1f96225495369c82a2b5e0ed2969082f1ed56c9e \
                    size    53629

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
}
