diff --git a/python-pyupgrade-2.6.2.tar.gz b/python-pyupgrade-2.6.2.tar.gz deleted file mode 100644 index 5128d17..0000000 --- a/python-pyupgrade-2.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cc50909b49221739b25b74bf5792b33db3703965ca912de0d51f613c4e4c7a2f -size 41680 diff --git a/python-pyupgrade-2.7.2.tar.gz b/python-pyupgrade-2.7.2.tar.gz new file mode 100644 index 0000000..e96a415 --- /dev/null +++ b/python-pyupgrade-2.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdc328771a2e1b762dfa82230a9df638226c26fbd1f8f28512e0b3cb6b1ce9d1 +size 41987 diff --git a/python-pyupgrade.changes b/python-pyupgrade.changes index 9910229..620fefa 100644 --- a/python-pyupgrade.changes +++ b/python-pyupgrade.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Aug 3 13:30:45 UTC 2020 - Marketa Calabkova + +- update to 2.7.2 + * fix any call with *sys.exc_info() + * leave f'string'.format(...) alone + * `reraise` and `raise_from` doc examples + ------------------------------------------------------------------- Sat Jul 4 09:50:49 UTC 2020 - Sebastian Wagner diff --git a/python-pyupgrade.spec b/python-pyupgrade.spec index d327c74..9594be1 100644 --- a/python-pyupgrade.spec +++ b/python-pyupgrade.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyupgrade # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,26 @@ # 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-%{**}} Name: python-pyupgrade -Version: 2.6.2 +Version: 2.7.2 Release: 0 -License: MIT Summary: A tool to automatically upgrade syntax for newer versions -Url: https://github.com/asottile/pyupgrade +License: MIT Group: Development/Languages/Python -# pypi tarball does not include tests, use github instead. PR for inclusion: https://github.com/asottile/pyupgrade/pull/326 +URL: https://github.com/asottile/pyupgrade +# pypi tarball does not include tests, use github instead. PR for inclusion was denied https://github.com/asottile/pyupgrade/pull/326 Source: https://github.com/asottile/pyupgrade/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz #Source: https://files.pythonhosted.org/packages/source/p/pyupgrade/pyupgrade-%%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module tokenize-rt >= 3.2.0} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module tokenize-rt >= 3.2.0} # /SECTION BuildRequires: fdupes Requires: python-tokenize-rt >= 3.2.0