|
 |
6e144d |
%global pypi_name pytest-expect
|
|
 |
6e144d |
|
|
 |
6e144d |
Name: python-%{pypi_name}
|
|
 |
6e144d |
Version: 1.1.0
|
|
 |
6e144d |
Release: 25%{?dist}
|
|
 |
6e144d |
Summary: py.test plugin to store test expectations and mark tests based on them
|
|
 |
6e144d |
|
|
 |
6e144d |
License: MIT
|
|
 |
6e144d |
URL: https://github.com/gsnedders/pytest-expect
|
|
 |
6e144d |
Source0: %pypi_source
|
|
 |
6e144d |
Source1: %{url}/raw/%{version}/LICENSE
|
|
 |
6e144d |
|
|
 |
6e144d |
# Explicitly require six, it is imported but was not required.
|
|
 |
6e144d |
# In the past, it might have been transitively pulled in by pytest.
|
|
 |
6e144d |
Patch: %{url}/pull/16.patch
|
|
 |
6e144d |
|
|
 |
6e144d |
BuildArch: noarch
|
|
 |
6e144d |
|
|
 |
6e144d |
BuildRequires: python3-devel
|
|
 |
6e144d |
|
|
 |
6e144d |
%description
|
|
 |
6e144d |
A py.test plugin that stores test expectations by saving the set of failing
|
|
 |
6e144d |
tests, allowing them to be marked as xfail when running them in future.
|
|
 |
6e144d |
The tests expectations are stored such that they can be distributed alongside
|
|
 |
6e144d |
the tests.
|
|
 |
6e144d |
|
|
 |
6e144d |
|
|
 |
6e144d |
%package -n python3-%{pypi_name}
|
|
 |
6e144d |
Summary: %{summary}
|
|
 |
6e144d |
|
|
 |
6e144d |
%description -n python3-%{pypi_name}
|
|
 |
6e144d |
A py.test plugin that stores test expectations by saving the set of failing
|
|
 |
6e144d |
tests, allowing them to be marked as xfail when running them in future.
|
|
 |
6e144d |
The tests expectations are stored such that they can be distributed alongside
|
|
 |
6e144d |
the tests.
|
|
 |
6e144d |
|
|
 |
6e144d |
|
|
 |
6e144d |
%prep
|
|
 |
6e144d |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
 |
6e144d |
cp -p %{SOURCE1} .
|
|
 |
6e144d |
|
|
 |
6e144d |
%generate_buildrequires
|
|
 |
6e144d |
%pyproject_buildrequires
|
|
 |
6e144d |
|
|
 |
6e144d |
%build
|
|
 |
6e144d |
%pyproject_wheel
|
|
 |
6e144d |
|
|
 |
6e144d |
|
|
 |
6e144d |
%install
|
|
 |
6e144d |
%pyproject_install
|
|
 |
6e144d |
%pyproject_save_files pytest_expect
|
|
 |
6e144d |
|
|
 |
6e144d |
|
|
 |
6e144d |
%check
|
|
 |
6e144d |
%pyproject_check_import
|
|
 |
6e144d |
|
|
 |
6e144d |
|
|
 |
6e144d |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
 |
6e144d |
%doc README.rst
|
|
 |
6e144d |
|
|
 |
6e144d |
|
|
 |
6e144d |
%changelog
|
|
 |
6e144d |
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-25
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-24
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.1.0-23
|
|
 |
6e144d |
- Rebuilt for Python 3.13
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-20
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-19
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-18
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.1.0-17
|
|
 |
6e144d |
- Rebuilt for Python 3.12
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-16
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-15
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.0-14
|
|
 |
6e144d |
- Rebuilt for Python 3.11
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Feb 04 2022 Steve Traylen <steve.traylen@cern.ch> - 1.1.0-13
|
|
 |
6e144d |
- Migrate to pyproject macros
|
|
 |
6e144d |
- Import the Python module during %%check phase
|
|
 |
6e144d |
- Patch to add missing requires of six
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-12
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-11
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.1.0-10
|
|
 |
6e144d |
- Rebuilt for Python 3.10
|
|
 |
6e144d |
|
|
 |
6e144d |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-9
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Sat May 23 2020 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-7
|
|
 |
6e144d |
- Rebuilt for Python 3.9
|
|
 |
6e144d |
|
|
 |
6e144d |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Thu Oct 03 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-5
|
|
 |
6e144d |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Aug 16 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-4
|
|
 |
6e144d |
- Rebuilt for Python 3.8
|
|
 |
6e144d |
|
|
 |
6e144d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
 |
6e144d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
6e144d |
|
|
 |
6e144d |
* Mon Aug 20 2018 Miro Hron훾ok <mhroncok@redhat.com> - 1.1.0-1
|
|
 |
6e144d |
- Initial package
|