diff --git a/python-yapf.changes b/python-yapf.changes index 88cc883..a150517 100644 --- a/python-yapf.changes +++ b/python-yapf.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Feb 14 04:13:37 UTC 2019 - John Vandenberg + +- 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 diff --git a/python-yapf.spec b/python-yapf.spec index 5a18ef9..9afc267 100644 --- a/python-yapf.spec +++ b/python-yapf.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-yapf -Version: 0.24.0 +Version: 0.26.0 Release: 0 Summary: A formatter for Python code 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 setuptools} BuildRequires: fdupes -BuildRequires: python-futures BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun): update-alternatives @@ -59,6 +58,7 @@ be reformatted. %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/yapf +%python_expand rm -r %{buildroot}%{$python_sitelib}/yapftests %check %python_expand nosetests-%{$python_bin_suffix} @@ -73,6 +73,7 @@ be reformatted. %license LICENSE %doc README.rst CHANGELOG %python_alternative %{_bindir}/yapf -%{python_sitelib}/* +%{python_sitelib}/yapf/ +%{python_sitelib}/yapf-%{version}-py*.egg-info/ %changelog diff --git a/yapf-0.24.0.tar.gz b/yapf-0.24.0.tar.gz deleted file mode 100644 index cc76d18..0000000 --- a/yapf-0.24.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cebb6faf35c9027c08996c07831b8971f3d67c0eb615269f66dfd7e6815fdc2a -size 161360 diff --git a/yapf-0.26.0.tar.gz b/yapf-0.26.0.tar.gz new file mode 100644 index 0000000..0fd48b8 --- /dev/null +++ b/yapf-0.26.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edb47be90a56ca6f3075fe24f119a22225fbd62c66777b5d3916a7e9e793891b +size 170794