Rename EditableMakefile to MakefilePackage

This commit is contained in:
Todd Gamblin 2016-10-24 16:41:20 -07:00
parent 7bd735416d
commit c1ad4bde28
3 changed files with 5 additions and 5 deletions

View File

@ -189,14 +189,14 @@
__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

View File

@ -29,7 +29,7 @@
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"""

View File

@ -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.
"""