6723e99
Name:      python-typing-extensions
6723e99
Version:   4.2.0
53220f8
Release:   3%{?dist}
6723e99
Summary:   Python Typing Extensions
56678ca
6723e99
License:   Python
6723e99
URL:       https://pypi.org/project/typing-extensions/
53220f8
Source0:   %{pypi_source typing_extensions}
6723e99
6723e99
BuildArch: noarch
6723e99
6723e99
BuildRequires: python3-devel
6723e99
BuildRequires: python3-test
6723e99
BuildRequires: python3-pytest
56678ca
56678ca
f43402c
%global _description %{expand:
75ef596
The `typing_extensions` module serves two related purposes:
75ef596
75ef596
- Enable use of new type system features on older Python versions. For example,
75ef596
  `typing.TypeGuard` is new in Python 3.10, but `typing_extensions` allows
75ef596
  users on Python 3.6 through 3.9 to use it too.
75ef596
- Enable experimentation with new type system PEPs before they are accepted and
75ef596
  added to the `typing` module.
75ef596
75ef596
New features may be added to `typing_extensions` as soon as they are specified
75ef596
in a PEP that has been added to the [python/peps](https://github.com/python/peps)
75ef596
repository. If the PEP is accepted, the feature will then be added to `typing`
75ef596
for the next CPython release. No typing PEP has been rejected so far, so we
75ef596
haven't yet figured out how to deal with that possibility.
75ef596
75ef596
Starting with version 4.0.0, `typing_extensions` uses
75ef596
[Semantic Versioning](https://semver.org/). The
75ef596
major version is incremented for all backwards-incompatible changes.
75ef596
Therefore, it's safe to depend
75ef596
on `typing_extensions` like this: `typing_extensions >=x.y, <(x+1)`,
75ef596
where `x.y` is the first version that includes all features you need.
75ef596
75ef596
`typing_extensions` supports Python versions 3.7 and higher. In the future,
75ef596
support for older Python versions will be dropped some time after that version
75ef596
reaches end of life.}
f43402c
f43402c
%description %_description
56678ca
56678ca
%package -n python3-typing-extensions
6723e99
Summary:       %{summary}
56678ca
f43402c
%description -n python3-typing-extensions %_description
56678ca
6723e99
56678ca
%prep
53220f8
%autosetup -n typing_extensions-%{version}
56678ca
9296678
%generate_buildrequires
9296678
%pyproject_buildrequires
9296678
6723e99
56678ca
%build
9296678
%pyproject_wheel
56678ca
6723e99
56678ca
%install
9296678
%pyproject_install
9296678
9296678
%pyproject_save_files typing_extensions
56678ca
6723e99
56678ca
%check
9296678
%pytest
56678ca
9296678
%files -n python3-typing-extensions -f %{pyproject_files}
56678ca
%license LICENSE
9296678
%doc CHANGELOG
56678ca
%doc README.rst
56678ca
56678ca
%changelog
53220f8
* Mon May 23 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 4.2.0-3
53220f8
- Stop using deprecated zero-argument pypi_source macro
53220f8
ded152e
* Sun May 22 2022 Jonny Heggheim <hegjon@gmail.com> - 4.2.0-2
ded152e
- Removed unused build depenencies
ded152e
9296678
* Sat Apr 30 2022 Jonny Heggheim <hegjon@gmail.com> - 4.2.0-1
9296678
- Updated to version 4.2.0
9296678
289caf3
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.0.2-2
289caf3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
289caf3
794f1ee
* Tue Aug 31 2021 Fabian Affolter <mail@fabian-affolter.ch> - 3.10.0.2-1
794f1ee
- Update to latest upstream release 3.10.0.2 (closes rhbz#1955959)
794f1ee
b5335b8
* Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 3.10.0.0-1
794f1ee
- Update to latest upstream release 3.10.0.0 (closes rhbz#1955959)
b5335b8
c15bbb4
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.3-4
c15bbb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
c15bbb4
9d4fbf4
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.7.4.3-3
9d4fbf4
- Rebuilt for Python 3.10
9d4fbf4
90341a8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.3-2
90341a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
90341a8
950595d
* Sun Aug 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.7.4.3-1
950595d
- Update to latest upstream release 3.7.4.3 (rhbz#1871451)
950595d
a6f3a06
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.2-3
a6f3a06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a6f3a06
e70bfb3
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.7.4.2-2
e70bfb3
- Rebuilt for Python 3.9
e70bfb3
9a7d32a
* Sat Apr 11 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.7.4.2-1
9a7d32a
- Support for Python 3.9 (rhbz#1808663)
9a7d32a
- Update to latest upstream release 3.7.4.2 (rhbz#1766182)
9a7d32a
b8945ac
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4-5
b8945ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b8945ac
dbd3004
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-4
dbd3004
- Rebuilt for Python 3.8.0rc1 (#1748018)
dbd3004
ea4bca6
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-3
ea4bca6
- Rebuilt for Python 3.8
ea4bca6
5ab00ea
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4-2
5ab00ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5ab00ea
f923479
* Fri Jul 12 2019 Jonny Heggheim <hegjon@gmail.com> - 3.7.4-1
f923479
- Updated to 3.7.4
f923479
56678ca
* Sun Mar 31 2019 Jonny Heggheim <hegjon@gmail.com> - 3.7.2-1
56678ca
- Inital packaging