Blob Blame Raw
Name:		python-pytest-harvest
Version:	1.7.2
Release:	1%{?dist}
Summary:	Store data created during test execution and retrieve it at the end

License:	BSD
Source0:	%{pypi_source pytest-harvest}

Patch0:         0001-Fix-ResultsBag.__hash__-on-32-bit.patch

BuildArch:	noarch
BuildRequires:	pyproject-rpm-macros

Store data created during your pytest tests execution, and retrieve it
at the end of the session, e.g. for applicative benchmarking purposes.

%package -n python3-pytest-harvest
Summary: %{summary}
%{?python_provide:%python_provide python3-pytest-harvest}

%description -n python3-pytest-harvest

%autosetup -n pytest-harvest-%{version} -p1

cat >pyproject.toml <<EOF
requires = ["pytest-runner",
build-backend = "setuptools.build_meta"

sed -r -i "s/'pandoc', //"

mv -i -v pytest_harvest/tests/ .

%pyproject_buildrequires -r



%{__python3} -m pytest -v

%files -n python3-pytest-harvest
%license LICENSE

* Fri Sep 13 2019 Zbigniew Jędrzejewski-Szmek <> - 1.7.2-1
- Initial packaging