commit python-cairocffi for openSUSE:Factory

2020-11-02 Thread root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2020-11-02 09:39:30

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new.3463 (New)


Package is "python-cairocffi"

Mon Nov  2 09:39:30 2020 rev:15 rq:845028 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2019-09-19 15:45:21.335360245 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cairocffi.new.3463/python-cairocffi.changes  
2020-11-02 09:39:43.269571223 +0100
@@ -1,0 +2,9 @@
+Fri Oct 30 06:20:59 UTC 2020 - Michael Vetter 
+
+- Update to 1.2.0:
+  * #152: Add NumPy support
+  * #143: Make write_to_png function work on hardened systems
+  * #156: Use major version name to open shared libraries
+  * #165: Don’t list setuptools as required for installation
+
+---

Old:

  cairocffi-1.1.0.tar.gz

New:

  cairocffi-1.2.0.tar.gz



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.awBljz/_old  2020-11-02 09:39:43.737571671 +0100
+++ /var/tmp/diff_new_pack.awBljz/_new  2020-11-02 09:39:43.741571675 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cairocffi
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,14 +12,14 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-cairocffi
-Version:1.1.0
+Version:1.2.0
 Release:0
 Summary:Python cairo bindings based on cffi
 License:BSD-3-Clause
@@ -27,6 +27,7 @@
 URL:https://github.com/Kozea/cairocffi
 Source: 
https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
 BuildRequires:  %{python_module cffi >= 1.1.0}
+BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module setuptools >= 39.2.0}
 BuildRequires:  %{python_module xcffib >= 0.3.2}

++ cairocffi-1.1.0.tar.gz -> cairocffi-1.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-1.1.0/PKG-INFO new/cairocffi-1.2.0/PKG-INFO
--- old/cairocffi-1.1.0/PKG-INFO2019-09-05 16:09:33.0 +0200
+++ new/cairocffi-1.2.0/PKG-INFO2020-10-29 22:27:52.007522800 +0100
@@ -1,19 +1,16 @@
 Metadata-Version: 2.1
 Name: cairocffi
-Version: 1.1.0
+Version: 1.2.0
 Summary: cffi-based cairo bindings for Python
 Home-page: https://github.com/Kozea/cairocffi
 Author: Simon Sapin
-Author-email: commun...@kozea.fr
+Author-email: cont...@courtbouillon.org
 License: BSD
 Project-URL: Documentation, https://cairocffi.readthedocs.io/
 Project-URL: Code, https://github.com/Kozea/cairocffi/
 Project-URL: Issue tracker, https://github.com/Kozea/cairocffi/issues
-Project-URL: Donation, https://www.patreon.com/kozea
-Description: cairocffi
-=
-
-cairocffi is a `CFFI`_-based drop-in replacement for Pycairo_,
+Project-URL: Donation, https://opencollective.com/courtbouillon
+Description: cairocffi is a `CFFI`_-based drop-in replacement for Pycairo_,
 a set of Python bindings and object-oriented API for cairo_.
 Cairo is a 2D vector graphics library with support for multiple 
backends
 including image buffers, PNG, PostScript, PDF, and SVG file output.
@@ -26,15 +23,27 @@
 .. _cairo: http://cairographics.org/
 .. _GDK-PixBuf: https://gitlab.gnome.org/GNOME/gdk-pixbuf
 
-* `Latest documentation `_
-* `Source code and issue tracker `_
-  on GitHub.
-* Install with ``pip install cairocffi``
-* Python 3.5+. `Tested with CPython and PyPy3
-  `_.
+* Free software: BSD license
+* For Python 3.6+, tested on CPython and PyPy
+* Documentation: https://cairocffi.readthedocs.io
+* Changelog: https://github.com/Kozea/cairocffi/releases
+* Code, issues, tests: https://github.com/Kozea/cairocffi
+* Code of conduct: 

commit python-cairocffi for openSUSE:Factory

2019-09-19 Thread root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2019-09-19 15:45:19

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new.7948 (New)


Package is "python-cairocffi"

Thu Sep 19 15:45:19 2019 rev:14 rq:729343 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2019-08-09 16:50:19.565507969 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cairocffi.new.7948/python-cairocffi.changes  
2019-09-19 15:45:21.335360245 +0200
@@ -1,0 +2,9 @@
+Mon Sep  9 07:41:31 UTC 2019 - mvet...@suse.com
+
+- Update to 1.1.0:
+  * #135, #127, #119: Clean the way external libraries are found
+  * #126: Remove const char* elements from cdef
+  * Support Cairo features up to 1.17.2
+  * Fix documentation generation
+
+---

