devel/py-overrides 7.7.0_1 FreeBSD
Decorator to automatically detect mismatch when overriding a method
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- devel, python
- Package size
- 32.3 KiB, 158.8 KiB installed
Description
A decorator @override that verifies that a method that should override an inherited method actually does it.
Copies the docstring of the inherited method to the overridden method.
Since signature validation and docstring inheritance are performed on class creation and not on class instantiation, this library significantly improves the safety and experience of creating class hierarchies in Python without significantly impacting performance. See https://stackoverflow.com/q/1167617 for the initial inspiration for this library.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-overrides | 7.7.0_1 |
| OpenBSD | devel/py-overrides | 7.7.0p2 |
| NetBSD | devel/py-overrides | 7.7.0nb1 |
| DragonFly | devel/py-overrides | 7.7.0_1 |
| MidnightBSD | devel/py-overrides | 7.7.0_1 |
| HardenedBSD | devel/py-overrides | 7.7.0_1 |
| GhostBSD | devel/py-overrides | 7.7.0_1 |
Install
Binary package:
pkg install py312-overrides
From the ports tree:
cd /usr/ports/devel/py-overrides/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-overrides>0:devel/py-overrides
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 | 7.7.0_1 | 7.7.0_1 | - | 7.7.0_1 | 7.7.0_1 |
| FreeBSD:14:quarterly | 7.7.0_1 | 7.7.0_1 | n/a | 7.7.0_1 | 7.7.0_1 |
| FreeBSD:15:latest | 7.7.0_1 | 7.7.0_1 | n/a | 7.7.0_1 | 7.7.0_1 |
| FreeBSD:15:quarterly | 7.7.0_1 | 7.7.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 7.7.0_1 | 7.7.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| overrides-7.7.0.tar.gz | 22812 | 55158fa3d93b98cc75299b1e67078ad9003ca27945c76162c1c0766d6f91820a |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.