## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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-beniget Version: 0.4.2.post1 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 ## START: Generated by rpmautospec * Sat Oct 26 2024 Miro Hrončok - 0.4.2.post1-1 - Update to 0.4.2.post1 - Fixes: rhbz#2295433 * 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