2019-04-02 17:29:54 +00:00
|
|
|
%global srcname typing_extensions
|
|
|
|
|
|
|
|
Name: python-typing-extensions
|
2020-08-23 18:10:06 +00:00
|
|
|
Version: 3.7.4.3
|
2021-07-23 10:04:22 +00:00
|
|
|
Release: 4%{?dist}
|
2019-04-02 17:29:54 +00:00
|
|
|
Summary: Python Typing Extensions
|
|
|
|
|
|
|
|
License: Python
|
|
|
|
URL: https://pypi.org/project/typing-extensions/
|
|
|
|
Source0: %{pypi_source}
|
|
|
|
|
2021-02-13 23:41:49 +00:00
|
|
|
# Fix tests failing with Python 3.10.0a3+
|
|
|
|
# Both merged upstream
|
|
|
|
Patch1: https://github.com/python/typing/pull/768.patch
|
|
|
|
Patch2: https://github.com/python/typing/pull/773.patch
|
|
|
|
|
2019-04-02 17:29:54 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Typing Extensions - Backported and Experimental Type Hints for Python
|
|
|
|
|
|
|
|
The typing module was added to the standard library in Python 3.5 on a
|
|
|
|
provisional basis and will no longer be provisional in Python 3.7.
|
|
|
|
However, this means users of Python 3.5 - 3.6 who are unable to upgrade will not
|
|
|
|
be able to take advantage of new types added to the typing module, such as
|
|
|
|
typing.Text or typing.Coroutine.
|
|
|
|
|
|
|
|
The typing_extensions module contains both backports of these changes as well as
|
|
|
|
experimental types that will eventually be added to the typing module, such as
|
|
|
|
Protocol.
|
|
|
|
|
|
|
|
Users of other Python versions should continue to install and use the typing
|
|
|
|
module from PyPi instead of using this one unless specifically writing code that
|
|
|
|
must be compatible with multiple Python versions or requires experimental types.
|
|
|
|
|
|
|
|
%package -n python3-typing-extensions
|
|
|
|
Summary: %{summary}
|
2020-04-11 07:19:02 +00:00
|
|
|
|
2019-04-02 17:29:54 +00:00
|
|
|
BuildRequires: python3-devel
|
2020-04-11 07:19:02 +00:00
|
|
|
BuildRequires: python3-setuptools
|
2019-04-02 17:29:54 +00:00
|
|
|
BuildRequires: python3-test
|
2020-04-11 07:19:02 +00:00
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-pytest-xdist
|
|
|
|
BuildRequires: python3-pytest-cov
|
2019-04-02 17:29:54 +00:00
|
|
|
|
|
|
|
%description -n python3-typing-extensions
|
|
|
|
Typing Extensions - Backported and Experimental Type Hints for Python
|
|
|
|
|
|
|
|
The typing module was added to the standard library in Python 3.5 on a
|
|
|
|
provisional basis and will no longer be provisional in Python 3.7.
|
|
|
|
However, this means users of Python 3.5 - 3.6 who are unable to upgrade will not
|
|
|
|
be able to take advantage of new types added to the typing module, such as
|
|
|
|
typing.Text or typing.Coroutine.
|
|
|
|
|
|
|
|
The typing_extensions module contains both backports of these changes as well as
|
|
|
|
experimental types that will eventually be added to the typing module, such as
|
|
|
|
Protocol.
|
|
|
|
|
|
|
|
Users of other Python versions should continue to install and use the typing
|
|
|
|
module from PyPi instead of using this one unless specifically writing code that
|
|
|
|
must be compatible with multiple Python versions or requires experimental types.
|
|
|
|
|
|
|
|
%prep
|
2020-05-28 11:33:38 +00:00
|
|
|
%autosetup -n %{srcname}-%{version} -p2
|
2019-04-02 17:29:54 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
%check
|
2021-04-02 17:32:30 +00:00
|
|
|
%{python3} src_py3/test_typing_extensions.py
|
2019-04-02 17:29:54 +00:00
|
|
|
|
|
|
|
%files -n python3-typing-extensions
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst
|
|
|
|
%{python3_sitelib}/%{srcname}-*.egg-info/
|
2021-04-02 17:35:24 +00:00
|
|
|
%pycached %{python3_sitelib}/%{srcname}.py
|
2019-04-02 17:29:54 +00:00
|
|
|
|
|
|
|
%changelog
|
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
|