Accepting request 674779 from home:jayvdb:coala:python3-bears
- Remove optional dependency from BuildRequires as no tests fail or are skipped when it is missing. - Remove tests from package - Update from 0.24.0 to v0.26.0 OBS-URL: https://build.opensuse.org/request/show/674779 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=9
This commit is contained in:
parent
72e392777a
commit
4b0acf56ca
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 14 04:13:37 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Remove optional dependency from BuildRequires as no tests fail
|
||||||
|
or are skipped when it is missing.
|
||||||
|
- Remove tests from package
|
||||||
|
- Update to v0.26.0
|
||||||
|
* Many changes to behaviour; see CHANGELOG for details
|
||||||
|
- from v0.25.0
|
||||||
|
* Added `INDENT_BLANK_LINES` knob
|
||||||
|
* Support additional file exclude patterns in .yapfignore file
|
||||||
|
* Correctly determine if a scope is the last in line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 24 13:23:45 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
Wed Oct 24 13:23:45 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-yapf
|
# spec file for package python-yapf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-yapf
|
Name: python-yapf
|
||||||
Version: 0.24.0
|
Version: 0.26.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A formatter for Python code
|
Summary: A formatter for Python code
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -28,7 +28,6 @@ Source: https://files.pythonhosted.org/packages/source/y/yapf/yapf-%{ver
|
|||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-futures
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
@ -59,6 +58,7 @@ be reformatted.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/yapf
|
%python_clone -a %{buildroot}%{_bindir}/yapf
|
||||||
|
%python_expand rm -r %{buildroot}%{$python_sitelib}/yapftests
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand nosetests-%{$python_bin_suffix}
|
%python_expand nosetests-%{$python_bin_suffix}
|
||||||
@ -73,6 +73,7 @@ be reformatted.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst CHANGELOG
|
%doc README.rst CHANGELOG
|
||||||
%python_alternative %{_bindir}/yapf
|
%python_alternative %{_bindir}/yapf
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/yapf/
|
||||||
|
%{python_sitelib}/yapf-%{version}-py*.egg-info/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cebb6faf35c9027c08996c07831b8971f3d67c0eb615269f66dfd7e6815fdc2a
|
|
||||||
size 161360
|
|
3
yapf-0.26.0.tar.gz
Normal file
3
yapf-0.26.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:edb47be90a56ca6f3075fe24f119a22225fbd62c66777b5d3916a7e9e793891b
|
||||||
|
size 170794
|
Loading…
x
Reference in New Issue
Block a user