Accepting request 1116718 from devel:languages:python

- Once more on the breach! Update to 0.5.4 (see changes below).

- go back to 0.5.3 

- update to 0.5.4:
  * Support TryStar from python 3.11
  * Support match statement from python 3.10

OBS-URL: https://build.opensuse.org/request/show/1116718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gast?expand=0&rev=8
This commit is contained in:
Ana Guerrero 2023-10-11 21:54:14 +00:00 committed by Git OBS Bridge
commit c10aa052ed
4 changed files with 28 additions and 10 deletions

BIN
gast-0.5.3.tar.gz (Stored with Git LFS)

Binary file not shown.

3
gast-0.5.4.tar.gz Normal file
View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Oct 10 13:44:16 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- Once more on the breach! Update to 0.5.4 (see changes below).
-------------------------------------------------------------------
Wed May 17 14:37:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
- go back to 0.5.3
-------------------------------------------------------------------
Sun May 14 12:52:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.5.4:
* Support TryStar from python 3.11
* Support match statement from python 3.10
-------------------------------------------------------------------
Fri Apr 21 12:25:38 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -17,16 +17,16 @@
%define srcname gast
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-gast
Version: 0.5.3
Version: 0.5.4
Release: 0
Summary: Python AST that abstracts the underlying Python version
License: BSD-3-Clause
URL: https://github.com/serge-sans-paille/gast/
Source: https://github.com/serge-sans-paille/gast/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module astunparse}
@ -42,20 +42,21 @@ GAST provides a compatibility layer between the AST of various Python versions,
as produced by ``ast.parse`` from the standard ``ast`` module.
%prep
%setup -q -n gast-%{version}
%autosetup -p1 -n gast-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pyunittest discover -v tests
%files %{python_files}
%{python_sitelib}/*
%{python_sitelib}/gast
%{python_sitelib}/gast-%{version}*-info
%doc README.rst
%license LICENSE