15
0
forked from pool/python-asv
Files
python-asv/python-asv.spec
Dirk Mueller 14454d9184 Accepting request 992740 from home:ohollmann:branches:devel:languages:python
-  Update to 0.5.1:
  * Bug Fixes
    * Packaging requirements-dev.txt file, used in setup.py. (#1013)
- Changes from 0.5:
  * New Features
    * Adding environment variables to build and benchmark commands. (#809, #833)
    * Added --strict option to asv run to set exit code on failure. (#865)
    * Added --no-stats option to asv compare and asv continuous. (#879)
    * Added --durations option to asv run and asv show for displaying benchmark
      run durations. (#838)
    * Added --date-period option to asv run for running benchmarks for commits
      separated by a constant time interval. (#835)
    * Web UI button to group regressions by benchmark. (#869)
    * Space-saving v2 file format for storing results. (#847)
    * timeraw_* benchmarks for measuring e.g. import times. (#832)
    * Support for using conda environment files for env setup. (#793)
  * API Changes
    * Results file format change requires asv update to update old data to v2
      format.
    * The configuration syntax for "matrix", "exclude", and "include" in
      asv.conf.json has changed. The old syntax is still supported, unless you
      are installing packages named req, env, env_nobuild.
  * Bug Fixes
    * When an asv find step fails due to timeout, assume runtime equal to
      timeout to allow bisection to proceed (#768)
    * Minor fixes and improvements (#897, #896, #888, #881, #877, #876, #875,
      #861, #870, #868, #867, #866, #864, #863, #857, #786, #854, #855, #852,
      #850, #844, #843, #842, #839, #841, #840, #837, #836, #834, #831, #830,
      #829, #828, #826, #825, #824)
  * Other Changes and Additions

OBS-URL: https://build.opensuse.org/request/show/992740
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asv?expand=0&rev=10
2022-08-04 20:57:27 +00:00

84 lines
2.5 KiB
RPMSpec

#
# spec file for package python-asv
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-asv
Version: 0.5.1
Release: 0
Summary: Airspeed Velocity: A Python history benchmarking tool
License: BSD-3-Clause AND MIT
Group: Development/Languages/Python
URL: https://github.com/airspeed-velocity/asv
Source: https://files.pythonhosted.org/packages/source/a/asv/asv-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: python-rpm-macros
Requires: python-six >= 1.4
Requires(post): update-alternatives
Requires(postun):update-alternatives
Suggests: python-python-hglib >= 1.5
# SECTION test requirements
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six >= 1.4}
BuildRequires: git
# /SECTION
%python_subpackages
%description
airspeed velocity (asv) is a tool for benchmarking Python packages
over their lifetime.
It is designed to benchmark a single project over its lifetime using
a given suite of benchmarks. The results are displayed in an
interactive web frontend that requires only a basic static webserver
to host.
%prep
%setup -q -n asv-%{version}
%build
export CFLAGS="%{optflags}"
%python_build
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/asv
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
#MVY: there are so MANY tests failing inside OBS - like test_continuous calling pip and building bad command line
exit 0
# % pytest
%post
%python_install_alternative asv
%postun
%python_uninstall_alternative asv
%files %{python_files}
%doc CHANGES.rst README.rst
%license LICENSE.rst
%python_alternative %{_bindir}/asv
%{python_sitearch}/*
%changelog