-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Downloading from sourceforge autoselecting an mirror results in a HTTP 302 instead of a direct download.
Trying to build this clean recipe below results in:
RAN: '/bin/tar xzf ~/.local/share/python-for-android/packages/boost/boost_1_58_0.tar.gz'
STDOUT:
STDERR:
gzip: stdin: not in gzip format
/bin/tar: Child returned status 1
/bin/tar: Error is not recoverable: exiting now
Because this .tar.gz file is in reality the 302 HTML (ASCII) page.
from pythonforandroid.toolchain import Recipe, shprint, shutil, current_directory
from os.path import exists, join
class BoostRecipe(Recipe):
version = '1.58.0'
url = 'http://downloads.sourceforge.net/project/boost/boost/{version}/boost_1_58_0.tar.gz'
recipe = BoostRecipe()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels