Add textproc/py-docrepr: Generate rich representations for docstrings

docrepr renders Python docstrings in HTML. It is based on the sphinxify module
developed by Tim Dumol for the Sage Notebook and the utils.help module
developed for the Spyder IDE.

WWW: https://github.com/spyder-ide/docrepr/
This commit is contained in:
Danilo G. Baio 2020-06-06 18:15:57 +00:00
parent 2809e06fba
commit 4b3479e3ac
4 changed files with 32 additions and 0 deletions

View file

@ -1227,6 +1227,7 @@
SUBDIR += py-custom_inherit
SUBDIR += py-dbfread
SUBDIR += py-diff-match-patch
SUBDIR += py-docrepr
SUBDIR += py-docutils
SUBDIR += py-docx2txt
SUBDIR += py-dominate

View file

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= docrepr
DISTVERSION= 0.1.1
CATEGORIES= textproc
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Generate rich representations for docstrings
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
${PY_SPHINX}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1591466666
SHA256 (docrepr-0.1.1.tar.gz) = d7b27b0105d19267be74ff8048f213b8968ff366ded45357d112ef02e109f715
SIZE (docrepr-0.1.1.tar.gz) = 144136

View file

@ -0,0 +1,5 @@
docrepr renders Python docstrings in HTML. It is based on the sphinxify module
developed by Tim Dumol for the Sage Notebook and the utils.help module
developed for the Spyder IDE.
WWW: https://github.com/spyder-ide/docrepr/