forked from pool/python-xpybutil
Accepting request 614498 from home:jubalh
Needed for (future) package flashfocus. Please add me as maintainer. OBS-URL: https://build.opensuse.org/request/show/614498 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xpybutil?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
0.0.5.tar.gz
Normal file
3
0.0.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:79105d0abccfb16c42afaabe8ae0920ee87758aeae452f751a012398c12b0f60
|
||||
size 48509
|
||||
17
python-xpybutil-0.0.5-remove-selftest.patch
Normal file
17
python-xpybutil-0.0.5-remove-selftest.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
diff -urEbwB xpybutil-0.0.5/setup.py xpybutil-0.0.5.new/setup.py
|
||||
--- xpybutil-0.0.5/setup.py 2018-05-09 05:42:29.000000000 +0200
|
||||
+++ xpybutil-0.0.5.new/setup.py 2018-06-06 10:50:36.838622926 +0200
|
||||
@@ -11,7 +11,6 @@
|
||||
print('See: http://cgit.freedesktop.org/xcb/xpyb/')
|
||||
print('More options: xpyb-ng:', 'https://github.com/dequis/xpyb-ng',
|
||||
'and xcffib:', 'https://github.com/tych0/xcffib')
|
||||
- sys.exit(1)
|
||||
|
||||
setup(
|
||||
name="xpybutil",
|
||||
@@ -24,5 +23,4 @@
|
||||
url="http://pytyle.com",
|
||||
platforms='POSIX',
|
||||
packages=['xpybutil'],
|
||||
- data_files=[('share/doc/xpybutil', ['README.md', 'COPYING'])]
|
||||
)
|
||||
11
python-xpybutil.changes
Normal file
11
python-xpybutil.changes
Normal file
@@ -0,0 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 6 08:57:15 UTC 2018 - mvetter@suse.com
|
||||
|
||||
- Add python-xpybutil-0.0.5-remove-selftest.patch:
|
||||
Don't test whether package itself is present
|
||||
Don't install README here too
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 6 08:25:27 UTC 2018 - mvetter@suse.com
|
||||
|
||||
- Initial package in version 0.0.5 for openSUSE
|
||||
56
python-xpybutil.spec
Normal file
56
python-xpybutil.spec
Normal file
@@ -0,0 +1,56 @@
|
||||
#
|
||||
# spec file for package python-xpybutil
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-xpybutil
|
||||
Version: 0.0.5
|
||||
Release: 0
|
||||
Summary: Abstraction over xpyb
|
||||
License: WTFPL
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/BurntSushi/xpybutil
|
||||
Source: https://github.com/BurntSushi/xpybutil/archive/%{version}.tar.gz
|
||||
Patch0: python-xpybutil-0.0.5-remove-selftest.patch
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module xcffib}
|
||||
BuildRequires: fdupes
|
||||
Requires: python-xcffib
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
xpybutil is an abstraction over the X Python Binding (xpyb). It exists because xpyb is a very low level library that communicates with X.
|
||||
|
||||
%prep
|
||||
%setup -q -n xpybutil-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user