forked from pool/python-wmctrl
Accepting request 1061086 from home:jayvdb:branches:devel:languages:python
- Remove use of deprecated py.test in tests. OBS-URL: https://build.opensuse.org/request/show/1061086 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wmctrl?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
703e63009c
commit
d563cba836
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 26 01:23:32 UTC 2023 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Remove use of deprecated py.test in tests.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 23 18:59:14 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
Fri Apr 23 18:59:14 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@@ -47,6 +47,8 @@ Python tool to programmatically control windows inside X.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n wmctrl-%{version}
|
%setup -q -n wmctrl-%{version}
|
||||||
|
|
||||||
|
sed -i 's/\(py$\|py\.test\)/pytest/g' test/test_wmctrl.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
@@ -69,6 +71,8 @@ xvfb-run /tmp/test_script.sh
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/wmctrl.py*
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__
|
||||||
|
%{python_sitelib}/wmctrl*/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user