summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-autopep8/package.py
blob: f2fd3cd683c15eb00107e67bbf2ca764b09ae044 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)