summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Booij (tulcod) <auke@tulcod.com>2010-09-10 21:19:15 +0200
committerAuke Booij (tulcod) <auke@tulcod.com>2010-09-10 21:19:26 +0200
commit7c34f61f9d84ea490d91dbf8e95fc651b39cb568 (patch)
tree1c0a07ef8ac4a273493bc7b26f639263559a045c
parentAdd READMEs (diff)
downloadg-cran-master.tar.gz
g-cran-master.tar.bz2
g-cran-master.zip
Adding licensing infoHEADmaster
-rwxr-xr-xbin/g-common14
-rwxr-xr-xbin/g-cran14
-rw-r--r--g_common/__init__.py15
-rwxr-xr-xg_common/common.ebuild16
-rw-r--r--g_common/g_common.py14
-rw-r--r--g_common/gcommon.eclass16
-rw-r--r--g_common/settings.py14
-rw-r--r--g_cran/__init__.py15
-rw-r--r--g_cran/convert_packages_rds.R14
-rw-r--r--g_cran/cran_read.py14
-rw-r--r--g_cran/ebuild.py14
-rw-r--r--g_cran/filetricks.py14
-rw-r--r--g_cran/g_cran.py14
-rw-r--r--g_cran/phases.py14
-rw-r--r--g_cran/settings.py14
-rw-r--r--g_cran/systemrequirements.py14
-rw-r--r--setup.py14
17 files changed, 240 insertions, 4 deletions
diff --git a/bin/g-common b/bin/g-common
index e8d80b1..f642814 100755
--- a/bin/g-common
+++ b/bin/g-common
@@ -1,4 +1,18 @@
#!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
from g_common import g_common
diff --git a/bin/g-cran b/bin/g-cran
index 69622eb..1fc9c6a 100755
--- a/bin/g-cran
+++ b/bin/g-cran
@@ -1,4 +1,18 @@
#!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
from g_cran import g_cran
diff --git a/g_common/__init__.py b/g_common/__init__.py
index e69de29..bd0972c 100644
--- a/g_common/__init__.py
+++ b/g_common/__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_common/common.ebuild b/g_common/common.ebuild
index 1904c57..a705f4d 100755
--- a/g_common/common.ebuild
+++ b/g_common/common.ebuild
@@ -1,5 +1,17 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
+#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.
+
# $Header: $
argv0=${BASH_ARGV[0]}
diff --git a/g_common/g_common.py b/g_common/g_common.py
index 269ea15..cfebb2c 100644
--- a/g_common/g_common.py
+++ b/g_common/g_common.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 getopt, sys, os
import settings
diff --git a/g_common/gcommon.eclass b/g_common/gcommon.eclass
index b1b7bd3..0731674 100644
--- a/g_common/gcommon.eclass
+++ b/g_common/gcommon.eclass
@@ -1,5 +1,17 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
+#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.
+
# $Header: $
#
diff --git a/g_common/settings.py b/g_common/settings.py
index 1766a93..3172484 100644
--- a/g_common/settings.py
+++ b/g_common/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.
+
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']
GLOBAL_CONF_DIR='/usr/share/g-common/'
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):
diff --git a/setup.py b/setup.py
index e73787a..6b1070b 100644
--- a/setup.py
+++ b/setup.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.
+
#!/usr/bin/env python
from distutils.core import setup