svn commit: r489639 - in head/textproc: . py-custom_inherit

Steven Kreuzer skreuzer at FreeBSD.org
Tue Jan 8 03:15:43 UTC 2019


Author: skreuzer
Date: Tue Jan  8 03:15:41 2019
New Revision: 489639
URL: https://svnweb.freebsd.org/changeset/ports/489639

Log:
  The Python package custom_inherit provides convenient, light-weight tools for
  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

Added:
  head/textproc/py-custom_inherit/
  head/textproc/py-custom_inherit/Makefile   (contents, props changed)
  head/textproc/py-custom_inherit/distinfo   (contents, props changed)
  head/textproc/py-custom_inherit/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Tue Jan  8 02:11:53 2019	(r489638)
+++ head/textproc/Makefile	Tue Jan  8 03:15:41 2019	(r489639)
@@ -1280,6 +1280,7 @@
     SUBDIR += py-colorclass
     SUBDIR += py-creole
     SUBDIR += py-csvkit
+    SUBDIR += py-custom_inherit
     SUBDIR += py-dbfread
     SUBDIR += py-diff-match-patch
     SUBDIR += py-docutils

Added: head/textproc/py-custom_inherit/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-custom_inherit/Makefile	Tue Jan  8 03:15:41 2019	(r489639)
@@ -0,0 +1,18 @@
+# Created by: skreuzer
+# $FreeBSD$
+
+PORTNAME=	custom_inherit
+PORTVERSION=	2.2.0
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	skreuzer at FreeBSD.org
+COMMENT=	Package providing tools for inheriting docstrings in customizable ways
+
+LICENSE=	MIT
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>

Added: head/textproc/py-custom_inherit/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-custom_inherit/distinfo	Tue Jan  8 03:15:41 2019	(r489639)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1546916988
+SHA256 (custom_inherit-2.2.0.tar.gz) = 3892ec53aaffae98d757867c3d1dd5f02200db0e1f888ab601223d72262996f8
+SIZE (custom_inherit-2.2.0.tar.gz) = 11257

Added: head/textproc/py-custom_inherit/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-custom_inherit/pkg-descr	Tue Jan  8 03:15:41 2019	(r489639)
@@ -0,0 +1,16 @@
+The Python package custom_inherit provides convenient, light-weight tools for
+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


More information about the svn-ports-head mailing list