# -*- 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 version 6.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/myint/rstcheck checksums rmd160 801b19f15dab12b9a080569c44d94724b0ba3250 \ sha256 e4d173950b023eb12c2b9d2348a8c62bef46612bbc7b29e1e57d37320ed0a891 \ size 23609 python.versions 38 39 310 311 312 if {${subport} ne ${name}} { depends_build-append \ port:py${python.version}-setuptools_scm depends_lib-append \ port:py${python.version}-colorama \ port:py${python.version}-docutils \ port:py${python.version}-rich \ port:py${python.version}-rstcheck-core \ port:py${python.version}-shellingham \ port:py${python.version}-typer \ port:py${python.version}-types-docutils \ port:py${python.version}-pydantic if {${python.version} < 38} { depends_lib-append \ port:py${python.version}-importlib-metadata \ port:py${python.version}-typing_extensions } post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} LICENSE \ AUTHORS.rst README.rst ${destroot}${docdir} } }