15
0

Accepting request 893553 from home:pgajdos:python

- use %pytest macro

OBS-URL: https://build.opensuse.org/request/show/893553
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-altgraph?expand=0&rev=15
This commit is contained in:
2021-05-17 08:06:02 +00:00
committed by Git OBS Bridge
parent 4ff0eb7366
commit ab88aa9cd5
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 17 07:12:19 UTC 2021 - pgajdos@suse.com
- use %pytest macro
-------------------------------------------------------------------
Fri Apr 17 11:15:05 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-altgraph
#
# 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
@@ -24,6 +24,7 @@ Summary: Python graph (network) package
License: MIT
URL: https://github.com/ronaldoussoren/altgraph/
Source: https://files.pythonhosted.org/packages/source/a/altgraph/altgraph-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -57,7 +58,7 @@ sed -i 's/\r$//' doc/_build/html/_static/jquery.js
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pytest
%files %{python_files}
%doc README.rst