commit 03078c9934f5d32687bbbf5fe4db0219fea4d270d5047ee2c3e678b0bd4ccd3c Author: Todd R Date: Wed Apr 19 20:00:11 2017 +0000 Accepting request 489437 from home:TheBlackCat:branches:devel:languages:python Implement single-spec version Update to 0.5.1 OBS-URL: https://build.opensuse.org/request/show/489437 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xcffib?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-xcffib.changes b/python-xcffib.changes new file mode 100644 index 0000000..4603b17 --- /dev/null +++ b/python-xcffib.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Wed Apr 19 19:44:53 UTC 2017 - toddrme2178@gmail.com + +- Update to 0.5.1. +- Implement single-spec version. + +------------------------------------------------------------------- +Wed Nov 23 22:02:10 UTC 2016 - hpj@urpla.net + +- add python-cffi runtime dependency + +------------------------------------------------------------------- +Mon Nov 21 10:51:53 UTC 2016 - hpj@urpla.net + +- version 0.4.2: initial build + diff --git a/python-xcffib.spec b/python-xcffib.spec new file mode 100644 index 0000000..3a2c7f7 --- /dev/null +++ b/python-xcffib.spec @@ -0,0 +1,71 @@ +# +# spec file for package python-xcffib +# +# Copyright (c) 2017 SUSE LINUX Products 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/ + + +# Missing files for tests +%bcond_with tests + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-xcffib +Version: 0.5.1 +Release: 0 +License: Apache-2.0 +Summary: A drop in replacement for xpyb, an XCB python binding +Url: http://github.com/tych0/xcffib +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module cffi} +BuildRequires: %{python_module six} +BuildRequires: libxcb-devel +%if %{with tests} +BuildRequires: %{python_module nose} +%endif +Requires: python-cffi +Requires: python-six +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages + +%description +The xcffib package is intended to be a (mostly) drop-in +replacement for xpyb. + +%prep +%setup -q -n xcffib-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%if %{with tests} +%check +%python_expand nosetests-%{$python_bin_suffix} +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc LICENSE README.md +%{python_sitelib}/xcffib/ +%{python_sitelib}/xcffib-%{version}-py*.egg-info + +%changelog diff --git a/xcffib-0.5.1.tar.gz b/xcffib-0.5.1.tar.gz new file mode 100644 index 0000000..35f4521 --- /dev/null +++ b/xcffib-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0f8daf5375df1df2dbccd1066f464831cf3dd69d58dd851ada8d85d72b5eb25 +size 81274