aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2009-12-21 00:10:28 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2009-12-21 00:10:28 -0200
commit18dccdebf1ea1baf93013cd1fd8e87683cb8a4c4 (patch)
tree426f9b5397e61928019a14d3592286035d0b7f27
parentchanged etc/g-octave.cfg (diff)
downloadg-octave-18dccdebf1ea1baf93013cd1fd8e87683cb8a4c4.tar.gz
g-octave-18dccdebf1ea1baf93013cd1fd8e87683cb8a4c4.tar.bz2
g-octave-18dccdebf1ea1baf93013cd1fd8e87683cb8a4c4.zip
renaming lib/ to g-octave/
-rw-r--r--g-octave/config.py (renamed from lib/config.py)2
-rw-r--r--g-octave/description.py (renamed from lib/description.py)0
-rw-r--r--g-octave/description_tree.py (renamed from lib/description_tree.py)0
-rw-r--r--g-octave/ebuild.py (renamed from lib/ebuild.py)2
-rw-r--r--g-octave/fetch.py (renamed from lib/fetch.py)0
-rw-r--r--g-octave/overlay.py (renamed from lib/overlay.py)0
-rw-r--r--scripts/g-octave7
7 files changed, 9 insertions, 2 deletions
diff --git a/lib/config.py b/g-octave/config.py
index ee8b533..f802918 100644
--- a/lib/config.py
+++ b/g-octave/config.py
@@ -78,7 +78,7 @@ class Config(object):
for dir in dirs:
if not os.path.isdir(dir):
- os.makedirs(dir)
+ os.makedirs(dir, 0755)
if __name__ == '__main__':
diff --git a/lib/description.py b/g-octave/description.py
index 599dede..599dede 100644
--- a/lib/description.py
+++ b/g-octave/description.py
diff --git a/lib/description_tree.py b/g-octave/description_tree.py
index 7d33fa4..7d33fa4 100644
--- a/lib/description_tree.py
+++ b/g-octave/description_tree.py
diff --git a/lib/ebuild.py b/g-octave/ebuild.py
index 39fdc66..d504cdc 100644
--- a/lib/ebuild.py
+++ b/g-octave/ebuild.py
@@ -105,7 +105,7 @@ RDEPEND="${DEPEND}
patchesdir = os.path.join(conf.db, 'patches')
filesdir = os.path.join(conf.overlay, 'g-octave', self.pkgname, 'files')
if not os.path.exists(filesdir):
- os.makedirs(filesdir)
+ os.makedirs(filesdir, 0755)
patch_string = ''
for patch in patches:
diff --git a/lib/fetch.py b/g-octave/fetch.py
index 668b136..668b136 100644
--- a/lib/fetch.py
+++ b/g-octave/fetch.py
diff --git a/lib/overlay.py b/g-octave/overlay.py
index f4f133f..f4f133f 100644
--- a/lib/overlay.py
+++ b/g-octave/overlay.py
diff --git a/scripts/g-octave b/scripts/g-octave
new file mode 100644
index 0000000..2b3341e
--- /dev/null
+++ b/scripts/g-octave
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+import os
+
+# Find our modules
+print os.path.dirname(os.path.realpath(__file__))