Old:

  cairocffi-1.0.2.tar.gz

New:

  cairocffi-1.1.0.tar.gz



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.kDjAOM/_old  2019-09-19 15:45:23.595359785 +0200
+++ /var/tmp/diff_new_pack.kDjAOM/_new  2019-09-19 15:45:23.599359785 +0200
@@ -12,14 +12,14 @@
 # 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/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:   python-cairocffi
-Version:1.0.2
+Version:1.1.0
 Release:0
 Summary:Python cairo bindings based on cffi
 License:BSD-3-Clause

++ cairocffi-1.0.2.tar.gz -> cairocffi-1.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-1.0.2/LICENSE new/cairocffi-1.1.0/LICENSE
--- old/cairocffi-1.0.2/LICENSE 2019-02-06 22:50:12.0 +0100
+++ new/cairocffi-1.1.0/LICENSE 2019-03-26 11:39:43.0 +0100
@@ -1,31 +1,29 @@
-Copyright (c) 2013-2019 by Simon Sapin.
+BSD 3-Clause License
 
-Some rights reserved.
+Copyright (c) 2013-2019, Simon Sapin and contributors.
+All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
+modification, are permitted provided that the following conditions are met:
 
-* Redistributions of source code must retain the above copyright
-  notice, this list of conditions and the following disclaimer.
+* Redistributions of source code must retain the above copyright notice, this
+  list of conditions and the following disclaimer.
 
-* Redistributions in binary form must reproduce the above
-  copyright notice, this list of conditions and the following
-  disclaimer in the documentation and/or other materials provided
-  with the distribution.
-
-* The names of the contributors may not be used to endorse or
-  promote products derived from this software without specific
-  prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+* Redistributions in binary form must reproduce the above copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+
+* Neither the name of the copyright holder nor the names of its
+  contributors may be used to endorse or promote products derived from
+  this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT 

commit python-cairocffi for openSUSE:Factory

2019-08-09 Thread root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2019-08-09 16:50:15

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new.9556 (New)


Package is "python-cairocffi"

Fri Aug  9 16:50:15 2019 rev:13 rq:720049 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2019-02-15 09:55:27.731758815 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cairocffi.new.9556/python-cairocffi.changes  
2019-08-09 16:50:19.565507969 +0200
@@ -1,0 +2,12 @@
+Wed Jul 31 12:12:15 UTC 2019 - pgaj...@suse.com
+
+- version update to 1.0.2
+#123: Rely on a recent version of setuptools to handle VERSION
+#120: Don't delete _generated modules on ffi_build import
+Drop Python 2.6, 2.7 and 3.4 support
+Test with Python 3.7
+Clean code, tests and packaging
+- do not build for python2
+- run tests
+
+---

Old:

  cairocffi-0.9.0.tar.gz

New:

  cairocffi-1.0.2.tar.gz



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.rtE3mo/_old  2019-08-09 16:50:19.969507969 +0200
+++ /var/tmp/diff_new_pack.rtE3mo/_new  2019-08-09 16:50:19.973507969 +0200
@@ -12,29 +12,32 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-cairocffi
-Version:0.9.0
+Version:1.0.2
 Release:0
 Summary:Python cairo bindings based on cffi
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-URL:https://github.com/SimonSapin/cairocffi
+URL:https://github.com/Kozea/cairocffi
 Source: 
https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
 BuildRequires:  %{python_module cffi >= 1.1.0}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pytest-runner}
+BuildRequires:  %{python_module setuptools >= 39.2.0}
 BuildRequires:  %{python_module xcffib >= 0.3.2}
 BuildRequires:  cairo
+BuildRequires:  dejavu-fonts
 BuildRequires:  fdupes
 BuildRequires:  gdk-pixbuf
 BuildRequires:  python-rpm-macros
 Requires:   cairo
 Requires:   python
-Requires:   python-cffi >= 0.6
+Requires:   python-cffi >= 1.1.0
 Requires:   python-xcffib >= 0.3.2
 BuildArch:  noarch
 %python_subpackages
@@ -69,9 +72,14 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch} 
 
