BSD Ports

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

SystemPortVersion
MidnightBSDdevel/py-wrapt1.16.0_1
FreeBSDdevel/py-wrapt2.4.1
OpenBSDdevel/py-wrapt2.4.1
NetBSDdevel/py-wrapt2.4.1
DragonFlydevel/py-wrapt1.17.2
HardenedBSDdevel/py-wrapt2.4.1
GhostBSDdevel/py-wrapt2.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
FileSizeSHA256
wrapt-1.16.0.tar.gz539725f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d
Master sites 1
  • PYPI