diff --git a/gast-0.5.3.tar.gz b/gast-0.5.3.tar.gz deleted file mode 100644 index e1a5c04..0000000 --- a/gast-0.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:352db13ff595ffbbfda258ef5bdadbae126bfa7cad1ef27fe25c6243144626b4 -size 23605 diff --git a/gast-0.6.0.tar.gz b/gast-0.6.0.tar.gz new file mode 100644 index 0000000..54d2b72 --- /dev/null +++ b/gast-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bb63fb394e08389b5f99c1cc3c5b1fb73e7207d90c9f17939d9d34cc85a1c1e +size 27216 diff --git a/python-gast.changes b/python-gast.changes index 9de535e..799225b 100644 --- a/python-gast.changes +++ b/python-gast.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Mon Jul 22 09:49:36 UTC 2024 - John Paul Adrian Glaubitz + +- 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 + +- add comment on interdependency with pythran + +------------------------------------------------------------------- +Wed Jan 3 10:02:57 UTC 2024 - Dirk Müller + +- require setuptools + +------------------------------------------------------------------- +Fri Oct 20 21:23:20 UTC 2023 - Matej Cepl + +- Remove unnecessary BR on python-astunparse + +------------------------------------------------------------------- +Tue Oct 10 13:44:16 UTC 2023 - Matej Cepl + +- Once more on the breach! Update to 0.5.4 (see changes below). + +------------------------------------------------------------------- +Wed May 17 14:37:48 UTC 2023 - Dirk Müller + +- go back to 0.5.3 + +------------------------------------------------------------------- +Sun May 14 12:52:11 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-gast.spec b/python-gast.spec index 1b5e1e2..829988c 100644 --- a/python-gast.spec +++ b/python-gast.spec @@ -1,7 +1,7 @@ # # 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 # 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} +%define srcname gast Name: python-gast -Version: 0.5.3 +# only update when python-pythran is compatible +Version: 0.6.0 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 pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module astunparse} BuildRequires: fdupes BuildArch: noarch %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. %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