Blame SPECS/python-typing-extensions.spec

1ec0ac
%global srcname typing_extensions
1ec0ac
1ec0ac
Name:           python-typing-extensions
1ec0ac
Version:        3.7.4.3
1ec0ac
Release:        2%{?dist}
1ec0ac
Summary:        Python Typing Extensions
1ec0ac
1ec0ac
License:        Python
1ec0ac
URL:            https://pypi.org/project/typing-extensions/
1ec0ac
Source0:        %{pypi_source}
1ec0ac
1ec0ac
# Fix tests failing with Python 3.10.0a3+
1ec0ac
# Both merged upstream
1ec0ac
Patch1:         https://github.com/python/typing/pull/768.patch
1ec0ac
Patch2:         https://github.com/python/typing/pull/773.patch
1ec0ac
1ec0ac
BuildArch:      noarch
1ec0ac
1ec0ac
%description
1ec0ac
Typing Extensions - Backported and Experimental Type Hints for Python
1ec0ac
1ec0ac
The typing module was added to the standard library in Python 3.5 on a
1ec0ac
provisional basis and will no longer be provisional in Python 3.7.
1ec0ac
However, this means users of Python 3.5 - 3.6 who are unable to upgrade will not
1ec0ac
be able to take advantage of new types added to the typing module, such as
1ec0ac
typing.Text or typing.Coroutine.
1ec0ac
1ec0ac
The typing_extensions module contains both backports of these changes as well as
1ec0ac
experimental types that will eventually be added to the typing module, such as
1ec0ac
Protocol.
1ec0ac
1ec0ac
Users of other Python versions should continue to install and use the typing
1ec0ac
module from PyPi instead of using this one unless specifically writing code that
1ec0ac
must be compatible with multiple Python versions or requires experimental types.
1ec0ac
1ec0ac
%package -n python3-typing-extensions
1ec0ac
Summary:        %{summary}
1ec0ac
1ec0ac
BuildRequires:  python3-devel
1ec0ac
BuildRequires:  python3-setuptools
1ec0ac
BuildRequires:  python3-test
1ec0ac
BuildRequires:  python3-pytest
1ec0ac
BuildRequires:  python3-pytest-xdist
1ec0ac
BuildRequires:  python3-pytest-cov
1ec0ac
1ec0ac
%description -n python3-typing-extensions
1ec0ac
Typing Extensions - Backported and Experimental Type Hints for Python
1ec0ac
1ec0ac
The typing module was added to the standard library in Python 3.5 on a
1ec0ac
provisional basis and will no longer be provisional in Python 3.7.
1ec0ac
However, this means users of Python 3.5 - 3.6 who are unable to upgrade will not
1ec0ac
be able to take advantage of new types added to the typing module, such as
1ec0ac
typing.Text or typing.Coroutine.
1ec0ac
1ec0ac
The typing_extensions module contains both backports of these changes as well as
1ec0ac
experimental types that will eventually be added to the typing module, such as
1ec0ac
Protocol.
1ec0ac
1ec0ac
Users of other Python versions should continue to install and use the typing
1ec0ac
module from PyPi instead of using this one unless specifically writing code that
1ec0ac
must be compatible with multiple Python versions or requires experimental types.
1ec0ac
1ec0ac
%prep
1ec0ac
%autosetup -n %{srcname}-%{version} -p2
1ec0ac
1ec0ac
%build
1ec0ac
%py3_build
1ec0ac
1ec0ac
%install
1ec0ac
%py3_install
1ec0ac
1ec0ac
%check
1ec0ac
%{python3} src_py3/test_typing_extensions.py
1ec0ac
1ec0ac
%files -n python3-typing-extensions
1ec0ac
%license LICENSE
1ec0ac
%doc README.rst
1ec0ac
%{python3_sitelib}/%{srcname}-*.egg-info/
1ec0ac
%pycached %{python3_sitelib}/%{srcname}.py
1ec0ac
1ec0ac
%changelog
1ec0ac
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.3-2
1ec0ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1ec0ac
1ec0ac
* Sun Aug 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.7.4.3-1
1ec0ac
- Update to latest upstream release 3.7.4.3 (rhbz#1871451)
1ec0ac
1ec0ac
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4.2-3
1ec0ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1ec0ac
1ec0ac
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.7.4.2-2
1ec0ac
- Rebuilt for Python 3.9
1ec0ac
1ec0ac
* Sat Apr 11 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.7.4.2-1
1ec0ac
- Support for Python 3.9 (rhbz#1808663)
1ec0ac
- Update to latest upstream release 3.7.4.2 (rhbz#1766182)
1ec0ac
1ec0ac
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4-5
1ec0ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1ec0ac
1ec0ac
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-4
1ec0ac
- Rebuilt for Python 3.8.0rc1 (#1748018)
1ec0ac
1ec0ac
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-3
1ec0ac
- Rebuilt for Python 3.8
1ec0ac
1ec0ac
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4-2
1ec0ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1ec0ac
1ec0ac
* Fri Jul 12 2019 Jonny Heggheim <hegjon@gmail.com> - 3.7.4-1
1ec0ac
- Updated to 3.7.4
1ec0ac
1ec0ac
* Sun Mar 31 2019 Jonny Heggheim <hegjon@gmail.com> - 3.7.2-1
1ec0ac
- Inital packaging