forked from pool/python-xcffib
Accepting request 905073 from home:mcalabkova:branches:devel:languages:python
=== What do we think of nose2? === - Update to 0.11.1 * connection: don't automatically disconnect() on connection error * drop support for python 3.5 * tests: switch to nose2 * travis: test python 3.9 OBS-URL: https://build.opensuse.org/request/show/905073 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xcffib?expand=0&rev=20
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-xcffib
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# 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
|
||||
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-xcffib
|
||||
Version: 0.10.1
|
||||
Version: 0.11.1
|
||||
Release: 0
|
||||
Summary: A drop in replacement for xpyb, an XCB python binding
|
||||
License: Apache-2.0
|
||||
@@ -27,7 +27,7 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/tych0/xcffib
|
||||
Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz
|
||||
BuildRequires: %{python_module cffi >= 1.1.0}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module nose2}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
@@ -55,7 +55,7 @@ replacement for xpyb.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nosetests-%{$python_bin_suffix} -v
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nose2-%{$python_bin_suffix} -v
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user