1
0
Fork 0
fedora-cybersec/pwntools/python-colored-traceback.spec

53 lines
1.5 KiB
RPMSpec
Raw Normal View History

2021-05-22 16:36:34 +00:00
# Created by pyp2rpm-3.3.6
%global pypi_name colored-traceback
Name: python-%{pypi_name}
Version: 0.3.0
Release: 1%{?dist}
Summary: Automatically color uncaught exception tracebacks
License: ISC
URL: http://www.github.com/staticshock/colored-traceback.py
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
Colored Traceback Automatically color Python's uncaught exception
tracebacks.This one's for anybody who's ever struggled to read python's
stacktraces on the terminal. Something about the two-lines-per-frame approach
really just makes them tough to scan visually.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3dist(pygments)
%description -n python3-%{pypi_name}
Colored Traceback Automatically color Python's uncaught exception
tracebacks.This one's for anybody who's ever struggled to read python's
stacktraces on the terminal. Something about the two-lines-per-frame approach
really just makes them tough to scan visually.
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%doc README.rst
%{python3_sitelib}/colored_traceback
%{python3_sitelib}/colored_traceback-%{version}-py%{python3_version}.egg-info
%changelog
* Sat May 22 2021 Carlos Mogas da Silva <r3pek@r3pek.org> - 0.3.0-1
- Initial package.