14
0
forked from pool/python-mypy

Accepting request 1159070 from home:dancermak:branches:devel:languages:python

new upstream release 1.9.0

OBS-URL: https://build.opensuse.org/request/show/1159070
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mypy?expand=0&rev=8
This commit is contained in:
2024-03-22 13:47:03 +00:00
committed by Git OBS Bridge
parent 94c5841f63
commit bd53269d4a
4 changed files with 106 additions and 7 deletions

View File

@@ -22,7 +22,7 @@
%define types_psutil_version 5.9.5.16
%define types_setuptools_version 68.1.0.0
Name: python-mypy
Version: 1.8.0
Version: 1.9.0
Release: 0
Summary: Optional static typing for Python
License: MIT
@@ -37,10 +37,11 @@ Source3: https://files.pythonhosted.org/packages/source/t/types-setuptool
Source99: python-mypy-rpmlintrc
BuildRequires: %{python_module mypy_extensions >= 1.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tomli >= 1.1.0 if %python-base < 3.11}
BuildRequires: %{python_module tomli >= 1.1.0}
BuildRequires: %{python_module typed-ast >= 1.4.0 if %python-base < 3.8}
BuildRequires: %{python_module typing_extensions >= 3.10}
BuildRequires: %{python_module typing_extensions >= 4.1.0}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module exceptiongroup}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mypy_extensions >= 0.4.3
@@ -88,7 +89,7 @@ Mypy's type system features type inference, gradual typing, generics
and union types.
%prep
%setup -n mypy-%{version} -a1 -a2 -a3
%setup -q -a 1 -a 2 -a 3 -n mypy-%{version}
%autopatch -p1
sed -i '/env python3/d' ./mypy/stubgenc.py