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

qboosh qboosh at pld-linux.org
Fri Sep 7 16:42:07 CEST 2012


commit 6ccdf3b3980e74c0d7c03f0fb04865970c6f1a6f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Sep 7 16:42:33 2012 +0200

    - updated to 1.7.0
    - removed obsolete cython patch

 python-edje-cython.patch | 11 -----------
 python-edje.spec         | 37 ++++++++++++++++++-------------------
 2 files changed, 18 insertions(+), 30 deletions(-)
---
diff --git a/python-edje.spec b/python-edje.spec
index 8f87132..05d419c 100644
--- a/python-edje.spec
+++ b/python-edje.spec
@@ -1,28 +1,27 @@
 Summary:	Python bindings for Edje library
 Summary(pl.UTF-8):	Wiązania Pythona do biblioteki Edje
 Name:		python-edje
-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:	e3ea7916db29e8656452369d36fc7d4e
-Patch0:		%{name}-cython.patch
+# Source0-md5:	1e0d7a4a4504298caaad0cee476e4edb
 URL:		http://trac.enlightenment.org/e/wiki/Python
-BuildRequires:	edje-devel >= 1.0.0
-BuildRequires:	eina-devel >= 1.0.0
+BuildRequires:	edje-devel >= 1.7.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:	python-evas >= 0.7.3
+BuildRequires:	evas-devel >= 1.7.0
+BuildRequires:	python-Cython >= 0.15.1
+BuildRequires:	python-devel >= 1:2.7
+BuildRequires:	python-evas >= 1.7.0
 BuildRequires:	rpm-pythonprov
 BuildRequires:	pkgconfig >= 1:0.22
 BuildRequires:	rpmbuild(macros) >= 1.219
-Requires:	edje-libs >= 1.0.0
-Requires:	eina >= 1.0.0
-Requires:	evas >= 1.0.0
-Requires:	python-evas >= 0.7.3
+Requires:	edje-libs >= 1.7.0
+Requires:	eina >= 1.7.0
+Requires:	evas >= 1.7.0
+Requires:	python-evas >= 1.7.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,10 +35,10 @@ Summary:	Python bindings for Edje library - development files
 Summary(pl.UTF-8):	Wiązania Pythona do biblioteki Edje - pliki programistyczne
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	edje-devel >= 1.0.0
-Requires:	eina-devel >= 1.0.0
-Requires:	evas-devel >= 1.0.0
-Requires:	python-evas-devel >= 0.7.3
+Requires:	edje-devel >= 1.7.0
+Requires:	eina-devel >= 1.7.0
+Requires:	evas-devel >= 1.7.0
+Requires:	python-evas-devel >= 1.7.0
 
 %description devel
 Python bindings for Edje library - development files.
@@ -49,7 +48,6 @@ Wiązania Pythona do biblioteki Edje - pliki programistyczne.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %configure \
@@ -80,7 +78,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{py_sitedir}/edje/c_edje.so
 %dir %{py_sitedir}/edje/edit
 %attr(755,root,root) %{py_sitedir}/edje/edit/c_edit.so
-%{py_sitescriptdir}/edje
+%{py_sitedir}/edje/*.py[co]
+%{py_sitedir}/edje/edit/__init__.py[co]
 %{_examplesdir}/%{name}-%{version}
 
 %files devel
diff --git a/python-edje-cython.patch b/python-edje-cython.patch
deleted file mode 100644
index 1a0fe27..0000000
--- a/python-edje-cython.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- python-edje-0.7.3/edje.orig/edje.c_edje_object.pxi	2010-10-01 01:03:42.000000000 +0200
-+++ python-edje-0.7.3/edje/edje.c_edje_object.pxi	2011-12-17 10:08:38.912385405 +0100
-@@ -139,7 +139,7 @@
-         ...
-         >>> my_edje.message_handler_set(msg_dbg)
-     """
--    def __new__(self, *a, **ka):
-+    def __cinit__(self, *a, **ka):
-         self._signal_callbacks = {}
- 
-     def __init__(self, c_evas.Canvas canvas not None, **kargs):
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-edje.git/commitdiff/6ccdf3b3980e74c0d7c03f0fb04865970c6f1a6f



More information about the pld-cvs-commit mailing list