15
0

Accepting request 794062 from home:polslinux:branches:devel:languages:python

- Switch to pytest

OBS-URL: https://build.opensuse.org/request/show/794062
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opcodes?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2020-04-15 08:36:21 +00:00
committed by Git OBS Bridge
parent 637fbad9b8
commit d1f3f748e3
2 changed files with 9 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-opcodes
#
# 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
@@ -23,10 +23,10 @@ Release: 0
Summary: Database of Processor Instructions/Opcodes
License: BSD-2-Clause
Group: Development/Languages/Python
Url: https://github.com/Maratyszcza/Opcodes
URL: https://github.com/Maratyszcza/Opcodes
Source: https://files.pythonhosted.org/packages/source/o/opcodes/opcodes-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module nose}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -56,7 +56,7 @@ This project is a spin-off from <https://github.com/Maratyszcza/PeachPy
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand %{_bindir}/nosetests-%{$python_bin_suffix}
%pytest
%files %{python_files}
%doc readme.rst