Compare commits
@@ -1 +1,5 @@
|
|||||||
/pytest-benchmark-3.1.1.tar.gz
|
/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
|
||||||
|
/pytest-benchmark-4.0.0.tar.gz
|
||||||
|
|||||||
+101
-49
@@ -1,26 +1,22 @@
|
|||||||
%global srcname pytest-benchmark
|
%global srcname pytest-benchmark
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 3.1.1
|
Version: 4.0.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: A py.test fixture for benchmarking code
|
Summary: A py.test fixture for benchmarking code
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://pytest-benchmark.readthedocs.io
|
URL: https://pytest-benchmark.readthedocs.io
|
||||||
Source: https://github.com/ionelmc/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
Source: https://github.com/ionelmc/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-setuptools
|
||||||
# Tests BR
|
# Tests
|
||||||
BuildRequires: python2-cpuinfo
|
#BuildRequires: python3-cpuinfo
|
||||||
BuildRequires: python3-cpuinfo
|
#BuildRequires: python3-pytest
|
||||||
BuildRequires: python2-pytest
|
#BuildRequires: python3-elasticsearch
|
||||||
BuildRequires: python3-pytest
|
#BuildRequires: python3-freezegun
|
||||||
BuildRequires: python2-statistics
|
#BuildRequires: python3-pytest-xdist
|
||||||
%if 0%{?fedora} >= 28
|
#BuildRequires: python3-pygal
|
||||||
BuildRequires: python2-pathlib
|
|
||||||
%else
|
|
||||||
BuildRequires: python-pathlib
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
This plugin provides a benchmark fixture. This fixture is a callable object\
|
This plugin provides a benchmark fixture. This fixture is a callable object\
|
||||||
@@ -36,25 +32,11 @@ Notable features and goals:\
|
|||||||
|
|
||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
%package -n python2-%{srcname}
|
|
||||||
Summary: %summary
|
|
||||||
%{?python_provide:%python_provide python2-%{srcname}}
|
|
||||||
Requires: python2-pytest
|
|
||||||
Requires: python2-cpuinfo
|
|
||||||
Requires: python2-statistics
|
|
||||||
%if 0%{?fedora} >= 28
|
|
||||||
Requires: python2-pathlib
|
|
||||||
%else
|
|
||||||
Requires: python-pathlib
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description -n python2-%{srcname} %_description
|
|
||||||
|
|
||||||
%package -n python3-%{srcname}
|
%package -n python3-%{srcname}
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%py_provides python3-%{srcname}
|
||||||
Requires: python3-pytest
|
Requires: python3-pytest
|
||||||
Requires: python3-cpuinfo
|
Requires: python3-cpuinfo
|
||||||
|
|
||||||
%description -n python3-%{srcname} %_description
|
%description -n python3-%{srcname} %_description
|
||||||
|
|
||||||
@@ -62,22 +44,14 @@ Requires: python3-cpuinfo
|
|||||||
%autosetup -n %{srcname}-%{version}
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
# Tests disabled (missing dependency: aspectlib)
|
||||||
%{__python3} setup.py test
|
#%%pytest
|
||||||
|
|
||||||
%files -n python2-%{srcname}
|
|
||||||
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitelib}/pytest_benchmark
|
|
||||||
%{python2_sitelib}/pytest_benchmark-%{version}-py*.egg-info
|
|
||||||
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
|
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
|
||||||
@@ -88,6 +62,84 @@ Requires: python3-cpuinfo
|
|||||||
%{python3_sitelib}/pytest_benchmark-%{version}-py*.egg-info
|
%{python3_sitelib}/pytest_benchmark-%{version}-py*.egg-info
|
||||||
|
|
||||||
%changelog
|
%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
|
||||||
|
|
||||||
|
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.3-2
|
||||||
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
* Sun May 17 2020 Juan Orti Alcaine <jortialc@redhat.com> - 3.2.3-1
|
||||||
|
- Version 3.2.3
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-4
|
||||||
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-3
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Apr 04 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-1
|
||||||
|
- Update to 3.2.2 for pytest 4 compatibility
|
||||||
|
|
||||||
|
* 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)
|
||||||
|
|
||||||
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.1.1-5
|
||||||
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Sep 01 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-3
|
* Fri Sep 01 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-3
|
||||||
- Reduce summary lenght
|
- Reduce summary lenght
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
SHA512 (pytest-benchmark-3.1.1.tar.gz) = 4a037fc3133b93a5a5ae914c92bc03468812aaa883cfbfeca35877003ebad781ab0dd4fc941eb6d9c7c44d7bf5380585ce04392c77278c54b7b4ebe5911a09f8
|
SHA512 (pytest-benchmark-4.0.0.tar.gz) = 88636e44c184f5072ad081a89f08e8838a11397e6b88298d7f235b531f894792001b858fc5c810b1399d41ec55de5db9057552fb7544fb405a04c3ba5ffbe329
|
||||||
|
|||||||
Reference in New Issue
Block a user