diff --git a/.gitignore b/.gitignore index e69de29..d353ecb 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,4 @@ +/typing_extensions-3.7.2.tar.gz +/typing_extensions-3.7.4.tar.gz +/typing_extensions-3.7.4.2.tar.gz +/typing_extensions-3.7.4.3.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..dfd4512 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-typing-extensions + +The python-typing-extensions package \ No newline at end of file diff --git a/python-typing-extensions.spec b/python-typing-extensions.spec new file mode 100644 index 0000000..831c71f --- /dev/null +++ b/python-typing-extensions.spec @@ -0,0 +1,108 @@ +%global srcname typing_extensions + +Name: python-typing-extensions +Version: 3.7.4.3 +Release: 1%{?dist} +Summary: Python Typing Extensions + +License: Python +URL: https://pypi.org/project/typing-extensions/ +Source0: %{pypi_source} + +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} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-test +BuildRequires: python3-pytest +BuildRequires: python3-pytest-xdist +BuildRequires: python3-pytest-cov +%{?python_provide:%python_provide python3-%{srcname}} + +%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 +%autosetup -n %{srcname}-%{version} -p2 + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} src_py3/test_typing_extensions.py + +%files -n python3-typing-extensions +%license LICENSE +%doc README.rst +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}.py +%{python3_sitelib}/__pycache__/* + +%changelog +* Sun Aug 23 2020 Fabian Affolter - 3.7.4.3-1 +- Update to latest upstream release 3.7.4.3 (rhbz#1871451) + +* Wed Jul 29 2020 Fedora Release Engineering - 3.7.4.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 3.7.4.2-2 +- Rebuilt for Python 3.9 + +* Sat Apr 11 2020 Fabian Affolter - 3.7.4.2-1 +- Support for Python 3.9 (rhbz#1808663) +- Update to latest upstream release 3.7.4.2 (rhbz#1766182) + +* Thu Jan 30 2020 Fedora Release Engineering - 3.7.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 3.7.4-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 3.7.4-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 3.7.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Jul 12 2019 Jonny Heggheim - 3.7.4-1 +- Updated to 3.7.4 + +* Sun Mar 31 2019 Jonny Heggheim - 3.7.2-1 +- Inital packaging diff --git a/sources b/sources new file mode 100644 index 0000000..cfed7d1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (typing_extensions-3.7.4.3.tar.gz) = fa1f96b73b13308ddb2676684862916aac8741be4523387c6a0f682a52d307190aac3e4149317842e686d14483d8a37a9e1de2514a2d1ca86f9ae9c8b0e18eb1