Since it's not documented well I thought I'd do a post on how to create a patch for a python-for-android recipe. If you have to modify an existing recipe you can get the source package p4a downloads from ~/.local/share/python-for-android/packages/<recipe-name>. This is typically a tar.gz or zipped source bundle. Extract it and create a copy. Rename the copy to something like "<recipe-name>-patched" or simply "patched". I'm working with the openssl recipe, so mine looks like this Now modify the patched source to apply all your fixes as needed. Once done you can create a patch file by going to the directory containing both versions and using the "git diff <original> <patched>" command. Then save it to a file by adding "> fix-some-issue.patch" to the end. Now copy this patch file into your recipe package and add it to the "patches" list (or call "self.apply_patch('fix-some-iss
Software projects, tips, and tutorials from codelv.com