Date: Mon, 18 May 2020 22:05:38 +0000 (UTC) From: "Danilo G. Baio" <dbaio@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r535793 - in head/textproc: . py-sphinxcontrib-napoleon Message-ID: <202005182205.04IM5clZ035829@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dbaio Date: Mon May 18 22:05:38 2020 New Revision: 535793 URL: https://svnweb.freebsd.org/changeset/ports/535793 Log: Add textproc/py-sphinxcontrib-napoleon Sphinx extension that parses both NumPy and Google style docstrings Napoleon is a pre-processor that parses NumPy and Google style docstrings and converts them to reStructuredText before Sphinx attempts to parse them. This happens in an intermediate step while Sphinx is processing the documentation, so it doesn't modify any of the docstrings in your actual source code files. WWW: https://pypi.org/project/sphinxcontrib-napoleon/ Added: head/textproc/py-sphinxcontrib-napoleon/ head/textproc/py-sphinxcontrib-napoleon/Makefile (contents, props changed) head/textproc/py-sphinxcontrib-napoleon/distinfo (contents, props changed) head/textproc/py-sphinxcontrib-napoleon/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Mon May 18 22:05:00 2020 (r535792) +++ head/textproc/Makefile Mon May 18 22:05:38 2020 (r535793) @@ -1368,6 +1368,7 @@ SUBDIR += py-sphinxcontrib-htmlhelp SUBDIR += py-sphinxcontrib-httpdomain SUBDIR += py-sphinxcontrib-jsmath + SUBDIR += py-sphinxcontrib-napoleon SUBDIR += py-sphinxcontrib-newsfeed SUBDIR += py-sphinxcontrib-programoutput SUBDIR += py-sphinxcontrib-qthelp Added: head/textproc/py-sphinxcontrib-napoleon/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-sphinxcontrib-napoleon/Makefile Mon May 18 22:05:38 2020 (r535793) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= sphinxcontrib-napoleon +DISTVERSION= 0.7 +CATEGORIES= textproc +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dbaio@FreeBSD.org +COMMENT= Sphinx extension that parses both NumPy and Google style docstrings + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.5.2:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pockets>=0.3:devel/py-pockets@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/textproc/py-sphinxcontrib-napoleon/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-sphinxcontrib-napoleon/distinfo Mon May 18 22:05:38 2020 (r535793) @@ -0,0 +1,3 @@ +TIMESTAMP = 1589655696 +SHA256 (sphinxcontrib-napoleon-0.7.tar.gz) = 407382beed396e9f2d7f3043fad6afda95719204a1e1a231ac865f40abcbfcf8 +SIZE (sphinxcontrib-napoleon-0.7.tar.gz) = 21232 Added: head/textproc/py-sphinxcontrib-napoleon/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-sphinxcontrib-napoleon/pkg-descr Mon May 18 22:05:38 2020 (r535793) @@ -0,0 +1,6 @@ +Napoleon is a pre-processor that parses NumPy and Google style docstrings and +converts them to reStructuredText before Sphinx attempts to parse them. This +happens in an intermediate step while Sphinx is processing the documentation, +so it doesn't modify any of the docstrings in your actual source code files. + +WWW: https://pypi.org/project/sphinxcontrib-napoleon/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005182205.04IM5clZ035829>