From 1ec1e28b213c910c13e1a65b68ad0b3bbef941c3d435a6fdac4d1ad6279aedb6 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 13 Feb 2021 18:23:06 +0000 Subject: [PATCH] - Disable build on Python 2 as the build fails with the latest version. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=15 --- python-pyupgrade.changes | 5 +++++ python-pyupgrade.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-pyupgrade.changes b/python-pyupgrade.changes index c3dd0fa..52b9223 100644 --- a/python-pyupgrade.changes +++ b/python-pyupgrade.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 13 18:15:11 UTC 2021 - Sebastian Wagner + +- Disable build on Python 2 as the build fails with the latest version. + ------------------------------------------------------------------- Tue Feb 9 06:44:47 UTC 2021 - Sebastian Wagner diff --git a/python-pyupgrade.spec b/python-pyupgrade.spec index f4f59e4..a838126 100644 --- a/python-pyupgrade.spec +++ b/python-pyupgrade.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pyupgrade Version: 2.10.0 Release: 0 @@ -42,7 +43,8 @@ BuildArch: noarch %python_subpackages %description -A tool to automatically upgrade syntax for newer versions. +A tool to automatically upgrade syntax for newer versions of the Python +programming language. %prep %setup -q -n pyupgrade-%{version}