From dec4db9e7a8bd505a40d1913e5a9c15712c93e79 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 5 Jan 2025 22:02:14 +0300 Subject: [PATCH] import python-gast-0.5.4^20240601.bf62db90-2.el10 --- .gitignore | 1 + .python-gast.metadata | 1 + SPECS/python-gast.spec | 157 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 159 insertions(+) create mode 100644 .gitignore create mode 100644 .python-gast.metadata create mode 100644 SPECS/python-gast.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f677504 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gast-bf62db90.tar.gz diff --git a/.python-gast.metadata b/.python-gast.metadata new file mode 100644 index 0000000..69c4818 --- /dev/null +++ b/.python-gast.metadata @@ -0,0 +1 @@ +1c14639191333500068fb556ea849f39b00aafec SOURCES/gast-bf62db90.tar.gz diff --git a/SPECS/python-gast.spec b/SPECS/python-gast.spec new file mode 100644 index 0000000..bdc25d2 --- /dev/null +++ b/SPECS/python-gast.spec @@ -0,0 +1,157 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +Name: python-gast +%global commit bf62db902e3d6eb54af2467ad9f594256fbb826b +%global scommit %(c=%{commit}; echo ${c:0:8}) +%global date 20240601 +Version: 0.5.4^%{date}.%{scommit} +Release: %autorelease +Summary: Python AST that abstracts the underlying Python version +License: BSD-3-Clause +URL: https://github.com/serge-sans-paille/gast/ +Source: %{url}/archive/%{commit}/gast-%{scommit}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pytest + + +%global _description %{expand: +A generic AST to represent Python2 and Python3's Abstract Syntax Tree (AST). +GAST provides a compatibility layer between the AST of various Python versions, +as produced by ast.parse from the standard ast module.} +%description %_description + + +%package -n python3-gast +Summary: %{summary} + +%description -n python3-gast %_description + + +%prep +%autosetup -p1 -n gast-%{commit} + + +%generate_buildrequires +# Don't use tox options to avoid an unwanted dependency in RHEL +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files gast + + +%check +%pytest -v + + +%files -n python3-gast -f %{pyproject_files} +%doc README.rst + + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 0.5.4^20240601.bf62db90-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.5.4^20240601.bf62db90-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jun 15 2024 Miro Hrončok - 0.5.4^20240601.bf62db90-1 +- Update to a git snapshot to support Python 3.13 + +* Fri Jun 07 2024 Python Maint - 0.5.4-5 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.5.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Aug 29 2023 Charalampos Stratakis - 0.5.4-1 +- Update to 0.5.4 +Resolves: rhbz#2192138 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.5.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.5.3-7 +- Rebuilt for Python 3.12 + +* Wed May 24 2023 Miro Hrončok - 0.5.3-6 +- Update the license tag to SPDX + +* Fri Jan 20 2023 Fedora Release Engineering - 0.5.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.5.3-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Nov 30 2021 Tomáš Hrnčiar - 0.5.3-1 +- Update to 0.5.3 + +* Thu Jul 29 2021 Tomas Hrnciar - 0.5.2-1 +- Update to 0.5.1 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jun 28 2021 Miro Hrončok - 0.5.0-1 +- Update to 0.5.0 +- Fixes rhbz#1977051 +- Fixes rhbz#1968986 + +* Fri Jun 04 2021 Python Maint - 0.4.0-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Sep 11 2020 Miro Hrončok - 0.4.0-1 +- Update to 0.4.0 +- Fixes rhbz#1878159 + +* Sat Aug 01 2020 Fedora Release Engineering - 0.3.3-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jun 07 2020 Miro Hrončok - 0.3.3-1 +- Update to 0.3.3 (#1844892) + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Oct 12 2019 Miro Hrončok - 0.3.2-1 +- Update to 0.3.2 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jan 19 2019 Miro Hrončok - 0.2.2-1 +- Initial package + +## END: Generated by rpmautospec