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

Add new srclib for bitcoinj wallet clone

This commit is contained in:
Ciaran Gultnieks 2012-04-08 09:07:08 +01:00
parent fda3e85c3a
commit b8d7ed9948

View File

@ -669,6 +669,15 @@ def getsrclib(spec, extlib_dir):
shutil.rmtree(os.path.join(sdir, 'bin'))
return sdir
if name == 'BitcoinJWallet':
sdir = os.path.join(extlib_dir, 'BitcoinJWallet')
vcs = getvcs('git',
'https://code.google.com/r/andreasschildbach-bitcoinj/', sdir)
vcs.gotorevision(ref)
if subprocess.call(['mvn', 'install'], cwd=sdir) != 0:
raise BuildException("Maven build failed for BitcoinJWallet srclib")
return sdir
raise BuildException('Unknown srclib ' + name)