Add python-colored-traceback
This commit is contained in:
parent
f34e2f6440
commit
8954d420cc
1 changed files with 52 additions and 0 deletions
52
pwntools/python-colored-traceback.spec
Normal file
52
pwntools/python-colored-traceback.spec
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
# 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.
|
Loading…
Reference in a new issue