Skip to content
Snippets Groups Projects
Commit 0fbf70d9 authored by Denis Davydov's avatar Denis Davydov
Browse files

indentation fixes

parent 459c647b
Branches
Tags
No related merge requests found
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
############################################################################## ##############################################################################
from spack import * from spack import *
import sys
class Doxygen(Package): class Doxygen(Package):
...@@ -40,13 +39,13 @@ class Doxygen(Package): ...@@ -40,13 +39,13 @@ class Doxygen(Package):
version('1.8.10', '79767ccd986f12a0f949015efb5f058f') version('1.8.10', '79767ccd986f12a0f949015efb5f058f')
# graphviz appears to be a run-time optional dependency # graphviz appears to be a run-time optional dependency
variant('graphviz', default=True, description='Build with dot command support from Graphviz.') variant('graphviz', default=True, description='Build with dot command support from Graphviz.') # NOQA: ignore=E501
depends_on("cmake@2.8.12:") depends_on("cmake@2.8.12:")
depends_on("flex") depends_on("flex")
depends_on("bison") depends_on("bison")
#optional dependencies # optional dependencies
depends_on("graphviz", when="+graphviz") depends_on("graphviz", when="+graphviz")
def install(self, spec, prefix): def install(self, spec, prefix):
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
############################################################################## ##############################################################################
from spack import * from spack import *
class Ghostscript(Package): class Ghostscript(Package):
"""an interpreter for the PostScript language and for PDF. """ """an interpreter for the PostScript language and for PDF. """
homepage = "http://ghostscript.com/" homepage = "http://ghostscript.com/"
...@@ -34,7 +35,7 @@ class Ghostscript(Package): ...@@ -34,7 +35,7 @@ class Ghostscript(Package):
parallel = False parallel = False
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=%s" %prefix, "--enable-shared") configure("--prefix=%s" % prefix, "--enable-shared")
make() make()
make("install") make("install")
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
from spack import * from spack import *
import sys import sys
class Graphviz(Package): class Graphviz(Package):
"""Graph Visualization Software""" """Graph Visualization Software"""
homepage = "http://www.graphviz.org" homepage = "http://www.graphviz.org"
...@@ -36,7 +37,7 @@ class Graphviz(Package): ...@@ -36,7 +37,7 @@ class Graphviz(Package):
# related to missing Perl packages. If spack begins support for Perl in the # related to missing Perl packages. If spack begins support for Perl in the
# future, this package can be updated to depend_on('perl') and the # future, this package can be updated to depend_on('perl') and the
# ncecessary devel packages. # ncecessary devel packages.
variant('perl', default=False, description='Enable if you need the optional Perl language bindings.') variant('perl', default=False, description='Enable if you need the optional Perl language bindings.') # NOQA: ignore=E501
parallel = False parallel = False
...@@ -47,7 +48,7 @@ class Graphviz(Package): ...@@ -47,7 +48,7 @@ class Graphviz(Package):
def install(self, spec, prefix): def install(self, spec, prefix):
options = ['--prefix=%s' % prefix] options = ['--prefix=%s' % prefix]
if not '+perl' in spec: if '+perl' not in spec:
options.append('--disable-perl') options.append('--disable-perl')
# On OSX fix the compiler error: # On OSX fix the compiler error:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment