|
|
|
@ -1,17 +1,22 @@
|
|
|
|
|
%global srcname pytest-benchmark
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 3.2.3
|
|
|
|
|
Release: 5%{?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
|
|
|
|
|
BuildRequires: python3-cpuinfo
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 3.4.1
|
|
|
|
|
Release: 1%{?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\
|
|
|
|
@ -28,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
|
|
|
|
|
|
|
|
|
@ -45,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
|
|
|
|
@ -56,6 +62,10 @@ Requires: python3-cpuinfo
|
|
|
|
|
%{python3_sitelib}/pytest_benchmark-%{version}-py*.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|