You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
158 lines
5.0 KiB
158 lines
5.0 KiB
1 week ago
|
## 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 <tigro@msvsphere-os.ru> - 0.5.4^20240601.bf62db90-2
|
||
|
- Rebuilt for MSVSphere 10
|
||
|
|
||
|
## START: Generated by rpmautospec
|
||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4^20240601.bf62db90-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||
|
|
||
|
* Sat Jun 15 2024 Miro Hrončok <miro@hroncok.cz> - 0.5.4^20240601.bf62db90-1
|
||
|
- Update to a git snapshot to support Python 3.13
|
||
|
|
||
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.5.4-5
|
||
|
- Rebuilt for Python 3.13
|
||
|
|
||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Tue Aug 29 2023 Charalampos Stratakis <cstratak@redhat.com> - 0.5.4-1
|
||
|
- Update to 0.5.4
|
||
|
Resolves: rhbz#2192138
|
||
|
|
||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-8
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.5.3-7
|
||
|
- Rebuilt for Python 3.12
|
||
|
|
||
|
* Wed May 24 2023 Miro Hrončok <mhroncok@redhat.com> - 0.5.3-6
|
||
|
- Update the license tag to SPDX
|
||
|
|
||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.5.3-3
|
||
|
- Rebuilt for Python 3.11
|
||
|
|
||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
|
* Tue Nov 30 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.5.3-1
|
||
|
- Update to 0.5.3
|
||
|
|
||
|
* Thu Jul 29 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.5.2-1
|
||
|
- Update to 0.5.1
|
||
|
|
||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 28 2021 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-1
|
||
|
- Update to 0.5.0
|
||
|
- Fixes rhbz#1977051
|
||
|
- Fixes rhbz#1968986
|
||
|
|
||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.4.0-3
|
||
|
- Rebuilt for Python 3.10
|
||
|
|
||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Fri Sep 11 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-1
|
||
|
- Update to 0.4.0
|
||
|
- Fixes rhbz#1878159
|
||
|
|
||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-3
|
||
|
- Second attempt - Rebuilt for
|
||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Sun Jun 07 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.3-1
|
||
|
- Update to 0.3.3 (#1844892)
|
||
|
|
||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Sat Oct 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.2-1
|
||
|
- Update to 0.3.2
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Sat Jan 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.2-1
|
||
|
- Initial package
|
||
|
|
||
|
## END: Generated by rpmautospec
|