git: 0db126221a20 - main - devel/py-typing-inspection: Add py-typing-inspection 0.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Mar 2025 09:57:13 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0db126221a2024e08b50f08c5cfde3abce92490f
commit 0db126221a2024e08b50f08c5cfde3abce92490f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-03-14 09:37:26 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-03-14 09:53:59 +0000
devel/py-typing-inspection: Add py-typing-inspection 0.4.0
typing-inspection provides tools to inspect type annotations at runtime.
---
devel/Makefile | 1 +
devel/py-typing-inspection/Makefile | 24 ++++++++++++++++++++++++
devel/py-typing-inspection/distinfo | 3 +++
devel/py-typing-inspection/pkg-descr | 1 +
4 files changed, 29 insertions(+)
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.