initial docs for find and flake8 cleanup
This commit is contained in:
16
var/spack/repos/builtin/packages/py-autopep8/package.py
Normal file
16
var/spack/repos/builtin/packages/py-autopep8/package.py
Normal file
@@ -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)
|
||||
|
15
var/spack/repos/builtin/packages/py-pep8/package.py
Normal file
15
var/spack/repos/builtin/packages/py-pep8/package.py
Normal file
@@ -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)
|
||||
|
Reference in New Issue
Block a user