forked from pool/python-pyte
Accepting request 895913 from home:pgajdos:python
- %check: use %pytest rpm macro OBS-URL: https://build.opensuse.org/request/show/895913 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyte?expand=0&rev=14
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 28 07:59:26 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pytest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:52:55 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyte
|
||||
#
|
||||
# Copyright (c) 2018 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,7 +25,6 @@ License: LGPL-3.0-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/selectel/pyte
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyte/pyte-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wcwidth}
|
||||
@@ -46,6 +45,7 @@ other DEC VTs between 1970 and 1995. pyte can be used to:
|
||||
%setup -q -n pyte-%{version}
|
||||
# all fail as missing data files
|
||||
rm tests/test_input_output.py
|
||||
sed -i '/pytest-runner/d' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -54,7 +54,7 @@ rm tests/test_input_output.py
|
||||
%python_install
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user