Blob Blame History Raw
%global _description %{expand:
pytest-sugar is a plugin for pytest that shows failures and errors instantly
and shows a progress bar.}

Name:           python-pytest-sugar
Version:        1.0.0
Release:        %autorelease
Summary:        Change the default look and feel of pytest

License:        BSD-3-Clause
Source0:        %{pypi_source pytest-sugar}

BuildArch:      noarch

%description %_description

%package -n python3-pytest-sugar
Summary:        %{summary}
BuildRequires:  python3-devel
BuildRequires:  %{py3_dist setuptools}
BuildRequires:  %{py3_dist pytest}

%description -n python3-pytest-sugar %_description

%autosetup -n pytest-sugar-%{version}



%pyproject_save_files -l pytest_sugar

PYTHONPATH=. %{pytest} -v -s

%files -n python3-pytest-sugar -f %{pyproject_files}