Sync from SUSE:SLFO:Main python-gast revision 6068db6540edf5e23b8b4a075f32ec77
This commit is contained in:
parent
d3a687f8d1
commit
06a9e08973
BIN
gast-0.5.3.tar.gz
(Stored with Git LFS)
BIN
gast-0.5.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
gast-0.6.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
gast-0.6.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 22 09:49:36 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.6.0
|
||||||
|
* Harmonize gast.dump behavior across versions, following py3.13 behavior
|
||||||
|
- from version 0.5.5
|
||||||
|
* Provide a bug and security bug section in the README
|
||||||
|
* Upgrade to py3.13 support
|
||||||
|
* Slightly speedup gast node creation
|
||||||
|
* Document ExceptHandler.name change
|
||||||
|
* Optimize node constructors
|
||||||
|
* Update unparser for py 3.12 and setup minimal testing
|
||||||
|
* Reflect AST changes to README
|
||||||
|
* Support py 3.12 type parameters
|
||||||
|
* Update CI configuration for python 3.12 (and 2.7!)
|
||||||
|
* Support Type aliases from Python 3.12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 30 20:51:12 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add comment on interdependency with pythran
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 3 10:02:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- require setuptools
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 20 21:23:20 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Remove unnecessary BR on python-astunparse
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Apr 21 12:25:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-gast
|
# spec file for package python-gast
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,20 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define srcname gast
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
|
%define srcname gast
|
||||||
Name: python-gast
|
Name: python-gast
|
||||||
Version: 0.5.3
|
# only update when python-pythran is compatible
|
||||||
|
Version: 0.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python AST that abstracts the underlying Python version
|
Summary: Python AST that abstracts the underlying Python version
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/serge-sans-paille/gast/
|
URL: https://github.com/serge-sans-paille/gast/
|
||||||
Source: https://github.com/serge-sans-paille/gast/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
|
Source: https://github.com/serge-sans-paille/gast/archive/%{version}.tar.gz#/%{srcname}-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module astunparse}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -42,20 +43,21 @@ GAST provides a compatibility layer between the AST of various Python versions,
|
|||||||
as produced by ``ast.parse`` from the standard ``ast`` module.
|
as produced by ``ast.parse`` from the standard ``ast`` module.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gast-%{version}
|
%autosetup -p1 -n gast-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pyunittest discover -v tests
|
%pyunittest discover -v tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/gast
|
||||||
|
%{python_sitelib}/gast-%{version}*-info
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user