1 |
commit: 4379a4883d5a603d84d04edb14929a9342d21e45 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 5 17:00:28 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 5 20:40:44 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4379a488 |
7 |
|
8 |
dev-python/Kivy: Clean up old. |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
dev-python/Kivy/Kivy-1.8.0.ebuild | 47 ----------- |
14 |
dev-python/Kivy/Kivy-1.9.0.ebuild | 45 ---------- |
15 |
dev-python/Kivy/Manifest | 1 - |
16 |
dev-python/Kivy/files/cython-0.22.patch | 139 ------------------------------- |
17 |
dev-python/Kivy/files/cython-fixes.patch | 42 ---------- |
18 |
5 files changed, 274 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/Kivy/Kivy-1.8.0.ebuild b/dev-python/Kivy/Kivy-1.8.0.ebuild |
21 |
deleted file mode 100644 |
22 |
index af6192a..0000000 |
23 |
--- a/dev-python/Kivy/Kivy-1.8.0.ebuild |
24 |
+++ /dev/null |
25 |
@@ -1,47 +0,0 @@ |
26 |
-# Copyright 1999-2015 Gentoo Foundation |
27 |
-# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Id$ |
29 |
- |
30 |
-EAPI="5" |
31 |
- |
32 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
33 |
- |
34 |
-inherit distutils-r1 eutils |
35 |
- |
36 |
-DESCRIPTION="A software library for rapid development of hardware-accelerated multitouch applications" |
37 |
-HOMEPAGE="http://kivy.org/" |
38 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
39 |
- |
40 |
-LICENSE="MIT" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="~amd64 ~x86" |
43 |
-IUSE="cairo camera doc examples garden gstreamer spell" |
44 |
- |
45 |
-RDEPEND=" |
46 |
- dev-python/pygame[${PYTHON_USEDEP}] |
47 |
- virtual/python-imaging[${PYTHON_USEDEP}] |
48 |
- cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] ) |
49 |
- camera? ( media-libs/opencv ) |
50 |
- garden? ( dev-python/kivy-garden[${PYTHON_USEDEP}] ) |
51 |
- gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] ) |
52 |
- spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] ) |
53 |
- " |
54 |
-RDEPEND="${DEPEND} |
55 |
- dev-python/cython[${PYTHON_USEDEP}] |
56 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
-" |
58 |
- |
59 |
-python_prepare_all() { |
60 |
- sed -e '/data_files=/d' -i "${S}/setup.py" || die |
61 |
- epatch "${FILESDIR}/cython-fixes.patch" |
62 |
- if has_version '>=dev-python/cython-0.22' ; then |
63 |
- epatch "${FILESDIR}/cython-0.22.patch" |
64 |
- fi |
65 |
- distutils-r1_python_prepare_all |
66 |
-} |
67 |
- |
68 |
-python_install_all() { |
69 |
- use doc && DOCS=( doc/sources/. ) |
70 |
- use examples && EXAMPLES=( examples ) |
71 |
- distutils-r1_python_install_all |
72 |
-} |
73 |
|
74 |
diff --git a/dev-python/Kivy/Kivy-1.9.0.ebuild b/dev-python/Kivy/Kivy-1.9.0.ebuild |
75 |
deleted file mode 100644 |
76 |
index 9dbec84..0000000 |
77 |
--- a/dev-python/Kivy/Kivy-1.9.0.ebuild |
78 |
+++ /dev/null |
79 |
@@ -1,45 +0,0 @@ |
80 |
-# Copyright 1999-2015 Gentoo Foundation |
81 |
-# Distributed under the terms of the GNU General Public License v2 |
82 |
-# $Id$ |
83 |
- |
84 |
-EAPI="5" |
85 |
- |
86 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
87 |
- |
88 |
-inherit distutils-r1 eutils |
89 |
- |
90 |
-DESCRIPTION="A software library for rapid development of hardware-accelerated multitouch applications" |
91 |
-HOMEPAGE="http://kivy.org/" |
92 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
93 |
- |
94 |
-LICENSE="MIT" |
95 |
-SLOT="0" |
96 |
-KEYWORDS="~amd64 ~x86" |
97 |
-IUSE="cairo camera doc examples garden gstreamer spell" |
98 |
- |
99 |
-RDEPEND=" |
100 |
- dev-python/pygame[${PYTHON_USEDEP}] |
101 |
- virtual/python-imaging[${PYTHON_USEDEP}] |
102 |
- cairo? ( dev-python/pycairo[${PYTHON_USEDEP}] ) |
103 |
- camera? ( media-libs/opencv ) |
104 |
- garden? ( dev-python/kivy-garden[${PYTHON_USEDEP}] ) |
105 |
- gstreamer? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] ) |
106 |
- spell? ( dev-python/pyenchant[${PYTHON_USEDEP}] ) |
107 |
- " |
108 |
-DEPEND="${RDEPEND} |
109 |
- <=dev-python/cython-0.22[${PYTHON_USEDEP}] |
110 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
111 |
-" |
112 |
- |
113 |
-PATCHES=( "${FILESDIR}"/${P}-cython-0.22-backport.patch ) |
114 |
- |
115 |
-python_prepare_all() { |
116 |
- sed -e '/data_files=/d' -i "${S}/setup.py" || die |
117 |
- distutils-r1_python_prepare_all |
118 |
-} |
119 |
- |
120 |
-python_install_all() { |
121 |
- use doc && DOCS=( doc/sources/. ) |
122 |
- use examples && EXAMPLES=( examples ) |
123 |
- distutils-r1_python_install_all |
124 |
-} |
125 |
|
126 |
diff --git a/dev-python/Kivy/Manifest b/dev-python/Kivy/Manifest |
127 |
index f81ab10..7e5371c 100644 |
128 |
--- a/dev-python/Kivy/Manifest |
129 |
+++ b/dev-python/Kivy/Manifest |
130 |
@@ -1,2 +1 @@ |
131 |
-DIST Kivy-1.8.0.tar.gz 14655888 SHA256 1bb5add88132c902ed746e7624034ecaab49e61f3fbbfde231604e887e6fb324 SHA512 e7057b008cceec9513961ddc3d4aaef2aa1a10de9c2de09ad82bd90ca88300047374e5f8c982cb018712fb0465c03208108c3110887ef383c00a45ee9e5bc81d WHIRLPOOL a6530edebcae34aede981c2f0db37a26a9378e148a073dc1396096b4db04ebdef0f6d96de4222383a5e2d84858bdf10383611751f9bf5ae625eafc67d1cf702f |
132 |
DIST Kivy-1.9.0.tar.gz 16178808 SHA256 b828617f858963f7873f5c81bb8824ca1dfa265e7811fce03599e2ba7200ffa0 SHA512 e0efc27f8ae070f5748570ee9224220791d32e931bbaf0bad5ddee894cf1d0f9ded5eebcc54d3b666491edaab0316923311f5e0cc7b1e46929d87ea3bec87f21 WHIRLPOOL c57c696752c88d3c8643e126180aa00b864df45bad0de4e6456143fd0f1486085a258a787ec2e4017b982004dd5a1212b11dbcb352f1f72b77591fa5fd9c934e |
133 |
|
134 |
diff --git a/dev-python/Kivy/files/cython-0.22.patch b/dev-python/Kivy/files/cython-0.22.patch |
135 |
deleted file mode 100644 |
136 |
index 9b125f9..0000000 |
137 |
--- a/dev-python/Kivy/files/cython-0.22.patch |
138 |
+++ /dev/null |
139 |
@@ -1,139 +0,0 @@ |
140 |
---- kivy/graphics.orig/shader.pyx 2015-02-19 07:27:13.062070969 +0100 |
141 |
-+++ kivy/graphics/shader.pyx 2015-02-19 07:27:22.838737743 +0100 |
142 |
-@@ -221,13 +221,13 @@ |
143 |
- ''' |
144 |
- glUseProgram(0) |
145 |
- |
146 |
-- cdef void set_uniform(self, str name, value): |
147 |
-+ cdef void set_uniform(self, str name, value) except *: |
148 |
- if name in self.uniform_values and self.uniform_values[name] == value: |
149 |
- return |
150 |
- self.uniform_values[name] = value |
151 |
- self.upload_uniform(name, value) |
152 |
- |
153 |
-- cdef void upload_uniform(self, str name, value): |
154 |
-+ cdef void upload_uniform(self, str name, value) except *: |
155 |
- '''Pass a uniform variable to the shader. |
156 |
- ''' |
157 |
- cdef long vec_size, index, x, y |
158 |
-@@ -412,7 +412,7 @@ |
159 |
- mat[x] = <GLfloat>value.mat[x] |
160 |
- glUniformMatrix4fv(loc, 1, False, mat) |
161 |
- |
162 |
-- cdef int get_uniform_loc(self, str name): |
163 |
-+ cdef int get_uniform_loc(self, str name) except *: |
164 |
- cdef bytes c_name = name.encode('utf-8') |
165 |
- cdef int loc = glGetUniformLocation(self.program, c_name) |
166 |
- self.uniform_locations[name] = loc |
167 |
-@@ -453,11 +453,11 @@ |
168 |
- # save for the next run. |
169 |
- self._current_vertex_format = vertex_format |
170 |
- |
171 |
-- cdef void build(self): |
172 |
-+ cdef void build(self) except *: |
173 |
- self.build_vertex() |
174 |
- self.build_fragment() |
175 |
- |
176 |
-- cdef void build_vertex(self, int link=1): |
177 |
-+ cdef void build_vertex(self, int link=1) except *: |
178 |
- if self.vertex_shader is not None: |
179 |
- glDetachShader(self.program, self.vertex_shader.shader) |
180 |
- self.vertex_shader = None |
181 |
-@@ -467,7 +467,7 @@ |
182 |
- if link: |
183 |
- self.link_program() |
184 |
- |
185 |
-- cdef void build_fragment(self, int link=1): |
186 |
-+ cdef void build_fragment(self, int link=1) except *: |
187 |
- if self.fragment_shader is not None: |
188 |
- glDetachShader(self.program, self.fragment_shader.shader) |
189 |
- self.fragment_shader = None |
190 |
-@@ -477,7 +477,7 @@ |
191 |
- if link: |
192 |
- self.link_program() |
193 |
- |
194 |
-- cdef void link_program(self): |
195 |
-+ cdef void link_program(self) except *: |
196 |
- if self.vertex_shader is None or self.fragment_shader is None: |
197 |
- return |
198 |
- |
199 |
---- kivy/graphics.orig/instructions.pyx 2015-02-19 07:27:13.062070969 +0100 |
200 |
-+++ kivy/graphics/instructions.pyx 2014-01-20 03:49:50.000000000 +0100 |
201 |
-@@ -233,15 +233,15 @@ |
202 |
- if self.context_pop: |
203 |
- context.pop_states(self.context_pop) |
204 |
- |
205 |
-- cdef void set_state(self, str name, value): |
206 |
-+ cdef void set_state(self, str name, value) except *: |
207 |
- self.context_state[name] = value |
208 |
- self.flag_update() |
209 |
- |
210 |
-- cdef void push_state(self, str name): |
211 |
-+ cdef void push_state(self, str name) except *: |
212 |
- self.context_push.append(name) |
213 |
- self.flag_update() |
214 |
- |
215 |
-- cdef void pop_state(self, str name): |
216 |
-+ cdef void pop_state(self, str name) except *: |
217 |
- self.context_pop.append(name) |
218 |
- self.flag_update() |
219 |
- |
220 |
-@@ -764,29 +764,29 @@ |
221 |
- cdef get_state(self, str name): |
222 |
- return self.state_stacks[name][-1] |
223 |
- |
224 |
-- cdef void set_states(self, dict states): |
225 |
-+ cdef void set_states(self, dict states) except *: |
226 |
- cdef str name |
227 |
- for name, value in states.iteritems(): |
228 |
- self.set_state(name, value) |
229 |
- |
230 |
-- cdef void push_state(self, str name): |
231 |
-+ cdef void push_state(self, str name) except *: |
232 |
- stack = self.state_stacks[name] |
233 |
- stack.append(stack[-1]) |
234 |
- self.flag_update() |
235 |
- |
236 |
-- cdef void push_states(self, list names): |
237 |
-+ cdef void push_states(self, list names) except *: |
238 |
- cdef str name |
239 |
- for name in names: |
240 |
- self.push_state(name) |
241 |
- |
242 |
-- cdef void pop_state(self, str name): |
243 |
-+ cdef void pop_state(self, str name) except *: |
244 |
- stack = self.state_stacks[name] |
245 |
- oldvalue = stack.pop() |
246 |
- if oldvalue != stack[-1]: |
247 |
- self.set_state(name, stack[-1]) |
248 |
- self.flag_update() |
249 |
- |
250 |
-- cdef void pop_states(self, list names): |
251 |
-+ cdef void pop_states(self, list names) except *: |
252 |
- cdef str name |
253 |
- for name in names: |
254 |
- self.pop_state(name) |
255 |
-@@ -806,10 +806,10 @@ |
256 |
- texture.bind() |
257 |
- self.flag_update() |
258 |
- |
259 |
-- cdef void enter(self): |
260 |
-+ cdef void enter(self) except *: |
261 |
- self._shader.use() |
262 |
- |
263 |
-- cdef void leave(self): |
264 |
-+ cdef void leave(self) except *: |
265 |
- self._shader.stop() |
266 |
- |
267 |
- cdef void apply(self): |
268 |
---- kivy/graphics.orig/instructions.pxd 2015-02-19 07:44:16.315415541 +0100 |
269 |
-+++ kivy/graphics/instructions.pxd 2014-01-20 03:49:50.000000000 +0100 |
270 |
-@@ -115,7 +115,7 @@ |
271 |
- cdef void pop_states(self, list names) except * |
272 |
- cdef void enter(self) except * |
273 |
- cdef void leave(self) except * |
274 |
-- cdef void apply(self) except * |
275 |
-+ cdef void apply(self) |
276 |
- cpdef draw(self) |
277 |
- cdef void reload(self) |
278 |
- |
279 |
|
280 |
diff --git a/dev-python/Kivy/files/cython-fixes.patch b/dev-python/Kivy/files/cython-fixes.patch |
281 |
deleted file mode 100644 |
282 |
index b9eca4c..0000000 |
283 |
--- a/dev-python/Kivy/files/cython-fixes.patch |
284 |
+++ /dev/null |
285 |
@@ -1,42 +0,0 @@ |
286 |
---- kivy/lib/gstplayer/_gstplayer.pyx.orig 2014-01-29 17:45:32.000000000 +0100 |
287 |
-+++ kivy/lib/gstplayer/_gstplayer.pyx 2015-01-01 21:24:55.480191418 +0100 |
288 |
-@@ -207,7 +207,7 @@ |
289 |
- self.eos_cb() |
290 |
- |
291 |
- def load(self): |
292 |
-- cdef char *c_uri |
293 |
-+ cdef bytes py_uri |
294 |
- |
295 |
- # if already loaded before, clean everything. |
296 |
- if self.pipeline != NULL: |
297 |
-@@ -256,8 +256,8 @@ |
298 |
- |
299 |
- # configure playbin |
300 |
- g_object_set_int(self.pipeline, 'async-handling', 1) |
301 |
-- c_uri = <bytes>self.uri.encode('utf-8') |
302 |
-- g_object_set_void(self.playbin, 'uri', c_uri) |
303 |
-+ py_uri = <bytes>self.uri.encode('utf-8') |
304 |
-+ g_object_set_void(self.playbin, 'uri', <char *>py_uri) |
305 |
- |
306 |
- # attach the callback |
307 |
- # NOTE no need to create a weakref here, as we manage to grab/release |
308 |
---- kivy/graphics/shader.pyx.orig 2014-01-20 03:49:50.000000000 +0100 |
309 |
-+++ kivy/graphics/shader.pyx 2015-01-01 21:25:01.446858150 +0100 |
310 |
-@@ -421,6 +421,7 @@ |
311 |
- cdef void bind_vertex_format(self, VertexFormat vertex_format): |
312 |
- cdef unsigned int i |
313 |
- cdef vertex_attr_t *attr |
314 |
-+ cdef bytes name |
315 |
- |
316 |
- # if the current vertex format used in the shader is the current one, do |
317 |
- # nothing. |
318 |
-@@ -445,7 +446,8 @@ |
319 |
- attr = &vertex_format.vattr[i] |
320 |
- if attr.per_vertex == 0: |
321 |
- continue |
322 |
-- attr.index = glGetAttribLocation(self.program, <char *><bytes>attr.name) |
323 |
-+ name = <bytes>attr.name |
324 |
-+ attr.index = glGetAttribLocation(self.program, <char *>name) |
325 |
- glEnableVertexAttribArray(attr.index) |
326 |
- |
327 |
- # save for the next run. |