summaryrefslogtreecommitdiff
path: root/python-typing-inspection.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-typing-inspection.spec')
-rw-r--r--python-typing-inspection.spec54
1 files changed, 54 insertions, 0 deletions
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