2022-04-30 15:48:05 +00:00
|
|
|
Name: python-typing-extensions
|
2022-11-24 21:34:41 +00:00
|
|
|
Version: 4.4.0
|
2023-01-20 18:07:28 +00:00
|
|
|
Release: 3%{?dist}
|
2022-04-30 15:48:05 +00:00
|
|
|
Summary: Python Typing Extensions
|
2019-04-02 17:29:54 +00:00
|
|
|
|
2022-11-29 21:34:48 +00:00
|
|
|
License: PSF-2.0
|
2022-04-30 15:48:05 +00:00
|
|
|
URL: https://pypi.org/project/typing-extensions/
|
2022-05-23 16:37:47 +00:00
|
|
|
Source0: %{pypi_source typing_extensions}
|
2022-04-30 15:48:05 +00:00
|
|
|
|
2022-11-24 21:34:41 +00:00
|
|
|
# https://github.com/python/typing_extensions/pull/97
|
|
|
|
Source1: https://github.com/python/typing_extensions/raw/4.4.0/src/_typed_dict_test_helper.py
|
|
|
|
|
2022-04-30 15:48:05 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-test
|
2019-04-02 17:29:54 +00:00
|
|
|
|
|
|
|
|
2021-12-02 18:58:16 +00:00
|
|
|
%global _description %{expand:
|
2022-05-22 20:44:22 +00:00
|
|
|
The `typing_extensions` module serves two related purposes:
|
|
|
|
|
|
|
|
- Enable use of new type system features on older Python versions. For example,
|
|
|
|
`typing.TypeGuard` is new in Python 3.10, but `typing_extensions` allows
|
|
|
|
users on Python 3.6 through 3.9 to use it too.
|
|
|
|
- Enable experimentation with new type system PEPs before they are accepted and
|
|
|
|
added to the `typing` module.
|
|
|
|
|
|
|
|
New features may be added to `typing_extensions` as soon as they are specified
|
|
|
|
in a PEP that has been added to the [python/peps](https://github.com/python/peps)
|
|
|
|
repository. If the PEP is accepted, the feature will then be added to `typing`
|
|
|
|
for the next CPython release. No typing PEP has been rejected so far, so we
|
|
|
|
haven't yet figured out how to deal with that possibility.
|
|
|
|
|
|
|
|
Starting with version 4.0.0, `typing_extensions` uses
|
|
|
|
[Semantic Versioning](https://semver.org/). The
|
|
|
|
major version is incremented for all backwards-incompatible changes.
|
|
|
|
Therefore, it's safe to depend
|
|
|
|
on `typing_extensions` like this: `typing_extensions >=x.y, <(x+1)`,
|
|
|
|
where `x.y` is the first version that includes all features you need.
|
|
|
|
|
|
|
|
`typing_extensions` supports Python versions 3.7 and higher. In the future,
|
|
|
|
support for older Python versions will be dropped some time after that version
|
|
|
|
reaches end of life.}
|
2021-12-02 18:58:16 +00:00
|
|
|
|
|
|
|
%description %_description
|
2019-04-02 17:29:54 +00:00
|
|
|
|
|
|
|
%package -n python3-typing-extensions
|
2022-04-30 15:48:05 +00:00
|
|
|
Summary: %{summary}
|
2019-04-02 17:29:54 +00:00
|
|
|
|
2021-12-02 18:58:16 +00:00
|
|
|
%description -n python3-typing-extensions %_description
|
2019-04-02 17:29:54 +00:00
|
|
|
|
2022-04-30 15:48:05 +00:00
|
|
|
|
2019-04-02 17:29:54 +00:00
|
|
|
%prep
|
2022-05-23 16:37:47 +00:00
|
|
|
%autosetup -n typing_extensions-%{version}
|
2022-11-24 21:34:41 +00:00
|
|
|
cp -v %{SOURCE1} src/
|
2019-04-02 17:29:54 +00:00
|
|
|
|
2022-04-30 15:45:30 +00:00
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
2022-04-30 15:48:05 +00:00
|
|
|
|
2019-04-02 17:29:54 +00:00
|
|
|
%build
|
2022-04-30 15:45:30 +00:00
|
|
|
%pyproject_wheel
|
2019-04-02 17:29:54 +00:00
|
|
|
|
2022-04-30 15:48:05 +00:00
|
|
|
|
2019-04-02 17:29:54 +00:00
|
|
|
%install
|
2022-04-30 15:45:30 +00:00
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
%pyproject_save_files typing_extensions
|
2019-04-02 17:29:54 +00:00
|
|
|
|
2022-04-30 15:48:05 +00:00
|
|
|
|
2019-04-02 17:29:54 +00:00
|
|
|
%check
|
2022-11-25 14:08:00 +00:00
|
|
|
cd src
|
|
|
|
%{python3} -m unittest discover
|
2019-04-02 17:29:54 +00:00
|
|
|
|
2022-04-30 15:45:30 +00:00
|
|
|
%files -n python3-typing-extensions -f %{pyproject_files}
|
2019-04-02 17:29:54 +00:00
|
|
|
%license LICENSE
|
2022-11-24 21:34:41 +00:00
|
|
|
%doc CHANGELOG.md
|
|
|
|
%doc README.md
|
2019-04-02 17:29:54 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-01-20 18:07:28 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-11-29 21:34:48 +00:00
|
|
|
* Tue Nov 29 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 4.4.0-2
|
|
|
|
- Update License to SPDX
|
|
|
|
|
2022-11-24 21:34:41 +00:00
|
|
|
* Thu Nov 24 2022 Jonny Heggheim <hegjon@gmail.com> - 4.4.0-1
|
|
|
|
- Updated to version 4.4.0
|
|
|
|
|
2022-07-22 23:09:06 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-13 15:16:53 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.2.0-4
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-05-23 16:37:47 +00:00
|
|
|
* Mon May 23 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 4.2.0-3
|
|
|
|
- Stop using deprecated zero-argument pypi_source macro
|
|
|
|
|
2022-05-22 20:47:29 +00:00
|
|
|
* Sun May 22 2022 Jonny Heggheim <hegjon@gmail.com> - 4.2.0-2
|
|
|
|
- Removed unused build depenencies
|
|
|
|
|
2022-04-30 15:45:30 +00:00
|
|
|
* Sat Apr 30 2022 Jonny Heggheim <hegjon@gmail.com> - 4.2.0-1
|
|
|
|
- Updated to version 4.2.0
|
|
|
|
|
2022-01-21 16:13:27 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-08-31 19:25:12 +00:00
|
|
|
* Tue Aug 31 2021 Fabian Affolter <mail@fabian-affolter.ch> - 3.10.0.2-1
|
|
|
|
- Update to latest upstream release 3.10.0.2 (closes rhbz#1955959)
|
|
|
|
|
2021-08-26 11:46:40 +00:00
|
|
|
* Thu Aug 26 2021 Fabian Affolter <mail@fabian-affolter.ch> - 3.10.0.0-1
|
2021-08-31 19:25:12 +00:00
|
|
|
- Update to latest upstream release 3.10.0.0 (closes rhbz#1955959)
|
2021-08-26 11:46:40 +00:00
|
|
|
|
2021-07-23 10:04:22 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-04 07:51:34 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.7.4.3-3
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-01-27 13:58:40 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-23 18:10:06 +00:00
|
|
|
* Sun Aug 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.7.4.3-1
|
|
|
|
- Update to latest upstream release 3.7.4.3 (rhbz#1871451)
|
|
|
|
|
2020-07-29 04:25:59 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-26 07:09:46 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.7.4.2-2
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-04-11 07:19:02 +00:00
|
|
|
* Sat Apr 11 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.7.4.2-1
|
|
|
|
- Support for Python 3.9 (rhbz#1808663)
|
|
|
|
- Update to latest upstream release 3.7.4.2 (rhbz#1766182)
|
|
|
|
|
2020-01-30 15:57:04 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-03 12:34:25 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-4
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-19 09:00:28 +00:00
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-3
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 16:52:28 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-12 08:55:56 +00:00
|
|
|
* Fri Jul 12 2019 Jonny Heggheim <hegjon@gmail.com> - 3.7.4-1
|
|
|
|
- Updated to 3.7.4
|
|
|
|
|
2019-04-02 17:29:54 +00:00
|
|
|
* Sun Mar 31 2019 Jonny Heggheim <hegjon@gmail.com> - 3.7.2-1
|
|
|
|
- Inital packaging
|