Formatted spec file
This commit is contained in:
parent
9296678932
commit
6723e990b7
@ -1,15 +1,23 @@
|
||||
%global srcname typing_extensions
|
||||
|
||||
Name: python-typing-extensions
|
||||
Version: 4.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Python Typing Extensions
|
||||
Name: python-typing-extensions
|
||||
Version: 4.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Python Typing Extensions
|
||||
|
||||
License: Python
|
||||
URL: https://pypi.org/project/typing-extensions/
|
||||
Source0: %{pypi_source}
|
||||
License: Python
|
||||
URL: https://pypi.org/project/typing-extensions/
|
||||
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
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description %{expand:
|
||||
Typing Extensions - Backported and Experimental Type Hints for Python
|
||||
@ -31,32 +39,28 @@ must be compatible with multiple Python versions or requires experimental types.
|
||||
%description %_description
|
||||
|
||||
%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
|
||||
|
||||
Summary: %{summary}
|
||||
|
||||
%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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user