aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-03-14 09:37:26 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-03-14 09:53:59 +0000
commit0db126221a2024e08b50f08c5cfde3abce92490f (patch)
tree3d2f8d178be668cf40a7e824abe25ac2b332099e
parent2091e4440a2410cf518ee7b8e69c684168a933cb (diff)
devel/py-typing-inspection: Add py-typing-inspection 0.4.0
typing-inspection provides tools to inspect type annotations at runtime.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-typing-inspection/Makefile24
-rw-r--r--devel/py-typing-inspection/distinfo3
-rw-r--r--devel/py-typing-inspection/pkg-descr1
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 51184f13a065..424bf329ad6e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6081,6 +6081,7 @@
SUBDIR += py-typeshed-client
SUBDIR += py-typing-extensions
SUBDIR += py-typing-inspect
+ SUBDIR += py-typing-inspection
SUBDIR += py-tzdata
SUBDIR += py-tzlocal
SUBDIR += py-u-msgpack-python
diff --git a/devel/py-typing-inspection/Makefile b/devel/py-typing-inspection/Makefile
new file mode 100644
index 000000000000..4de88cf33cc6
--- /dev/null
+++ b/devel/py-typing-inspection/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= typing-inspection
+PORTVERSION= 0.4.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= typing_inspection-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Runtime typing introspection tools
+WWW= https://typing-inspection.pydantic.dev/latest/ \
+ https://github.com/pydantic/typing-inspection
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12.0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python:3.9+
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-typing-inspection/distinfo b/devel/py-typing-inspection/distinfo
new file mode 100644
index 000000000000..532e651b2fbd
--- /dev/null
+++ b/devel/py-typing-inspection/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1740836004
+SHA256 (typing_inspection-0.4.0.tar.gz) = 9765c87de36671694a67904bf2c96e395be9c6439bb6c87b5142569dcdd65122
+SIZE (typing_inspection-0.4.0.tar.gz) = 76222
diff --git a/devel/py-typing-inspection/pkg-descr b/devel/py-typing-inspection/pkg-descr
new file mode 100644
index 000000000000..795e9eee43b5
--- /dev/null
+++ b/devel/py-typing-inspection/pkg-descr
@@ -0,0 +1 @@
+typing-inspection provides tools to inspect type annotations at runtime.