summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-10-24 16:41:20 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-10-24 16:41:20 -0700
commitc1ad4bde28a09f39dbae0f6488dc7b7182d11f93 (patch)
tree9afb91fbe972d9fcb0e44410d805ac86df7fb700
parent7bd735416dcf8235efa77bf21f7e92beacf7d433 (diff)
downloadspack-c1ad4bde28a09f39dbae0f6488dc7b7182d11f93.tar.gz
spack-c1ad4bde28a09f39dbae0f6488dc7b7182d11f93.tar.bz2
spack-c1ad4bde28a09f39dbae0f6488dc7b7182d11f93.tar.xz
spack-c1ad4bde28a09f39dbae0f6488dc7b7182d11f93.zip
Rename EditableMakefile to MakefilePackage
-rw-r--r--lib/spack/spack/__init__.py4
-rw-r--r--lib/spack/spack/build_systems/makefile.py (renamed from lib/spack/spack/build_systems/editable_makefile.py)4
-rw-r--r--var/spack/repos/builtin/packages/astyle/package.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/spack/spack/__init__.py b/lib/spack/spack/__init__.py
index 918e17323b..67c64276ee 100644
--- a/lib/spack/spack/__init__.py
+++ b/lib/spack/spack/__init__.py
@@ -189,14 +189,14 @@ sys_type = None
__all__ = ['Package',
'CMakePackage',
'AutotoolsPackage',
- 'EditableMakefile',
+ 'MakefilePackage',
'Version',
'when',
'ver',
'alldeps',
'nolink']
from spack.package import Package, ExtensionConflictError
-from spack.build_systems.editable_makefile import EditableMakefile
+from spack.build_systems.makefile import MakefilePackage
from spack.build_systems.autotools import AutotoolsPackage
from spack.build_systems.cmake import CMakePackage
from spack.version import Version, ver
diff --git a/lib/spack/spack/build_systems/editable_makefile.py b/lib/spack/spack/build_systems/makefile.py
index e3adea8363..dcddadeedc 100644
--- a/lib/spack/spack/build_systems/editable_makefile.py
+++ b/lib/spack/spack/build_systems/makefile.py
@@ -29,7 +29,7 @@ from llnl.util.filesystem import working_dir
from spack.package import PackageBase
-class EditableMakefile(PackageBase):
+class MakefilePackage(PackageBase):
"""Specialized class for packages that are built using editable Makefiles
This class provides three phases that can be overridden:
@@ -43,7 +43,7 @@ class EditableMakefile(PackageBase):
phases = ['edit', 'build', 'install']
# To be used in UI queries that require to know which
# build-system class we are using
- build_system_class = 'EditableMakefile'
+ build_system_class = 'MakefilePackage'
def build_directory(self):
"""Directory where the main Makefile is located"""
diff --git a/var/spack/repos/builtin/packages/astyle/package.py b/var/spack/repos/builtin/packages/astyle/package.py
index fdd9c2111e..31e1efb591 100644
--- a/var/spack/repos/builtin/packages/astyle/package.py
+++ b/var/spack/repos/builtin/packages/astyle/package.py
@@ -25,7 +25,7 @@
from spack import *
-class Astyle(EditableMakefile):
+class Astyle(MakefilePackage):
"""A Free, Fast, and Small Automatic Formatter for C, C++, C++/CLI,
Objective-C, C#, and Java Source Code.
"""