14
0

Fix Source URL in the SPEC file.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=42
This commit is contained in:
2021-09-24 22:43:38 +00:00
committed by Git OBS Bridge
parent 6dbaf146dc
commit 2d87dd8f9a
4 changed files with 14 additions and 7 deletions

View File

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

View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Sep 24 19:39:14 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- update to version 2.27.0:
- handle named escape sequences in format upgrades
- remove splatting of listcomp -> splat of generator
-------------------------------------------------------------------
Sat Sep 18 19:58:40 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
@@ -9,7 +16,7 @@ Sat Sep 18 19:58:40 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- don't rewrite %-format with width+s
- update timidity docs for f-strings
- update to version 2.25.0:
- revert pep584 rewrit
- revert pep584 rewrite
-------------------------------------------------------------------
Fri Aug 20 19:49:12 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@@ -19,14 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyupgrade
Version: 2.26.0.post1
Version: 2.27.0
Release: 0
Summary: A tool to automatically upgrade syntax for newer versions
License: MIT
Group: Development/Languages/Python
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/fd60bbecb9668e4392ade23dd8451b9f74d9d6c7.tar.gz#/%{name}-%{version}.tar.gz
Source: https://github.com/asottile/pyupgrade/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
#Source: https://files.pythonhosted.org/packages/source/p/pyupgrade/pyupgrade-%%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
@@ -47,7 +47,7 @@ A tool to automatically upgrade syntax for newer versions of the Python
programming language.
%prep
%setup -q -n pyupgrade-fd60bbecb9668e4392ade23dd8451b9f74d9d6c7
%setup -q -n pyupgrade-%{version}
%build
%python_build