devel/py-wrapt 1.16.0_1 MidnightBSD
Decorators, wrappers and monkey patching
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd2
- Categories
- devel, python
Description
The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction of function wrappers and decorator functions.
The wrapt module focuses very much on correctness. It therefore goes way beyond existing mechanisms such as functools.wraps() to ensure that decorators preserve introspectability, signatures, type checking abilities etc. The decorators that can be constructed using this module will work in far more scenarios than typical decorators and provide more predictable and consistent behaviour.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-wrapt | 1.16.0_1 |
| FreeBSD | devel/py-wrapt | 2.4.1 |
| OpenBSD | devel/py-wrapt | 2.4.1 |
| NetBSD | devel/py-wrapt | 2.4.1 |
| DragonFly | devel/py-wrapt | 1.17.2 |
| HardenedBSD | devel/py-wrapt | 2.4.1 |
| GhostBSD | devel/py-wrapt | 2.4.1 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}wrapt
From mports:
cd /usr/mports/devel/py-wrapt && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wrapt>0:devel/py-wrapt
Dependencies
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| wrapt-1.16.0.tar.gz | 53972 | 5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d |
Master sites 1
- PYPI