15 Commits
f29 ... f35

Author SHA1 Message Date
Fedora Release Engineering
63d0a4a53f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 08:52:39 +00:00
Python Maint
b7a27e0810 Rebuilt for Python 3.10 2021-06-03 01:44:19 +02:00
Juan Orti Alcaine
2f0b21c6cc Version 3.4.1 2021-06-02 12:49:57 +02:00
Fedora Release Engineering
3defc8bcd0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 12:50:53 +00:00
Juan Orti Alcaine
88f132da70 Add BuildRequires: python3-setuptools 2020-10-08 20:15:31 +02:00
Fedora Release Engineering
166fc14cc4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 03:20:36 +00:00
Miro Hrončok
d4953c494b Rebuilt for Python 3.9 2020-05-24 05:00:46 +02:00
Juan Orti Alcaine
0fdbd8d25c Version 3.2.3 2020-05-17 22:22:56 +02:00
Fedora Release Engineering
cafb517839 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 14:41:07 +00:00
Miro Hrončok
ded6ed4eff Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:26:38 +02:00
Miro Hrončok
527d198f4a Rebuilt for Python 3.8 2019-08-17 14:51:37 +02:00
Fedora Release Engineering
bc8b789a18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 15:43:42 +00:00
Miro Hrončok
529bcbafdd Update to 3.2.2 for pytest 4 compatibility 2019-04-04 13:27:03 +02:00
Zbigniew Jędrzejewski-Szmek
e76f18b39e Subpackage python2-pytest-benchmark has been removed
FTBFS after
568d663a9e.
2019-03-03 16:55:47 +01:00
Fedora Release Engineering
71b29fb06e - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 08:48:29 +00:00
3 changed files with 75 additions and 50 deletions

3
.gitignore vendored
View File

@@ -1 +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

View File

@@ -1,26 +1,22 @@
%global srcname pytest-benchmark
Name: python-%{srcname}
Version: 3.1.1
Release: 6%{?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: python2-devel
BuildRequires: python3-devel
# Tests BR
BuildRequires: python2-cpuinfo
BuildRequires: python3-cpuinfo
BuildRequires: python2-pytest
BuildRequires: python3-pytest
BuildRequires: python2-statistics
%if 0%{?fedora} >= 28
BuildRequires: python2-pathlib
%else
BuildRequires: python-pathlib
%endif
Name: python-%{srcname}
Version: 3.4.1
Release: 3%{?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\
@@ -36,25 +32,11 @@ Notable features and goals:\
%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}
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
@@ -62,22 +44,14 @@ Requires: python3-cpuinfo
%autosetup -n %{srcname}-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} setup.py test
%{__python3} setup.py test
%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
# Tests disabled (missing dependency: aspectlib)
#%%pytest
%files -n python3-%{srcname}
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
@@ -88,6 +62,54 @@ Requires: python3-cpuinfo
%{python3_sitelib}/pytest_benchmark-%{version}-py*.egg-info
%changelog
* 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

View File

@@ -1 +1 @@
SHA512 (pytest-benchmark-3.1.1.tar.gz) = 4a037fc3133b93a5a5ae914c92bc03468812aaa883cfbfeca35877003ebad781ab0dd4fc941eb6d9c7c44d7bf5380585ce04392c77278c54b7b4ebe5911a09f8
SHA512 (pytest-benchmark-3.4.1.tar.gz) = 54fb5e3a176578b3c8f339878c7a9d047a0785befcbba42bb68c34b4b636d9b6f6a2097b36c5eefbbcf1a91f943bdae762c7978a0dba1af53514052f513ef4c5