summaryrefslogtreecommitdiffstats
path: root/modules/buildsystem.py
diff options
context:
space:
mode:
authorYaakov M. Nemoy <loupgaroublond@gmail.com>2009-01-18 21:12:09 -0500
committerYaakov M. Nemoy <loupgaroublond@gmail.com>2009-01-18 21:12:09 -0500
commit104b3c4262fa3cb6b24ed0e1cd5402b14f4eab8f (patch)
tree9606a60155e93229b50a9011bf5d0dae7e848c9a /modules/buildsystem.py
parent8bbbcbd2cdad36e27c127c888897395cefcff3d0 (diff)
downloadfedora-devshell-104b3c4262fa3cb6b24ed0e1cd5402b14f4eab8f.tar.gz
fedora-devshell-104b3c4262fa3cb6b24ed0e1cd5402b14f4eab8f.tar.xz
fedora-devshell-104b3c4262fa3cb6b24ed0e1cd5402b14f4eab8f.zip
Fixes up HaskellPort to work with the new refactoring.
Also adds some close code for ports Also mistakenly stuck some code in HaskellPort that really belongs to the build system
Diffstat (limited to 'modules/buildsystem.py')
-rw-r--r--modules/buildsystem.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/buildsystem.py b/modules/buildsystem.py
index 2c5a3a5..254b726 100644
--- a/modules/buildsystem.py
+++ b/modules/buildsystem.py
@@ -18,7 +18,7 @@
from base.module import Module
-class BuildSystem(Module): pass
+class BuildSystem(Module):
def configure(self, target='home', *args):
'''runs the configure stage of cabal
@@ -47,3 +47,8 @@ class BuildSystem(Module): pass
must do this on their own.
'''
raise NotImplementedError
+
+ def install_source(self, target='home', *args):
+ '''perform configure, build, and install steps in one
+ '''
+ raise NotImplementedError