From cadc85b11f1e5564c6411e7afa0dd0f6d195a5b7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 16 May 2025 03:17:18 +0000 Subject: automatic import of python-typing-inspection --- python-typing-inspection.spec | 54 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 python-typing-inspection.spec (limited to 'python-typing-inspection.spec') diff --git a/python-typing-inspection.spec b/python-typing-inspection.spec new file mode 100644 index 0000000..f76c3cd --- /dev/null +++ b/python-typing-inspection.spec @@ -0,0 +1,54 @@ +Name: python-typing-inspection +Version: 0.4.0 +Release: 1 +Summary: Runtime typing introspection tools + +# SPDX +License: MIT +URL: https://github.com/pydantic/typing-inspection +Source: %{pypi_source typing_inspection} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +BuildArch: noarch + +%global common_description %{expand: +This module provides tools to inspect type annotations at runtime.} + +%description %{common_description} + + +%package -n python3-typing-inspection +Summary: %{summary} + +%description -n python3-typing-inspection %{common_description} + +%prep +%autosetup -p1 -n typing_inspection-%{version} +sed -i '/:: 3.14/d' pyproject.toml + +%build +%pyproject_build + +%install +%pyproject_install + +%check +%pytest + + +%files -n python3-typing-inspection +%license LICENSE +%doc HISTORY.md +%doc README.md +%{python3_sitelib}/typing_inspection +%{python3_sitelib}/typing_inspection-*.dist-info/ + + +%changelog +* Fri May 16 2025 Dongxing Wang - 0.4.0-1 +- Init package -- cgit v1.2.3