aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2026-01-07 06:27:50 +0000
committerWen Heping <wen@FreeBSD.org>2026-01-07 06:29:14 +0000
commitf64380accb971cac813fdd6f3e6d75455fc21d57 (patch)
tree8da38b303e3a151aa7eabedcbb417832abdd8fef
parent4e845ce3242fb75ad5da2f5e67aecf423d461bc3 (diff)
devel/py-annotated-doc: New port
Document parameters, class attributes, return types, and variables inline, with Annotated.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-annotated-doc/Makefile22
-rw-r--r--devel/py-annotated-doc/distinfo3
-rw-r--r--devel/py-annotated-doc/pkg-descr2
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1c32ca36aa4d..ee657885b945 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4392,6 +4392,7 @@
SUBDIR += py-aniso8601
SUBDIR += py-aniso86016
SUBDIR += py-anndata
+ SUBDIR += py-annotated-doc
SUBDIR += py-annotated-types
SUBDIR += py-ansi
SUBDIR += py-antlr4-python3-runtime
diff --git a/devel/py-annotated-doc/Makefile b/devel/py-annotated-doc/Makefile
new file mode 100644
index 000000000000..c278d0314069
--- /dev/null
+++ b/devel/py-annotated-doc/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= annotated-doc
+PORTVERSION= 0.0.4
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= annotated_doc-${PORTVERSION}
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Document parameters, class attributes, etc, with Annotated
+WWW= https://github.com/fastapi/annotated-doc
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-annotated-doc/distinfo b/devel/py-annotated-doc/distinfo
new file mode 100644
index 000000000000..bc8615a61d56
--- /dev/null
+++ b/devel/py-annotated-doc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1767755624
+SHA256 (annotated_doc-0.0.4.tar.gz) = fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4
+SIZE (annotated_doc-0.0.4.tar.gz) = 7288
diff --git a/devel/py-annotated-doc/pkg-descr b/devel/py-annotated-doc/pkg-descr
new file mode 100644
index 000000000000..3e3375e539d8
--- /dev/null
+++ b/devel/py-annotated-doc/pkg-descr
@@ -0,0 +1,2 @@
+Document parameters, class attributes, return types, and variables inline,
+with Annotated.