From e2953154c849f8fa173adaa7d9f8458c0244bb0b Mon Sep 17 00:00:00 2001 From: David Black Date: Mon, 1 Oct 2012 19:23:18 +0100 Subject: [PATCH] add PrayTimes srclib --- fdroidserver/common.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index bf6a091e..e2569f1e 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1114,15 +1114,11 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False): raise BuildException('Error updating Tree-List-View project') return sdir - if name == 'Transdroid-Search': - sdir = os.path.join(extlib_dir, 'Transdroid-Search') - vcs = getvcs('git-svn', - 'http://transdroid-search.googlecode.com/svn/trunk/', sdir, sdk_path) + if name == 'PrayTimes': + sdir = os.path.join(extlib_dir, 'PrayTimes') + vcs = getvcs('git', + 'https://github.com/ebraminio/PrayTimes.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 Transdroid-Search project') return sdir raise BuildException('Unknown srclib ' + name)