summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2012-09-07 15:30:27 (GMT)
committerJakub Bogusz2012-09-07 15:30:27 (GMT)
commit0412f2c19e5af7cab00d0ab013bb801a97a814f3 (patch)
treefd43c6c5ef96ff5540e00705c944d0e752f2cc8d
parent713a5c8c33cce4d295b08e0180a9ff373cf30c65 (diff)
downloadpython-emotion-0412f2c19e5af7cab00d0ab013bb801a97a814f3.zip
python-emotion-0412f2c19e5af7cab00d0ab013bb801a97a814f3.tar.gz
- removed obsolete cython patch
-rw-r--r--python-emotion-cython.patch11
-rw-r--r--python-emotion.spec30
2 files changed, 14 insertions, 27 deletions
diff --git a/python-emotion-cython.patch b/python-emotion-cython.patch
deleted file mode 100644
index 5f5e5c1..0000000
--- a/python-emotion-cython.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- python-emotion-0.7.3/emotion/emotion.c_emotion.pyx.orig 2010-10-01 01:03:44.000000000 +0200
-+++ python-emotion-0.7.3/emotion/emotion.c_emotion.pyx 2012-01-21 20:29:17.554886922 +0100
-@@ -50,7 +50,7 @@
-
-
- cdef class Emotion(evas.c_evas.Object):
-- def __new__(self, *a, **ka):
-+ def __cinit__(self, *a, **ka):
- self._emotion_callbacks = {}
-
- def __init__(self, c_evas.Canvas canvas not None, **kargs):
diff --git a/python-emotion.spec b/python-emotion.spec
index 4be088b..5bf14f6 100644
--- a/python-emotion.spec
+++ b/python-emotion.spec
@@ -1,26 +1,25 @@
Summary: Python bindings for Emotion library
Summary(pl.UTF-8): Wiązania Pythona do biblioteki Emotion
Name: python-emotion
-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: 9e4a63a5b6314c81225addd68e26bb69
-Patch0: %{name}-cython.patch
+# Source0-md5: ac7197ce2617a87fad3dd134a98ad01f
URL: http://trac.enlightenment.org/e/wiki/Python
-BuildRequires: emotion-devel >= 0.2.0.52190
+BuildRequires: emotion-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: emotion >= 0.2.0.52190
-Requires: evas >= 1.0.0
-Requires: python-evas >= 0.7.3
+Requires: emotion >= 1.7.0
+Requires: evas >= 1.7.0
+Requires: python-evas >= 1.7.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -34,9 +33,9 @@ Summary: Python bindings for Emotion library - development files
Summary(pl.UTF-8): Wiązania Pythona do biblioteki Emotion - pliki programistyczne
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: emotion-devel >= 0.2.0.52190
-Requires: evas-devel >= 1.0.0
-Requires: python-evas-devel >= 0.7.3
+Requires: emotion-devel >= 1.7.0
+Requires: evas-devel >= 1.7.0
+Requires: python-evas-devel >= 1.7.0
%description devel
Python bindings for Emotion library - development files.
@@ -46,7 +45,6 @@ Wiązania Pythona do biblioteki Emotion - pliki programistyczne.
%prep
%setup -q
-%patch0 -p1
%build
%configure \
@@ -74,7 +72,7 @@ rm -rf $RPM_BUILD_ROOT
%doc AUTHORS README
%dir %{py_sitedir}/emotion
%attr(755,root,root) %{py_sitedir}/emotion/c_emotion.so
-%{py_sitescriptdir}/emotion
+%{py_sitedir}/emotion/__init__.py[co]
%{_examplesdir}/%{name}-%{version}
%files devel