forked from pool/python-pyaml
Accepting request 895713 from home:pgajdos:python
setup.py test replacement OBS-URL: https://build.opensuse.org/request/show/895713 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyaml?expand=0&rev=12
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyaml
|
||||
#
|
||||
# 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
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pyaml
|
||||
Version: 20.3.1
|
||||
Version: 20.4.0
|
||||
Release: 0
|
||||
Summary: Python module to produce formatted YAML-serialized data
|
||||
License: WTFPL
|
||||
@@ -27,6 +27,7 @@ URL: https://github.com/mk-fg/pretty-yaml
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyaml/pyaml-%{version}.tar.gz
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module Unidecode}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -49,7 +50,7 @@ PyYAML-based python module to produce formatted YAML-serialized data.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest pyaml/tests/dump.py
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
|
Reference in New Issue
Block a user