You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
154 lines
5.1 KiB
154 lines
5.1 KiB
7 years ago
|
%global srcname pytest-benchmark
|
||
|
|
||
4 years ago
|
Name: python-%{srcname}
|
||
3 weeks ago
|
Version: 4.0.0
|
||
|
Release: 4%{?dist}
|
||
4 years ago
|
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
|
||
7 years ago
|
|
||
|
%global _description\
|
||
|
This plugin provides a benchmark fixture. This fixture is a callable object\
|
||
|
that will benchmark any function passed to it.\
|
||
|
\
|
||
|
Notable features and goals:\
|
||
|
\
|
||
|
- Sensible defaults and automatic calibration for microbenchmarks\
|
||
|
- Good integration with pytest\
|
||
|
- Comparison and regression tracking\
|
||
|
- Exhausive statistics\
|
||
|
- JSON export
|
||
|
|
||
|
%description %_description
|
||
|
|
||
|
%package -n python3-%{srcname}
|
||
4 years ago
|
Summary: %summary
|
||
|
%py_provides python3-%{srcname}
|
||
|
Requires: python3-pytest
|
||
|
Requires: python3-cpuinfo
|
||
7 years ago
|
|
||
|
%description -n python3-%{srcname} %_description
|
||
|
|
||
|
%prep
|
||
|
%autosetup -n %{srcname}-%{version}
|
||
|
|
||
|
%build
|
||
|
%py3_build
|
||
|
|
||
|
%install
|
||
|
%py3_install
|
||
|
|
||
|
%check
|
||
4 years ago
|
# Tests disabled (missing dependency: aspectlib)
|
||
|
#%%pytest
|
||
7 years ago
|
|
||
|
%files -n python3-%{srcname}
|
||
|
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
|
||
|
%license LICENSE
|
||
|
%{_bindir}/py.test-benchmark
|
||
|
%{_bindir}/pytest-benchmark
|
||
|
%{python3_sitelib}/pytest_benchmark
|
||
|
%{python3_sitelib}/pytest_benchmark-%{version}-py*.egg-info
|
||
|
|
||
|
%changelog
|
||
3 weeks ago
|
* Sat Dec 28 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 4.0.0-4
|
||
|
- Rebuilt for MSVSphere 10
|
||
|
|
||
|
* 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
|
||
|
|
||
4 years ago
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
4 years ago
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 3.4.1-2
|
||
|
- Rebuilt for Python 3.10
|
||
|
|
||
4 years ago
|
* Wed Jun 02 2021 Juan Orti Alcaine <jortialc@redhat.com> - 3.4.1-1
|
||
|
- Version 3.4.1
|
||
|
- Disable tests
|
||
|
|
||
4 years ago
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
4 years ago
|
* Thu Oct 08 2020 Juan Orti Alcaine <jortialc@redhat.com> - 3.2.3-4
|
||
|
- BR: python3-setuptools
|
||
|
|
||
5 years ago
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
5 years ago
|
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.3-2
|
||
|
- Rebuilt for Python 3.9
|
||
|
|
||
5 years ago
|
* Sun May 17 2020 Juan Orti Alcaine <jortialc@redhat.com> - 3.2.3-1
|
||
|
- Version 3.2.3
|
||
|
|
||
5 years ago
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-5
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
5 years ago
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-4
|
||
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||
|
|
||
5 years ago
|
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-3
|
||
|
- Rebuilt for Python 3.8
|
||
|
|
||
6 years ago
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
6 years ago
|
* Thu Apr 04 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-1
|
||
|
- Update to 3.2.2 for pytest 4 compatibility
|
||
|
|
||
6 years ago
|
* Sun Mar 03 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1.1-8
|
||
|
- Subpackage python2-pytest-benchmark has been removed
|
||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||
|
- Fix FTBFS caused by removal of python2-cpuinfo (#1675780)
|
||
|
|
||
6 years ago
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||
|
|
||
7 years ago
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||
|
|
||
7 years ago
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.1.1-5
|
||
|
- Rebuilt for Python 3.7
|
||
|
|
||
7 years ago
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||
|
|
||
7 years ago
|
* Fri Sep 01 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-3
|
||
|
- Reduce summary lenght
|
||
|
|
||
|
* Wed Aug 30 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-2
|
||
|
- Update BR
|
||
|
|
||
|
* Wed Aug 30 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-1
|
||
|
- Initial RPM release
|