summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pep8/package.py
blob: ffcc2b318c735622d973f4c135a5f741875c6e8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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', type='build')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)