forked from pool/python-pytest-mpl
Accepting request 873529 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 0.12 * Fix passing a https url for baseline images from the CLI. [#89] * Added --mpl-baseline-relative option to specify baseline images relative to the test path. [#96] * Add option to do comparisons against a json library of sha256 hashes. [#98] * Drop support for matplotlib 1.5 and Python < 3.6. [#100] * Add support for generating a HTML summary of test faliures. [#101] * Add support for falling back to baseline image comparison if hash comparison fails. [#101] - Skip python2 and python36 flavors. python36-matplotlib is no longer in Tumbleweed (NEP 29) - Get test reference data from GitHub archive OBS-URL: https://build.opensuse.org/request/show/873529 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mpl?expand=0&rev=8
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-mpl
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,14 +17,18 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%define eggver 0.12
|
||||
Name: python-pytest-mpl
|
||||
Version: 0.11
|
||||
Version: 0.12.0
|
||||
Release: 0
|
||||
Summary: pytest plugin for testing Matplotlib figures
|
||||
Summary: Pytest plugin for testing Matplotlib figures
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/matplotlib/pytest-mpl
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-mpl/pytest-mpl-%{version}.tar.gz
|
||||
# get the test reference data from the GitHub archive
|
||||
Source: https://github.com/matplotlib/pytest-mpl/archive/v%{version}.tar.gz#/pytest-mpl-%{version}-gh.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -59,6 +63,7 @@ This is a pytest plugin to help with testing figures output from Matplotlib.
|
||||
%files %{python_files}
|
||||
%doc CHANGES.md README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pytest_mpl
|
||||
%{python_sitelib}/pytest_mpl-%{eggver}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user