python-pytest-regressions/pytest-regressions.spec
li-miaomiao_zhr c73409ee6e Package init
2023-07-27 20:07:57 +08:00

51 lines
1.3 KiB
RPMSpec

%global _empty_manifest_terminate_build 0
%global pypi_name pytest-regressions
%global _description %{expand:
This pytest plugin makes it simple to test general data, images, files,
and numeric tables by saving *expected* data in a *data directory*
(courtesy of pytest-datadir) that can be used to verify that future runs
produce the same data.}
Name: python-%{pypi_name}
Version: 2.4.2
Release: 1
Summary: Pytest fixtures for writing regression tests
License: MIT
URL: https://pypi.org/project/pytest-regressions/
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%description %_description
%package -n python3-%{pypi_name}
Summary: Pytest fixtures for writing regression tests
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name} %_description
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/pytest_regressions-*.egg-info/
%{python3_sitelib}/pytest_regressions/
%changelog
* Thu Jul 27 2023 li-miaomiao_zhr <mmlidc@isoftstone.com> - 2.4.2-1
- Package init