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
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