]> git.pld-linux.org Git - packages/python-evas.git/commitdiff
- updated to 1.7.0 auto/th/python-evas-1.7.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 7 Sep 2012 13:28:27 +0000 (15:28 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 7 Sep 2012 13:28:27 +0000 (15:28 +0200)
- removed obsolete cython patch

python-evas-cython.patch [deleted file]
python-evas.spec

diff --git a/python-evas-cython.patch b/python-evas-cython.patch
deleted file mode 100644 (file)
index 29b613e..0000000
+++ /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:
index edb9bdbb13f9ba15593543cda91188795abf9124..61c2413cfafafd52bc54d9b8452ded686ee0d738 100644 (file)
@@ -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
This page took 0.060537 seconds and 4 git commands to generate.