1
0

Accepting request 894552 from home:pgajdos:python

- %check: use %pytest macro

OBS-URL: https://build.opensuse.org/request/show/894552
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-environ?expand=0&rev=7
This commit is contained in:
John Vandenberg 2021-05-20 09:03:41 +00:00 committed by Git OBS Bridge
parent d867b7003b
commit 6fe0f3b3e1
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 20 08:23:56 UTC 2021 - pgajdos@suse.com
- %check: use %pytest macro
-------------------------------------------------------------------
Mon Mar 11 03:56:29 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-django-environ
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -25,6 +25,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/joke2k/django-environ
Source: https://files.pythonhosted.org/packages/source/d/django-environ/django-environ-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -48,7 +49,7 @@ variables to configure Django applications.
%check
LANG=en_US.UTF-8
%python_exec setup.py test
%pytest environ/test.py
%files %{python_files}
%doc AUTHORS.rst CHANGELOG.rst README.rst README.rst.txt