From 4b0acf56cae2436bf1a0bc14b3dcaf69d2f58d566296a047ede759056c0a02ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 14 Feb 2019 08:32:53 +0000 Subject: [PATCH] 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 --- python-yapf.changes | 13 +++++++++++++ python-yapf.spec | 9 +++++---- yapf-0.24.0.tar.gz | 3 --- yapf-0.26.0.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 7 deletions(-) delete mode 100644 yapf-0.24.0.tar.gz create mode 100644 yapf-0.26.0.tar.gz 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