commit 9a20ad4bb2a261d09dfb711bb6220fa1b23fb403 Author: tigro Date: Sat Jan 4 15:39:20 2025 +0300 import python-pure-eval-0.2.3-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b1cad5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pure_eval-0.2.3.tar.gz diff --git a/.python-pure-eval.metadata b/.python-pure-eval.metadata new file mode 100644 index 0000000..bdec69e --- /dev/null +++ b/.python-pure-eval.metadata @@ -0,0 +1 @@ +83c3248405e01005060dedb8bd0fff926fcd835e SOURCES/pure_eval-0.2.3.tar.gz diff --git a/SPECS/python-pure-eval.spec b/SPECS/python-pure-eval.spec new file mode 100644 index 0000000..4316271 --- /dev/null +++ b/SPECS/python-pure-eval.spec @@ -0,0 +1,110 @@ +## 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 - 0.2.3-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Jul 23 2024 Lumir Balhar - 0.2.3-1 +- Update to 0.2.3 (rhbz#2299282) + +* Fri Jul 19 2024 Fedora Release Engineering - 0.2.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sun Jun 09 2024 Miro Hrončok - 0.2.2-12 +- Fix compatibility with Python 3.13 beta 2 + +* Fri Jun 07 2024 Python Maint - 0.2.2-11 +- Rebuilt for Python 3.13 + +* Wed May 15 2024 Lumir Balhar - 0.2.2-10 +- Fix compatibility with Python 3.13 beta 1 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.2.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.2.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 0.2.2-5 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.2.2-2 +- Rebuilt for Python 3.11 + +* Sun Jan 23 2022 Lumír Balhar - 0.2.2-1 +- Update to 0.2.2 +Resolves: rhbz#2043934 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jan 04 2022 Lumír Balhar - 0.2.1-1 +- Package generated with pyp2spec + +## END: Generated by rpmautospec