diff --git a/files_in_srpm.txt b/files_in_srpm.txt new file mode 100644 index 0000000000000000000000000000000000000000..b3a6cb778e11b3d9446f20a8958a0f3107cf7d42 --- /dev/null +++ b/files_in_srpm.txt @@ -0,0 +1,2 @@ +python-typing-inspection.spec +typing_inspection-0.4.0.tar.gz diff --git a/python-typing-inspection.spec b/python-typing-inspection.spec new file mode 100644 index 0000000000000000000000000000000000000000..cebe9055ef60887ab3c56fe72e00bab3073af82b --- /dev/null +++ b/python-typing-inspection.spec @@ -0,0 +1,57 @@ +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 +# for test +BuildRequires: python3-pytest +BuildRequires: python3-typing-extensions + +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 diff --git a/python-typing-inspection.src.rpm b/python-typing-inspection.src.rpm new file mode 100644 index 0000000000000000000000000000000000000000..72ce74604d3254feb7fbfb77f7aff93dd1b7b095 Binary files /dev/null and b/python-typing-inspection.src.rpm differ diff --git a/typing_inspection-0.4.0.tar.gz b/typing_inspection-0.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e3b38c8ddab23e1ce936100db871d580d216a2c0 Binary files /dev/null and b/typing_inspection-0.4.0.tar.gz differ