Accepting request 932476 from home:ecsos:messenger:matrix

- Fix build error for Leap outside repo d:l:p.
- Disable build of python2 and python36.
  End of support since: python2 (2020-01-01), python36 (2021-12-23)
- Insert reuired versions for required python-modules.

OBS-URL: https://build.opensuse.org/request/show/932476
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=6
This commit is contained in:
Malcolm Lewis 2021-11-19 18:04:34 +00:00 committed by Git OBS Bridge
parent 650eecb017
commit d45ea97300
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Nov 19 10:21:46 UTC 2021 - ecsos <ecsos@opensuse.org>
- Fix build error for Leap outside repo d:l:p.
- Disable build of python2 and python36.
End of support since: python2 (2020-01-01), python36 (2021-12-23)
- Insert reuired versions for required python-modules.
-------------------------------------------------------------------
Sun Sep 5 22:20:08 UTC 2021 - malcolmlewis@opensuse.org

View File

@ -18,6 +18,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-asttokens
Version: 2.0.5
Release: 0
@ -29,7 +31,8 @@ Source: https://files.pythonhosted.org/packages/source/a/asttokens/astto
BuildRequires: %{python_module astroid}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools >= 44}
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
BuildRequires: %{python_module six}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}