From 29f4e9a5241eecfba26aec84e8984571cdea8a0262aa2bd54a9ca91ffe3c9ab7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 14 May 2023 12:55:16 +0000 Subject: [PATCH 1/5] - update to 0.5.4: * Support TryStar from python 3.11 * Support match statement from python 3.10 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gast?expand=0&rev=15 --- gast-0.5.3.tar.gz | 3 --- gast-0.5.4.tar.gz | 3 +++ python-gast.changes | 7 +++++++ python-gast.spec | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100644 gast-0.5.3.tar.gz create mode 100644 gast-0.5.4.tar.gz 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.5.4.tar.gz b/gast-0.5.4.tar.gz new file mode 100644 index 0000000..6b37145 --- /dev/null +++ b/gast-0.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eae411c3ffa92404c87d7c0ba6db0ea0e2fa0d98d95e65ed58b8ccc1c2b349b3 +size 24784 diff --git a/python-gast.changes b/python-gast.changes index 9de535e..6ecbfd8 100644 --- a/python-gast.changes +++ b/python-gast.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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..7f6b494 100644 --- a/python-gast.spec +++ b/python-gast.spec @@ -20,7 +20,7 @@ %{?!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 From 7d9c488892abd7dc606d00db155c01dcda274626d7d796b274520cc6ce55e0bc Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 17 May 2023 14:37:07 +0000 Subject: [PATCH 2/5] osc copypac from project:devel:languages:python package:python-gast revision:14, using keep-link, using expand OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gast?expand=0&rev=16 --- gast-0.5.3.tar.gz | 3 +++ gast-0.5.4.tar.gz | 3 --- python-gast.changes | 7 ------- python-gast.spec | 2 +- 4 files changed, 4 insertions(+), 11 deletions(-) create mode 100644 gast-0.5.3.tar.gz delete mode 100644 gast-0.5.4.tar.gz diff --git a/gast-0.5.3.tar.gz b/gast-0.5.3.tar.gz new file mode 100644 index 0000000..e1a5c04 --- /dev/null +++ b/gast-0.5.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:352db13ff595ffbbfda258ef5bdadbae126bfa7cad1ef27fe25c6243144626b4 +size 23605 diff --git a/gast-0.5.4.tar.gz b/gast-0.5.4.tar.gz deleted file mode 100644 index 6b37145..0000000 --- a/gast-0.5.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eae411c3ffa92404c87d7c0ba6db0ea0e2fa0d98d95e65ed58b8ccc1c2b349b3 -size 24784 diff --git a/python-gast.changes b/python-gast.changes index 6ecbfd8..9de535e 100644 --- a/python-gast.changes +++ b/python-gast.changes @@ -1,10 +1,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 7f6b494..1b5e1e2 100644 --- a/python-gast.spec +++ b/python-gast.spec @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-gast -Version: 0.5.4 +Version: 0.5.3 Release: 0 Summary: Python AST that abstracts the underlying Python version License: BSD-3-Clause From 37f5b619abdf83269398d8a6cec8a1b71a1b3ac5cc67ce085b08c39009c3b8fe Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 17 May 2023 14:38:02 +0000 Subject: [PATCH 3/5] - 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/package/show/devel:languages:python/python-gast?expand=0&rev=17 --- python-gast.changes | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/python-gast.changes b/python-gast.changes index 9de535e..8e3c455 100644 --- a/python-gast.changes +++ b/python-gast.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 From 344ea252630e5ebcba5b858f2c5ab09796033b545d5174a15ebf929fb51b9a1e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 10 Oct 2023 13:50:51 +0000 Subject: [PATCH 4/5] - Once more on the breach! Update to 0.5.4 (see changes below). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gast?expand=0&rev=18 --- gast-0.5.3.tar.gz | 3 --- gast-0.5.4.tar.gz | 3 +++ python-gast.changes | 5 +++++ python-gast.spec | 11 ++++++----- 4 files changed, 14 insertions(+), 8 deletions(-) delete mode 100644 gast-0.5.3.tar.gz create mode 100644 gast-0.5.4.tar.gz 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.5.4.tar.gz b/gast-0.5.4.tar.gz new file mode 100644 index 0000000..6b37145 --- /dev/null +++ b/gast-0.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eae411c3ffa92404c87d7c0ba6db0ea0e2fa0d98d95e65ed58b8ccc1c2b349b3 +size 24784 diff --git a/python-gast.changes b/python-gast.changes index 8e3c455..e9b892c 100644 --- a/python-gast.changes +++ b/python-gast.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-gast.spec b/python-gast.spec index 1b5e1e2..21f93a9 100644 --- a/python-gast.spec +++ b/python-gast.spec @@ -20,13 +20,14 @@ %{?!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,13 +43,13 @@ 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 From d3a7ff5fd21ef75f3bf3210fd452f27bc4f1fb7371ce49bb90d64934e464b953 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 10 Oct 2023 13:53:48 +0000 Subject: [PATCH 5/5] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gast?expand=0&rev=19 --- python-gast.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-gast.spec b/python-gast.spec index 21f93a9..36ffbfb 100644 --- a/python-gast.spec +++ b/python-gast.spec @@ -17,7 +17,6 @@ %define srcname gast -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-gast Version: 0.5.4 @@ -56,7 +55,8 @@ as produced by ``ast.parse`` from the standard ``ast`` module. %pyunittest discover -v tests %files %{python_files} -%{python_sitelib}/* +%{python_sitelib}/gast +%{python_sitelib}/gast-%{version}*-info %doc README.rst %license LICENSE