# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) # SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors # SPDX-FileContributor: purofle # # SPDX-License-Identifier: MulanPSL-2.0 %global srcname stack_data Name: python-stack-data Version: 0.6.3 Release: %autorelease Summary: Extract data from python stack frames and tracebacks for informative displays License: MIT URL: https://github.com/alexmojaki/stack_data #!RemoteAsset: sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9 Source0: https://files.pythonhosted.org/packages/source/s/stack_data/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildSystem: pyproject BuildOption(install): -l %{srcname} BuildRequires: pyproject-rpm-macros BuildRequires: pkgconfig(python3) BuildRequires: python3dist(parso) BuildRequires: python3dist(pip) BuildRequires: python3dist(pytest) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(wheel) Provides: python3-%{srcname} %python_provide python3-%{srcname} %description This is a library that extracts data from stack frames and tracebacks, particularly to display more useful tracebacks than the default. It powers the tracebacks in IPython and futurecoder. %generate_buildrequires %pyproject_buildrequires %files -f %{pyproject_files} %doc README.md %license LICENSE.txt %changelog %{?autochangelog}