Package init
This commit is contained in:
parent
c848e22a54
commit
c73409ee6e
BIN
pytest-regressions-2.4.2.tar.gz
Normal file
BIN
pytest-regressions-2.4.2.tar.gz
Normal file
Binary file not shown.
50
pytest-regressions.spec
Normal file
50
pytest-regressions.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
%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
|
||||||
Loading…
x
Reference in New Issue
Block a user