|
|
da177a |
%global pypi_name pytest-expect
|
|
|
da177a |
|
|
|
da177a |
Name: python-%{pypi_name}
|
|
|
da177a |
Version: 1.1.0
|
|
|
da177a |
Release: 9%{?dist}
|
|
|
da177a |
Summary: py.test plugin to store test expectations and mark tests based on them
|
|
|
da177a |
|
|
|
da177a |
License: MIT
|
|
|
da177a |
URL: https://github.com/gsnedders/pytest-expect
|
|
|
da177a |
Source0: %pypi_source
|
|
|
da177a |
Source1: %{url}/raw/%{version}/LICENSE
|
|
|
da177a |
BuildArch: noarch
|
|
|
da177a |
|
|
|
da177a |
BuildRequires: python3-devel
|
|
|
da177a |
BuildRequires: python3-setuptools
|
|
|
da177a |
|
|
|
da177a |
%?python_enable_dependency_generator
|
|
|
da177a |
|
|
|
da177a |
%description
|
|
|
da177a |
A py.test plugin that stores test expectations by saving the set of failing
|
|
|
da177a |
tests, allowing them to be marked as xfail when running them in future.
|
|
|
da177a |
The tests expectations are stored such that they can be distributed alongside
|
|
|
da177a |
the tests.
|
|
|
da177a |
|
|
|
da177a |
|
|
|
da177a |
%package -n python3-%{pypi_name}
|
|
|
da177a |
Summary: %{summary}
|
|
|
da177a |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
da177a |
|
|
|
da177a |
%description -n python3-%{pypi_name}
|
|
|
da177a |
A py.test plugin that stores test expectations by saving the set of failing
|
|
|
da177a |
tests, allowing them to be marked as xfail when running them in future.
|
|
|
da177a |
The tests expectations are stored such that they can be distributed alongside
|
|
|
da177a |
the tests.
|
|
|
da177a |
|
|
|
da177a |
|
|
|
da177a |
%prep
|
|
|
da177a |
%autosetup -n %{pypi_name}-%{version}
|
|
|
da177a |
cp -p %{SOURCE1} .
|
|
|
da177a |
|
|
|
da177a |
%build
|
|
|
da177a |
%py3_build
|
|
|
da177a |
|
|
|
da177a |
|
|
|
da177a |
%install
|
|
|
da177a |
%py3_install
|
|
|
da177a |
|
|
|
da177a |
|
|
|
da177a |
%files -n python3-%{pypi_name}
|
|
|
da177a |
%license LICENSE
|
|
|
da177a |
%doc README.rst
|
|
|
da177a |
%{python3_sitelib}/pytest_expect
|
|
|
da177a |
%{python3_sitelib}/pytest_expect-%{version}-py%{python3_version}.egg-info
|
|
|
da177a |
|
|
|
da177a |
|
|
|
da177a |
%changelog
|
|
|
da177a |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
|
|
da177a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
da177a |
|
|
|
da177a |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
|
|
|
da177a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
da177a |
|
|
|
da177a |
* Sat May 23 2020 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-7
|
|
|
da177a |
- Rebuilt for Python 3.9
|
|
|
da177a |
|
|
|
da177a |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
|
|
|
da177a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
da177a |
|
|
|
da177a |
* Thu Oct 03 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-5
|
|
|
da177a |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
da177a |
|
|
|
da177a |
* Fri Aug 16 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-4
|
|
|
da177a |
- Rebuilt for Python 3.8
|
|
|
da177a |
|
|
|
da177a |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
|
|
da177a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
da177a |
|
|
|
da177a |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
da177a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
da177a |
|
|
|
da177a |
* Mon Aug 20 2018 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-1
|
|
|
da177a |
- Initial package
|