From 2f2a115fcdedfe51162b630634eb93e9cab5b5d3 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 22 Aug 2023 07:32:50 +0000 Subject: automatic import of python-flake8-comprehensions --- .gitignore | 1 + python-flake8-comprehensions.spec | 49 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 51 insertions(+) create mode 100644 python-flake8-comprehensions.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..a1b4cfc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/flake8_comprehensions-3.14.0.tar.gz diff --git a/python-flake8-comprehensions.spec b/python-flake8-comprehensions.spec new file mode 100644 index 0000000..290a2fe --- /dev/null +++ b/python-flake8-comprehensions.spec @@ -0,0 +1,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 - 3.14.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..0111d88 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +10e1042bd65bd1f4b151779f7f6acf82 flake8_comprehensions-3.14.0.tar.gz -- cgit v1.2.3