blob: f76c3cd3a92c2b52239837599a1aad9d9428b45c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
|