update to 4.5.0
This commit is contained in:
parent
cec2a6ad86
commit
1a5719a577
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-typing-extensions
|
Name: python-typing-extensions
|
||||||
Version: 3.10.0.2
|
Version: 4.5.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Backported and Experimental Type Hints for Python 3.5+
|
Summary: Backported and Experimental Type Hints for Python 3.5+
|
||||||
License: PSF
|
License: PSF-2.0
|
||||||
URL: https://github.com/python/typing/blob/master/typing_extensions/README.rst
|
URL: https://github.com/python/typing/blob/master/typing_extensions/README.rst
|
||||||
Source0: https://files.pythonhosted.org/packages/ed/12/c5079a15cf5c01d7f4252b473b00f7e68ee711be605b9f001528f0298b98/typing_extensions-3.10.0.2.tar.gz
|
Source0: https://files.pythonhosted.org/packages/d3/20/06270dac7316220643c32ae61694e451c98f8caf4c8eab3aa80a2bedf0df/typing_extensions-4.5.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
Typing Extensions - Backported and Experimental Type Hints for Python.
|
Typing Extensions - Backported and Experimental Type Hints for Python.
|
||||||
@ -17,13 +17,13 @@ module are also included in typing_extensions, such as typing.ParamSpec and typi
|
|||||||
|
|
||||||
%package -n python3-typing-extensions
|
%package -n python3-typing-extensions
|
||||||
Summary: Backported and Experimental Type Hints for Python 3.5+
|
Summary: Backported and Experimental Type Hints for Python 3.5+
|
||||||
Provides: python-typing-extensions
|
Provides: python-typing-extensions = %{version}-%{release}
|
||||||
# Base build requires
|
# Base build requires
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip python3-flit-core
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel python3-test
|
||||||
%description -n python3-typing-extensions
|
%description -n python3-typing-extensions
|
||||||
Typing Extensions -Backported and Experimental Type Hints for Python.
|
Typing Extensions -Backported and Experimental Type Hints for Python.
|
||||||
|
|
||||||
@ -37,10 +37,10 @@ Typing Extensions -Backported and Experimental Type Hints for Python.
|
|||||||
%autosetup -n typing_extensions-%{version}
|
%autosetup -n typing_extensions-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install typing-extensions==%{version}
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -69,16 +69,23 @@ mv %{buildroot}/filelist.lst .
|
|||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} src_py3/test_typing_extensions.py
|
cd src
|
||||||
|
%{__python3} -m unittest discover
|
||||||
|
|
||||||
%files -n python3-typing-extensions -f filelist.lst
|
%files -n python3-typing-extensions -f filelist.lst
|
||||||
|
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
%{python3_sitelib}/__pycache__/
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
|
%license LICENSE
|
||||||
|
%doc CHANGELOG.md README.md
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 9 2023 liyanan <thistleslyn@163.com> - 4.5.0-1
|
||||||
|
- Update package to version 4.5.0
|
||||||
|
|
||||||
* Fri May 06 2022 huangtianhua <huangtianhua@huawei.com> - 3.10.0.2-1
|
* Fri May 06 2022 huangtianhua <huangtianhua@huawei.com> - 3.10.0.2-1
|
||||||
- upgrade to 3.10.0.2 to fix python3.10 test error
|
- upgrade to 3.10.0.2 to fix python3.10 test error
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
typing_extensions-4.5.0.tar.gz
Normal file
BIN
typing_extensions-4.5.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user