15
0

Accepting request 862923 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/862923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-translationstring?expand=0&rev=8
This commit is contained in:
2021-01-13 17:24:41 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 13 14:23:47 UTC 2021 - pgajdos@suse.com
- use %pytest macro
-------------------------------------------------------------------
Thu Jul 23 13:22:08 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

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