|
|
8b5573a |
%?python_enable_dependency_generator
|
|
|
d4e055e |
%global srcname pytest-cov
|
|
|
d4e055e |
|
|
|
35d3fc4 |
%if 0%{?fedora} >= 32
|
|
|
35d3fc4 |
%bcond_with python2
|
|
|
35d3fc4 |
%else
|
|
|
35d3fc4 |
%bcond_without python2
|
|
|
35d3fc4 |
%endif
|
|
|
35d3fc4 |
|
|
|
d4e055e |
Name: python-%{srcname}
|
|
|
34b4d0b |
Version: 2.10.1
|
|
|
34b4d0b |
Release: 1%{?dist}
|
|
|
d4e055e |
Summary: Pytest plugin for coverage reporting
|
|
|
d4e055e |
|
|
|
d4e055e |
License: MIT
|
|
|
d4e055e |
URL: https://pypi.python.org/pypi/%{srcname}
|
|
Orion Poplawski |
5dc1b67 |
Source0: https://github.com/pytest-dev/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|
|
d4e055e |
|
|
|
d4e055e |
BuildArch: noarch
|
|
|
d4e055e |
|
|
|
d4e055e |
%description
|
|
|
d4e055e |
Py.test plugin for coverage reporting with support for both centralised and
|
|
Orion Poplawski |
5dc1b67 |
distributed testing, including subprocesses and multiprocessing for Python.
|
|
Orion Poplawski |
5dc1b67 |
|
|
Orion Poplawski |
a5aad57 |
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
d4e055e |
Summary: Pytest plugin for coverage reporting
|
|
Orion Poplawski |
a5aad57 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
Orion Poplawski |
a5aad57 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
8b5573a |
BuildRequires: python%{python3_pkgversion}-pytest >= 3.6
|
|
|
adc0afe |
BuildRequires: python%{python3_pkgversion}-coverage >= 4.4
|
|
Orion Poplawski |
7e71bb9 |
# For tests
|
|
|
baf0ab0 |
BuildRequires: python%{python3_pkgversion}-fields
|
|
Orion Poplawski |
a5aad57 |
BuildRequires: python%{python3_pkgversion}-process-tests
|
|
Orion Poplawski |
5dc1b67 |
BuildRequires: python%{python3_pkgversion}-six
|
|
Orion Poplawski |
a5aad57 |
BuildRequires: python%{python3_pkgversion}-virtualenv
|
|
|
7bfd331 |
BuildRequires: python%{python3_pkgversion}-pytest-xdist
|
|
Orion Poplawski |
5dc1b67 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
|
d4e055e |
|
|
Orion Poplawski |
a5aad57 |
%description -n python%{python3_pkgversion}-%{srcname}
|
|
|
d4e055e |
Py.test plugin for coverage reporting with support for both centralised and
|
|
|
d4e055e |
distributed testing, including subprocesses and multiprocessing for Python 3.
|
|
|
d4e055e |
|
|
|
d4e055e |
%prep
|
|
|
74f5adb |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
d4e055e |
rm -rf *.egg-info
|
|
|
d4e055e |
|
|
|
d4e055e |
%build
|
|
Orion Poplawski |
7e71bb9 |
%py3_build
|
|
|
d4e055e |
|
|
|
d4e055e |
%install
|
|
Orion Poplawski |
7e71bb9 |
%py3_install
|
|
|
d4e055e |
|
|
Robert Kuska |
020dbd3 |
%check
|
|
Your Name |
a3fc9fd |
echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py
|
|
Your Name |
a3fc9fd |
export PYTHONPATH="$(pwd)"/build/lib
|
|
|
7f99820 |
py.test-%{python3_version} -vv \
|
|
|
47d94ed |
-k "not test_dist_missing_data and not test_subprocess_with_path_aliasing and not test_dist_combine_racecondition and not central_subprocess and not dist_subprocess"
|
|
|
d4e055e |
|
|
Orion Poplawski |
a5aad57 |
%files -n python%{python3_pkgversion}-%{srcname}
|
|
Orion Poplawski |
7e71bb9 |
%license LICENSE
|
|
Orion Poplawski |
7e71bb9 |
%doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst
|
|
|
d4e055e |
%{python3_sitelib}/*
|
|
|
d4e055e |
|
|
|
d4e055e |
|
|
|
d4e055e |
%changelog
|
|
|
34b4d0b |
* Fri Aug 14 2020 Chedi Toueiti <chedi.toueiti@gmail.com> - 2.10.1-1
|
|
|
34b4d0b |
- Update to 2.10.1 (#1868968)
|
|
|
34b4d0b |
|
|
|
14c621d |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-2
|
|
|
14c621d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
14c621d |
|
|
|
ff0084c |
* Thu Jul 9 2020 Chedi Toueiti <chedi.toueiti@gmail.com> - 2.10.0
|
|
|
ff0084c |
- Update to 2.10.0
|
|
|
ff0084c |
|
|
|
f95654d |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 2.8.1-6
|
|
|
f95654d |
- Rebuilt for Python 3.9
|
|
|
f95654d |
|
|
Your Name |
a3fc9fd |
* Mon Mar 2 2020 Chedi Toueiti <chedi.toueiti@gmail.com> - 2.8.1-5
|
|
Your Name |
a3fc9fd |
- Forcing current pytest-cov version usage during checks
|
|
Your Name |
a3fc9fd |
|
|
|
f477dab |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.1-4
|
|
|
f477dab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f477dab |
|
|
|
47d94ed |
* Sun Jan 19 2020 Lumír Balhar <lbalhar@redhat.com> - 2.8.1-3
|
|
|
47d94ed |
- Unskip tests which are working with the newest coverage
|
|
|
47d94ed |
|
|
|
35d3fc4 |
* Sun Nov 3 2019 Orion Poplawski <orion@nwra.com> - 2.8.1-2
|
|
|
35d3fc4 |
- Drop python 2 for F32+ (bz#1767517)
|
|
|
35d3fc4 |
|
|
|
730169d |
* Sat Oct 5 2019 Orion Poplawski <orion@nwra.com> - 2.8.1-1
|
|
|
730169d |
- Update to 2.8.1
|
|
|
730169d |
|
|
|
dbd1b7d |
* Fri Oct 4 2019 Orion Poplawski <orion@nwra.com> - 2.8.0-1
|
|
|
dbd1b7d |
- Update to 2.8.0
|
|
|
dbd1b7d |
|
|
|
933c81c |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.1-6
|
|
|
933c81c |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
933c81c |
|
|
|
d158875 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.1-5
|
|
|
d158875 |
- Rebuilt for Python 3.8
|
|
|
d158875 |
|
|
|
8b5573a |
* Fri Aug 16 2019 Orion Poplawski <orion@nwra.com> - 2.7.1-4
|
|
|
8b5573a |
- Enable python dependency generator
|
|
|
8b5573a |
- Specify minimum pytest requirement in BR
|
|
|
8b5573a |
|
|
|
6c22b06 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-3
|
|
|
6c22b06 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
6c22b06 |
|
|
|
87e5181 |
* Thu May 16 2019 Lumír Balhar <lbalhar@redhat.com> - 2.7.1-2
|
|
|
87e5181 |
- Skip three tests (multiprocessing_pool) to fix FTBFS with Python 3.8
|
|
|
87e5181 |
|
|
|
7f99820 |
* Sun May 5 2019 Orion Poplawski <orion@nwra.com> - 2.7.1-1
|
|
|
7f99820 |
- Update to 2.7.1
|
|
|
7f99820 |
|
|
|
baf0ab0 |
* Thu Apr 04 2019 Miro Hrončok <mhroncok@redhat.com> - 2.6.1-1
|
|
|
baf0ab0 |
- Update to 2.6.1 for pytest 4 compatibility
|
|
|
baf0ab0 |
|
|
|
7bfd331 |
* Tue Feb 12 2019 Orion Poplawski <orion@nwra.com> - 2.6.0-3
|
|
|
7bfd331 |
- Build with pytest-xdist
|
|
|
7bfd331 |
|
|
|
204a297 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
|
|
|
204a297 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
204a297 |
|
|
|
adc0afe |
* Wed Dec 05 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 2.6.0-1
|
|
|
adc0afe |
- Update to 2.6.0.
|
|
|
adc0afe |
|
|
|
62fa013 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-6
|
|
|
62fa013 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
62fa013 |
|
|
|
ce53ba5 |
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 2.5.1-5
|
|
|
ce53ba5 |
- Rebuilt for Python 3.7
|
|
|
ce53ba5 |
|
|
|
d88bcfd |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-4
|
|
|
d88bcfd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d88bcfd |
|
|
Orion Poplawski |
5dc1b67 |
* Wed Aug 9 2017 Orion Poplawski <orion@cora.nwra.com> - 2.5.1-3
|
|
Orion Poplawski |
5dc1b67 |
- Ship python2-pytest-cov
|
|
Orion Poplawski |
5dc1b67 |
|
|
|
0f74c0a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-2
|
|
|
0f74c0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0f74c0a |
|
|
Orion Poplawski |
d8c4c1f |
* Fri May 12 2017 Orion Poplawski <orion@cora.nwra.com> - 2.5.1-1
|
|
Orion Poplawski |
d8c4c1f |
- Update to 2.5.1
|
|
Orion Poplawski |
d8c4c1f |
|
|
Orion Poplawski |
1eb27e6 |
* Wed May 10 2017 Orion Poplawski <orion@cora.nwra.com> - 2.5.0-1
|
|
Orion Poplawski |
1eb27e6 |
- Update to 2.5.0
|
|
Orion Poplawski |
1eb27e6 |
|
|
|
e8ef211 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
|
|
|
e8ef211 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e8ef211 |
|
|
|
c3394f1 |
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 2.4.0-2
|
|
|
c3394f1 |
- Rebuild for Python 3.6
|
|
|
c3394f1 |
|
|
Orion Poplawski |
a5aad57 |
* Mon Oct 10 2016 Orion Poplawski <orion@cora.nwra.com> - 2.4.0-1
|
|
Orion Poplawski |
a5aad57 |
- Update to 2.4.0
|
|
Orion Poplawski |
a5aad57 |
|
|
|
b9f4120 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-2
|
|
|
b9f4120 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
b9f4120 |
|
|
Orion Poplawski |
d825a64 |
* Thu Jul 7 2016 Orion Poplawski <orion@cora.nwra.com> - 2.3.0-1
|
|
Orion Poplawski |
d825a64 |
- Update to 2.3.0
|
|
Orion Poplawski |
d825a64 |
|
|
Orion Poplawski |
06e3c0f |
* Mon May 23 2016 Orion Poplawski <orion@cora.nwra.com> - 2.2.1-1
|
|
Orion Poplawski |
06e3c0f |
- Ignore failing tests
|
|
Orion Poplawski |
06e3c0f |
|
|
Orion Poplawski |
1730544 |
* Sat Feb 13 2016 Orion Poplawski <orion@cora.nwra.com> - 2.2.1-1
|
|
Orion Poplawski |
1730544 |
- Update to 2.2.1
|
|
Orion Poplawski |
1730544 |
|
|
|
9236edf |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-3
|
|
|
9236edf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9236edf |
|
|
Robert Kuska |
fa3fb13 |
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 2.2.0-2
|
|
Robert Kuska |
fa3fb13 |
- Rebuilt for Python3.5 rebuild
|
|
Robert Kuska |
fa3fb13 |
- Skip tests for a python3 rebuild as it seems to be env failure
|
|
Robert Kuska |
fa3fb13 |
|
|
Orion Poplawski |
a180007 |
* Mon Oct 5 2015 Orion Poplawski <orion@cora.nwra.com> - 2.2.0-1
|
|
Orion Poplawski |
a180007 |
- Update to 2.2.0
|
|
Orion Poplawski |
a180007 |
|
|
Orion Poplawski |
7e71bb9 |
* Mon Sep 14 2015 Orion Poplawski <orion@cora.nwra.com> - 2.1.0-2
|
|
Orion Poplawski |
7e71bb9 |
- Modernize spec
|
|
Orion Poplawski |
7e71bb9 |
- Run tests properly, skipping xdist tests for now
|
|
Orion Poplawski |
7e71bb9 |
|
|
|
9020e26 |
* Mon Sep 14 2015 Tomas Tomecek <ttomecek@redhat.com> - 2.1.0-1
|
|
|
9020e26 |
- upstream release 2.1.0
|
|
|
9020e26 |
|
|
|
c92eb5a |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
|
|
|
c92eb5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c92eb5a |
|
|
|
3232324 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
|
|
|
3232324 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
3232324 |
|
|
|
05be5ac |
* Tue May 27 2014 Orion Poplawski <orion@cora.nwra.com> - 1.6-2
|
|
|
05be5ac |
- Rebuild for Python 3.4
|
|
|
05be5ac |
|
|
|
d4e055e |
* Tue Feb 25 2014 Orion Poplawski <orion@cora.nwra.com> - 1.6-1
|
|
|
d4e055e |
- Initial package
|