- Format with spec-cleaner
- Switch to github tarball - Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-comprehensions?expand=0&rev=2
This commit is contained in:
parent
9782891573
commit
5a964713e2
3
2.1.0.tar.gz
Normal file
3
2.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b3c0b58b463bf15470889e5300ea4433832e18525d91e91227671a14255782d
|
||||
size 6863
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0b61d983d608790abf3664830d68efd3412265c2d10f6a4ba1a353274dbeb64
|
||||
size 5814
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 3 06:40:13 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Format with spec-cleaner
|
||||
- Switch to github tarball
|
||||
- Run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 15 21:57:07 UTC 2019 - Andreas Färber <afaerber@suse.de>
|
||||
|
||||
|
@ -12,27 +12,30 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-flake8-comprehensions
|
||||
Version: 2.1.0
|
||||
Release: 0
|
||||
License: ISC
|
||||
Summary: A flake8 plugin to help you write better list/set/dict comprehensions
|
||||
Url: https://github.com/adamchainz/flake8-comprehensions
|
||||
License: ISC
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/f/flake8-comprehensions/flake8-comprehensions-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
URL: https://github.com/adamchainz/flake8-comprehensions
|
||||
Source: https://github.com/adamchainz/flake8-comprehensions/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module flake8}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-flake8
|
||||
BuildArch: noarch
|
||||
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module flake8}
|
||||
BuildRequires: %{python_module pytest-flake8dir}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -48,6 +51,9 @@ A flake8 plugin that helps you write better list/set/dict comprehensions.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user