Accepting request 487673 from devel:languages:python:singlespec
1 OBS-URL: https://build.opensuse.org/request/show/487673 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cairocffi?expand=0&rev=17
This commit is contained in:
parent
97c5dd11ab
commit
bf1c670f26
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e42b4256d27bd960cbf3b91a6c55d602defcdbc2a73f7317849c80279feeb975
|
||||
size 75337
|
3
cairocffi-0.8.0.tar.gz
Normal file
3
cairocffi-0.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65f21e6786e2b255ab1d3fda53a365a3565bb1808cabbbe59d99a797c61d3545
|
||||
size 79217
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 12 17:44:02 UTC 2017 - toddrme2178@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 - jmatejek@suse.com
|
||||
|
||||
- update for multipython build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 1 11:08:43 UTC 2016 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -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
|
||||
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 @@ This package provides the optional gdk-pixbuf image loader module.
|
||||
%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
|
||||
|
Loading…
x
Reference in New Issue
Block a user