diff options
Diffstat (limited to 'g_cran')
-rw-r--r-- | g_cran/__init__.py | 15 | ||||
-rw-r--r-- | g_cran/convert_packages_rds.R | 14 | ||||
-rw-r--r-- | g_cran/cran_read.py | 14 | ||||
-rw-r--r-- | g_cran/ebuild.py | 14 | ||||
-rw-r--r-- | g_cran/filetricks.py | 14 | ||||
-rw-r--r-- | g_cran/g_cran.py | 14 | ||||
-rw-r--r-- | g_cran/phases.py | 14 | ||||
-rw-r--r-- | g_cran/settings.py | 14 | ||||
-rw-r--r-- | g_cran/systemrequirements.py | 14 |
9 files changed, 127 insertions, 0 deletions
diff --git a/g_cran/__init__.py b/g_cran/__init__.py index e69de29..bd0972c 100644 --- a/g_cran/__init__.py +++ b/g_cran/__init__.py @@ -0,0 +1,15 @@ +#Copyright[yyyy] [name of copyright owner] +# +#Licensed under the Apache License, Version 2.0 (the "License"); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an "AS IS" BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. + + diff --git a/g_cran/convert_packages_rds.R b/g_cran/convert_packages_rds.R index 61c3494..a9895d5 100644 --- a/g_cran/convert_packages_rds.R +++ b/g_cran/convert_packages_rds.R @@ -1,3 +1,17 @@ +#Copyright[yyyy] [name of copyright owner] +# +#Licensed under the Apache License, Version 2.0 (the "License"); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an "AS IS" BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. + args<-commandArgs(TRUE) rdsfile<-args[1] packagesfile<-args[2] diff --git a/g_cran/cran_read.py b/g_cran/cran_read.py index 4a1ef90..d68ec94 100644 --- a/g_cran/cran_read.py +++ b/g_cran/cran_read.py @@ -1,3 +1,17 @@ +#Copyright[yyyy] [name of copyright owner] +# +#Licensed under the Apache License, Version 2.0 (the "License"); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an "AS IS" BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. + import re, os from ebuild import * from filetricks import * diff --git a/g_cran/ebuild.py b/g_cran/ebuild.py index 1beb55c..5de7108 100644 --- a/g_cran/ebuild.py +++ b/g_cran/ebuild.py @@ -1,3 +1,17 @@ +#Copyright[yyyy] [name of copyright owner] +# +#Licensed under the Apache License, Version 2.0 (the "License"); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an "AS IS" BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. + #Class for PMS-style packages class Ebuild(): def __init__(self): diff --git a/g_cran/filetricks.py b/g_cran/filetricks.py index de99f3b..b3a5d7d 100644 --- a/g_cran/filetricks.py +++ b/g_cran/filetricks.py @@ -1,3 +1,17 @@ +#Copyright[yyyy] [name of copyright owner] +# +#Licensed under the Apache License, Version 2.0 (the "License"); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an "AS IS" BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. + #we use this class to easily read the PACKAGES file #an empty line denotes a new package, but readline() usually #doesn't return empty lines diff --git a/g_cran/g_cran.py b/g_cran/g_cran.py index cb59f0f..820a308 100644 --- a/g_cran/g_cran.py +++ b/g_cran/g_cran.py @@ -1,4 +1,18 @@ #!/usr/bin/python +#Copyright[yyyy] [name of copyright owner] +# +#Licensed under the Apache License, Version 2.0 (the "License"); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an "AS IS" BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. + import sys, os from ebuild import * from cran_read import * diff --git a/g_cran/phases.py b/g_cran/phases.py index 17e78d1..deb4649 100644 --- a/g_cran/phases.py +++ b/g_cran/phases.py @@ -1,3 +1,17 @@ +#Copyright[yyyy] [name of copyright owner] +# +#Licensed under the Apache License, Version 2.0 (the "License"); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an "AS IS" BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. + import os,shutil import cran_read diff --git a/g_cran/settings.py b/g_cran/settings.py index baff761..4bd22fb 100644 --- a/g_cran/settings.py +++ b/g_cran/settings.py @@ -1,3 +1,17 @@ +#Copyright[yyyy] [name of copyright owner] +# +#Licensed under the Apache License, Version 2.0 (the "License"); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an "AS IS" BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. + #what phases can we have in our ebuild? pms_phases=['pkg_pretend','pkg_setup','src_unpack','src_prepare','src_configure','src_compile', 'src_test','src_install','pkg_preinst','pkg_postinst','pkg_prerm','pkg_postrm','pkg_config','pkg_info','pkg_nofetch'] diff --git a/g_cran/systemrequirements.py b/g_cran/systemrequirements.py index bb0f92e..55e4dd6 100644 --- a/g_cran/systemrequirements.py +++ b/g_cran/systemrequirements.py @@ -1,3 +1,17 @@ +#Copyright[yyyy] [name of copyright owner] +# +#Licensed under the Apache License, Version 2.0 (the "License"); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an "AS IS" BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. + import re def parse_system_requirements(req): |