afdd47f
%global pypi_name typing-inspect
afdd47f
%global pypi_srcname typing_inspect
afdd47f
afdd47f
Name:           python-%{pypi_name}
1ee0abd
Version:        0.9.0
f0931f7
Release:        4%{?dist}
afdd47f
Summary:        Runtime inspection utilities for typing module
afdd47f
afdd47f
License:        MIT
afdd47f
URL:            https://github.com/ilevkivskyi/%{pypi_srcname}
afdd47f
Source0:        %{pypi_source %pypi_srcname}
afdd47f
BuildArch:      noarch
afdd47f
afdd47f
BuildRequires:  python3-devel
afdd47f
BuildRequires:  python3dist(mypy-extensions) >= 0.3.0
afdd47f
BuildRequires:  python3dist(setuptools)
afdd47f
BuildRequires:  python3dist(typing-extensions) >= 3.7.4
1ee0abd
BuildRequires:  python3dist(pytest)
aa6aa96
afdd47f
%description
afdd47f
Typing Inspect The "%{pypi_srcname}" module defines experimental API for runtime
afdd47f
inspection of types defined in the standard "typing" module.
afdd47f
afdd47f
%package -n     python3-%{pypi_name}
afdd47f
Summary:        %{summary}
afdd47f
%{?python_provide:%python_provide python3-%{pypi_name}}
afdd47f
afdd47f
Requires:       python3dist(mypy-extensions) >= 0.3.0
afdd47f
Requires:       python3dist(typing-extensions) >= 3.7.4
afdd47f
%description -n python3-%{pypi_name}
afdd47f
The "%{pypi_srcname}" module defines experimental API for runtime
afdd47f
inspection of types defined in the standard "typing" module.
afdd47f
afdd47f
afdd47f
%prep
afdd47f
%autosetup -n %{pypi_srcname}-%{version}
afdd47f
# Remove bundled egg-info
afdd47f
rm -rf %{pypi_name}.egg-info
afdd47f
afdd47f
%build
afdd47f
%py3_build
afdd47f
afdd47f
%install
afdd47f
%py3_install
afdd47f
afdd47f
%check
afdd47f
%{__python3} setup.py test
afdd47f
afdd47f
%files -n python3-%{pypi_name}
afdd47f
%license LICENSE
afdd47f
%doc README.md
afdd47f
%{python3_sitelib}/__pycache__/%{pypi_srcname}.*.pyc
afdd47f
%{python3_sitelib}/%{pypi_srcname}.py
afdd47f
%{python3_sitelib}/%{pypi_srcname}-%{version}-py*.egg-info
afdd47f
afdd47f
%changelog
f0931f7
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
f0931f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
f0931f7
4d36a07
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
4d36a07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
4d36a07
0660046
* Fri Dec 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 0.9.0-2
0660046
- Affirm SPDX license tag
0660046
1ee0abd
* Mon Nov 20 2023 Gwyn Ciesla <gwync@protonmail.com> - 0.9.0-1
1ee0abd
- 0.9.0
1ee0abd
638ab67
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-11
638ab67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
638ab67
f2c40d6
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.6.0-10
f2c40d6
- Rebuilt for Python 3.12
f2c40d6
d3426cf
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-9
d3426cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
d3426cf
2c05be2
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-8
2c05be2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2c05be2
8ea3006
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.6.0-7
8ea3006
- Rebuilt for Python 3.11
8ea3006
58e3468
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-6
58e3468
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
58e3468
57763d3
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
57763d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
57763d3
2b39349
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.6.0-4
2b39349
- Rebuilt for Python 3.10
2b39349
b0982aa
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3
b0982aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b0982aa
2914394
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
2914394
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2914394
aa6aa96
* Mon Jun 22 2020 Anna Khaitovich <akhaitov@redhat.com> - 0.6.0-1
aa6aa96
- Update to 0.6.0
aa6aa96
7896a7f
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.5.0-3
7896a7f
- Rebuilt for Python 3.9
7896a7f
7b68eab
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
7b68eab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7b68eab
afdd47f
* Mon Nov 04 2019 Anna Khaitovich <akhaitov@redhat.com> - 0.5.0-1
afdd47f
- Initial package.