BSD Ports

devel/py-makefun 1.16.0 OpenBSD

small library to dynamically create Python functions

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
c9ce414c08
Categories
devel, lang/python

Description

makefun helps you create functions dynamically, with the signature of your choice. It was largely inspired by decorator and functools, and created mainly to cover some of their limitations.

The typical use cases are:

  • creating signature-preserving function wrappers

  • creating function wrappers that have more or less arguments than the function they wrap

  • more generally, creating functions with a signature derived from a reference signature, or even creating functions with a signature completely defined at runtime

In the other systems

SystemPortVersion
OpenBSDdevel/py-makefun1.16.0
FreeBSDdevel/py-makefun1.16.0_1
NetBSDdevel/py-makefun1.16.0nb1
DragonFlydevel/py-makefun1.15.4_1
HardenedBSDdevel/py-makefun1.16.0_1
GhostBSDdevel/py-makefun1.16.0_1

Install

Binary package:

pkg_add py3-makefun

From the ports tree:

cd /usr/ports/devel/py-makefun && make install

Dependencies

Build dependencies 6
Run dependencies 1

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
c9ce414c08 sthen take patch from a PR to drop use of pkg_resources durimg build