mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
remove dependency on wget for 'build' and 'verify'
To make the core tools portable to platforms like Mac OS X and Windows, remove the dependency on wget and instead use Python Requests, which probably has better performance anyway.
This commit is contained in:
parent
cef7553873
commit
f625005ec3
4 changed files with 19 additions and 7 deletions
|
|
@ -1088,9 +1088,7 @@ def main():
|
|||
logging.info("...retrieving " + url)
|
||||
of = "{0}_{1}.apk.binary".format(app['id'], thisbuild['vercode'])
|
||||
of = os.path.join(output_dir, of)
|
||||
p = FDroidPopen(['wget', '-nv', '-O', of, url])
|
||||
if p.returncode != 0 or not os.path.exists(of):
|
||||
raise BuildException("...failed to retrieve " + url)
|
||||
common.download_file(url, local_filename=of)
|
||||
|
||||
build_succeeded.append(app)
|
||||
wikilog = "Build succeeded"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue