Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ticket1263 setup testapp python3 #1281

Merged

Conversation

AndreMiras
Copy link
Member

Changes summary

  1. Build testapp using setup_testapp_python3

Has the following requirements:
sdl2,pyjnius,kivy,python3crystax
Also updated Dockerfile to download and install CrystaX NDK.
Refs #1263

  1. curl to follow redirects and use bsdtar

On Travis CrystaX download is redirected from
https://eu.crystax.net/download/crystax-ndk-10.3.2-linux-x86.tar.xz
to
https://us.crystax.net/download/crystax-ndk-10.3.2-linux-x86.tar.xz
Adding --location flag makes it possible to automatically follow
that redirect.
Also replaced tar by bsdtar, since tar was failing with the following:

tar: crystax-ndk-10.3.2/sources/cpufeatures: Directory renamed before its status could be extracted

Plus excluded some folders from the extract command to save time and space.
Reduces decompressed size from 7.6G to 6.3G.
Also added gnutls_handshake flag to curl to workaround random gnutls_handshake()
issues on CrystaX download only. The error was:

curl: (35) gnutls_handshake() failed: Error in the pull function.

Note

Build are now taking 30 minutes 😢 but #1280 should improve that.

Has the following requirements:
sdl2,pyjnius,kivy,python3crystax
Also updated Dockerfile to download and install CrystaX NDK.
Refs kivy#1263
On Travis CrystaX download is redirected from
https://eu.crystax.net/download/crystax-ndk-10.3.2-linux-x86.tar.xz
to
https://us.crystax.net/download/crystax-ndk-10.3.2-linux-x86.tar.xz
Adding `--location` flag makes it possible to automatically follow
that redirect.
Also replaced tar by bsdtar, since tar was failing with the following:
```
tar: crystax-ndk-10.3.2/sources/cpufeatures: Directory renamed before its status could be extracted
```
Plus excluded some folders from the extract command to save time and space.
Reduces decompressed size from 7.6G to 6.3G.
Also added `gnutls_handshake` flag to `curl` to workaround random `gnutls_handshake()`
issues on CrystaX download only. The error was:
```
curl: (35) gnutls_handshake() failed: Error in the pull function.
```
@AndreMiras AndreMiras force-pushed the feature/ticket1263_setup_testapp_python3 branch from f28ef59 to d013a86 Compare May 20, 2018 11:19
@tshirtman tshirtman merged commit f71d8d7 into kivy:master May 20, 2018
@AndreMiras AndreMiras deleted the feature/ticket1263_setup_testapp_python3 branch October 6, 2018 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants