# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-numpydoc python.rootname numpydoc version 0.6.0 platforms darwin license BSD maintainers mojca 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 master_sites pypi:n/${python.rootname}/ distname ${python.rootname}-${version} checksums rmd160 0a5d8238bc5bdfa70f4eb81ca0d604afa75197a8 \ sha256 1ec573e91f6d868a9940d90a6599f3e834a2d6c064030fbe078d922ee21dcfa1 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools # a very suboptimal way to fix a problem with files having permissions 750 and 640 # an alternative way could be to fetch the sources from GitHub instead post-extract { system "find ${worksrcpath} -type d -exec chmod 755 {} \\;" system "find ${worksrcpath} -type f -exec chmod 644 {} \\;" } livecheck.type none } else { livecheck.type pypi }