|
|
ad929d |
%global srcname pytest-benchmark
|
|
|
ad929d |
|
|
|
ad929d |
Name: python-%{srcname}
|
|
|
ad929d |
Version: 3.2.3
|
|
|
ad929d |
Release: 5%{?dist}
|
|
|
ad929d |
Summary: A py.test fixture for benchmarking code
|
|
|
ad929d |
License: BSD
|
|
|
ad929d |
URL: https://pytest-benchmark.readthedocs.io
|
|
|
ad929d |
Source: https://github.com/ionelmc/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|
|
ad929d |
BuildArch: noarch
|
|
|
ad929d |
BuildRequires: python3-devel
|
|
|
ad929d |
BuildRequires: python3-setuptools
|
|
|
ad929d |
BuildRequires: python3-cpuinfo
|
|
|
ad929d |
BuildRequires: python3-pytest
|
|
|
ad929d |
|
|
|
ad929d |
%global _description\
|
|
|
ad929d |
This plugin provides a benchmark fixture. This fixture is a callable object\
|
|
|
ad929d |
that will benchmark any function passed to it.\
|
|
|
ad929d |
\
|
|
|
ad929d |
Notable features and goals:\
|
|
|
ad929d |
\
|
|
|
ad929d |
- Sensible defaults and automatic calibration for microbenchmarks\
|
|
|
ad929d |
- Good integration with pytest\
|
|
|
ad929d |
- Comparison and regression tracking\
|
|
|
ad929d |
- Exhausive statistics\
|
|
|
ad929d |
- JSON export
|
|
|
ad929d |
|
|
|
ad929d |
%description %_description
|
|
|
ad929d |
|
|
|
ad929d |
%package -n python3-%{srcname}
|
|
|
ad929d |
Summary: %summary
|
|
|
ad929d |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
ad929d |
Requires: python3-pytest
|
|
|
ad929d |
Requires: python3-cpuinfo
|
|
|
ad929d |
|
|
|
ad929d |
%description -n python3-%{srcname} %_description
|
|
|
ad929d |
|
|
|
ad929d |
%prep
|
|
|
ad929d |
%autosetup -n %{srcname}-%{version}
|
|
|
ad929d |
|
|
|
ad929d |
%build
|
|
|
ad929d |
%py3_build
|
|
|
ad929d |
|
|
|
ad929d |
%install
|
|
|
ad929d |
%py3_install
|
|
|
ad929d |
|
|
|
ad929d |
%check
|
|
|
ad929d |
%{__python3} setup.py test
|
|
|
ad929d |
|
|
|
ad929d |
%files -n python3-%{srcname}
|
|
|
ad929d |
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
|
|
|
ad929d |
%license LICENSE
|
|
|
ad929d |
%{_bindir}/py.test-benchmark
|
|
|
ad929d |
%{_bindir}/pytest-benchmark
|
|
|
ad929d |
%{python3_sitelib}/pytest_benchmark
|
|
|
ad929d |
%{python3_sitelib}/pytest_benchmark-%{version}-py*.egg-info
|
|
|
ad929d |
|
|
|
ad929d |
%changelog
|
|
|
ad929d |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-5
|
|
|
ad929d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
ad929d |
|
|
|
ad929d |
* Thu Oct 08 2020 Juan Orti Alcaine <jortialc@redhat.com> - 3.2.3-4
|
|
|
ad929d |
- BR: python3-setuptools
|
|
|
ad929d |
|
|
|
ad929d |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-3
|
|
|
ad929d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ad929d |
|
|
|
ad929d |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.3-2
|
|
|
ad929d |
- Rebuilt for Python 3.9
|
|
|
ad929d |
|
|
|
ad929d |
* Sun May 17 2020 Juan Orti Alcaine <jortialc@redhat.com> - 3.2.3-1
|
|
|
ad929d |
- Version 3.2.3
|
|
|
ad929d |
|
|
|
ad929d |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-5
|
|
|
ad929d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ad929d |
|
|
|
ad929d |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-4
|
|
|
ad929d |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
ad929d |
|
|
|
ad929d |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-3
|
|
|
ad929d |
- Rebuilt for Python 3.8
|
|
|
ad929d |
|
|
|
ad929d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
|
|
|
ad929d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ad929d |
|
|
|
ad929d |
* Thu Apr 04 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-1
|
|
|
ad929d |
- Update to 3.2.2 for pytest 4 compatibility
|
|
|
ad929d |
|
|
|
ad929d |
* Sun Mar 03 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1.1-8
|
|
|
ad929d |
- Subpackage python2-pytest-benchmark has been removed
|
|
|
ad929d |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
ad929d |
- Fix FTBFS caused by removal of python2-cpuinfo (#1675780)
|
|
|
ad929d |
|
|
|
ad929d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-7
|
|
|
ad929d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
ad929d |
|
|
|
ad929d |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-6
|
|
|
ad929d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ad929d |
|
|
|
ad929d |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.1.1-5
|
|
|
ad929d |
- Rebuilt for Python 3.7
|
|
|
ad929d |
|
|
|
ad929d |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-4
|
|
|
ad929d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
ad929d |
|
|
|
ad929d |
* Fri Sep 01 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-3
|
|
|
ad929d |
- Reduce summary lenght
|
|
|
ad929d |
|
|
|
ad929d |
* Wed Aug 30 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-2
|
|
|
ad929d |
- Update BR
|
|
|
ad929d |
|
|
|
ad929d |
* Wed Aug 30 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-1
|
|
|
ad929d |
- Initial RPM release
|