Blob Blame History Raw
%global srcname ansible-pygments
%global pypiname ansible_pygments
%global pkgname python-%{srcname}

Name:    %{pkgname}
Version: 0.1.1
Release: 1%{?dist}
Summary: Provides Pygments highlighter for Ansible output for use in Sphinx
Source:    %{url}/archive/%{version}/%{pypiname}-%{version}.tar.gz
License:   BSD
BuildArch: noarch

BuildRequires: python3-devel

%global _description %{expand:
This project provides a Pygments lexer that is able to handle Ansible output.
It may be used anywhere Pygments is integrated. The lexer is registered
globally under the name ansible-output.

It also provides a Pygments style for tools needing to highlight code snippets.

%description %{_description}

%package -n python3-%{srcname}
Summary: %summary

%py_provides python3-%{srcname}

%description -n python3-%{srcname} %{_description}

%autosetup -p1 -n %{srcname}-%{version}

%pyproject_buildrequires -t



%pyproject_save_files %{pypiname}


%files -n python3-%{srcname} -f %{pyproject_files}

* Mon Feb 07 2022 Karolina Surma <> - 0.1.1-1
- Update to 0.1.1
Resolves: rhbz#2042303

* Fri Jan 21 2022 Fedora Release Engineering <> - 0.1.0-2
- Rebuilt for

* Sun Oct 03 2021 Chedi Toueiti <> - 0.1.0-1
- Initial commit version 0.1.0