Projects
home:Eustace:branches:Eulaceura:Factory
python-tbtrim
_service:obs_scm:python-tbtrim.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-tbtrim.spec of Package python-tbtrim
Name: python-tbtrim Version: 0.3.1 Release: 1 Summary: Utility to trim Python traceback information License: MIT URL: https://github.com/gousaiyang/tbtrim Source0: https://github.com/gousaiyang/tbtrim/archive/v0.3.1/tbtrim-0.3.1.tar.gz BuildArch: noarch %description tbtrim is a utility to trim Python traceback information. By assigning user- refined sys.excepthook, one can easily customize the behavior after an exception is raise and uncaught, and just before the interpreter prints out the given traceback and exception to sys.stderr. In a more human-readable way, tbtrim is to let you handle the last words of a program when it exits because of an exception. %package -n python3-tbtrim Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools %{?python_provide:%python_provide python3-tbtrim} %description -n python3-tbtrim tbtrim is a utility to trim Python traceback information. By assigning user- refined sys.excepthook, one can easily customize the behavior after an exception is raise and uncaught, and just before the interpreter prints out the given traceback and exception to sys.stderr. In a more human-readable way, tbtrim is to let you handle the last words of a program when it exits because of an exception. %prep %autosetup -n tbtrim-%{version} for file in README.md; do sed "s|\r||g" $file > $file.new && \ touch -r $file $file.new && \ mv $file.new $file done %build %py3_build %install %py3_install %files -n python3-tbtrim %doc README.md %license LICENSE %{python3_sitelib}/tbtrim.py %{python3_sitelib}/tbtrim*.egg-info/ %{python3_sitelib}/__pycache__/* %changelog * Thu Jul 08 2021 liliang <liliang@kylinos.cn> - 0.3.1-1 - Init project
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2