# Created by pyp2rpm-3.3.7 %global pypi_name executing %global pypi_version 0.8.2 Name: python-%{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: Get the currently executing AST node of a frame, and other information License: MIT URL: https://github.com/alexmojaki/executing Source0: https://files.pythonhosted.org/packages/source/e/%{pypi_name}/%{pypi_name}-%{pypi_version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools_scm BuildRequires: python%{python3_pkgversion}-asttokens BuildRequires: python%{python3_pkgversion}-toml %description executing[![Build Status]( [![Coverage Status]( [![Supports Python versions 2.7 and 3.4+, including PyPy]( mini-package lets you get information about what a frame is currently doing, particularly the AST node being executed.* [Usage](usage) * [Getting the AST node](getting-the-ast-node) %package -n python%{python3_pkgversion}-%{pypi_name} Recommends: python%{python3_pkgversion}-asttokens Summary: Get the currently executing AST node of a frame, and other information %description -n python%{python3_pkgversion}-%{pypi_name} executing[![Build Status]( [![Coverage Status]( [![Supports Python versions 2.7 and 3.4+, including PyPy]( mini-package lets you get information about what a frame is currently doing, particularly the AST node being executed.* [Usage](usage) * [Getting the AST node](getting-the-ast-node) %prep %autosetup -n %{pypi_name}-%{pypi_version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %{__python3} setup.py build %install %{__python3} setup.py install --skip-build --root %{buildroot} %check %{__python3} setup.py test %files -n python%{python3_pkgversion}-%{pypi_name} %doc README.md %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info %changelog * Wed Feb 16 2022 mockbuild - 0.8.2-1 - Initial package.