Hello community,

here is the log from the commit of package python-cairo for openSUSE:Factory
checked in at Fri Jun 17 09:46:43 CEST 2011.



--------
--- python-cairo/python-cairo.changes   2010-09-18 16:07:38.000000000 +0200
+++ /mounts/work_src_done/STABLE/python-cairo/python-cairo.changes      
2011-06-17 07:15:33.000000000 +0200
@@ -1,0 +2,16 @@
+Fri Jun 17 06:22:03 CEST 2011 - [email protected]
+
+- Update to version 1.10.0:
+  + New Constants:
+    - cairo.FORMAT_RGB16_565
+  + Bug Fixes:
+    - context.get_source().get_surface() fails (fdo#33013)
+  + Improve/simplify unicode filename and text support.
+  + Build related changes.
+- Move to using waf for the build as the autotools support is
+  broken.
+- Recompile the generated byte-code with %py_compile, as the
+  waf-generated byte-code references the build root. This is a bug
+  in waf, see http://code.google.com/p/waf/issues/detail?id=986
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  py2cairo-1.8.10.tar.bz2

New:
----
  py2cairo-1.10.0.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cairo.spec ++++++
--- /var/tmp/diff_new_pack.4JS0Mx/_old  2011-06-17 09:45:14.000000000 +0200
+++ /var/tmp/diff_new_pack.4JS0Mx/_new  2011-06-17 09:45:14.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-cairo (Version 1.8.10)
+# spec file for package python-cairo
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -15,20 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           python-cairo
-BuildRequires:  cairo-devel
-BuildRequires:  fdupes
-BuildRequires:  python-devel
+%define _name   py2cairo
+Version:        1.10.0
+Release:        1
+Summary:        Python Bindings for Cairo
 License:        LGPLv2.1+ ; MPL ..
 Group:          Development/Libraries/Python
-Summary:        Python Bindings for Cairo
-Version:        1.8.10
-Release:        1
+# FIXME: on update, check if we still need to manually compile the byte-code 
in %%install
 Url:            http://www.cairographics.org/
-Source:         py2cairo-%{version}.tar.bz2
+Source:         %{_name}-%{version}.tar.bz2
+BuildRequires:  cairo-devel
+BuildRequires:  fdupes
+BuildRequires:  python-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %py_requires
 
@@ -46,15 +47,17 @@
 Headers for python-cairo
 
 %prep
-%setup -n pycairo-%{version}
+%setup -n %{_name}-%{version}
 
 %build
-%configure
-%__make %{?jobs:-j%jobs}
+./waf configure --prefix=%{_prefix} --libdir=%{_libdir}
+./waf build
 
 %install
-%makeinstall
-rm $RPM_BUILD_ROOT/%{py_sitedir}/cairo/*.la
+./waf install --destdir=%{buildroot}
+# waf is broken and generated byte-code that references the build root, see 
http://code.google.com/p/waf/issues/detail?id=986
+%py_compile $RPM_BUILD_ROOT/%{py_sitedir}
+%py_compile -O $RPM_BUILD_ROOT/%{py_sitedir}
 %fdupes $RPM_BUILD_ROOT/%{py_sitedir}
 
 %clean

++++++ py2cairo-1.8.10.tar.bz2 -> py2cairo-1.10.0.tar.bz2 ++++++
++++ 33062 lines of diff (skipped)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to