Skip to content
Snippets Groups Projects
Commit c5a19b57 authored by Kelly (KT) Thompson's avatar Kelly (KT) Thompson
Browse files

Clean up formatting.

parent 8bec127a
Branches
Tags
No related merge requests found
...@@ -51,14 +51,13 @@ def install(self, spec, prefix): ...@@ -51,14 +51,13 @@ def install(self, spec, prefix):
'--without-vtk', '--without-vtk',
'CXX=%s' % spec['mpi'].mpicxx, 'CXX=%s' % spec['mpi'].mpicxx,
'CC=%s' % spec['mpi'].mpicc, 'CC=%s' % spec['mpi'].mpicc,
'FC=%s' % spec['mpi'].mpifc 'FC=%s' % spec['mpi'].mpifc]
]
if '+shared' in spec: if '+shared' in spec:
options.append( '--enable-shared' ) options.append('--enable-shared')
if '+netcdf' in spec: if '+netcdf' in spec:
options.append( '--with-netcdf=%s' % spec['netcdf'].prefix ) options.append('--with-netcdf=%s' % spec['netcdf'].prefix)
configure( *options ) configure(*options)
make() make()
make( "install" ) make('install')
from spack import *
class PyFlake8(Package):
"""Flake8 is a wrapper around PyFlakes, pep8 and Ned Batchelder's
McCabe script."""
homepage = "http://flake8.readthedocs.io/en/latest/"
url = "https://pypi.python.org/packages/source/f/flake8/flake8-2.5.4.tar.gz"
version('2.5.4', 'a4585b3569b95c3f66acb8294a7f06ef')
extends('python')
depends_on('py-setuptools')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment