Name: python-pygments-ansi-color Version: 0.3.0 Release: %autorelease Summary: ANSI color-code highlighting License: Apache-2.0 URL: https://github.com/chriskuehl/pygments-ansi-color # PyPI tarball doesn't include tests Source: %{url}/archive/v%{version}/pygments-ansi-color-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: This package provides an ANSI color-code highlighting lexer for Pygments.} %description %_description %package -n python3-pygments-ansi-color Summary: %{summary} %description -n python3-pygments-ansi-color %_description %prep %autosetup -p1 -n pygments-ansi-color-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pygments_ansi_color %check %pytest %files -n python3-pygments-ansi-color -f %{pyproject_files} %doc README.md %changelog %autochangelog