diff options
Diffstat (limited to 'g_cran/phases.py')
-rw-r--r-- | g_cran/phases.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/g_cran/phases.py b/g_cran/phases.py index 59dd683..17e78d1 100644 --- a/g_cran/phases.py +++ b/g_cran/phases.py @@ -9,7 +9,7 @@ def verbose_system(command): #no need to unpack, see src_compile def pkg_unpack(env,local_repository): - pass + return 0 #This function actually creates a binary package (a tarball) from the source package #this way, we cleanly split up R package installing into a compile and install phase @@ -24,6 +24,7 @@ def src_compile(env,local_repository): returnval=verbose_system("R CMD INSTALL --build "+tarball+" -l "+tmp_target) if returnval: raise RuntimeError("R build failed") + return 0 def src_install(env,local_repository): package=cran_read.find_package(local_repository,env['PN']) @@ -63,5 +64,6 @@ def src_install(env,local_repository): #not implemented else: shutil.rmtree(os.path.join(r_library,package.cran_data['package'],'html')) + return 0 |