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:
Matej Cepl 2021-07-08 15:20:02 +00:00 committed by Git OBS Bridge
parent c591db3eb0
commit e7d26519eb
4 changed files with 16 additions and 7 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Jul 8 13:19:04 UTC 2021 - Markéta Machová <mmachova@suse.com>
- 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
-------------------------------------------------------------------
Mon Oct 26 13:01:07 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cab1630a51076b11819c97e6da461ddd4cb21bdf65c071d1c57a846c9b129c12
size 84689

3
xcffib-0.11.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12949cfe2e68c806efd57596bb9bf3c151f399d4b53e15d1101b2e9baaa66f5a
size 84713