Accepting request 844089 from home:jayvdb:branches:devel:languages:python
- Re-activate tests - Update to 0.10.1 * testing: handle lock file open() failures gracefully - from v0.10.0 * Drop support for Python 2.7 * testing: protect find_display() with flock() * testing: don't leak discard FD OBS-URL: https://build.opensuse.org/request/show/844089 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xcffib?expand=0&rev=18
This commit is contained in:
parent
bcd467f2ba
commit
c591db3eb0
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 26 13:01:07 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Re-activate tests
|
||||||
|
- Update to 0.10.1
|
||||||
|
* testing: handle lock file open() failures gracefully
|
||||||
|
- from v0.10.0
|
||||||
|
* Drop support for Python 2.7
|
||||||
|
* testing: protect find_display() with flock()
|
||||||
|
* testing: don't leak discard FD
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 21 09:11:30 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Fri Feb 21 09:11:30 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -17,8 +17,9 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-xcffib
|
Name: python-xcffib
|
||||||
Version: 0.9.0
|
Version: 0.10.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A drop in replacement for xpyb, an XCB python binding
|
Summary: A drop in replacement for xpyb, an XCB python binding
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -45,8 +46,6 @@ replacement for xpyb.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n xcffib-%{version}
|
%setup -q -n xcffib-%{version}
|
||||||
# upstream moves files compared to git repository
|
|
||||||
sed -i -e 's:from \.testing:from testing:g' test/*.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -56,9 +55,7 @@ sed -i -e 's:from \.testing:from testing:g' test/*.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Skip the tests as they deadlock here and there in xvfb
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nosetests-%{$python_bin_suffix} -v
|
||||||
# self.conn.wait_for_event() waits without end
|
|
||||||
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nosetests-%{$python_bin_suffix} -v
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
3
xcffib-0.10.1.tar.gz
Normal file
3
xcffib-0.10.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cab1630a51076b11819c97e6da461ddd4cb21bdf65c071d1c57a846c9b129c12
|
||||||
|
size 84689
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2c16eb113387cef49ffb63856ae4de65949c9c19a4adec9e45b0c6c5fbf603e4
|
|
||||||
size 83063
|
|
Loading…
x
Reference in New Issue
Block a user