aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-04-10 05:38:16 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-04-10 09:40:53 +0000
commit007ac00010bd713ce1bd3030bc03b208120e159a (patch)
treee66c256eb76491c1c296dc47dacd524bb014abe7
parentf64745f54458143c081817717d00c47a93c920c0 (diff)
devel/py-uncalled-for: New port: Async dependency injection for Python functions
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-uncalled-for/Makefile27
-rw-r--r--devel/py-uncalled-for/distinfo3
-rw-r--r--devel/py-uncalled-for/pkg-descr3
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a9676e0339ae..5cbe2757e67b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6241,6 +6241,7 @@
SUBDIR += py-ufmt
SUBDIR += py-uhid-freebsd
SUBDIR += py-ujson
+ SUBDIR += py-uncalled-for
SUBDIR += py-undefined
SUBDIR += py-unearth
SUBDIR += py-unicodecsv
diff --git a/devel/py-uncalled-for/Makefile b/devel/py-uncalled-for/Makefile
new file mode 100644
index 000000000000..fbed90b0920d
--- /dev/null
+++ b/devel/py-uncalled-for/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= uncalled-for
+DISTVERSION= 0.3.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Async dependency injection for Python functions
+WWW= https://github.com/chrisguidry/uncalled-for
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH= yes
+
+# tests as of 0.3.1: 63 passed in 0.06s
+
+.include <bsd.port.mk>
diff --git a/devel/py-uncalled-for/distinfo b/devel/py-uncalled-for/distinfo
new file mode 100644
index 000000000000..20ef6a48b452
--- /dev/null
+++ b/devel/py-uncalled-for/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1775799210
+SHA256 (uncalled_for-0.3.1.tar.gz) = 5e412ac6708f04b56bef5867b5dcf6690ebce4eb7316058d9c50787492bb4bca
+SIZE (uncalled_for-0.3.1.tar.gz) = 49693
diff --git a/devel/py-uncalled-for/pkg-descr b/devel/py-uncalled-for/pkg-descr
new file mode 100644
index 000000000000..b5e7fb622070
--- /dev/null
+++ b/devel/py-uncalled-for/pkg-descr
@@ -0,0 +1,3 @@
+uncalled-for is an asynchronous dependency injection library for Python
+functions. It allows for easy management of dependencies in asynchronous
+applications, making it simpler to inject and resolve components as needed.