diff options
author | Tom Scogland <scogland1@llnl.gov> | 2016-05-18 14:04:39 -0700 |
---|---|---|
committer | Tom Scogland <scogland1@llnl.gov> | 2016-05-18 14:04:39 -0700 |
commit | 29635b7bbd9fd506e38f1987bd845587f6158ac3 (patch) | |
tree | d13bff2250587b3f66006c1b418630f2dbe3d647 /var | |
parent | d3916707557762abb4268c4f523eac0d222b58b1 (diff) | |
download | spack-29635b7bbd9fd506e38f1987bd845587f6158ac3.tar.gz spack-29635b7bbd9fd506e38f1987bd845587f6158ac3.tar.bz2 spack-29635b7bbd9fd506e38f1987bd845587f6158ac3.tar.xz spack-29635b7bbd9fd506e38f1987bd845587f6158ac3.zip |
initial docs for find and flake8 cleanup
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-autopep8/package.py | 16 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-pep8/package.py | 15 |
2 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-autopep8/package.py b/var/spack/repos/builtin/packages/py-autopep8/package.py new file mode 100644 index 0000000000..f2fd3cd683 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-autopep8/package.py @@ -0,0 +1,16 @@ +from spack import * + +class PyAutopep8(Package): + """Automatic pep8 formatter""" + homepage = "https://github.com/hhatto/autopep8" + url = "https://github.com/hhatto/autopep8/archive/ver1.2.2.tar.gz" + + version('1.2.2', 'def3d023fc9dfd1b7113602e965ad8e1') + + extends('python') + depends_on('py-setuptools') + depends_on('py-pep8') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) + diff --git a/var/spack/repos/builtin/packages/py-pep8/package.py b/var/spack/repos/builtin/packages/py-pep8/package.py new file mode 100644 index 0000000000..987783b392 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pep8/package.py @@ -0,0 +1,15 @@ +from spack import * + +class PyPep8(Package): + """python pep8 format checker""" + homepage = "https://github.com/PyCQA/pycodestyle" + url = "https://github.com/PyCQA/pycodestyle/archive/1.7.0.tar.gz" + + version('1.7.0', '31070a3a6391928893cbf5fa523eb8d9') + + extends('python') + depends_on('py-setuptools') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) + |