diff --git a/.gitignore b/.gitignore index 5ce01e1..76cd9fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pytest-benchmark-3.1.1.tar.gz /pytest-benchmark-3.2.2.tar.gz /pytest-benchmark-3.2.3.tar.gz +/pytest-benchmark-3.4.1.tar.gz diff --git a/python-pytest-benchmark.spec b/python-pytest-benchmark.spec index bafa9e9..3209dfd 100644 --- a/python-pytest-benchmark.spec +++ b/python-pytest-benchmark.spec @@ -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 - 3.4.1-1 +- Version 3.4.1 +- Disable tests + * Wed Jan 27 2021 Fedora Release Engineering - 3.2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index f33fbed..a1e8c2d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pytest-benchmark-3.2.3.tar.gz) = 952dbe2a9af1ae5de966543eae3b4523a5418c8441785714cbb7a5d17697046f060befb4a40cf216526e2a9a63d91c598d65e65618bd78fc2d889c92cecbbe53 +SHA512 (pytest-benchmark-3.4.1.tar.gz) = 54fb5e3a176578b3c8f339878c7a9d047a0785befcbba42bb68c34b4b636d9b6f6a2097b36c5eefbbcf1a91f943bdae762c7978a0dba1af53514052f513ef4c5