Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:PowerPC
python-wmctrl
python-wmctrl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-wmctrl.spec of Package python-wmctrl
# # spec file for package python-wmctrl # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wmctrl Version: 0.4 Release: 0 Summary: Python programmatic control of X windows # Project is in the process of transitioning from Bitbucket to GitHub License: MIT Group: Development/Languages/Python URL: https://github.com/antocuni/wmctrl Source: https://files.pythonhosted.org/packages/source/w/wmctrl/wmctrl-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: openbox BuildRequires: python-rpm-macros BuildRequires: wmctrl BuildRequires: xclock BuildRequires: xfontsel BuildRequires: xorg-x11-server BuildRequires: xvfb-run Requires: wmctrl Requires: xorg-x11-server BuildArch: noarch %python_subpackages %description Python tool to programmatically control windows inside X. %prep %setup -q -n wmctrl-%{version} sed -i 's/\(py$\|py\.test\)/pytest/g' test/test_wmctrl.py %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %{python_expand # cat > /tmp/test_script.sh <<EOF #!/bin/sh openbox & sleep 5 wmctrl -l -G -p -x $python -m pytest -rs -k 'not (test_activate or test_properties or test_Desktop_active)' test/test_wmctrl.py EOF chmod +x /tmp/test_script.sh xvfb-run /tmp/test_script.sh } %files %{python_files} %license LICENSE %{python_sitelib}/wmctrl.py* %pycache_only %{python_sitelib}/__pycache__ %{python_sitelib}/wmctrl*/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor