kivy/python-for-android — pull request #251 by inclement (2014-06-22 14:04:40+00:00)
Title: Fixed kivy recipe to work on repeated runs with P4A_kivy_DIR

Not for merging without discussion!

This would fix https://github.com/kivy/python-for-android/issues/234

I'm not sure if this is the right fix, but I'm doing a pr in the hope that someone who knows what's going on will see it. As far as I can tell, it *does* resolve the linked issue.

Without this pr, something doesn't work - the build_ext lines don't place object files where the biglink script can see them. I think the issue is that they recognise the pyx source files haven't changed and therefore don't rebuild the object files, whereas with this fix cython is always called and the files are always rebuilt.

As discussed with tito, maybe there is a better solution, but I'm not even completely sure what's going on and I couldn't track it down better than this.