From 2d87dd8f9a7ee7753a2eab83ae7171360af0bfa73b4e15b8811b44f2d75459a1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 24 Sep 2021 22:43:38 +0000 Subject: [PATCH] Fix Source URL in the SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=42 --- python-pyupgrade-2.26.0.post1.tar.gz | 3 --- python-pyupgrade-2.27.0.tar.gz | 3 +++ python-pyupgrade.changes | 9 ++++++++- python-pyupgrade.spec | 6 +++--- 4 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 python-pyupgrade-2.26.0.post1.tar.gz create mode 100644 python-pyupgrade-2.27.0.tar.gz diff --git a/python-pyupgrade-2.26.0.post1.tar.gz b/python-pyupgrade-2.26.0.post1.tar.gz deleted file mode 100644 index 68712b0..0000000 --- a/python-pyupgrade-2.26.0.post1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f6c11d1840acfa55ea16d1257593b008e851f27ed7933949eba3b20237682ebd -size 57829 diff --git a/python-pyupgrade-2.27.0.tar.gz b/python-pyupgrade-2.27.0.tar.gz new file mode 100644 index 0000000..762cf93 --- /dev/null +++ b/python-pyupgrade-2.27.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b5fd67bb0335d8feb516d52e080e469216fd52cbe1170fdee740ba75cd3a602 +size 57711 diff --git a/python-pyupgrade.changes b/python-pyupgrade.changes index 052573e..c96135c 100644 --- a/python-pyupgrade.changes +++ b/python-pyupgrade.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Sep 24 19:39:14 UTC 2021 - Sebastian Wagner + +- 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 @@ -9,7 +16,7 @@ Sat Sep 18 19:58:40 UTC 2021 - Sebastian Wagner - 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 diff --git a/python-pyupgrade.spec b/python-pyupgrade.spec index 8e5e317..35192f8 100644 --- a/python-pyupgrade.spec +++ b/python-pyupgrade.spec @@ -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