forked from pool/python-flake8
Accepting request 681065 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/681065 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8?expand=0&rev=24
This commit is contained in:
commit
7b46de8c54
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d8c66a65635d46d54de59b027a1dda40abbe2275b3164b634835ac9c13fd048
|
||||
size 147641
|
3
flake8-3.7.7.tar.gz
Normal file
3
flake8-3.7.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:859996073f341f2670741b51ec1e67a01da142831aa1fdc6242dbf88dffbe661
|
||||
size 148457
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 3 09:06:27 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Create doc sub package with rst files, and README.rst
|
||||
- Replace main package %doc README.rst with manpage.rst
|
||||
- Simplify dependency on python-typing, which is provided by
|
||||
python3-base when it isnt a separate dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 2 04:49:32 UTC 2019 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- update to version 3.7.7:
|
||||
* Fix crahes in plugins causing flake8 to hang while unpickling
|
||||
errors (See also GitLab!308, GitLab#505)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 21 18:42:26 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-flake8
|
||||
Version: 3.7.6
|
||||
Version: 3.7.7
|
||||
Release: 0
|
||||
Summary: Modular source code checker: pep8, pyflakes and co
|
||||
License: MIT
|
||||
@ -35,6 +35,7 @@ Requires: python-entrypoints >= 0.3
|
||||
Requires: python-mccabe >= 0.6.0
|
||||
Requires: python-pycodestyle >= 2.5.0
|
||||
Requires: python-pyflakes >= 2.1.0
|
||||
Requires: python-typing
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
@ -45,32 +46,24 @@ BuildRequires: %{python_module pycodestyle >= 2.5.0}
|
||||
BuildRequires: %{python_module pyflakes >= 2.1.0}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module typing}
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-configparser >= 3.7.0
|
||||
BuildRequires: python2-enum34
|
||||
BuildRequires: python2-functools32
|
||||
BuildRequires: python2-mock
|
||||
BuildRequires: python2-typing
|
||||
%endif
|
||||
%if 0%{?python3_version_nodots} < 35
|
||||
BuildRequires: python3-typing
|
||||
%endif
|
||||
# /SECTION
|
||||
%ifpython2
|
||||
Requires: python-configparser >= 3.7.0
|
||||
Requires: python-enum34
|
||||
Requires: python-functools32
|
||||
Requires: python-typing
|
||||
%endif
|
||||
%ifpython3
|
||||
%if 0%{?python3_version_nodots} < 35
|
||||
Requires: python3-typing
|
||||
%endif
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Flake8 is a wrapper around these tools:
|
||||
Flake8 is a modular extensible source code checker including wrappers
|
||||
around these tools:
|
||||
|
||||
- PyFlakes
|
||||
- pep8
|
||||
@ -78,6 +71,16 @@ Flake8 is a wrapper around these tools:
|
||||
|
||||
Flake8 runs all the tools by launching the single ``flake8`` script.
|
||||
|
||||
%package -n %{name}-doc
|
||||
Summary: Documentation files for %name
|
||||
Group: Documentation/Other
|
||||
Recommends: %{name} = %{version}
|
||||
|
||||
%description -n %{name}-doc
|
||||
Flake8 is a modular extensible source code checker.
|
||||
|
||||
This package provides documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n flake8-%{version}
|
||||
%autopatch -p1
|
||||
@ -100,11 +103,17 @@ Flake8 runs all the tools by launching the single ``flake8`` script.
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest tests
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%doc docs/source/manpage.rst
|
||||
%python_alternative %{_bindir}/flake8
|
||||
%dir %{python_sitelib}/flake8
|
||||
%{python_sitelib}/flake8/*
|
||||
%{python_sitelib}/flake8-%{version}-py*.egg-info
|
||||
|
||||
%files -n %{name}-doc
|
||||
%doc README.rst
|
||||
%doc docs/source/index.rst docs/source/faq.rst docs/source/glossary.rst
|
||||
%doc docs/source/internal/ docs/source/user docs/source/plugin-development
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user