Compare commits
31
Commits
@@ -1,2 +1,6 @@
|
|||||||
/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.2.tar.gz
|
||||||
|
/pytest-benchmark-3.2.3.tar.gz
|
||||||
|
/pytest-benchmark-3.4.1.tar.gz
|
||||||
|
/pytest-benchmark-4.0.0.tar.gz
|
||||||
|
/pytest-benchmark-5.1.0.tar.gz
|
||||||
|
|||||||
@@ -1,85 +1,70 @@
|
|||||||
%global srcname pytest-benchmark
|
%global srcname pytest-benchmark
|
||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 3.2.2
|
Version: 5.1.0
|
||||||
Release: 1%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: A py.test fixture for benchmarking code
|
Summary: A py.test fixture for benchmarking code
|
||||||
License: BSD
|
# Automatically converted from old format: BSD - review is highly recommended.
|
||||||
URL: https://pytest-benchmark.readthedocs.io
|
License: LicenseRef-Callaway-BSD
|
||||||
Source: https://github.com/ionelmc/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
URL: https://pytest-benchmark.readthedocs.io
|
||||||
BuildArch: noarch
|
Source: https://github.com/ionelmc/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||||
BuildRequires: python3-devel
|
BuildArch: noarch
|
||||||
BuildRequires: python3-cpuinfo
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-pytest
|
|
||||||
|
|
||||||
%global _description\
|
%global _description %{expand:
|
||||||
This plugin provides a benchmark fixture. This fixture is a callable object\
|
This plugin provides a benchmark fixture. This fixture is a callable object
|
||||||
that will benchmark any function passed to it.\
|
that will benchmark any function passed to it.
|
||||||
\
|
|
||||||
Notable features and goals:\
|
Notable features and goals:
|
||||||
\
|
|
||||||
- Sensible defaults and automatic calibration for microbenchmarks\
|
- Sensible defaults and automatic calibration for microbenchmarks
|
||||||
- Good integration with pytest\
|
- Good integration with pytest
|
||||||
- Comparison and regression tracking\
|
- Comparison and regression tracking
|
||||||
- Exhausive statistics\
|
- Exhausive statistics
|
||||||
- JSON export
|
- JSON export}
|
||||||
|
|
||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
%package -n python3-%{srcname}
|
%package -n python3-%{srcname}
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
Requires: python3-pytest
|
||||||
Requires: python3-pytest
|
Requires: python3-cpuinfo
|
||||||
Requires: python3-cpuinfo
|
|
||||||
|
|
||||||
%description -n python3-%{srcname} %_description
|
%description -n python3-%{srcname} %_description
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{srcname}-%{version}
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
%pyproject_save_files -l pytest_benchmark
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test
|
# Tests disabled due to missing dependencies
|
||||||
|
#%%tox
|
||||||
|
|
||||||
%files -n python3-%{srcname}
|
%files -n python3-%{srcname} -f %{pyproject_files}
|
||||||
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
|
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
|
||||||
%license LICENSE
|
|
||||||
%{_bindir}/py.test-benchmark
|
%{_bindir}/py.test-benchmark
|
||||||
%{_bindir}/pytest-benchmark
|
%{_bindir}/pytest-benchmark
|
||||||
%{python3_sitelib}/pytest_benchmark
|
|
||||||
%{python3_sitelib}/pytest_benchmark-%{version}-py*.egg-info
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Apr 04 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-1
|
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-5
|
||||||
- Update to 3.2.2 for pytest 4 compatibility
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||||
|
|
||||||
* Sun Mar 03 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1.1-8
|
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 5.1.0-4
|
||||||
- Subpackage python2-pytest-benchmark has been removed
|
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||||
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
|
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 5.1.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-6
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.1.1-5
|
%autochangelog
|
||||||
- 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
|
|
||||||
- Reduce summary lenght
|
|
||||||
|
|
||||||
* Wed Aug 30 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-2
|
|
||||||
- Update BR
|
|
||||||
|
|
||||||
* Wed Aug 30 2017 Juan Orti Alcaine <jorti@fedoraproject.org> - 3.1.1-1
|
|
||||||
- Initial RPM release
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
SHA512 (pytest-benchmark-3.2.2.tar.gz) = ab9f6f6a6c40a8c5e563c58ac92d9f111e99e6e676d4c34809a702b08eb6bde20b7857895804a767a3f0e86ca89d192cb710e335efcb5d99e6bbad0868e3493a
|
SHA512 (pytest-benchmark-5.1.0.tar.gz) = 92f3d99d92f52de9f1099b4b29f0fdbb246a0a4f9a95f6a7fe56b555a64482c718629d55f35e4ff1a18c6d453e6598d59c987eb0db6ff41a29d084166c134831
|
||||||
|
|||||||
Reference in New Issue
Block a user