|
|
|
@ -11,6 +11,14 @@ Source0: %{pypi_source}
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-flit-core
|
|
|
|
|
BuildRequires: python3-test
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-pytest-xdist
|
|
|
|
|
BuildRequires: python3-pytest-cov
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Typing Extensions - Backported and Experimental Type Hints for Python
|
|
|
|
|
|
|
|
|
@ -33,30 +41,26 @@ must be compatible with multiple Python versions or requires experimental types.
|
|
|
|
|
%package -n python3-typing-extensions
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-flit-core
|
|
|
|
|
BuildRequires: python3-test
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-pytest-xdist
|
|
|
|
|
BuildRequires: python3-pytest-cov
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-typing-extensions %_description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
|
|
%pyproject_save_files typing_extensions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
|
|