aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-06-13 06:02:04 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-06-13 06:02:04 +0000
commit551b8aac762ea63534bc35a1e614d3acecdb7dd4 (patch)
treeb10ef43588a8dd150b1fe4e02ec686f121555008
parentbf6c5e68702b0144b1cb27d40926d82470a487f0 (diff)
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.
-rw-r--r--MOVED1
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-makefun/Makefile24
-rw-r--r--devel/py-makefun/distinfo3
-rw-r--r--devel/py-makefun/pkg-descr3
5 files changed, 31 insertions, 1 deletions
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.