14
0

Accepting request 717373 from home:sebix:branches:devel:languages:python

- Update to version 3.7.4:
 - No changelog available.
- Drop test-sys-executable.patch, merged upstream.

OBS-URL: https://build.opensuse.org/request/show/717373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=12
This commit is contained in:
2019-07-21 19:54:29 +00:00
committed by Git OBS Bridge
parent 44c1e90baf
commit fbefe4ff13
5 changed files with 17 additions and 48 deletions

View File

@@ -19,26 +19,28 @@
%define modname typing_extensions
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-typing_extensions
Version: 3.7.2
Version: 3.7.4
Release: 0
Summary: Backported and Experimental Type Hints for Python 35+
License: Python-2.0
Group: Development/Languages/Python
URL: https://github.com/python/typing/
Source0: https://files.pythonhosted.org/packages/source/t/typing_extensions/%{modname}-%{version}.tar.gz
Patch0: test-sys-executable.patch
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
%if %{python3_version_nodots} < 35
BuildRequires: python3-typing >= 3.7.4
%endif
BuildRequires: python2-typing >= 3.7.4
%if 0%{?suse_version} > 1320
BuildRequires: python3-testsuite
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{python3_version_nodots} < 35
Requires: python3-typing
Requires: python3-typing >= 3.7.4
%endif
%ifpython2
Requires: python2-typing
Requires: python2-typing >= 3.7.4
%endif
BuildArch: noarch
@@ -63,7 +65,6 @@ Python versions or requires experimental types.
%prep
%setup -q -n %{modname}-%{version}
%patch0 -p2
%build
%python_build