15
0

Accepting request 792551 from devel:languages:python

- Don't build-require bzr, just suggest it, it is not that necessary.
- Switch tests to using pytest as a test runner.

OBS-URL: https://build.opensuse.org/request/show/792551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-check-manifest?expand=0&rev=6
This commit is contained in:
2020-04-15 18:05:22 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 8 18:47:22 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Don't build-require bzr, just suggest it, it is not that necessary.
- Switch tests to using pytest as a test runner.
-------------------------------------------------------------------
Wed Oct 23 13:51:47 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-check-manifest
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,9 +26,9 @@ Group: Development/Languages/Python
URL: https://github.com/mgedmin/check-manifest
Source: https://files.pythonhosted.org/packages/source/c/check-manifest/check-manifest-%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml}
BuildRequires: bzr
BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: mercurial
@@ -61,7 +61,7 @@ chmod -x check_manifest.py
%check
export LANG=en_US.UTF-8
%python_exec setup.py test
%pytest
%files %{python_files}
%doc CHANGES.rst README.rst