mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Add srclib now needed for org.ttrssreader
This commit is contained in:
parent
c050279383
commit
44d62557a4
1 changed files with 12 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# common.py - part of the FDroid server tools
|
# common.py - part of the FDroid server tools
|
||||||
# Copyright (C) 2010-12, Ciaran Gultnieks, ciaran@ciarang.com
|
# Copyright (C) 2010-13, Ciaran Gultnieks, ciaran@ciarang.com
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as published by
|
# it under the terms of the GNU Affero General Public License as published by
|
||||||
|
|
@ -1594,6 +1594,17 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
|
||||||
vcs.gotorevision(ref)
|
vcs.gotorevision(ref)
|
||||||
return sdir
|
return sdir
|
||||||
|
|
||||||
|
if name == 'LocaleAPI':
|
||||||
|
sdir = os.path.join(extlib_dir, 'LocaleAPI')
|
||||||
|
vcs = getvcs('git',
|
||||||
|
'https://git.gitorious.org/locale-api/mirror.git', sdir, sdk_path)
|
||||||
|
vcs.gotorevision(ref)
|
||||||
|
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
|
||||||
|
'update', 'project', '-p',
|
||||||
|
sdir]) != 0:
|
||||||
|
raise BuildException('Error updating LocaleAPI project')
|
||||||
|
return sdir
|
||||||
|
|
||||||
raise BuildException('Unknown srclib ' + name)
|
raise BuildException('Unknown srclib ' + name)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue