From b01443607fb6f779dec9ec34257981bedc94ea91 Mon Sep 17 00:00:00 2001 From: tigro Date: Sun, 5 Jan 2025 22:00:27 +0300 Subject: [PATCH] import python-beniget-0.4.1-16.el10 --- .gitignore | 1 + .python-beniget.metadata | 1 + SPECS/python-beniget.spec | 145 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 147 insertions(+) create mode 100644 .gitignore create mode 100644 .python-beniget.metadata create mode 100644 SPECS/python-beniget.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6a9dd50 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/beniget-0.4.1.tar.gz diff --git a/.python-beniget.metadata b/.python-beniget.metadata new file mode 100644 index 0000000..63c3f9c --- /dev/null +++ b/.python-beniget.metadata @@ -0,0 +1 @@ +d353c329c50677c73543a725ce7e7df69a4373bc SOURCES/beniget-0.4.1.tar.gz diff --git a/SPECS/python-beniget.spec b/SPECS/python-beniget.spec new file mode 100644 index 0000000..0d8ada6 --- /dev/null +++ b/SPECS/python-beniget.spec @@ -0,0 +1,145 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 16; + 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-beniget +Version: 0.4.1 +Release: %autorelease +Summary: Extract semantic information about static Python code +License: BSD-3-Clause +URL: https://github.com/serge-sans-paille/beniget/ +Source0: %{url}/archive/%{version}/beniget-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pytest + + +%global _description %{expand: +A static analyzer for Python2 and Python3 code.Beniget provides a static over- +approximation of the global and local definitions inside Python +Module/Class/Function. It can also compute def-use chains from each definition.} +%description %_description + + +%package -n python3-beniget +Summary: %{summary} + +%description -n python3-beniget %_description + + +%prep +%autosetup -n beniget-%{version} + + +%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 beniget + + +%check +# tox.ini has setup.py test, but that's deprecated +# use pytest, but beware the tests are not named test*.py +%pytest -v tests/*.py + + +%files -n python3-beniget -f %{pyproject_files} +%doc README.rst + + +%changelog +* Sun Jan 05 2025 Arkady L. Shane - 0.4.1-16 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.4.1-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jun 15 2024 Python Maint - 0.4.1-15 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.4.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 0.4.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.4.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.4.1-7 +- Rebuilt for Python 3.12 + +* Wed May 24 2023 Miro Hrončok - 0.4.1-6 +- Update the license tag to SPDX + +* Fri Jan 20 2023 Fedora Release Engineering - 0.4.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 0.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.4.1-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Aug 04 2021 Tomas Hrnciar - 0.4.1-1 +- Update to 0.4.1 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 29 2021 Miro Hrončok - 0.4.0-1 +- Update to 0.4.0 +- Fixes rhbz#1977164 + +* Fri Jun 04 2021 Python Maint - 0.3.0-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Sep 14 2020 Miro Hrončok - 0.3.0-1 +- Update to 0.3.0 +- Fixes rhbz#1878161 + +* Sat Aug 01 2020 Fedora Release Engineering - 0.2.0-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.2.0-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Oct 12 2019 Miro Hrončok - 0.2.0-1 +- Update to 0.2.0 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jun 26 2019 Miro Hrončok - 0.1.0-1 +- Initial package + +## END: Generated by rpmautospec