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.
146 lines
4.7 KiB
146 lines
4.7 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 = 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 <tigro@msvsphere-os.ru> - 0.4.1-16
|
||
|
- Rebuilt for MSVSphere 10
|
||
|
|
||
|
## START: Generated by rpmautospec
|
||
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-16
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||
|
|
||
|
* Sat Jun 15 2024 Python Maint <python-maint@redhat.com> - 0.4.1-15
|
||
|
- Rebuilt for Python 3.13
|
||
|
|
||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-10
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-9
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-8
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.4.1-7
|
||
|
- Rebuilt for Python 3.12
|
||
|
|
||
|
* Wed May 24 2023 Miro Hrončok <mhroncok@redhat.com> - 0.4.1-6
|
||
|
- Update the license tag to SPDX
|
||
|
|
||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.4.1-3
|
||
|
- Rebuilt for Python 3.11
|
||
|
|
||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
|
* Wed Aug 04 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.4.1-1
|
||
|
- Update to 0.4.1
|
||
|
|
||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-1
|
||
|
- Update to 0.4.0
|
||
|
- Fixes rhbz#1977164
|
||
|
|
||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.3.0-3
|
||
|
- Rebuilt for Python 3.10
|
||
|
|
||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Mon Sep 14 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-1
|
||
|
- Update to 0.3.0
|
||
|
- Fixes rhbz#1878161
|
||
|
|
||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
|
||
|
- Second attempt - Rebuilt for
|
||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-3
|
||
|
- Rebuilt for Python 3.9
|
||
|
|
||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Sat Oct 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-1
|
||
|
- Update to 0.2.0
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Wed Jun 26 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.0-1
|
||
|
- Initial package
|
||
|
|
||
|
## END: Generated by rpmautospec
|