BSD Ports

textproc/py-custom_inherit 2.4.1 FreeBSD

Package providing tools for inheriting docstrings in customizable ways

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
dd252214d6
License
MIT
Categories
textproc, python
Package size
24.0 KiB, 146.9 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDtextproc/py-custom_inherit2.4.1
DragonFlytextproc/py-custom_inherit2.3.1_1
HardenedBSDtextproc/py-custom_inherit2.4.1
GhostBSDtextproc/py-custom_inherit2.4.1

Install

Binary package:

pkg install py312-custom_inherit

From the ports tree:

cd /usr/ports/textproc/py-custom_inherit/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-custom_inherit>0:textproc/py-custom_inherit

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.4.12.4.12.3.12.3.1_12.4.1
FreeBSD:14:quarterly2.4.12.4.1n/a2.3.1_12.4.1
FreeBSD:15:latest2.4.12.4.1n/a2.3.1_12.3.1_1
FreeBSD:15:quarterly2.4.12.4.1n/an/an/a
FreeBSD:16:latest2.4.12.4.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7
Required by 1

Configuration

No options to configure.

USES
python:3.12+
Service scripts
none

Files

distinfo 1
FileSizeSHA256
custom_inherit-2.4.1.tar.gz311937052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
dd252214d6 Steven Kreuzer textproc/py-custom_inherit: Update to 2.4.1
ChangeLog: https://github.com/rsokl/custom_inherit/releases/tag/v2.4.1