# -*- 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-docstring-to-markdown
version             0.15
revision            0

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

description         On the fly conversion of Python docstrings to markdown
long_description    {*}${description}

homepage            https://github.com/python-lsp/docstring-to-markdown

checksums           rmd160  69bb5739a1120a3b4c40506091ee525258a85ff7 \
                    sha256  e146114d9c50c181b1d25505054a8d0f7a476837f0da2c19f07e06eaed52b73d \
                    size    29246

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md \
            LICENSE ${destroot}${docdir}
    }
}