The UpdateCheckData moved on the remote URL

Also installs `buildozer` under Python3 via `pip3` as some of the build
steps now requires Python3.
Note that python2.7 is still a required dependency from buildozer, refs:
https://github.com/kivy/buildozer/blob/586152c/buildozer/__init__.py#L582
This commit is contained in:
Andre Miras 2019-09-19 18:02:52 +02:00
parent 620f902fd2
commit 2265ff8f17

View file

@ -61,6 +61,24 @@ Builds:
build: PATH="$HOME/.local/bin:$PATH" buildozer android release
ndk: r17c
- versionName: '2019.0911'
versionCode: 721202811
commit: v2019.0911
sudo:
- apt-get update || apt-get update
- apt-get install -y build-essential libffi-dev libltdl-dev python2.7 zlib1g-dev
output: bin/etheroll-$$VERSION$$-release-unsigned.apk
srclibs:
- buildozer@586152c
prebuild:
- sed -r "s:#?android.sdk_path =.*:android.sdk_path = $$SDK$$:" -i buildozer.spec
- sed -r "s:#?android.ndk_path =.*:android.ndk_path = $$NDK$$:" -i buildozer.spec
- sed -r "s:#?android.accept_sdk_license =.*:android.accept_sdk_license = False:"
-i buildozer.spec
- pip3 install --user --upgrade $$buildozer$$ Cython==0.28.6
build: PATH="$HOME/.local/bin:$PATH" buildozer android release
ndk: r17c
MaintainerNotes: |-
The build relies on buildozer master (post 0.39 release) which fixes issues
with unsigned releases.
@ -71,7 +89,7 @@ MaintainerNotes: |-
AutoUpdateMode: Version v%v
UpdateCheckMode: HTTP
UpdateCheckData: https://raw.githubusercontent.com/AndreMiras/EtherollApp/develop/src/version.py|__version_code__
UpdateCheckData: https://raw.githubusercontent.com/AndreMiras/EtherollApp/develop/src/etherollapp/version.py|__version_code__
= (\d+)|.|__version__ = '(\d+\.\d+)'
CurrentVersion: '2019.0624'
CurrentVersionCode: 721202524
CurrentVersion: '2019.0911'
CurrentVersionCode: 721202811