15
0

Accepting request 862912 from home:pgajdos:python

- use %pytest macro

OBS-URL: https://build.opensuse.org/request/show/862912
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-translationstring?expand=0&rev=17
This commit is contained in:
2021-01-13 14:44:26 +00:00
committed by Git OBS Bridge
parent f83a5ed4ce
commit 4dd50baf8d
2 changed files with 8 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-translationstring
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -26,6 +26,7 @@ License: SUSE-Repoze
Group: Development/Languages/Python
URL: https://github.com/Pylons/translationstring
Source: https://files.pythonhosted.org/packages/source/t/translationstring/translationstring-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: git
@@ -73,7 +74,7 @@ pushd docs && PYTHONPATH=%{buildroot}%{python3_sitelib} make html && rm _build/h
popd
%check
%python_exec setup.py test
%pytest
%files %{python_files}
%license LICENSE.txt