e80043c
%global pypi_name stackprinter
e80043c
e80043c
Name:           python-%{pypi_name}
9a9f223
Version:        0.2.10
474b775
Release:        2%{?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
474b775
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 0.2.10-2
474b775
- Rebuilt for Python 3.13
474b775
9a9f223
* Sun Apr 07 2024 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.10-1
9a9f223
- Update to latest upstream release 0.2.10 (closes rhbz#2251467)
9a9f223
67eefe0
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-12
67eefe0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
67eefe0
24d6957
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-11
24d6957
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
24d6957
da2cb71
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-10
da2cb71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
da2cb71
318959e
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.2.4-9
318959e
- Rebuilt for Python 3.12
318959e
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