1
0

Accepting request 1157060 from devel:languages:python:pytest

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1157060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-benchmark?expand=0&rev=13
This commit is contained in:
Ana Guerrero 2024-03-13 21:16:36 +00:00 committed by Git OBS Bridge
commit 8aecf3cf88
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 4 22:09:46 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:31:29 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:31:29 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-benchmark # spec file for package python-pytest-benchmark
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -34,18 +34,20 @@ Patch2: ignore-deprecationwarning.patch
BuildRequires: %{python_module aspectlib} BuildRequires: %{python_module aspectlib}
BuildRequires: %{python_module elasticsearch} BuildRequires: %{python_module elasticsearch}
BuildRequires: %{python_module freezegun} BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module py-cpuinfo} BuildRequires: %{python_module py-cpuinfo}
BuildRequires: %{python_module pygaljs} BuildRequires: %{python_module pygaljs}
BuildRequires: %{python_module pygal} BuildRequires: %{python_module pygal}
BuildRequires: %{python_module pytest >= 3.8} BuildRequires: %{python_module pytest >= 3.8}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: git-core BuildRequires: git-core
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-py-cpuinfo Requires: python-py-cpuinfo
Requires: python-pytest >= 3.8 Requires: python-pytest >= 3.8
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
Recommends: python-aspectlib Recommends: python-aspectlib
Recommends: python-elasticsearch Recommends: python-elasticsearch
Recommends: python-pygal Recommends: python-pygal
@ -65,10 +67,10 @@ rm -f tests/test_cli.py
sed -i -e '/test_fast PASSED/d' -e '/test_fast SKIPPED/d' tests/test_benchmark.py sed -i -e '/test_fast PASSED/d' -e '/test_fast SKIPPED/d' tests/test_benchmark.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/pytest-benchmark %python_clone -a %{buildroot}%{_bindir}/pytest-benchmark