diff options
author | Kelly (KT) Thompson <kgt@lanl.gov> | 2016-05-11 16:32:49 -0600 |
---|---|---|
committer | Kelly (KT) Thompson <kgt@lanl.gov> | 2016-05-11 16:33:57 -0600 |
commit | c5a19b57f7965f24413e789924086cf4bcb126d8 (patch) | |
tree | a25a71ced93dc7acfdc645f25db10dea6233a9f3 | |
parent | 8bec127a1d8b2be4403daddfcc31a1eb4a75cb8f (diff) | |
download | spack-c5a19b57f7965f24413e789924086cf4bcb126d8.tar.gz spack-c5a19b57f7965f24413e789924086cf4bcb126d8.tar.bz2 spack-c5a19b57f7965f24413e789924086cf4bcb126d8.tar.xz spack-c5a19b57f7965f24413e789924086cf4bcb126d8.zip |
Clean up formatting.
-rw-r--r-- | var/spack/repos/builtin/packages/moab/package.py | 11 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-flake8/package.py | 16 |
2 files changed, 21 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/moab/package.py b/var/spack/repos/builtin/packages/moab/package.py index 6bd7e5afdf..5fa9e8e746 100644 --- a/var/spack/repos/builtin/packages/moab/package.py +++ b/var/spack/repos/builtin/packages/moab/package.py @@ -51,14 +51,13 @@ class Moab(Package): '--without-vtk', 'CXX=%s' % spec['mpi'].mpicxx, 'CC=%s' % spec['mpi'].mpicc, - 'FC=%s' % spec['mpi'].mpifc - ] + 'FC=%s' % spec['mpi'].mpifc] if '+shared' in spec: - options.append( '--enable-shared' ) + options.append('--enable-shared') 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( "install" ) + make('install') diff --git a/var/spack/repos/builtin/packages/py-flake8/package.py b/var/spack/repos/builtin/packages/py-flake8/package.py new file mode 100644 index 0000000000..e7a1665bdd --- /dev/null +++ b/var/spack/repos/builtin/packages/py-flake8/package.py @@ -0,0 +1,16 @@ +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) |