+%check
+sed -i '/^addopts/d' setup.cfg
+sed -i -e '/pytest-flake8/d' -e '/pytest-isort/d' -e '/pytest-cov/d' setup.cfg
+%python_expand $python setup.py test
+
 %files %{python_files}
 %license LICENSE
-%doc CHANGES README.rst
+%doc README.rst
 %{python_sitelib}/cairocffi-%{version}-py*.egg-info
 %{python_sitelib}/cairocffi/
 %exclude %{python_sitelib}/cairocffi/test_pixbuf.py*

++ cairocffi-0.9.0.tar.gz -> cairocffi-1.0.2.tar.gz ++
 3135 lines of diff (skipped)




commit python-cairocffi for openSUSE:Factory

2019-02-15 Thread root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2019-02-15 09:55:09

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new.28833 (New)


Package is "python-cairocffi"

Fri Feb 15 09:55:09 2019 rev:12 rq:668596 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2018-12-13 19:40:56.381274632 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cairocffi.new.28833/python-cairocffi.changes 
2019-02-15 09:55:27.731758815 +0100
@@ -1,0 +2,13 @@
+Fri Jan 25 10:10:32 UTC 2019 - mvet...@suse.com
+
+- Update to 0.9.0:
+  * Drop Python 3.2 and 3.3 support
+  * Test with PyPy and PyPy3
+  * Fix test compatibility with Cairo 1.15.12
+  * Add cairo library name from PyGObject for Windows
+  * Fix pango_example.py
+  * Fix crash with xbc tests
+  * Clean documentation
+  * Support Cairo features up to 1.15.12
+
+---

Old:

  cairocffi-0.8.1.tar.gz

New:

  cairocffi-0.9.0.tar.gz



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.Jmv8NC/_old  2019-02-15 09:55:28.091758701 +0100
+++ /var/tmp/diff_new_pack.Jmv8NC/_new  2019-02-15 09:55:28.091758701 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cairocffi
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,23 +12,24 @@
 # 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/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-cairocffi
-Version:0.8.1
+Version:0.9.0
 Release:0
 Summary:Python cairo bindings based on cffi
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/SimonSapin/cairocffi
 Source: 
https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
-BuildRequires:  %{python_module cffi >= 0.6}
+BuildRequires:  %{python_module cffi >= 1.1.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module xcffib >= 0.3.2}
 BuildRequires:  cairo
+BuildRequires:  fdupes
 BuildRequires:  gdk-pixbuf
 BuildRequires:  python-rpm-macros
 Requires:   cairo
@@ -66,6 +67,7 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch} 
 
 %files %{python_files}
 %license LICENSE

++ cairocffi-0.8.1.tar.gz -> cairocffi-0.9.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.8.1/.coveragerc 
new/cairocffi-0.9.0/.coveragerc
--- old/cairocffi-0.8.1/.coveragerc 2016-08-26 18:06:11.0 +0200
+++ new/cairocffi-0.9.0/.coveragerc 2018-07-24 10:58:07.0 +0200
@@ -1,16 +1,13 @@
 [run]
