git: 551b8aac762e - main - devel/py-makefun: Add py-makefun 1.16.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jun 2025 06:07:40 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=551b8aac762ea63534bc35a1e614d3acecdb7dd4
commit 551b8aac762ea63534bc35a1e614d3acecdb7dd4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-13 06:02:04 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-13 06:02:04 +0000
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.
---
MOVED | 1 -
devel/Makefile | 1 +
devel/py-makefun/Makefile | 24 ++++++++++++++++++++++++
devel/py-makefun/distinfo | 3 +++
devel/py-makefun/pkg-descr | 3 +++
5 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/MOVED b/MOVED
index 546671eaa124..265cdb6de988 100644
--- a/MOVED
+++ b/MOVED
@@ -4483,7 +4483,6 @@ misc/mxnet||2025-06-02|Has expired: Project has been retired by Apache, see http
sysutils/py-upt||2025-06-02|Has expired: Depends on expired misc/py-spdx-lookup
misc/py-spdx-lookup||2025-06-02|Has expired: Upstream repository has been archived on Nov 13, 2020
misc/py-spdx||2025-06-02|Has expired: Upstream repository has been archived on Nov 13, 2020
-devel/py-makefun||2025-06-02|Has expired: Depends on expired devel/py-pytest-runner
security/mbedtls2||2025-06-02|Has expired: Upstream support ends at the end of 2024
graphics/rubygem-pdfkit||2025-06-02|Has expired: Depends on expired converters/wkhtmltopdf
security/racoon2||2025-06-02|Has expired: Requested removal by PR/286981
diff --git a/devel/Makefile b/devel/Makefile
index ff7c3ce0ca9c..e9d24ea55e21 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5231,6 +5231,7 @@
SUBDIR += py-magic
SUBDIR += py-magnet2torrent
SUBDIR += py-mailcap-fix
+ SUBDIR += py-makefun
SUBDIR += py-manuel
SUBDIR += py-marisa-trie
SUBDIR += py-marrow.mailer
diff --git a/devel/py-makefun/Makefile b/devel/py-makefun/Makefile
new file mode 100644
index 000000000000..edf4b671ca33
--- /dev/null
+++ b/devel/py-makefun/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= makefun
+PORTVERSION= 1.16.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Small library to dynamically create python functions
+WWW= https://smarie.github.io/python-makefun/ \
+ https://github.com/smarie/python-makefun
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=39.2<72:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-makefun/distinfo b/devel/py-makefun/distinfo
new file mode 100644
index 000000000000..55a4c80da3dd
--- /dev/null
+++ b/devel/py-makefun/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1748831202
+SHA256 (makefun-1.16.0.tar.gz) = e14601831570bff1f6d7e68828bcd30d2f5856f24bad5de0ccb22921ceebc947
+SIZE (makefun-1.16.0.tar.gz) = 73565
diff --git a/devel/py-makefun/pkg-descr b/devel/py-makefun/pkg-descr
new file mode 100644
index 000000000000..f57f4cf37a95
--- /dev/null
+++ b/devel/py-makefun/pkg-descr
@@ -0,0 +1,3 @@
+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.