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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-custom_inherit | 2.4.1 |
| DragonFly | textproc/py-custom_inherit | 2.3.1_1 |
| HardenedBSD | textproc/py-custom_inherit | 2.4.1 |
| GhostBSD | textproc/py-custom_inherit | 2.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.4.1 | 2.4.1 | 2.3.1 | 2.3.1_1 | 2.4.1 |
| FreeBSD:14:quarterly | 2.4.1 | 2.4.1 | n/a | 2.3.1_1 | 2.4.1 |
| FreeBSD:15:latest | 2.4.1 | 2.4.1 | n/a | 2.3.1_1 | 2.3.1_1 |
| FreeBSD:15:quarterly | 2.4.1 | 2.4.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.4.1 | 2.4.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| File | Size | SHA256 |
|---|---|---|
| custom_inherit-2.4.1.tar.gz | 31193 | 7052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2 |
Master sites 1
- PYPI