14
0
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:
2021-05-27 09:49:21 +00:00
committed by Git OBS Bridge
parent 14742acb4b
commit 556d8f9476
4 changed files with 14 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9914879e6ac5cbf09b8cd5d3ba09e241ffcfd91c689cddc8d8b66a68c1c7e640
size 21155

3
pyaml-20.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29a5c2a68660a799103d6949167bd6c7953d031449d08802386372de1db6ad71
size 21176

View File

@@ -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 <mcalabkova@suse.com>

View File

@@ -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