From 8954d420ccd89a4d4437faeb898c32338205760b Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Sat, 22 May 2021 17:36:34 +0100 Subject: [PATCH] Add python-colored-traceback --- pwntools/python-colored-traceback.spec | 52 ++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 pwntools/python-colored-traceback.spec diff --git a/pwntools/python-colored-traceback.spec b/pwntools/python-colored-traceback.spec new file mode 100644 index 0000000..6ebd918 --- /dev/null +++ b/pwntools/python-colored-traceback.spec @@ -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 - 0.3.0-1 +- Initial package.