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

PrettyTime srclib

This commit is contained in:
David Black 2013-04-28 18:52:27 +01:00
parent 23efb8999c
commit 48670b9e6c

View File

@ -1434,7 +1434,10 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
vcs = getvcs('git', vcs = getvcs('git',
'git://git.eclipse.org/gitroot/egit/egit-github.git', sdir, sdk_path) 'git://git.eclipse.org/gitroot/egit/egit-github.git', sdir, sdk_path)
vcs.gotorevision(ref) vcs.gotorevision(ref)
libdir = os.path.join(sdir, 'org.eclipse.egit.github.core')
if basepath:
return sdir return sdir
return libdir
if name == 'Busybox': if name == 'Busybox':
sdir = os.path.join(extlib_dir, 'Busybox') sdir = os.path.join(extlib_dir, 'Busybox')
@ -1710,6 +1713,8 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
'https://github.com/timmolter/XChart', sdir, sdk_path) 'https://github.com/timmolter/XChart', sdir, sdk_path)
vcs.gotorevision(ref) vcs.gotorevision(ref)
libdir = os.path.join(sdir, 'xchart') libdir = os.path.join(sdir, 'xchart')
if basepath:
return sdir
return libdir return libdir
if name == 'Libxmp': if name == 'Libxmp':
@ -1773,6 +1778,13 @@ def getsrclib(spec, extlib_dir, sdk_path, basepath=False):
raise BuildException('Error updating QuickdicUtils project') raise BuildException('Error updating QuickdicUtils project')
return sdir return sdir
if name == 'PrettyTime':
sdir = os.path.join(extlib_dir, 'PrettyTime')
vcs = getvcs('git',
'https://github.com/ocpsoft/prettytime', sdir, sdk_path)
vcs.gotorevision(ref)
return sdir
raise BuildException('Unknown srclib ' + name) raise BuildException('Unknown srclib ' + name)