4 Commits

Author SHA1 Message Date
Troy Dawson
f4ff67929b epel8-playground decommissioned : https://pagure.io/epel/issue/136 2022-01-31 16:00:38 -08:00
Stephen Smoogen
36cd5cb593 remove package.cfg from merged files 2019-07-25 22:00:18 +00:00
Stephen Smoogen
feca160259 Downgrade to 3.1.1 because EL8 comes with earlier version we can't replace 2019-07-23 17:33:37 +00:00
Mohan Boddu
3e594f995a "Adding package.cfg file" 2019-07-18 16:07:32 -04:00
4 changed files with 1 additions and 88 deletions

2
.gitignore vendored
View File

@@ -1,2 +0,0 @@
/pytest-benchmark-3.1.1.tar.gz
/pytest-benchmark-3.2.2.tar.gz

1
dead.package Normal file
View File

@@ -0,0 +1 @@
epel8-playground decommissioned : https://pagure.io/epel/issue/136

View File

@@ -1,85 +0,0 @@
%global srcname pytest-benchmark
Name: python-%{srcname}
Version: 3.2.2
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-cpuinfo
BuildRequires: python3-pytest
%global _description\
This plugin provides a benchmark fixture. This fixture is a callable object\
that will benchmark any function passed to it.\
\
Notable features and goals:\
\
- Sensible defaults and automatic calibration for microbenchmarks\
- Good integration with pytest\
- Comparison and regression tracking\
- Exhausive statistics\
- JSON export
%description %_description
%package -n python3-%{srcname}
Summary: %summary
%{?python_provide:%python_provide python3-%{srcname}}
Requires: python3-pytest
Requires: python3-cpuinfo
%description -n python3-%{srcname} %_description
%prep
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-%{srcname}
%doc README.rst CHANGELOG.rst CONTRIBUTING.rst AUTHORS.rst
%license LICENSE
%{_bindir}/py.test-benchmark
%{_bindir}/pytest-benchmark
%{python3_sitelib}/pytest_benchmark
%{python3_sitelib}/pytest_benchmark-%{version}-py*.egg-info
%changelog
* 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
- 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

View File

@@ -1 +0,0 @@
SHA512 (pytest-benchmark-3.2.2.tar.gz) = ab9f6f6a6c40a8c5e563c58ac92d9f111e99e6e676d4c34809a702b08eb6bde20b7857895804a767a3f0e86ca89d192cb710e335efcb5d99e6bbad0868e3493a