From 9e5a4fd777fc058b5a3c1b7bb714054a4d72a574 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Mon, 16 Jul 2012 09:34:33 -0700 Subject: [PATCH 1/2] Initial commit --- .gitignore | 27 +++++++++++++++++++++++++++ README.md | 4 ++++ 2 files changed, 31 insertions(+) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f24cd99 --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +*.py[co] + +# Packages +*.egg +*.egg-info +dist +build +eggs +parts +bin +var +sdist +develop-eggs +.installed.cfg + +# Installer logs +pip-log.txt + +# Unit test / coverage reports +.coverage +.tox + +#Translations +*.mo + +#Mr Developer +.mr.developer.cfg diff --git a/README.md b/README.md new file mode 100644 index 0000000..6020adc --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +buildozer +========= + +Generic Python packager for Android / iOS and Desktop \ No newline at end of file From 18590ddf0f2350007a8da01c176ea823905839f8 Mon Sep 17 00:00:00 2001 From: tshirtman Date: Tue, 29 Jan 2013 13:02:14 +0100 Subject: [PATCH 2/2] allow to use branch in python-for-android --- buildozer/targets/android.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 5ae6dc6..2a5c496 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -277,6 +277,11 @@ class TargetAndroid(Target): cmd('git clean -dxf', cwd=pa_dir) cmd('git pull origin master', cwd=pa_dir) + source = self.buildozer.config.get('app', 'android.branch') + if source: + cmd('git checkout --track -b %s origin/%s' % (source, source), + cwd=pa_dir) + self._install_apache_ant() self._install_android_sdk() self._install_android_ndk()