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.
111 lines
3.2 KiB
111 lines
3.2 KiB
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.6.5)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
release_number = 1;
|
|
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-pure-eval
|
|
Version: 0.2.3
|
|
Release: %autorelease
|
|
Summary: Safely evaluate AST nodes without side effects
|
|
|
|
License: MIT
|
|
URL: http://github.com/alexmojaki/pure_eval
|
|
Source0: %{pypi_source pure_eval}
|
|
BuildArch: noarch
|
|
BuildRequires: python3-devel
|
|
|
|
%global _description %{expand:
|
|
Python package that lets you safely evaluate certain AST nodes
|
|
without triggering arbitrary code that may have unwanted side effects.}
|
|
|
|
|
|
%description %_description
|
|
|
|
%package -n python3-pure-eval
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-pure-eval %_description
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n pure_eval-%{version}
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires -r -t
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files pure_eval
|
|
|
|
|
|
%check
|
|
%tox
|
|
|
|
|
|
%files -n python3-pure-eval -f %{pyproject_files}
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Sat Jan 04 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.3-1
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
## START: Generated by rpmautospec
|
|
* Tue Jul 23 2024 Lumir Balhar <lbalhar@redhat.com> - 0.2.3-1
|
|
- Update to 0.2.3 (rhbz#2299282)
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Sun Jun 09 2024 Miro Hrončok <miro@hroncok.cz> - 0.2.2-12
|
|
- Fix compatibility with Python 3.13 beta 2
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.2.2-11
|
|
- Rebuilt for Python 3.13
|
|
|
|
* Wed May 15 2024 Lumir Balhar <lbalhar@redhat.com> - 0.2.2-10
|
|
- Fix compatibility with Python 3.13 beta 1
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.2.2-5
|
|
- Rebuilt for Python 3.12
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.2-2
|
|
- Rebuilt for Python 3.11
|
|
|
|
* Sun Jan 23 2022 Lumír Balhar <lbalhar@redhat.com> - 0.2.2-1
|
|
- Update to 0.2.2
|
|
Resolves: rhbz#2043934
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Tue Jan 04 2022 Lumír Balhar <lbalhar@redhat.com> - 0.2.1-1
|
|
- Package generated with pyp2spec
|
|
|
|
## END: Generated by rpmautospec
|