# -*- 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-numpydoc
version             1.10.0
revision            0

supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         Sphinx extension to support docstrings in Numpy format
long_description    Numpydoc inserts a hook into Sphinx’s autodoc \
                    that converts docstrings following the Numpy/Scipy format \
                    to a form palatable to Sphinx.

homepage            https://github.com/numpy/numpydoc

checksums           rmd160  b080c816ab3060da5d9fe8c3ea78a4a5572efb8b \
                    sha256  3f7970f6eee30912260a6b31ac72bba2432830cd6722569ec17ee8d3ef5ffa01 \
                    size    94027

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-sphinx \
                        port:py${python.version}-jinja2

    test.run            yes
}
