From c591db3eb070955f817a657048b5ec465c3d4e11421a7fad9b16206c742ae900 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 26 Oct 2020 14:30:55 +0000 Subject: [PATCH] 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 --- python-xcffib.changes | 11 +++++++++++ python-xcffib.spec | 9 +++------ xcffib-0.10.1.tar.gz | 3 +++ xcffib-0.9.0.tar.gz | 3 --- 4 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 xcffib-0.10.1.tar.gz delete mode 100644 xcffib-0.9.0.tar.gz diff --git a/python-xcffib.changes b/python-xcffib.changes index 626d087..06904f2 100644 --- a/python-xcffib.changes +++ b/python-xcffib.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Oct 26 13:01:07 UTC 2020 - John Vandenberg + +- 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 diff --git a/python-xcffib.spec b/python-xcffib.spec index 42671e2..7452abf 100644 --- a/python-xcffib.spec +++ b/python-xcffib.spec @@ -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 diff --git a/xcffib-0.10.1.tar.gz b/xcffib-0.10.1.tar.gz new file mode 100644 index 0000000..eda8710 --- /dev/null +++ b/xcffib-0.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cab1630a51076b11819c97e6da461ddd4cb21bdf65c071d1c57a846c9b129c12 +size 84689 diff --git a/xcffib-0.9.0.tar.gz b/xcffib-0.9.0.tar.gz deleted file mode 100644 index 9b03079..0000000 --- a/xcffib-0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c16eb113387cef49ffb63856ae4de65949c9c19a4adec9e45b0c6c5fbf603e4 -size 83063