[packages/python-evas] - updated to 1.7.0 - removed obsolete cython patch

qboosh qboosh at pld-linux.org
Fri Sep 7 15:28:15 CEST 2012


commit e317ea9108f099a74dc40242b1cc77ee21682430
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Sep 7 15:28:27 2012 +0200

    - updated to 1.7.0
    - removed obsolete cython patch

 python-evas-cython.patch | 42 ------------------------------------------
 python-evas.spec         | 22 ++++++++++------------
 2 files changed, 10 insertions(+), 54 deletions(-)
---
diff --git a/python-evas.spec b/python-evas.spec
index edb9bdb..61c2413 100644
--- a/python-evas.spec
+++ b/python-evas.spec
@@ -1,24 +1,23 @@
 Summary:	Python bindings for Evas library
 Summary(pl.UTF-8):	Wiązania Pythona do biblioteki Evas
 Name:		python-evas
-Version:	0.7.3
+Version:	1.7.0
 Release:	1
 License:	LGPL v2.1+
 Group:		Development/Languages/Python
 Source0:	http://download.enlightenment.org/releases/BINDINGS/python/%{name}-%{version}.tar.bz2
-# Source0-md5:	5dc6ef5a1b5cd3ece27e6f6f96f46f42
-Patch0:		%{name}-cython.patch
+# Source0-md5:	c3fda2025171f5e3d2bc224e8bae88e5
 URL:		http://trac.enlightenment.org/e/wiki/Python
-BuildRequires:	eina-devel >= 1.0.0
+BuildRequires:	eina-devel >= 1.7.0
 BuildRequires:	epydoc
-BuildRequires:	evas-devel >= 1.0.0
-BuildRequires:	python-Cython >= 0.13
-BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	evas-devel >= 1.7.0
+BuildRequires:	python-Cython >= 0.15.1
+BuildRequires:	python-devel >= 1:2.7
 BuildRequires:	rpm-pythonprov
 BuildRequires:	pkgconfig >= 1:0.22
 BuildRequires:	rpmbuild(macros) >= 1.219
-Requires:	eina >= 1.0.0
-Requires:	evas >= 1.0.0
+Requires:	eina >= 1.7.0
+Requires:	evas >= 1.7.0
 Requires:	python-libs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,7 +32,7 @@ Summary:	Python bindings for Evas library - development files
 Summary(pl.UTF-8):	Wiązania Pythona do biblioteki Evas - pliki programistyczne
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	evas-devel >= 1.0.0
+Requires:	evas-devel >= 1.7.0
 
 %description devel
 Python bindings for Evas library - development files.
@@ -43,7 +42,6 @@ Wiązania Pythona do biblioteki Evas - pliki programistyczne.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %configure \
@@ -71,7 +69,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS README
 %dir %{py_sitedir}/evas
 %attr(755,root,root) %{py_sitedir}/evas/c_evas.so
-%{py_sitescriptdir}/evas
+%{py_sitedir}/evas/*.py[co]
 %{_examplesdir}/%{name}-%{version}
 
 %files devel
diff --git a/python-evas-cython.patch b/python-evas-cython.patch
deleted file mode 100644
index 29b613e..0000000
--- a/python-evas-cython.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- python-evas-0.7.3/evas.orig/evas.c_evas_canvas.pxi	2010-10-01 01:03:46.000000000 +0200
-+++ python-evas-0.7.3/evas/evas.c_evas_canvas.pxi	2011-12-16 20:42:13.254098609 +0100
-@@ -117,7 +117,7 @@
-            obscured_clear, render_updates, render, norender, freeze_get,
-            output_method_set, output_method_get, output_method
-     """
--    def __new__(self, *a, **ka):
-+    def __cinit__(self, *a, **ka):
-         self.obj = NULL
-         self._callbacks = [None] * evas_canvas_event_callbacks_len
- 
---- python-evas-0.7.3/evas.orig/evas.c_evas_object.pxi	2010-10-01 01:03:46.000000000 +0200
-+++ python-evas-0.7.3/evas/evas.c_evas_object.pxi	2011-12-16 20:42:25.217432342 +0100
-@@ -217,7 +217,7 @@
-        anti_alias_set, anti_alias_get, anti_alias, pointer_mode_set,
-        pointer_mode_get, pointer_mode
-     """
--    def __new__(self, *a, **ka):
-+    def __cinit__(self, *a, **ka):
-         self.obj = NULL
-         self.evas = None
-         self.data = dict()
---- python-evas-0.7.3/evas.orig/evas.c_evas_object_smart.pxi	2010-10-01 01:03:46.000000000 +0200
-+++ python-evas-0.7.3/evas/evas.c_evas_object_smart.pxi	2011-12-16 20:45:23.880771658 +0100
-@@ -359,7 +359,7 @@
- 
-     @see: L{ClippedSmartObject}
-     """
--    def __new__(self, *a, **ka):
-+    def __cinit__(self, *a, **ka):
-         self._smart_callbacks = dict()
-         cls = self.__class__
-         self._m_delete = _smart_class_get_impl_method(cls, "delete")
-@@ -501,7 +501,7 @@
-                 break
-         else:
-             raise ValueError("Callback %s was not registered with event %r" %
--                             (func, e))
-+                             (func, event))
- 
-         lst.pop(i)
-         if lst:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-evas.git/commitdiff/e317ea9108f099a74dc40242b1cc77ee21682430



More information about the pld-cvs-commit mailing list