CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

devel/py-makefun 1.16.0_1

Small library to dynamically create python functions

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 1.16.0_1
Upstream
up to date
Last update
to 1.16.0_1 · 4e7172220f
Quarterly
2026Q4: 1.16.0_1
WWW
https://smarie.github.io/python-makefun/
Links
cgit · VuXML

Install

Package
# pkg install py312-makefun
installs 1.16.0_1 from latest; from quarterly (2026Q4) 1.16.0_1
Port
# cd /usr/ports/devel/py-makefun && make install clean
Size
39 KiB download · 208 KiB installed
Depends on
lang/python312 3.12.15
License
BSD3CLAUSE

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 161.16.0_11.16.0_1–
FreeBSD 151.16.0_11.16.0_1–
FreeBSD 141.16.0_11.16.0_11.16.0_1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 151.16.0_11.16.0_1–
FreeBSD 141.16.0_11.16.0_11.16.0_1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 1.16.0_1.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (17)

Po-Chuan Hsieh (sunpoet) · 1.16.0_1
devel/py-makefun: Relax version requirement of py-setuptools
4e7172220f
Po-Chuan Hsieh (sunpoet) · 1.16.0
devel/py-makefun: Add py-makefun 1.16.0

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.
551b8aac76
Rene Ladan (rene)
devel/py-makefun: Remove expired port

2025-03-31 devel/py-makefun: Depends on expired devel/py-pytest-runner
b9599863b5
Charlie Li (vishwin) · 1.15.4_1
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
06a08e69f3
Rene Ladan (rene) · 1.15.4
devel/py-makefun: expire on 2025-03-31 for devel/py-pytest-runner
0e510c7c04
Vladimir Druzenko (vvd) · 1.15.4
devel/py-makefun: update 1.15.2 → 1.15.4

Changelogs:
https://github.com/smarie/python-makefun/releases/tag/1.15.3
https://github.com/smarie/python-makefun/releases/tag/1.15.4

PR:	280373
5e2c397a9b
Charlie Li (vishwin) · 1.15.2
devel/py-setuptools-scm: update to 8.0.4

Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.

Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.

Further details: https://wiki.freebsd.org/Python/setuptools

Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288
5d4139f8bd
Ruslan Makhmatkhanov (rm) · 1.15.2
devel/py-makefun: relax python version requirement

Tested in Python 3.11 virtualenv with samples from official docs - worked,
so not reason to limit to 3.9

PR:		275494
Approved by:	portmgr (blanket)
f9ce6b335d
Robert Clausecker (fuz) · 1.15.2
devel/py-makefun: Update to 1.15.2

Changelog: https://github.com/smarie/python-makefun/releases/tag/1.15.2

PR:		275110
81070d1082
Rene Ladan (rene) · 1.15.1
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Robert Clausecker (fuz) · 1.15.1
devel/py-makefun: Update to 1.15.1

Changelog: https://github.com/smarie/python-makefun/releases/tag/1.15.1

  * Fixed ValueError: Invalid co_name happening on python 2 when the name of a
    function to create starts or ends with _ or contains a double __

PR:		271340
bf268cb172
Dmitry Marakasov (amdmi3) · 1.15.0
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
77d68471ad
Nuno Teixeira (eduardo) · 1.15.0
devel/py-makefun: Update to 1.5.0

ChangeLog:
https://smarie.github.io/python-makefun/changelog/#1150-more-pep-compliant-wraps

PR:		266752
3625af8f0c
Stefan Eßer (se) · 1.14.0
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 1.14.0
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Li-Wen Hsu (lwhsu) · 1.14.0
devel/py-makefun: Update to 1.14.0

Changelog:
  * create_wrapper, create_function, wraps and with_signature now support
    lambda functions. They also accept a new parameter co_name to define the
    name to be used in the compiled code.

PR:		264869
184aa40196
Hiroki Tagato (tagattie) · 1.13.1
devel/py-makefun: add port: Dynamically create python functions with a proper signature

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 - just like functools.wraps
  but with accurate TypeError exception raising when user-provided arguments are
  wrong, and with a very convenient way to access argument values.

  * creating function wrappers that have more or less arguments that the
  function they wrap. A bit like functools.partial but a lot more flexible and
  friendly for your users. For example, I use it in my pytest plugins to add a
  requests parameter to users' tests or fixtures when they do not already have
  it.

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

WWW: https://github.com/smarie/python-makefun

PR:		260879
Reported by:	Goran Mekić <meka@tilda.center> (new maintainer)
120e65ad68