Formatted spec file
This commit is contained in:
parent
9296678932
commit
6723e990b7
@ -1,15 +1,23 @@
|
|||||||
%global srcname typing_extensions
|
%global srcname typing_extensions
|
||||||
|
|
||||||
Name: python-typing-extensions
|
Name: python-typing-extensions
|
||||||
Version: 4.2.0
|
Version: 4.2.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python Typing Extensions
|
Summary: Python Typing Extensions
|
||||||
|
|
||||||
License: Python
|
License: Python
|
||||||
URL: https://pypi.org/project/typing-extensions/
|
URL: https://pypi.org/project/typing-extensions/
|
||||||
Source0: %{pypi_source}
|
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:
|
%global _description %{expand:
|
||||||
Typing Extensions - Backported and Experimental Type Hints for Python
|
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
|
%description %_description
|
||||||
|
|
||||||
%package -n python3-typing-extensions
|
%package -n python3-typing-extensions
|
||||||
Summary: %{summary}
|
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
|
%description -n python3-typing-extensions %_description
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{srcname}-%{version}
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
|
||||||
%generate_buildrequires
|
%generate_buildrequires
|
||||||
%pyproject_buildrequires
|
%pyproject_buildrequires
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
|
|
||||||
%pyproject_save_files typing_extensions
|
%pyproject_save_files typing_extensions
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user