|
 |
e80043c |
%global pypi_name stackprinter
|
|
 |
e80043c |
|
|
 |
e80043c |
Name: python-%{pypi_name}
|
|
 |
e80043c |
Version: 0.2.4
|
|
 |
c61a066 |
Release: 8%{?dist}
|
|
 |
e80043c |
Summary: Debug-friendly stack traces
|
|
 |
e80043c |
|
|
 |
e80043c |
License: MIT
|
|
 |
e80043c |
URL: https://github.com/cknd/stackprinter
|
|
 |
e80043c |
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
|
 |
e80043c |
BuildArch: noarch
|
|
 |
e80043c |
|
|
 |
e80043c |
%description
|
|
 |
e80043c |
This is a more helpful version of Python's built-in exception message: It shows
|
|
 |
e80043c |
more code context and the current values of nearby variables.
|
|
 |
e80043c |
|
|
 |
e80043c |
%package -n python3-%{pypi_name}
|
|
 |
e80043c |
Summary: %{summary}
|
|
 |
e80043c |
|
|
 |
e80043c |
BuildRequires: python3-devel
|
|
 |
e80043c |
BuildRequires: python3dist(setuptools)
|
|
 |
e80043c |
BuildRequires: python3dist(pytest)
|
|
 |
e80043c |
BuildRequires: python3dist(numpy)
|
|
 |
e80043c |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
e80043c |
|
|
 |
e80043c |
%description -n python3-%{pypi_name}
|
|
 |
e80043c |
This is a more helpful version of Python's built-in exception message: It shows
|
|
 |
e80043c |
more code context and the current values of nearby variables.
|
|
 |
e80043c |
|
|
 |
e80043c |
%prep
|
|
 |
e80043c |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
e80043c |
rm -rf %{pypi_name}.egg-info
|
|
 |
e80043c |
|
|
 |
e80043c |
%build
|
|
 |
e80043c |
%py3_build
|
|
 |
e80043c |
|
|
 |
e80043c |
%install
|
|
 |
e80043c |
%py3_install
|
|
 |
e80043c |
|
|
 |
e80043c |
%check
|
|
 |
e80043c |
%pytest -v tests
|
|
 |
e80043c |
|
|
 |
e80043c |
%files -n python3-%{pypi_name}
|
|
 |
e80043c |
%doc CHANGELOG.md README.md
|
|
 |
e80043c |
%license LICENSE.txt
|
|
 |
e80043c |
%{python3_sitelib}/%{pypi_name}/
|
|
 |
e80043c |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
 |
e80043c |
|
|
 |
e80043c |
%changelog
|
|
 |
c61a066 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-8
|
|
 |
c61a066 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
c61a066 |
|
|
 |
f736e5d |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-7
|
|
 |
f736e5d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
f736e5d |
|
|
 |
7838003 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.4-6
|
|
 |
7838003 |
- Rebuilt for Python 3.11
|
|
 |
7838003 |
|
|
 |
4eb03cb |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-5
|
|
 |
4eb03cb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
4eb03cb |
|
|
 |
efacbf4 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-4
|
|
 |
efacbf4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
efacbf4 |
|
|
 |
199bb29 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.4-3
|
|
 |
199bb29 |
- Rebuilt for Python 3.10
|
|
 |
199bb29 |
|
|
 |
f25c180 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
|
|
 |
f25c180 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
f25c180 |
|
|
 |
e80043c |
* Thu Sep 10 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.4-1
|
|
 |
e80043c |
- Initial package for Fedora
|