aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--g_octave/ebuild.py2
-rwxr-xr-xscripts/g-octave16
2 files changed, 17 insertions, 1 deletions
diff --git a/g_octave/ebuild.py b/g_octave/ebuild.py
index 82a4f60..90eac4f 100644
--- a/g_octave/ebuild.py
+++ b/g_octave/ebuild.py
@@ -165,7 +165,7 @@ RDEPEND="${DEPEND}
'eutils': '',
'description': description,
'url': self.__desc.url,
- 'keywords': self.__keywords(accept_keywords),
+ 'keywords': self.__scm and '' or self.__keywords(accept_keywords),
'category': category,
'depend': '',
'rdepend': '',
diff --git a/scripts/g-octave b/scripts/g-octave
index 7d0d782..85bccf3 100755
--- a/scripts/g-octave
+++ b/scripts/g-octave
@@ -127,6 +127,22 @@ def main():
)
parser.add_option(
+ '--scm',
+ action = 'store_true',
+ dest = 'scm',
+ default = False,
+ help = 'enable the installation of the current live version of a package, if disabled on the configuration file'
+ )
+
+ parser.add_option(
+ '--no-scm',
+ action = 'store_true',
+ dest = 'no_scm',
+ default = False,
+ help = 'disable the installation of the current live version of a package, if enabled on the configuration file'
+ )
+
+ parser.add_option(
'-f', '--force',
action = 'store_true',
dest = 'force',