blob: 290a2fe0e783d11c7c026b2b23d7aaadaf1543ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
%global _empty_manifest_terminate_build 0
%global pypi_name flake8-comprehensions
%global source_name flake8_comprehensions
Name: python-%{pypi_name}
Version: 3.14.0
Release: 1
Summary: A flake8 plugin that helps you write better list/set/dict comprehensions.
License: MIT
URL: https://github.com/adamchainz/flake8-comprehensions
Source0: %{url}/archive/%{version}/%{source_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-virtualenv
BuildRequires: python3-poetry-core
%description
A flake8 plugin that helps you write better list/set/dict comprehensions.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
A flake8 plugin that helps you write better list/set/dict comprehensions.
%prep
%autosetup -p1 -n %{source_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE
%{python3_sitelib}/flake8_comprehensions*.dist-info/
%{python3_sitelib}/flake8_comprehensions
%changelog
* Mon Aug 21 2023 zoujiancang<jczou@isoftstone.com> - 3.14.0-1
- Initial package
|