1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 17:00:12 +01:00

add PrayTimes srclib

This commit is contained in:
David Black 2012-10-01 19:23:18 +01:00
parent 17cb991fd5
commit e2953154c8

View File

@ -1114,15 +1114,11 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
raise BuildException('Error updating Tree-List-View project') raise BuildException('Error updating Tree-List-View project')
return sdir return sdir
if name == 'Transdroid-Search': if name == 'PrayTimes':
sdir = os.path.join(extlib_dir, 'Transdroid-Search') sdir = os.path.join(extlib_dir, 'PrayTimes')
vcs = getvcs('git-svn', vcs = getvcs('git',
'http://transdroid-search.googlecode.com/svn/trunk/', sdir, sdk_path) 'https://github.com/ebraminio/PrayTimes.git', sdir, sdk_path)
vcs.gotorevision(ref) vcs.gotorevision(ref)
if subprocess.call([os.path.join(sdk_path, 'tools', 'android'),
'update', 'project', '-p',
sdir]) != 0:
raise BuildException('Error updating Transdroid-Search project')
return sdir return sdir
raise BuildException('Unknown srclib ' + name) raise BuildException('Unknown srclib ' + name)