From 556d8f9476bfc5557e56c66635f8dd2714f87a057a3f3e434f2eb4a4baaf69f0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 27 May 2021 09:49:21 +0000 Subject: [PATCH] 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 --- pyaml-20.3.1.tar.gz | 3 --- pyaml-20.4.0.tar.gz | 3 +++ python-pyaml.changes | 7 +++++++ python-pyaml.spec | 7 ++++--- 4 files changed, 14 insertions(+), 6 deletions(-) delete mode 100644 pyaml-20.3.1.tar.gz create mode 100644 pyaml-20.4.0.tar.gz diff --git a/pyaml-20.3.1.tar.gz b/pyaml-20.3.1.tar.gz deleted file mode 100644 index 796597c..0000000 --- a/pyaml-20.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9914879e6ac5cbf09b8cd5d3ba09e241ffcfd91c689cddc8d8b66a68c1c7e640 -size 21155 diff --git a/pyaml-20.4.0.tar.gz b/pyaml-20.4.0.tar.gz new file mode 100644 index 0000000..d8667df --- /dev/null +++ b/pyaml-20.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29a5c2a68660a799103d6949167bd6c7953d031449d08802386372de1db6ad71 +size 21176 diff --git a/python-pyaml.changes b/python-pyaml.changes index 97cc28a..2ffc053 100644 --- a/python-pyaml.changes +++ b/python-pyaml.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu May 27 08:41:55 UTC 2021 - pgajdos@suse.com + +- version update to 20.4.0 + * no upstream changelog found +- %check: use %pytest rpm macro + ------------------------------------------------------------------- Thu Mar 19 10:22:04 UTC 2020 - Marketa Calabkova diff --git a/python-pyaml.spec b/python-pyaml.spec index 1ebc495..d4bb117 100644 --- a/python-pyaml.spec +++ b/python-pyaml.spec @@ -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