Accepting request 844109 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/844109 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xcffib?expand=0&rev=9
This commit is contained in:
commit
f201bd2854
@ -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>
|
||||
|
||||
|
@ -17,8 +17,9 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-xcffib
|
||||
Version: 0.9.0
|
||||
Version: 0.10.1
|
||||
Release: 0
|
||||
Summary: A drop in replacement for xpyb, an XCB python binding
|
||||
License: Apache-2.0
|
||||
@ -45,8 +46,6 @@ replacement for xpyb.
|
||||
|
||||
%prep
|
||||
%setup -q -n xcffib-%{version}
|
||||
# upstream moves files compared to git repository
|
||||
sed -i -e 's:from \.testing:from testing:g' test/*.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -56,9 +55,7 @@ sed -i -e 's:from \.testing:from testing:g' test/*.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Skip the tests as they deadlock here and there in xvfb
|
||||
# self.conn.wait_for_event() waits without end
|
||||
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nosetests-%{$python_bin_suffix} -v
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run nosetests-%{$python_bin_suffix} -v
|
||||
|
||||
%files %{python_files}
|
||||
%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