14
0

Accepting request 825393 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/825393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyupgrade?expand=0&rev=2
This commit is contained in:
2020-08-12 08:28:21 +00:00
committed by Git OBS Bridge
4 changed files with 20 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc50909b49221739b25b74bf5792b33db3703965ca912de0d51f613c4e4c7a2f
size 41680

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bdc328771a2e1b762dfa82230a9df638226c26fbd1f8f28512e0b3cb6b1ce9d1
size 41987

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 3 13:30:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- 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 <sebix+novell.com@sebix.at>

View File

@@ -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