-omit =
-   cairocffi/compat.py
-   cairocffi/mkconstants.py
-branch = True
+include = cairocffi/*
+omit = cairocffi/compat.py
 
 [report]
 show_missing = True
 exclude_lines =
pragma: no cover
pytest.xfail()
+   pytest.fail()
except OSError:
-partial_branches =
-pragma: no branch
-assert
-fd.write\(
+   except ImportError:
+raise OSError
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.8.1/.gitignore 
new/cairocffi-0.9.0/.gitignore
--- old/cairocffi-0.8.1/.gitignore  2016-08-26 18:06:11.0 +0200
+++ new/cairocffi-0.9.0/.gitignore  2018-07-23 23:07:25.0 +0200
@@ -5,7 +5,7 @@
 *.egg-info
 /.eggs
 /dist
-/.tox
+/.cache
 /.coverage
-/htmlcov
+/.pytest_cache
 /docs/_build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.8.1/.travis.yml 
new/cairocffi-0.9.0/.travis.yml
--- old/cairocffi-0.8.1/.travis.yml 2016-08-26 18:06:11.0 +0200
+++ new/cairocffi-0.9.0/.travis.yml 2018-07-24 10:29:29.0 +0200
@@ -1,17 +1,22 @@
 language: python
+sudo: false
+
 python:
-  - "2.6"
-  - "2.7"
-  - "3.2"
-  - "3.3"
-  - "3.4"
-  - "3.5"
+  - 2.6
+  - 2.7
+  - 3.4
+  - 3.5
+  - 3.6
+  - pypy
+  - pypy3
+
 before_install:
-  - "export DISPLAY=:99.0"
-  - "sh -e /etc/init.d/xvfb start"
+  - export DISPLAY=:99.0
+  - sh -e /etc/init.d/xvfb start
+
 install:
-  - 

commit python-cairocffi for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2018-12-13 19:40:55

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new.28833 (New)


Package is "python-cairocffi"

Thu Dec 13 19:40:55 2018 rev:11 rq:653960 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2018-07-14 20:27:36.780554736 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cairocffi.new.28833/python-cairocffi.changes 
2018-12-13 19:40:56.381274632 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:46:25 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.K57usI/_old  2018-12-13 19:40:58.033272873 +0100
+++ /var/tmp/diff_new_pack.K57usI/_new  2018-12-13 19:40:58.045272861 +0100
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,7 +26,6 @@
 URL:https://github.com/SimonSapin/cairocffi
 Source: 
https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
 BuildRequires:  %{python_module cffi >= 0.6}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module xcffib >= 0.3.2}
 BuildRequires:  cairo




commit python-cairocffi for openSUSE:Factory

2018-07-14 Thread root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2018-07-14 20:25:30

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new (New)


Package is "python-cairocffi"

Sat Jul 14 20:25:30 2018 rev:10 rq:622500 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2018-01-31 19:49:42.78355 +0100
+++ /work/SRC/openSUSE:Factory/.python-cairocffi.new/python-cairocffi.changes   
2018-07-14 20:27:36.780554736 +0200
@@ -1,0 +2,8 @@
+Fri Jul 13 15:54:02 UTC 2018 - a...@gmx.de
+
+- update to version 0.8.1:
+  * Add cairo library name provided by pygobjectwin32
+  * Update docstrings to list width and height params
+  * Add width and height options to decode_to_image_surface
+
+---

Old:

  cairocffi-0.8.0.tar.gz

New:

  cairocffi-0.8.1.tar.gz



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.HsH135/_old  2018-07-14 20:27:37.256555958 +0200
+++ /var/tmp/diff_new_pack.HsH135/_new  2018-07-14 20:27:37.256555958 +0200
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-cairocffi
-Version:0.8.0
+Version:0.8.1
 Release:0
 Summary:Python cairo bindings based on cffi
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/SimonSapin/cairocffi
+URL:https://github.com/SimonSapin/cairocffi
 Source: 
https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
 BuildRequires:  %{python_module cffi >= 0.6}
 BuildRequires:  %{python_module devel}
@@ -69,7 +69,8 @@
 %python_install
 
 %files %{python_files}
-%doc LICENSE CHANGES README.rst
+%license LICENSE
+%doc CHANGES README.rst
 %{python_sitelib}/cairocffi-%{version}-py*.egg-info
 %{python_sitelib}/cairocffi/
 %exclude %{python_sitelib}/cairocffi/test_pixbuf.py*

++ cairocffi-0.8.0.tar.gz -> cairocffi-0.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.8.0/CHANGES new/cairocffi-0.8.1/CHANGES
--- old/cairocffi-0.8.0/CHANGES 2017-02-03 14:00:51.0 +0100
+++ new/cairocffi-0.8.1/CHANGES 2018-05-30 14:35:43.0 +0200
@@ -1,6 +1,17 @@
 cairocffi changelog
 ---
 
+Version 0.8.1
+.
+
+Released on 2018-05-30
+
+* `#98 `_:
+  Add width and height options to pixbuf.decode_to_image_surface
+* `#112 `_:
+  Add cairo library name from PyGObject for Windows
+
+
 Version 0.8.0
 .
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.8.0/PKG-INFO new/cairocffi-0.8.1/PKG-INFO
--- old/cairocffi-0.8.0/PKG-INFO2017-02-03 14:05:56.0 +0100
+++ new/cairocffi-0.8.1/PKG-INFO2018-05-30 14:40:24.0 +0200
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: cairocffi
-Version: 0.8.0
+Version: 0.8.1
 Summary: cffi-based cairo bindings for Python
 Home-page: https://github.com/SimonSapin/cairocffi
 Author: Simon Sapin
 Author-email: simon.sa...@exyr.org
 License: BSD
+Description-Content-Type: UNKNOWN
 Description: cairocffi
 =
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.8.0/cairocffi/__init__.py 
new/cairocffi-0.8.1/cairocffi/__init__.py
--- old/cairocffi-0.8.0/cairocffi/__init__.py   2017-02-03 12:41:24.0 
+0100
+++ new/cairocffi-0.8.1/cairocffi/__init__.py   2018-05-30 14:37:59.0 
+0200
@@ -17,7 +17,7 @@
 from .compat import FileNotFoundError
 from ._ffi import ffi
 
-VERSION = '0.8.0'
+VERSION = '0.8.1'
 # pycairo compat:
 version = '1.10.0'
 version_info = (1, 10, 0)
@@ -38,7 +38,7 @@
 raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
 
 
-cairo = dlopen(ffi, 'cairo', 'cairo-2')
+cairo = dlopen(ffi, 'cairo', 'cairo-2', 'cairo-gobject-2')
 
 
 class _keepref(object):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.8.0/cairocffi/ffi_build.py 
new/cairocffi-0.8.1/cairocffi/ffi_build.py
--- old/cairocffi-0.8.0/cairocffi/ffi_build.py  2016-08-26 18:06:11.0 
+0200
+++ new/cairocffi-0.8.1/cairocffi/ffi_build.py  2018-05-30 14:34:14.0 
+0200
@@ -68,6 +68,8 @@
 gboolean  gdk_pixbuf_loader_write(
 GdkPixbufLoader *loader, const guchar *buf, gsize count,
 GError 

commit python-cairocffi for openSUSE:Factory

2018-01-31 Thread root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2018-01-31 19:49:42

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new (New)


Package is "python-cairocffi"

Wed Jan 31 19:49:42 2018 rev:9 rq:570200 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2017-04-20 20:53:06.297681348 +0200
+++ /work/SRC/openSUSE:Factory/.python-cairocffi.new/python-cairocffi.changes   
2018-01-31 19:49:42.78355 +0100
@@ -1,0 +2,6 @@
+Fri Jan 26 21:07:25 UTC 2018 - p...@cervinka.net
+
+- Add xcffib support 
+- Spec file cleaned
+
+---



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.Dy48ZU/_old  2018-01-31 19:49:43.455524310 +0100
+++ /var/tmp/diff_new_pack.Dy48ZU/_new  2018-01-31 19:49:43.459524124 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cairocffi
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -28,12 +28,14 @@
 BuildRequires:  %{python_module cffi >= 0.6}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module xcffib >= 0.3.2}
 BuildRequires:  cairo
 BuildRequires:  gdk-pixbuf
 BuildRequires:  python-rpm-macros
 Requires:   cairo
+Requires:   python
 Requires:   python-cffi >= 0.6
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Requires:   python-xcffib >= 0.3.2
 BuildArch:  noarch
 %python_subpackages
 
@@ -66,8 +68,7 @@
 %install
 %python_install
 
-%files %python_files
-%defattr(-,root,root,-)
+%files %{python_files}
 %doc LICENSE CHANGES README.rst
 %{python_sitelib}/cairocffi-%{version}-py*.egg-info
 %{python_sitelib}/cairocffi/
@@ -79,7 +80,6 @@
 %endif
 
 %files %{python_files pixbuf}
-%defattr(-,root,root,-)
 %{python_sitelib}/cairocffi/pixbuf.py*
 %{python_sitelib}/cairocffi/test_pixbuf.py*
 %ifpycache




commit python-cairocffi for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2017-04-20 20:53:04

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new (New)


Package is "python-cairocffi"

Thu Apr 20 20:53:04 2017 rev:8 rq:487695 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2016-02-03 10:19:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-cairocffi.new/python-cairocffi.changes   
2017-04-20 20:53:06.297681348 +0200
@@ -1,0 +2,22 @@
+Wed Apr 12 19:01:15 UTC 2017 - toddrme2...@gmail.com
+
+- Fix download URL.
+
+---
+Wed Apr 12 17:44:02 UTC 2017 - toddrme2...@gmail.com
+
+- Update to version 0.8.0
+  * Follow semver
+  * Avoid implicit relative import
+  * Use utf-8 instead of utf8 in headers
+  * Keep cairo library loaded until all relevant objects are freed
+  * Add cairo_quartz_* functions for MacOS
+  * Use the default ReadTheDocs theme
+  * Fix implicit casts
+
+---
+Fri Oct 14 14:12:05 UTC 2016 - jmate...@suse.com
+
+- update for multipython build
+
+---

Old:

  cairocffi-0.7.2.tar.gz

New:

  cairocffi-0.8.0.tar.gz



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.qIx8HT/_old  2017-04-20 20:53:07.469515642 +0200
+++ /var/tmp/diff_new_pack.qIx8HT/_new  2017-04-20 20:53:07.469515642 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cairocffi
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,27 +16,26 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-cairocffi
-Version:0.7.2
+Version:0.8.0
 Release:0
 Summary:Python cairo bindings based on cffi
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Url:https://github.com/SimonSapin/cairocffi
-Source: 
https://pypi.python.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
+BuildRequires:  %{python_module cffi >= 0.6}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  cairo
 BuildRequires:  gdk-pixbuf
-BuildRequires:  python-cffi >= 0.6
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  python-rpm-macros
 Requires:   cairo
 Requires:   python-cffi >= 0.6
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 cairocffi is a CFFI-based drop-in replacement for Pycairo,
@@ -62,22 +61,30 @@
 %setup -q -n cairocffi-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
+%files %python_files
 %defattr(-,root,root,-)
 %doc LICENSE CHANGES README.rst
 %{python_sitelib}/cairocffi-%{version}-py*.egg-info
 %{python_sitelib}/cairocffi/
 %exclude %{python_sitelib}/cairocffi/test_pixbuf.py*
 %exclude %{python_sitelib}/cairocffi/pixbuf.py*
+%ifpycache
+%exclude %{python_sitelib}/cairocffi/__pycache__/test_pixbuf.*
+%exclude %{python_sitelib}/cairocffi/__pycache__/pixbuf.*
+%endif
 
-%files pixbuf
+%files %{python_files pixbuf}
 %defattr(-,root,root,-)
 %{python_sitelib}/cairocffi/pixbuf.py*
 %{python_sitelib}/cairocffi/test_pixbuf.py*
+%ifpycache
+%{python_sitelib}/cairocffi/__pycache__/test_pixbuf.*
+%{python_sitelib}/cairocffi/__pycache__/pixbuf.*
+%endif
 
 %changelog

++ cairocffi-0.7.2.tar.gz -> cairocffi-0.8.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.7.2/.gitignore 
new/cairocffi-0.8.0/.gitignore
--- old/cairocffi-0.7.2/.gitignore  1970-01-01 01:00:00.0 +0100
+++ new/cairocffi-0.8.0/.gitignore  2016-08-26 18:06:11.0 +0200
@@ -0,0 +1,11 @@
+*.pyc
+__pycache__
+cairocffi/_ffi*.py
+*.egg
+*.egg-info
+/.eggs
+/dist
+/.tox
+/.coverage
+/htmlcov
+/docs/_build
diff -urN '--exclude=CVS' 

commit python-cairocffi for openSUSE:Factory

2016-02-03 Thread h_root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2016-02-03 10:19:36

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new (New)


Package is "python-cairocffi"

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2015-07-03 00:16:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-cairocffi.new/python-cairocffi.changes   
2016-02-03 10:19:37.0 +0100
@@ -1,0 +2,9 @@
+Mon Feb  1 11:08:43 UTC 2016 - toddrme2...@gmail.com
+
+- update to version 0.7.2:
+  * Use ctypes.util.find_library with dlopen.
+  * Fix loading of gdk_pixbuf library on Ubuntu
+- update to version 0.7.1:
+  * Add a possible work-around for #64.
+
+---

Old:

  cairocffi-0.6.tar.gz

New:

  cairocffi-0.7.2.tar.gz



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.D7e9f8/_old  2016-02-03 10:19:38.0 +0100
+++ /var/tmp/diff_new_pack.D7e9f8/_new  2016-02-03 10:19:38.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cairocffi
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-cairocffi
-Version:0.6
+Version:0.7.2
 Release:0
 Summary:Python cairo bindings based on cffi
 License:BSD-3-Clause

++ cairocffi-0.6.tar.gz -> cairocffi-0.7.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.6/MANIFEST.in 
new/cairocffi-0.7.2/MANIFEST.in
--- old/cairocffi-0.6/MANIFEST.in   2013-05-24 04:33:32.0 +0200
+++ new/cairocffi-0.7.2/MANIFEST.in 2015-06-03 13:44:03.0 +0200
@@ -1,3 +1,4 @@
 include README.rst CHANGES LICENSE tox.ini .coveragerc
 recursive-include docs *
 prune docs/_build
+exclude cairocffi/_ffi*.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.6/PKG-INFO new/cairocffi-0.7.2/PKG-INFO
--- old/cairocffi-0.6/PKG-INFO  2014-09-23 19:10:51.0 +0200
+++ new/cairocffi-0.7.2/PKG-INFO2015-08-04 16:26:46.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: cairocffi
-Version: 0.6
+Version: 0.7.2
 Summary: cffi-based cairo bindings for Python
 Home-page: https://github.com/SimonSapin/cairocffi
 Author: Simon Sapin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.6/cairocffi/__init__.py 
new/cairocffi-0.7.2/cairocffi/__init__.py
--- old/cairocffi-0.6/cairocffi/__init__.py 2014-09-23 18:21:56.0 
+0200
+++ new/cairocffi-0.7.2/cairocffi/__init__.py   2015-08-04 16:26:29.0 
+0200
@@ -11,13 +11,18 @@
 """
 
 import sys
-from cffi import FFI
+import ctypes.util
 
 from . import constants
 from .compat import FileNotFoundError
 
+try:
+from ._ffi import ffi
+except ImportError:
+# PyPy < 2.6 compatibility
+from .ffi_build import ffi
 
-VERSION = '0.6'
+VERSION = '0.7.2'
 # pycairo compat:
 version = '1.10.0'
 version_info = (1, 10, 0)
@@ -26,19 +31,19 @@
 def dlopen(ffi, *names):
 """Try various names for the same library, for different platforms."""
 for name in names:
-try:
-return ffi.dlopen(name)
-except OSError:
-pass
-# Re-raise the exception.
-return ffi.dlopen(names[0])  # pragma: no cover
+for lib_name in [name, 'lib' + name]:
+try:
+path = ctypes.util.find_library(lib_name)
+if path:
+lib = ffi.dlopen(path)
+if lib:
+return lib
+except OSError:
+pass
+raise OSError("dlopen() failed to load a library: %s" % ' / '.join(names))
 
 
-ffi = FFI()
-ffi.cdef(constants._CAIRO_HEADERS)
-CAIRO_NAMES = ['libcairo.so.2', 'libcairo.2.dylib', 'libcairo-2.dll',
-   'cairo', 'libcairo-2']
-cairo = dlopen(ffi, *CAIRO_NAMES)
+cairo = dlopen(ffi, 'cairo', 'cairo-2')
 
 
 class CairoError(Exception):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cairocffi-0.6/cairocffi/context.py 
new/cairocffi-0.7.2/cairocffi/context.py
--- old/cairocffi-0.6/cairocffi/context.py  2014-09-23 19:03:02.0 
+0200
+++ new/cairocffi-0.7.2/cairocffi/context.py2014-12-17 00:16:20.0 
+0100
@@ -57,7 +57,7 

commit python-cairocffi for openSUSE:Factory

2015-07-02 Thread h_root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2015-07-02 22:50:42

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new (New)


Package is python-cairocffi

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2015-04-30 11:51:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-cairocffi.new/python-cairocffi.changes   
2015-07-03 00:16:06.0 +0200
@@ -1,0 +2,5 @@
+Wed Jul  1 12:30:10 UTC 2015 - toddrme2...@gmail.com
+
+- Depend on cairo instead of cairo-tools
+
+---



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.P1E1AI/_old  2015-07-03 00:16:07.0 +0200
+++ /var/tmp/diff_new_pack.P1E1AI/_new  2015-07-03 00:16:07.0 +0200
@@ -24,12 +24,12 @@
 Group:  Development/Languages/Python
 Url:https://github.com/SimonSapin/cairocffi
 Source: 
https://pypi.python.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
-BuildRequires:  cairo-tools
+BuildRequires:  cairo
 BuildRequires:  gdk-pixbuf
 BuildRequires:  python-cffi = 0.6
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
-Requires:   cairo-tools
+Requires:   cairo
 Requires:   python-cffi = 0.6
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}  0%{?suse_version} = 1110




commit python-cairocffi for openSUSE:Factory

2014-09-10 Thread h_root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2014-09-10 17:02:32

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new (New)


Package is python-cairocffi

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2014-09-03 20:51:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-cairocffi.new/python-cairocffi.changes   
2014-09-10 17:03:13.0 +0200
@@ -1,0 +2,5 @@
+Wed Sep 10 09:27:47 UTC 2014 - toddrme2...@gmail.com
+
+- Require gdk-pixbuf instead of typelib(GdkPixbuf)
+
+---



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.DwdrHH/_old  2014-09-10 17:03:14.0 +0200
+++ /var/tmp/diff_new_pack.DwdrHH/_new  2014-09-10 17:03:14.0 +0200
@@ -25,10 +25,10 @@
 Url:https://github.com/SimonSapin/cairocffi
 Source: 
https://pypi.python.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
 BuildRequires:  cairo-tools
+BuildRequires:  gdk-pixbuf
 BuildRequires:  python-cffi = 0.6
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
-BuildRequires:  typelib(GdkPixbuf)
 Requires:   cairo-tools
 Requires:   python-cffi = 0.6
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -46,7 +46,7 @@
 
 %package pixbuf
 Summary:Python cairo bindings based on cffi - pixbuf image loader
-Requires:   typelib(GdkPixbuf)
+Requires:   gdk-pixbuf
 Requires:   %{name} = %{version}
 
 %description pixbuf

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-cairocffi for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package python-cairocffi for 
openSUSE:Factory checked in at 2014-09-03 18:22:00

Comparing /work/SRC/openSUSE:Factory/python-cairocffi (Old)
 and  /work/SRC/openSUSE:Factory/.python-cairocffi.new (New)


Package is python-cairocffi

Changes:

--- /work/SRC/openSUSE:Factory/python-cairocffi/python-cairocffi.changes
2014-08-27 07:47:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-cairocffi.new/python-cairocffi.changes   
2014-09-03 20:51:12.0 +0200
@@ -1,0 +2,7 @@
+Wed Aug 27 10:06:19 UTC 2014 - toddrme2...@gmail.com
+
+- Split out optional gdk-pixbuf module.
+  This avoids a lot of gtk dependencies for the main package, and 
+  is the recommended approach by upstream.
+
+---



Other differences:
--
++ python-cairocffi.spec ++
--- /var/tmp/diff_new_pack.xioIQu/_old  2014-09-03 20:51:14.0 +0200
+++ /var/tmp/diff_new_pack.xioIQu/_new  2014-09-03 20:51:14.0 +0200
@@ -31,7 +31,6 @@
 BuildRequires:  typelib(GdkPixbuf)
 Requires:   cairo-tools
 Requires:   python-cffi = 0.6
-Requires:   typelib(GdkPixbuf)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}  0%{?suse_version} = 1110
 %{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
@@ -45,6 +44,19 @@
 Cairo is a 2D vector graphics library with support for multiple backends
 including image buffers, PNG, PostScript, PDF, and SVG file output.
 
+%package pixbuf
+Summary:Python cairo bindings based on cffi - pixbuf image loader
+Requires:   typelib(GdkPixbuf)
+Requires:   %{name} = %{version}
+
+%description pixbuf
+cairocffi is a CFFI-based drop-in replacement for Pycairo,
+a set of Python bindings and object-oriented API for cairo.
+Cairo is a 2D vector graphics library with support for multiple backends
+including image buffers, PNG, PostScript, PDF, and SVG file output.
+
+This package provides the optional gdk-pixbuf image loader module.
+
 %prep
 %setup -q -n cairocffi-%{version}
 
@@ -57,6 +69,14 @@
 %files
 %defattr(-,root,root,-)
 %doc LICENSE CHANGES README.rst
-%{python_sitelib}/*
+%{python_sitelib}/cairocffi-%{version}-py*.egg-info
+%{python_sitelib}/cairocffi/
+%exclude %{python_sitelib}/cairocffi/test_pixbuf.py*
+%exclude %{python_sitelib}/cairocffi/pixbuf.py*
+
+%files pixbuf
+%defattr(-,root,root,-)
+%{python_sitelib}/cairocffi/pixbuf.py*
+%{python_sitelib}/cairocffi/test_pixbuf.py*
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org