blob: 12ef191515dafc8958792fa10c7d9f24db626daf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from spack import *
class PyYapf(Package):
""" Yet Another Python Formatter """
homepage = "https://github.com/google/yapf"
# base https://pypi.python.org/pypi/cffi
url = "https://github.com/google/yapf/archive/v0.2.1.tar.gz"
version('0.2.1', '348ccf86cf2057872e4451b204fb914c')
extends('python')
depends_on('py-setuptools')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)
|