summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'g_cran/g_cran.py')
-rw-r--r--g_cran/g_cran.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/g_cran/g_cran.py b/g_cran/g_cran.py
index 86fb5ea..0eb6515 100644
--- a/g_cran/g_cran.py
+++ b/g_cran/g_cran.py
@@ -39,9 +39,11 @@ def action_package(repo_location,package_name):
#output data
for key,value in package.ebuild_vars.iteritems():
if key=='pn' or key=='pv': #readonly vars, we cannot set these in ebuilds
- continue
- if isinstance(value,str): #if string
+ pass
+ elif isinstance(value,str): #if string
print key.upper()+'='+value.replace('\n','')
+ elif isinstance(value,list) and key=='license':
+ print "|| ( "+' '.join(value)+' )'
elif isinstance(value,list): #list, concat items
print key.upper()+'='+' '.join(value).replace('\n','')
for pms_func in pms_phases: