|
|
|
@@ -1,16 +1,22 @@
|
|
|
|
|
%global srcname pytest-benchmark
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 3.2.3
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: A py.test fixture for benchmarking code
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://pytest-benchmark.readthedocs.io
|
|
|
|
|
Source: https://github.com/ionelmc/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-cpuinfo
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 4.0.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: A py.test fixture for benchmarking code
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://pytest-benchmark.readthedocs.io
|
|
|
|
|
Source: https://github.com/ionelmc/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
# Tests
|
|
|
|
|
#BuildRequires: python3-cpuinfo
|
|
|
|
|
#BuildRequires: python3-pytest
|
|
|
|
|
#BuildRequires: python3-elasticsearch
|
|
|
|
|
#BuildRequires: python3-freezegun
|
|
|
|
|
#BuildRequires: python3-pytest-xdist
|
|
|
|
|
#BuildRequires: python3-pygal
|
|
|
|
|
|
|
|
|
|
%global _description\
|
|
|
|
|
This plugin provides a benchmark fixture. This fixture is a callable object\
|
|
|
|
@@ -27,10 +33,10 @@ Notable features and goals:\
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{srcname}
|
|
|
|
|
Summary: %summary
|
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
|
Requires: python3-pytest
|
|
|
|
|
Requires: python3-cpuinfo
|
|
|
|
|
Summary: %summary
|
|
|
|
|
%py_provides python3-%{srcname}
|
|
|
|
|
Requires: python3-pytest
|
|
|
|
|
Requires: python3-cpuinfo
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{srcname} %_description
|
|
|
|
|
|
|
|
|
@@ -44,7 +50,8 @@ Requires: python3-cpuinfo
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
# Tests disabled (missing dependency: aspectlib)
|
|
|
|
|
#%%pytest
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
|
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
|
|
|
|
@@ -55,6 +62,43 @@ Requires: python3-cpuinfo
|
|
|
|
|
%{python3_sitelib}/pytest_benchmark-%{version}-py*.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.0.0-3
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Oct 26 2022 Juan Orti Alcaine <jortialc@redhat.com> - 4.0.0-1
|
|
|
|
|
- Version 4.0.0 (#2137873)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.4.1-5
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 3.4.1-2
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Wed Jun 02 2021 Juan Orti Alcaine <jortialc@redhat.com> - 3.4.1-1
|
|
|
|
|
- Version 3.4.1
|
|
|
|
|
- Disable tests
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 08 2020 Juan Orti Alcaine <jortialc@redhat.com> - 3.2.3-4
|
|
|
|
|
- BR: python3-setuptools
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|