inheriting docstrings in customizeable ways. Features: * Metaclass that instructs children to inherit docstrings for their attributes from their parents, using custom docstring inheritance styles. * Decorator that merges a string/docstring with the docstring of the decorated object using custom styles. * Built-in docstring merging styles for popular docstring specifications: * NumPy docstring specification * Napoleon docstring specifications (for both Google and NumPy styles) * Merging based on reST sections * Simple inheritance from a parent, if the docstring is not overwritten * Simple interface for using your own docstring inheritance style. WWW: https://github.com/meowklaski/custom_inherit
18 lines
371 B
Makefile
18 lines
371 B
Makefile
# Created by: skreuzer
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= custom_inherit
|
|
PORTVERSION= 2.2.0
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
|
COMMENT= Package providing tools for inheriting docstrings in customizable ways
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
.include <bsd.port.mk>
|