%global __python3 /usr/bin/python3.11 %global python3_pkgversion 3.11 %define module typing Name: python-%{module} Version: 3.10.0.0 Release: 1%{dist} Summary: Typing defines a standard notation for type annotations Group: Development/Python License: Python URL: https://pypi.python.org/pypi/typing Source0: https://files.pythonhosted.org/packages/b0/1b/835d4431805939d2996f8772aca1d2313a57e8860fec0e48e8e7dfe3a477/typing-3.10.0.0.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %description Typing defines a standard notation for Python function and variable type annotations. The notation can be used for documenting code in a concise, standard format, and it has been designed to also be used by static and runtime type checkers, static analyzers, IDEs and other tools. %package -n python%{python3_pkgversion}-%{module} Summary: Typing defines a standard notation for type annotations Group: Development/Python Requires: python%{python3_pkgversion} %py_provides python%{python3_pkgversion}-%{module} %description -n python%{python3_pkgversion}-%{module} Typing defines a standard notation for Python function and variable type annotations. The notation can be used for documenting code in a concise, standard format, and it has been designed to also be used by static and runtime type checkers, static analyzers, IDEs and other tools. %prep %setup -q -c %build pushd %{module}-%{version} %py3_build popd %install pushd %{module}-%{version} %py3_install popd %files -n python%{python3_pkgversion}-%{module} %{python3_sitelib}/typing* %{python3_sitelib}/__pycache__/typing.*.pyc