diff options
author | CoprDistGit <infra@openeuler.org> | 2025-05-16 03:17:18 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-05-16 03:17:18 +0000 |
commit | cadc85b11f1e5564c6411e7afa0dd0f6d195a5b7 (patch) | |
tree | d078e56d3fd695cc4eb3b0a4f27608e504ed207f | |
parent | d36cf8a6c63e4c1e595323cf2908b25af485c2d9 (diff) |
automatic import of python-typing-inspection
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-typing-inspection.spec | 54 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 56 insertions, 0 deletions
@@ -0,0 +1 @@ +/typing_inspection-0.4.0.tar.gz 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 <dongxing.wang_a@thundersoft.com> - 0.4.0-1 +- Init package @@ -0,0 +1 @@ +694cee9b0518959cd4b2b7ce2dc5cf2e typing_inspection-0.4.0.tar.gz |